express_admin 1.7.20 → 1.7.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/express_admin/components/_main_menu.sass +3 -3
- data/app/components/express_admin/mega_menu.rb +1 -1
- data/app/helpers/express_admin/admin_helper.rb +3 -1
- data/app/views/shared/express_admin/_navigation_bar.html.et +6 -4
- data/lib/express_admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 819ad66e5886f8d82cd60f27e1f97f8055f7de18
|
4
|
+
data.tar.gz: 0c7debd9cac98fd177979a42c1db055a70410589
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca7796446c91a43dc161a06455489f10c5dc39188d2a3935f8db70b214c8a7631cf320e950c7c516e17dba6b276905ae12e4813fa25610910dbb8432b74eb37c
|
7
|
+
data.tar.gz: 6e8cedddcd5fa99c8026645f47796dd595543d869af8f0deb5415c57433a987a6f4a43cd63642fb20495499fbf5380a4a65dfa06b8903e9f6b6da95ea35e79be
|
@@ -36,7 +36,7 @@ module ExpressAdmin
|
|
36
36
|
def menu_wrapper
|
37
37
|
li(class: "has-sub-menu") {
|
38
38
|
a(class: "sub-menu-expander", href: '#', onClick: 'return false;') {
|
39
|
-
|
39
|
+
text_node 'Manage '.html_safe
|
40
40
|
i(class: "ion-arrow-down-b")
|
41
41
|
}
|
42
42
|
div(class: 'sub-menu hidden') {
|
@@ -11,7 +11,9 @@ module ExpressAdmin
|
|
11
11
|
def sign_in_or_sign_out
|
12
12
|
if self.respond_to?(:user_signed_in?)
|
13
13
|
if user_signed_in?
|
14
|
-
link_to
|
14
|
+
link_to main_app.destroy_user_session_path, method: :delete do
|
15
|
+
'<i class="ion-power"></i> Logout'.html_safe
|
16
|
+
end
|
15
17
|
else
|
16
18
|
link_to 'Sign in', main_app.user_session_path
|
17
19
|
end
|
@@ -1,26 +1,28 @@
|
|
1
1
|
nav(class: 'top-bar') {
|
2
2
|
div(class: 'main-menu') {
|
3
3
|
ul(class: 'menu-items') {
|
4
|
-
li {
|
4
|
+
li(class: 'item') {
|
5
5
|
a(href: '#') {
|
6
6
|
image_tag 'express_admin/appexpress_logo_dark.png', class: 'nav-logo'
|
7
7
|
}
|
8
8
|
}
|
9
9
|
mega_menu
|
10
|
-
li {
|
10
|
+
li(class: 'item') {
|
11
11
|
icon_link("android-open", text: 'View Site', href: '/', target: '_blank')
|
12
12
|
}
|
13
13
|
nav_bar_actions
|
14
|
-
li { flash_messages } unless helpers.flash.empty?
|
14
|
+
li(class: 'item') { flash_messages } unless helpers.flash.empty?
|
15
15
|
}
|
16
16
|
}
|
17
17
|
div(class: 'secondary-menu') {
|
18
18
|
ul(class: 'menu-items') {
|
19
|
-
li {
|
19
|
+
li(class: 'item') {
|
20
20
|
a {
|
21
21
|
i { current_user_gravatar }
|
22
22
|
text_node ' Profile'.html_safe
|
23
23
|
}
|
24
|
+
}
|
25
|
+
li(class: 'item') {
|
24
26
|
sign_in_or_sign_out
|
25
27
|
}
|
26
28
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: express_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Talcott Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: express_templates
|