tusur_header 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/tusur_header/_tusur_header.html.erb +11 -0
- data/lib/tusur_header/version.rb +1 -1
- data/vendor/assets/javascripts/alert_autoclose/index.js +1 -0
- data/vendor/assets/javascripts/alert_autoclose/init.js.coffee +5 -0
- data/vendor/assets/javascripts/main.js.coffee +3 -0
- data/vendor/assets/javascripts/tusur_header.js +1 -8
- data/vendor/assets/stylesheets/_alert.sass +13 -0
- data/vendor/assets/stylesheets/tusur_header.sass +1 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a56182c2e121aeb9c5d143f26b51b2c153153d33
|
4
|
+
data.tar.gz: 017ff5d3adefde0d16310e0a24691ba4716a334d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c4b3c1deca9da2c12aedcdffa98ed0489a7365bf73ccd9b406f71721bb9ba7fcdde6d14e1387a4a9f3b0230a517f25649606c640e7643dc7b788436d122e153
|
7
|
+
data.tar.gz: c1e575fe2ba3e757d067bf74f3e067654d122994a4d92bcc893cc50938ecab36426072eade6e9be74e068aade32beb141f383f96dae85137ca85c97e7a0be70c
|
@@ -5,6 +5,17 @@
|
|
5
5
|
<![endif]-->
|
6
6
|
<% end %>
|
7
7
|
|
8
|
+
<% content_for :flash_alerts do %>
|
9
|
+
<div class="row alert-container">
|
10
|
+
<% flash.each do |name, msg| %>
|
11
|
+
<div class="alert alert-<%= name %> alert-dismissible col-sm-6 col-sm-offset-6" role="alert">
|
12
|
+
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
13
|
+
<%= msg %>
|
14
|
+
</div>
|
15
|
+
<% end %>
|
16
|
+
</div>
|
17
|
+
<% end %>
|
18
|
+
|
8
19
|
<div class='tusur_header_wrapper'>
|
9
20
|
|
10
21
|
<div class='navbar navbar-inverse navbar-fixed-top navbar-desktop' role='navigation' id='menu_first'>
|
data/lib/tusur_header/version.rb
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
//= require_tree .
|
@@ -2,11 +2,4 @@
|
|
2
2
|
//= require bootstrap/dropdown
|
3
3
|
//= require bootstrap/collapse
|
4
4
|
//= require bootstrap/transition
|
5
|
-
|
6
|
-
//= require tusur_header_observer
|
7
|
-
|
8
|
-
$(function() {
|
9
|
-
if ($('.tusur_header_wrapper').length) {
|
10
|
-
init_tusur_header_observer();
|
11
|
-
}
|
12
|
-
});
|
5
|
+
//= require_tree .
|
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.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evgeny Lapin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -202,9 +202,13 @@ files:
|
|
202
202
|
- vendor/assets/images/502.png
|
203
203
|
- vendor/assets/images/mail.png
|
204
204
|
- vendor/assets/images/tusur_logotype.png
|
205
|
+
- vendor/assets/javascripts/alert_autoclose/index.js
|
206
|
+
- vendor/assets/javascripts/alert_autoclose/init.js.coffee
|
207
|
+
- vendor/assets/javascripts/main.js.coffee
|
205
208
|
- vendor/assets/javascripts/tusur_header.js
|
206
209
|
- vendor/assets/javascripts/tusur_header_observer/index.js
|
207
210
|
- vendor/assets/javascripts/tusur_header_observer/init.js.coffee
|
211
|
+
- vendor/assets/stylesheets/_alert.sass
|
208
212
|
- vendor/assets/stylesheets/_buttons.sass
|
209
213
|
- vendor/assets/stylesheets/_error_pages.sass
|
210
214
|
- vendor/assets/stylesheets/_override.sass
|