leather 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/stylesheets/devise.css.scss +10 -1
- data/app/views/devise/passwords/edit.html.erb +3 -8
- data/app/views/devise/passwords/new.html.erb +3 -8
- data/app/views/devise/registrations/new.html.erb +3 -8
- data/app/views/devise/sessions/new.html.erb +3 -8
- data/app/views/devise/shared/_links.html.erb +18 -16
- data/app/views/devise/shared/_welcome.html.erb +4 -0
- data/lib/leather/version.rb +1 -1
- metadata +36 -3
@@ -35,9 +35,17 @@ html, body {
|
|
35
35
|
padding: 50px 0 20px 0;
|
36
36
|
h2 {
|
37
37
|
margin-bottom: 50px;
|
38
|
+
a {
|
39
|
+
color: $white;
|
40
|
+
text-decoration: none;
|
41
|
+
@include transition(color 0.25s linear);
|
42
|
+
&:hover {
|
43
|
+
color: darken($white, 20%);
|
44
|
+
}
|
45
|
+
}
|
38
46
|
}
|
39
47
|
h2, h3 {
|
40
|
-
font-weight:
|
48
|
+
font-weight: lighter;
|
41
49
|
}
|
42
50
|
}
|
43
51
|
|
@@ -58,6 +66,7 @@ html, body {
|
|
58
66
|
}
|
59
67
|
}
|
60
68
|
.actions {
|
69
|
+
@extend .text-center;
|
61
70
|
padding-top: 30px;
|
62
71
|
}
|
63
72
|
}
|
@@ -1,8 +1,5 @@
|
|
1
1
|
<div class="container">
|
2
|
-
|
3
|
-
<h2>Leather</h2>
|
4
|
-
<h3>Change your password.</h3>
|
5
|
-
</div>
|
2
|
+
<%= render "devise/shared/welcome", subtitle: "Change your password." %>
|
6
3
|
<div class="row">
|
7
4
|
<div class="col-md-6 col-md-offset-3">
|
8
5
|
<div class="devise-box">
|
@@ -20,14 +17,12 @@
|
|
20
17
|
<%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %>
|
21
18
|
</div>
|
22
19
|
|
23
|
-
<div class="actions
|
20
|
+
<div class="actions">
|
24
21
|
<%= f.submit "Send instructions", class: "btn btn-default" %>
|
25
22
|
</div>
|
26
23
|
<% end %>
|
27
24
|
</div>
|
28
|
-
|
29
|
-
<%= render "devise/shared/links" %>
|
30
|
-
</p>
|
25
|
+
<%= render "devise/shared/links" %>
|
31
26
|
</div>
|
32
27
|
</div>
|
33
28
|
</div>
|
@@ -1,8 +1,5 @@
|
|
1
1
|
<div class="container">
|
2
|
-
|
3
|
-
<h2>Leather</h2>
|
4
|
-
<h3>Reset your password.</h3>
|
5
|
-
</div>
|
2
|
+
<%= render "devise/shared/welcome", subtitle: "Reset your password." %>
|
6
3
|
<div class="row">
|
7
4
|
<div class="col-md-6 col-md-offset-3">
|
8
5
|
<div class="devise-box">
|
@@ -14,14 +11,12 @@
|
|
14
11
|
<%= f.email_field :email, autofocus: true, class: "form-control" %>
|
15
12
|
</div>
|
16
13
|
|
17
|
-
<div class="actions
|
14
|
+
<div class="actions">
|
18
15
|
<%= f.submit "Send instructions", class: "btn btn-default" %>
|
19
16
|
</div>
|
20
17
|
<% end %>
|
21
18
|
</div>
|
22
|
-
|
23
|
-
<%= render "devise/shared/links" %>
|
24
|
-
</p>
|
19
|
+
<%= render "devise/shared/links" %>
|
25
20
|
</div>
|
26
21
|
</div>
|
27
22
|
</div>
|
@@ -1,8 +1,5 @@
|
|
1
1
|
<div class="container">
|
2
|
-
|
3
|
-
<h2>Leather</h2>
|
4
|
-
<h3>Set up your new account today.</h3>
|
5
|
-
</div>
|
2
|
+
<%= render "devise/shared/welcome", subtitle: "Set up your new account today." %>
|
6
3
|
<div class="row">
|
7
4
|
<div class="col-md-6 col-md-offset-3">
|
8
5
|
<div class="devise-box">
|
@@ -24,14 +21,12 @@
|
|
24
21
|
<%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %>
|
25
22
|
</div>
|
26
23
|
|
27
|
-
<div class="actions
|
24
|
+
<div class="actions">
|
28
25
|
<%= f.submit "Create my account", class: "btn btn-default" %>
|
29
26
|
</div>
|
30
27
|
<% end %>
|
31
28
|
</div>
|
32
|
-
|
33
|
-
<%= render "devise/shared/links" %>
|
34
|
-
</p>
|
29
|
+
<%= render "devise/shared/links" %>
|
35
30
|
</div>
|
36
31
|
</div>
|
37
32
|
</div>
|
@@ -1,8 +1,5 @@
|
|
1
1
|
<div class="container">
|
2
|
-
|
3
|
-
<h2>Leather</h2>
|
4
|
-
<h3>Sign in to your account.</h3>
|
5
|
-
</div>
|
2
|
+
<%= render "devise/shared/welcome", subtitle: "Sign in to your account." %>
|
6
3
|
<div class="row">
|
7
4
|
<div class="col-md-6 col-md-offset-3">
|
8
5
|
<div class="devise-box">
|
@@ -24,14 +21,12 @@
|
|
24
21
|
</div>
|
25
22
|
<% end -%>
|
26
23
|
|
27
|
-
<div class="actions
|
24
|
+
<div class="actions">
|
28
25
|
<%= f.submit "Sign in", class: "btn btn-default" %>
|
29
26
|
</div>
|
30
27
|
<% end %>
|
31
28
|
</div>
|
32
|
-
|
33
|
-
<%= render "devise/shared/links" %>
|
34
|
-
</p>
|
29
|
+
<%= render "devise/shared/links" %>
|
35
30
|
</div>
|
36
31
|
</div>
|
37
32
|
</div>
|
@@ -1,21 +1,23 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
<p class="devise-links">
|
2
|
+
<%- if controller_name != 'sessions' %>
|
3
|
+
Already have an account? <%= link_to "Sign in here", new_session_path(resource_name) %><br />
|
4
|
+
<% end -%>
|
4
5
|
|
5
|
-
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
|
6
|
-
|
7
|
-
<% end -%>
|
6
|
+
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
|
7
|
+
Don't have an account? <%= link_to "Create one here", new_registration_path(resource_name) %><br />
|
8
|
+
<% end -%>
|
8
9
|
|
9
|
-
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
10
|
-
|
11
|
-
<% end -%>
|
10
|
+
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
11
|
+
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %><br />
|
12
|
+
<% end -%>
|
12
13
|
|
13
|
-
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
|
14
|
-
|
15
|
-
<% end -%>
|
14
|
+
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
|
15
|
+
<%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
|
16
|
+
<% end -%>
|
16
17
|
|
17
|
-
<%- if devise_mapping.omniauthable? %>
|
18
|
-
|
19
|
-
|
18
|
+
<%- if devise_mapping.omniauthable? %>
|
19
|
+
<%- resource_class.omniauth_providers.each do |provider| %>
|
20
|
+
<%= link_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider) %><br />
|
21
|
+
<% end -%>
|
20
22
|
<% end -%>
|
21
|
-
|
23
|
+
</p>
|
data/lib/leather/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -107,6 +107,38 @@ dependencies:
|
|
107
107
|
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: bootstrap-sass
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: devise
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
110
142
|
description: Bootstrap tools - UI Kit, Devise Views, and Component Partials
|
111
143
|
email:
|
112
144
|
- earlynovrock@gmail.com
|
@@ -120,6 +152,7 @@ files:
|
|
120
152
|
- app/views/devise/registrations/new.html.erb
|
121
153
|
- app/views/devise/sessions/new.html.erb
|
122
154
|
- app/views/devise/shared/_links.html.erb
|
155
|
+
- app/views/devise/shared/_welcome.html.erb
|
123
156
|
- lib/generators/leather/install/install_generator.rb
|
124
157
|
- lib/leather/version.rb
|
125
158
|
- lib/leather.rb
|
@@ -141,7 +174,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
174
|
version: '0'
|
142
175
|
segments:
|
143
176
|
- 0
|
144
|
-
hash:
|
177
|
+
hash: -3336704615829480604
|
145
178
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
179
|
none: false
|
147
180
|
requirements:
|
@@ -150,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
183
|
version: '0'
|
151
184
|
segments:
|
152
185
|
- 0
|
153
|
-
hash:
|
186
|
+
hash: -3336704615829480604
|
154
187
|
requirements: []
|
155
188
|
rubyforge_project:
|
156
189
|
rubygems_version: 1.8.24
|