emmet_layout 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/layouts/emmet/layout/application.html.erb +34 -23
- data/lib/emmet/layout/version.rb +1 -1
- metadata +21 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a28cfeec57c8ae8a653f7a7f5a16c294d6e6c711
|
4
|
+
data.tar.gz: 5480a43e4e81779f37f064573de3cdc8fd6a055b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00b3dad3fabc96a3fe50763f17db27b3e05a61311cc3fca67fac3d68a96ffc59c373a6b1cdb93006d367cd7e383ca0708ba521d19fd8f2dba7f55aff2f3fbbcf
|
7
|
+
data.tar.gz: ca287d376962ef44b09ae5c3bb9ca7933109d198fe849f8d49ddace7dcdc7e97a47fdca7051683b54cbb9e6b64350897bb5f000b8f82040dbd17b5ba26bf5830
|
@@ -1,37 +1,48 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<title
|
4
|
+
<title><%= yield(:page_title) or 'Emmet layout' %></title>
|
5
|
+
|
5
6
|
<%= stylesheet_link_tag 'emmet/layout/application', media: 'all' %>
|
6
7
|
<%= javascript_include_tag 'emmet/layout/application' %>
|
7
8
|
<%= csrf_meta_tags %>
|
8
9
|
</head>
|
9
10
|
<body>
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
<% if content_for?(:menu_navbar) %>
|
13
|
+
<%= yield(:menu_navbar) %>
|
14
|
+
<% else %>
|
15
|
+
<nav class="navbar navbar-inverse navbar-fixed-top">
|
16
|
+
<div class="container">
|
17
|
+
<div class="navbar-header">
|
18
|
+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
19
|
+
<span class="sr-only">Toggle navigation</span>
|
20
|
+
<span class="icon-bar"></span>
|
21
|
+
<span class="icon-bar"></span>
|
22
|
+
<span class="icon-bar"></span>
|
23
|
+
</button>
|
24
|
+
<a class="navbar-brand" href="#"><%= yield(:page_title) or 'Emmet layout' %></a>
|
25
|
+
</div>
|
26
|
+
<div id="navbar" class="collapse navbar-collapse">
|
27
|
+
<ul class="nav navbar-nav">
|
28
|
+
<li class="active"><a href="#">Home</a></li>
|
29
|
+
<li><a href="#about">About</a></li>
|
30
|
+
<li><a href="#contact">Contact</a></li>
|
31
|
+
</ul>
|
32
|
+
</div><!--/.nav-collapse -->
|
21
33
|
</div>
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<li><a href="#contact">Contact</a></li>
|
27
|
-
</ul>
|
28
|
-
</div><!--/.nav-collapse -->
|
29
|
-
</div>
|
30
|
-
</nav>
|
34
|
+
</nav>
|
35
|
+
<% end %>
|
36
|
+
|
37
|
+
<%= yield %>
|
31
38
|
|
32
|
-
|
33
|
-
<%= yield %>
|
34
|
-
|
39
|
+
<% if content_for?(:footer) %>
|
40
|
+
<%= yield(:footer) %>
|
41
|
+
<% else %>
|
42
|
+
<footer class="container text-right">
|
43
|
+
Emmet Layout Footer
|
44
|
+
</footer>
|
45
|
+
<% end %>
|
35
46
|
|
36
47
|
</body>
|
37
48
|
</html>
|
data/lib/emmet/layout/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emmet_layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Walmir Neto
|
@@ -64,6 +64,26 @@ dependencies:
|
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 0.12.2
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: sqlite3
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '1.3'
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 1.3.11
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1.3'
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 1.3.11
|
67
87
|
- !ruby/object:Gem::Dependency
|
68
88
|
name: rubocop
|
69
89
|
requirement: !ruby/object:Gem::Requirement
|