leather 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/leather/_navbar.html.haml +10 -12
- data/lib/leather/version.rb +1 -1
- data/templates/views/pages/home.html.haml +13 -0
- metadata +3 -3
- data/templates/views/pages/home.html.erb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fac0f1fab7f93cbf7feeaf11c21cef8066d541a
|
4
|
+
data.tar.gz: fc071490fdc66c30b7d0c89a7e4a0ef1ec5e52a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b94d008921dbd6be085f15bce8b84bd2b74cbc1603f37241f117f7601615fd004f3b3ed7aca36b876a02aa8ac612dfea9fe3f810ac93beadc978e12bece71e5
|
7
|
+
data.tar.gz: 17af4f774c39239894541c09bce34279580a06ef1244c404ee2fb06a70323ded4a057847fc0331ddfcd5ff6b8f7f7276c5b1403eb70fda215fada3f41142508f
|
@@ -5,18 +5,16 @@
|
|
5
5
|
- when :with
|
6
6
|
%nav.navbar{ class: html_options[:class] }
|
7
7
|
.container
|
8
|
-
.
|
9
|
-
.
|
10
|
-
.
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
.collapse.navbar-collapse#navbar-to-collapse
|
19
|
-
= block
|
8
|
+
.navbar-header
|
9
|
+
%button.navbar-toggle{data:{toggle:'collapse', target:'#navbar-to-collapse'},type:'button'}
|
10
|
+
%span.sr-only
|
11
|
+
Toggle navigation
|
12
|
+
%span.icon-bar
|
13
|
+
%span.icon-bar
|
14
|
+
%span.icon-bar
|
15
|
+
= link_to title, brand_link, :class => 'navbar-brand'
|
16
|
+
.collapse.navbar-collapse#navbar-to-collapse
|
17
|
+
= block
|
20
18
|
- when :in
|
21
19
|
.container
|
22
20
|
.row.clearfix
|
data/lib/leather/version.rb
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
= navbar "Leather", root_url, container_mode: :with, class: "navbar-default" do
|
2
|
+
= nav_list do
|
3
|
+
= nav_item 'Home', root_url
|
4
|
+
= nav_item 'UI Kit', '/pages/ui_kit'
|
5
|
+
= nav_list class: 'navbar-right' do
|
6
|
+
- if user_signed_in?
|
7
|
+
= nav_item 'Sign Out', destroy_user_session_path, method: :delete
|
8
|
+
- else
|
9
|
+
= nav_item 'Sign In', new_user_session_path
|
10
|
+
= nav_item 'Sign Up', new_user_registration_path
|
11
|
+
|
12
|
+
.container
|
13
|
+
%h1 Home
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Van Der Beek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -157,7 +157,7 @@ files:
|
|
157
157
|
- templates/views/devise/shared/_links.html.erb
|
158
158
|
- templates/views/devise/shared/_welcome.html.erb
|
159
159
|
- templates/views/pages/_table.html.erb
|
160
|
-
- templates/views/pages/home.html.
|
160
|
+
- templates/views/pages/home.html.haml
|
161
161
|
- templates/views/pages/ui_kit.html.erb
|
162
162
|
homepage: https://github.com/dvanderbeek/leather
|
163
163
|
licenses:
|