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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d829ed18a2776cfc5bbaef6de9a5c00c918816c
4
- data.tar.gz: ea855bc12c84692ade49909823bd33ffea6efbc9
3
+ metadata.gz: 819ad66e5886f8d82cd60f27e1f97f8055f7de18
4
+ data.tar.gz: 0c7debd9cac98fd177979a42c1db055a70410589
5
5
  SHA512:
6
- metadata.gz: e2cea0caee79bd1228b6416943f9cf7abecde193a8b88e5d817ce3d25f14152dc2174c328ea978731ee95385588f0c00a7bcddfbdd0d1a12f6e69a86c300946f
7
- data.tar.gz: ef6795753cf3ce7f2a17d04abfd1991c513fb15f043866c18d3decdfd703608f0853c76e3b57afa08b7f9887fe0cf0272594180612ae4420d0060afeab1b005d
6
+ metadata.gz: ca7796446c91a43dc161a06455489f10c5dc39188d2a3935f8db70b214c8a7631cf320e950c7c516e17dba6b276905ae12e4813fa25610910dbb8432b74eb37c
7
+ data.tar.gz: 6e8cedddcd5fa99c8026645f47796dd595543d869af8f0deb5415c57433a987a6f4a43cd63642fb20495499fbf5380a4a65dfa06b8903e9f6b6da95ea35e79be
@@ -4,6 +4,6 @@
4
4
  @include menu-bar-icons($position: left)
5
5
  @include menu-bar-style($dark-color, $autocolor: true)
6
6
  overflow: visible // for sub-menu visibility
7
-
8
- .item
9
- padding-right: 0.5rem
7
+ > .item
8
+ > a
9
+ justify-content: center
@@ -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
- span(class: 'item') {'Manage' }
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 'Logout', main_app.destroy_user_session_path, method: :delete
14
+ link_to main_app.destroy_user_session_path, method: :delete do
15
+ '<i class="ion-power"></i>&nbsp;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 '&nbsp;Profile'.html_safe
23
23
  }
24
+ }
25
+ li(class: 'item') {
24
26
  sign_in_or_sign_out
25
27
  }
26
28
  }
@@ -1,3 +1,3 @@
1
1
  module ExpressAdmin
2
- VERSION = "1.7.20"
2
+ VERSION = "1.7.21"
3
3
  end
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.20
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-07 00:00:00.000000000 Z
11
+ date: 2015-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: express_templates