tusur_header 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/app/views/tusur_header/_tusur_header.html.erb +41 -39
- data/lib/tusur_header/engine.rb +1 -1
- data/lib/tusur_header/version.rb +1 -1
- data/tusur_header.gemspec +1 -0
- data/vendor/assets/stylesheets/_override.sass +0 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70dda324600234e9b5391acfee08196b3aa0e8de
|
4
|
+
data.tar.gz: e6eaa582d95b66b284d0c58a61e5a31763accca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef06c2e755f214146438368dc64bd9e20adae9fc285ffae45c069aa0a2ebd57bab4d3337479d0a18571cb95526a948ee5fc16d5cdf72c8af21852a593fba3a9e
|
7
|
+
data.tar.gz: f13440c08cfd6e4fd5e3bccfab6581a2730106f1ff80a175d99468068cc53e4f0c291e6fd027dcfe2e558fd2093f7130d12e169c4bdeb8754b6623418b1b9ce5
|
data/Gemfile
CHANGED
@@ -17,47 +17,49 @@
|
|
17
17
|
<% end %>
|
18
18
|
|
19
19
|
<div class='tusur_header_wrapper'>
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
<div class='
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
<
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
20
|
+
<% begin %>
|
21
|
+
<%= render_cdn :header %>
|
22
|
+
<% rescue %>
|
23
|
+
<div class='navbar navbar-inverse navbar-fixed-top navbar-desktop' role='navigation' id='menu_first'>
|
24
|
+
<div class='container'>
|
25
|
+
|
26
|
+
<div class='navbar-header'>
|
27
|
+
<a class='navbar-brand' href='/'></a>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<div class='navbar-collapse collapse'>
|
31
|
+
|
32
|
+
<!-- Первое левое выпадающее меню -->
|
33
|
+
<!--noindex-->
|
34
|
+
<ul class='nav navbar-nav'>
|
35
|
+
<li class='dropdown'>
|
36
|
+
<a href='/' class='dropdown-toggle' data-toggle='dropdown'>Сайты ТУСУР<b class='caret'></b></a>
|
37
|
+
<ul class='dropdown-menu'>
|
38
|
+
<% TusurHeader::Engine.sites.each do |slug, site| %>
|
39
|
+
<li><%= link_to site['title'].html_safe, site['link'] %></li>
|
40
|
+
<% end %>
|
41
|
+
</ul>
|
42
|
+
</li>
|
43
|
+
</ul>
|
44
|
+
<!--/noindex-->
|
45
|
+
<!-- / Первое левое выпадающее меню -->
|
46
|
+
|
47
|
+
<!-- Второе левое выпадающее меню -->
|
48
|
+
<% if content_for?(:tusur_header_second_menu) %>
|
49
|
+
<%= yield :tusur_header_second_menu %>
|
50
|
+
<% end %>
|
51
|
+
<!-- / Второе левое выпадающее меню -->
|
52
|
+
|
53
|
+
<!-- Правое выпадающее меню -->
|
54
|
+
<% if content_for?(:tusur_header_auth_block) %>
|
55
|
+
<%= yield :tusur_header_auth_block %>
|
56
|
+
<% end %>
|
57
|
+
<!-- / Правое выпадающее меню -->
|
58
|
+
|
59
|
+
</div>
|
57
60
|
</div>
|
58
61
|
</div>
|
59
|
-
|
60
|
-
|
62
|
+
<% end %>
|
61
63
|
<div class='navbar navbar-inverse navbar-second-menu' role='navigation' id='menu_second'>
|
62
64
|
<div class='container'>
|
63
65
|
|
data/lib/tusur_header/engine.rb
CHANGED
data/lib/tusur_header/version.rb
CHANGED
data/tusur_header.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tusur_header
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evgeny Lapin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '4.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: tusur_cdn
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: bootstrap-sass
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|