rails_layout 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.textile +4 -0
- data/lib/generators/layout/install/templates/bootstrap2-messages.html.erb +1 -1
- data/lib/generators/layout/install/templates/bootstrap2-messages.html.haml +1 -1
- data/lib/generators/layout/install/templates/bootstrap2-messages.html.slim +1 -1
- data/lib/generators/layout/install/templates/bootstrap3-messages.html.erb +1 -1
- data/lib/generators/layout/install/templates/bootstrap3-messages.html.haml +1 -1
- data/lib/generators/layout/install/templates/bootstrap3-messages.html.slim +1 -1
- data/lib/generators/layout/install/templates/foundation4-messages.html.erb +1 -1
- data/lib/generators/layout/install/templates/foundation4-messages.html.haml +1 -1
- data/lib/generators/layout/install/templates/foundation4-messages.html.slim +1 -1
- data/lib/generators/layout/install/templates/foundation5-messages.html.erb +1 -1
- data/lib/generators/layout/install/templates/foundation5-messages.html.haml +1 -1
- data/lib/generators/layout/install/templates/foundation5-messages.html.slim +1 -1
- data/lib/rails_layout/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: 3986f9f58ac9d6e39feb899b8ad778421ba8141c
|
4
|
+
data.tar.gz: 5fb9fa2880c0e274b0887675787224c167a98cc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa2f2fd55ae5e2ccf77f46b6b9bed496f0385bd7d8f664b76913529f7f049bc95d3618af9cbcf3f59ea504e9b120bfe9ff1ac14fe35ed95e24b729236f265b49
|
7
|
+
data.tar.gz: 280e8e723005dddc1731d1a69a75df509e21b050f3f1a5d61efa043b655860244046d9bad6ca75daf7a7de31b45ef7cf02ba09ba49000c41b565a83174af28d8
|
data/CHANGELOG.textile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<%# Rails flash messages styled for Bootstrap 2.3 %>
|
2
2
|
<% flash.each do |name, msg| %>
|
3
3
|
<% if msg.is_a?(String) %>
|
4
|
-
<div class="alert alert-<%= name ==
|
4
|
+
<div class="alert alert-<%= name.to_s == 'notice' ? "success" : "error" %>">
|
5
5
|
<a class="close" data-dismiss="alert">×</a>
|
6
6
|
<%= content_tag :div, msg, :id => "flash_#{name}" %>
|
7
7
|
</div>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
-# Rails flash messages styled for Bootstrap 2.3
|
2
2
|
- flash.each do |name, msg|
|
3
3
|
- if msg.is_a?(String)
|
4
|
-
%div{:class => "alert alert-#{name ==
|
4
|
+
%div{:class => "alert alert-#{name.to_s == 'notice' ? "success" : "error"}"}
|
5
5
|
%a.close{"data-dismiss" => "alert"} ×
|
6
6
|
= content_tag :div, msg, :id => "flash_#{name}"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/ Rails flash messages styled for Bootstrap 2.3
|
2
2
|
- flash.each do |name, msg|
|
3
3
|
- if msg.is_a?(String)
|
4
|
-
div class="alert alert-#{name ==
|
4
|
+
div class="alert alert-#{name.to_s == 'notice' ? "success" : "error"}"
|
5
5
|
a.close[data-dismiss="alert"]
|
6
6
|
| ×
|
7
7
|
= content_tag :div, msg, :id => "flash_#{name}"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<%# Rails flash messages styled for Bootstrap 3.0 %>
|
2
2
|
<% flash.each do |name, msg| %>
|
3
3
|
<% if msg.is_a?(String) %>
|
4
|
-
<div class="alert alert-<%= name ==
|
4
|
+
<div class="alert alert-<%= name.to_s == 'notice' ? 'success' : 'danger' %>">
|
5
5
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
6
6
|
<%= content_tag :div, msg, :id => "flash_#{name}" %>
|
7
7
|
</div>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
-# Rails flash messages styled for Bootstrap 3.0
|
2
2
|
- flash.each do |name, msg|
|
3
3
|
- if msg.is_a?(String)
|
4
|
-
%div{:class => "alert alert-#{name ==
|
4
|
+
%div{:class => "alert alert-#{name.to_s == 'notice' ? 'success' : 'danger'}"}
|
5
5
|
%button.close{"aria-hidden" => "true", "data-dismiss" => "alert", :type => "button"} ×
|
6
6
|
= content_tag :div, msg, :id => "flash_#{name}"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/ Rails flash messages styled for Bootstrap 3.0
|
2
2
|
- flash.each do |name, msg|
|
3
3
|
- if msg.is_a?(String)
|
4
|
-
div class="alert alert-#{name ==
|
4
|
+
div class="alert alert-#{name.to_s == 'notice' ? 'success' : 'danger'}"
|
5
5
|
button.close[type="button" data-dismiss="alert" aria-hidden="true"] ×
|
6
6
|
= content_tag :div, msg, :id => "flash_#{name}"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<%# Rails flash messages styled for Zurb Foundation %>
|
2
2
|
<% flash.each do |name, msg| %>
|
3
3
|
<% if msg.is_a?(String) %>
|
4
|
-
<div data-alert class="alert-box round <%= name ==
|
4
|
+
<div data-alert class="alert-box round <%= name.to_s == 'notice' ? "success" : "alert" %>">
|
5
5
|
<%= content_tag :div, msg %>
|
6
6
|
<a href="#" class="close">×</a>
|
7
7
|
</div>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
-# Rails flash messages styled for Zurb Foundation
|
2
2
|
- flash.each do |name, msg|
|
3
3
|
- if msg.is_a?(String)
|
4
|
-
%div{:class => "alert-box round #{name ==
|
4
|
+
%div{:class => "alert-box round #{name.to_s == 'notice' ? "success" : "alert"}", "data-alert" => ""}
|
5
5
|
= content_tag :div, msg
|
6
6
|
%a.close{:href => "#"} ×
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/ Rails flash messages styled for Zurb Foundation
|
2
2
|
- flash.each do |name, msg|
|
3
3
|
- if msg.is_a?(String)
|
4
|
-
div[class="alert-box round #{name ==
|
4
|
+
div[class="alert-box round #{name.to_s == 'notice' ? "success" : "alert"}" data-alert]
|
5
5
|
= content_tag :div, msg
|
6
6
|
a.close[href="#"]
|
7
7
|
| ×
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<%# Rails flash messages styled for Zurb Foundation %>
|
2
2
|
<% flash.each do |name, msg| %>
|
3
3
|
<% if msg.is_a?(String) %>
|
4
|
-
<div data-alert class="alert-box round <%= name ==
|
4
|
+
<div data-alert class="alert-box round <%= name.to_s == 'notice' ? 'success' : 'alert' %>">
|
5
5
|
<%= content_tag :div, msg %>
|
6
6
|
<a href="#" class="close">×</a>
|
7
7
|
</div>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
-# Rails flash messages styled for Zurb Foundation
|
2
2
|
- flash.each do |name, msg|
|
3
3
|
- if msg.is_a?(String)
|
4
|
-
%div{:class => "alert-box round #{name ==
|
4
|
+
%div{:class => "alert-box round #{name.to_s == 'notice' ? 'success' : 'alert'}", "data-alert" => ""}
|
5
5
|
= content_tag :div, msg
|
6
6
|
%a.close{:href => "#"} ×
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/ Rails flash messages styled for Zurb Foundation
|
2
2
|
- flash.each do |name, msg|
|
3
3
|
- if msg.is_a?(String)
|
4
|
-
div[class="alert-box round #{name ==
|
4
|
+
div[class="alert-box round #{name.to_s == 'notice' ? 'success' : 'alert'}" data-alert]
|
5
5
|
= content_tag :div, msg
|
6
6
|
a.close[href="#"]
|
7
7
|
| ×
|
data/lib/rails_layout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Kehoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|