ants 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/assets/javascripts/ants/profile.coffee +3 -0
- data/app/assets/stylesheets/{chr → ants}/header.scss +0 -3
- data/app/assets/stylesheets/ants/profile.scss +21 -0
- data/app/assets/stylesheets/ants.scss +2 -1
- data/app/views/ants/_profile.html.erb +9 -0
- data/lib/ants/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77f716463690574774c93d0fa1480dc9163fac32
|
4
|
+
data.tar.gz: 9b351de5e515a5babd2297c3ff33ed55b98166ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf5db781a36806f90d6b8312ad8917f2ae7a755658f2e4b76363a0003ee9b5f9e2503e9acfe841e0c5833a5565171a1629921d246f4b586f6a54117b863d5cdc
|
7
|
+
data.tar.gz: 33a9d0d8ebf3c8960f37bb0fdb147f90f315b9e0ca1dddf83adc0d31db77adec327fec53411e90d397c3e6b2031849977a529125799e1b46bec63bcf7afcbad7
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
.sidebar-profile {
|
2
|
+
@include position(relative);
|
3
|
+
background-color: $sidebar-active-bg-color;
|
4
|
+
font-size: .75em;
|
5
|
+
padding: 10px 5px 10px 50px;
|
6
|
+
|
7
|
+
img {
|
8
|
+
@include position(absolute, 8px null null 0px);
|
9
|
+
border-radius: 16px;
|
10
|
+
margin-left: 10px;
|
11
|
+
width: 32px;
|
12
|
+
}
|
13
|
+
|
14
|
+
a {
|
15
|
+
display: block;
|
16
|
+
color: rgba(255,255,255, .5);
|
17
|
+
&:hover {
|
18
|
+
color: white;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
@@ -1 +1,2 @@
|
|
1
|
-
@import "
|
1
|
+
@import "ants/header";
|
2
|
+
@import "ants/profile";
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<div class="sidebar-profile" style="display:none;">
|
2
|
+
<%= image_tag current_admin._list_item_thumbnail %>
|
3
|
+
|
4
|
+
<% name = (current_admin.name.presence || "").strip.split(' ').first %>
|
5
|
+
<% path = "#/settings/admins/view/#{current_admin.id}" %>
|
6
|
+
<%= link_to name, path %>
|
7
|
+
|
8
|
+
<%= link_to "Sign out", destroy_admin_session_path, method: :delete %>
|
9
|
+
</div>
|
data/lib/ants/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ants
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kravets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
@@ -157,10 +157,12 @@ files:
|
|
157
157
|
- app/assets/javascripts/ants/admins.coffee
|
158
158
|
- app/assets/javascripts/ants/menu.coffee
|
159
159
|
- app/assets/javascripts/ants/meta.coffee
|
160
|
+
- app/assets/javascripts/ants/profile.coffee
|
160
161
|
- app/assets/javascripts/ants/redirects.coffee
|
161
162
|
- app/assets/javascripts/ants/slug.coffee
|
162
163
|
- app/assets/stylesheets/ants.scss
|
163
|
-
- app/assets/stylesheets/
|
164
|
+
- app/assets/stylesheets/ants/header.scss
|
165
|
+
- app/assets/stylesheets/ants/profile.scss
|
164
166
|
- app/controllers/admin/admins_controller.rb
|
165
167
|
- app/controllers/admin/menus_controller.rb
|
166
168
|
- app/controllers/admin/redirects_controller.rb
|
@@ -171,6 +173,7 @@ files:
|
|
171
173
|
- app/models/menu.rb
|
172
174
|
- app/models/menu_link.rb
|
173
175
|
- app/models/redirect.rb
|
176
|
+
- app/views/ants/_profile.html.erb
|
174
177
|
- lib/ants.rb
|
175
178
|
- lib/ants/engine.rb
|
176
179
|
- lib/ants/version.rb
|