lwqzx_auth 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 20218c425d0a074da1a3b19fdfb5696e416928c4678b5a241363e034f4d94e0c
|
4
|
+
data.tar.gz: 87764ec7f26a5cf667719bd8a0fe39b2ce343449783590fe9e81c26ccc8bf8a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8051249dfea2188d85243ffa854e25dbaea512a1766222aceba59b37610fb41f0f36430b2b3200e0ad57c7f958ebd647f4182719b7e1703caa0dc817859acfc2
|
7
|
+
data.tar.gz: 83f7eab3501fa49f7aa6221251afe5cf7e9ada352521e5e32396f005e980575e4c0e942b5417c137409bd45af96781b0f63ce183375c526795bbf08db2d73f40
|
@@ -1,10 +1,10 @@
|
|
1
|
-
h2.text-center =<> icon("user") + ' 登 录'
|
1
|
+
h2.text-center =<> icon("fas","user") + ' 登 录'
|
2
2
|
br
|
3
3
|
.row
|
4
4
|
.col-md-4
|
5
5
|
.col-md-4
|
6
|
-
= form_tag auth_path, role: "form", class: "
|
7
|
-
.
|
6
|
+
= form_tag auth_path, role: "form", class: "card form-horizontal" do
|
7
|
+
.card-body
|
8
8
|
strong 登录名
|
9
9
|
br
|
10
10
|
= text_field_tag :login,nil,class: "form-control"
|
@@ -14,5 +14,5 @@ br
|
|
14
14
|
= password_field_tag :password,nil, class: "form-control"
|
15
15
|
|
16
16
|
|
17
|
-
.
|
17
|
+
.card-footer
|
18
18
|
= submit_tag '登录', class: "btn-block btn-primary btn"
|
data/lib/lwqzx_auth/engine.rb
CHANGED
@@ -12,10 +12,10 @@ module LwqzxAuth
|
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
15
|
+
initializer "lwqzx_auth.mount" do |app|
|
16
|
+
app.routes.prepend do
|
17
|
+
mount LwqzxAuth::Engine => ENV["LWQZX_AUTH_MOUNT_PATH"]
|
18
|
+
end
|
19
|
+
end
|
20
20
|
end
|
21
21
|
end
|
data/lib/lwqzx_auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lwqzx_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zxy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
71
|
rubyforge_project:
|
72
|
-
rubygems_version: 2.
|
72
|
+
rubygems_version: 2.7.3
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: add auth function to host application.
|