snapuser 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/snapuser.css +1 -0
- data/app/assets/stylesheets/snapuser/snapuser.css.scss +38 -1
- data/app/views/sessions/new.html.erb +21 -13
- data/lib/snapuser/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2005e6c46b05d955952f0361fe9bcbf0824f0c9
|
4
|
+
data.tar.gz: e105abf6f2c407f420ee431e9f4cf9bd8e4217b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bbfa756b8df8534d790f9384629354561cf59977d61a92767c7fd400ea7d07100a9e0d81f021753301e564840a7ac5f1e3b960691541bcbf86de15de19798ee
|
7
|
+
data.tar.gz: 5fac30db8b6c9e9ab2fb57161d5d377ee4f86687a019f75d5f663253e88162de90f310c29122f610a230dde0fa035d464006bd2e072f7f9ca271bec3061b082e
|
@@ -1,3 +1,40 @@
|
|
1
|
-
|
1
|
+
#snapuser {
|
2
2
|
font-family: sans-serif;
|
3
|
+
width: 300px;
|
4
|
+
margin: auto;
|
5
|
+
background: rgb(234, 234, 234);
|
6
|
+
* {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
box-sizing: border-box;
|
10
|
+
}
|
11
|
+
&.login {
|
12
|
+
padding: 20px;
|
13
|
+
div {
|
14
|
+
padding: 5px 0;
|
15
|
+
}
|
16
|
+
input {
|
17
|
+
padding: 10px;
|
18
|
+
width: 100%;
|
19
|
+
font-size: 16px;
|
20
|
+
border: 0;
|
21
|
+
border-bottom: 1px solid rgb(182, 182, 182);
|
22
|
+
&[type=submit] {
|
23
|
+
border: 1px solid rgb(216, 216, 216);
|
24
|
+
border-radius: 2px;
|
25
|
+
color: rgb(56, 66, 74);
|
26
|
+
background: #f7f7f7; /* Old browsers */
|
27
|
+
background: -moz-linear-gradient(top, #f7f7f7 0%, #e5e5e5 100%); /* FF3.6+ */
|
28
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
|
29
|
+
background: -webkit-linear-gradient(top, #f7f7f7 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
|
30
|
+
background: -o-linear-gradient(top, #f7f7f7 0%,#e5e5e5 100%); /* Opera 11.10+ */
|
31
|
+
background: -ms-linear-gradient(top, #f7f7f7 0%,#e5e5e5 100%); /* IE10+ */
|
32
|
+
background: linear-gradient(to bottom, #f7f7f7 0%,#e5e5e5 100%); /* W3C */
|
33
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
|
34
|
+
}
|
35
|
+
}
|
36
|
+
label {
|
37
|
+
color: #fff;
|
38
|
+
}
|
39
|
+
}
|
3
40
|
}
|
@@ -1,14 +1,22 @@
|
|
1
|
-
|
1
|
+
<div id="snapuser" class="login">
|
2
|
+
<%= form_for :session, url: sessions_path do |f| %>
|
3
|
+
<div>
|
4
|
+
<p>
|
5
|
+
<%= f.label :name %><br>
|
6
|
+
<%= f.text_field :name, placeholder: :name %>
|
7
|
+
</p>
|
8
|
+
</div>
|
9
|
+
<div>
|
10
|
+
<p>
|
11
|
+
<%= f.label :password %><br>
|
12
|
+
<%= f.password_field :password, placeholder: :password %>
|
13
|
+
</p>
|
14
|
+
</div>
|
15
|
+
<div class="rem">
|
16
|
+
<%= f.label :remember_me %>
|
17
|
+
<%= f.check_box :remember_me %>
|
18
|
+
</div>
|
19
|
+
<%= f.submit %>
|
2
20
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
<%= f.label :password %>
|
7
|
-
<%= f.password_field :password %>
|
8
|
-
<div class="rem">
|
9
|
-
<%= f.label :remember_me %>
|
10
|
-
<%= f.check_box :remember_me %>
|
11
|
-
</div>
|
12
|
-
<%= f.submit %>
|
13
|
-
|
14
|
-
<% end %>
|
21
|
+
<% end %>
|
22
|
+
</div>
|
data/lib/snapuser/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snapuser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- khcr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.2.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 4.2.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bcrypt-ruby
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: snaptable
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: sass-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: sqlite3
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
requirements: []
|
132
132
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.4.
|
133
|
+
rubygems_version: 2.4.5
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: A rails engine to add a simple authentification and permission system.
|