jinda 0.7.0.3 → 0.7.0.4

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
2
  SHA256:
3
- metadata.gz: bfc843f29ba73019a6a209b43a1fc8e415f78fc09e781aa52132bb2b6031dd74
4
- data.tar.gz: 798d4c2e8804b9653ea982992893b81c060be1d4ffea5c4e548fc462130a8dbe
3
+ metadata.gz: e005b8c5e10b6bea34554b5539ecd3b6d9e8ef8f5077d7dccff000523b59f04c
4
+ data.tar.gz: 5f92f912934ae5936edd5ab9a6b2bc0dd5ba4a497e13b78ec89ebc3f35f8c9eb
5
5
  SHA512:
6
- metadata.gz: b809a61ed31859627ca26f12f8dd95e792083e6239c6b31f25671b8bf1bfbadf001c0b3af46c280cf3f5c7dbc7c6bf051fe9936745d8cfad0e4ab4bfe3cf369d
7
- data.tar.gz: '01794f1c58a848e40acd08483e9bce48259de8dcbd6378ecbaf971f9972533ed44d735edd1fb6583dbf2baec538995ae48230f26281319fd760b28fd423c7c23'
6
+ metadata.gz: 2ed46b40d167ec06f330f745982dde313379e44049b3cd752db9913818ff4b92042ffe730a53e62231fac887b80ac467987a291c9dd8b1891eb0a2fee354c944
7
+ data.tar.gz: 7bb1ddc0a2d39f131020e5bb18ec6f58e97d9f251c5f1df10f3dae5577a56115ebdbbc8f8f57d5c838d4172227bf616d15d535d7bc772c2fed01a0bacc52b5db
@@ -0,0 +1,32 @@
1
+ .container
2
+ .signup-form
3
+ - @title= 'Sign Up'
4
+ = form_tag "/auth/identity/register", {'data-ajax'=>'false'} do
5
+ %h1.h3.mb-3.font-weight-normal{:style => "text-align: center"} Sign Up
6
+ .sign_in
7
+ .label-warning
8
+ = flash[:alert]
9
+ - if @identity && @identity.errors.any?
10
+ .error_messages
11
+ %h3
12
+ = pluralize(@identity.errors.count, "error")
13
+ prohibited this account from being saved:
14
+ %ul
15
+ - @identity.errors.full_messages.each do |msg|
16
+ %li= msg
17
+ .form-group.form-control
18
+ = label_tag :code, 'Username'
19
+ = text_field_tag :code, @identity.try(:code)
20
+ .form-group.form-control
21
+ = label_tag :email
22
+ = text_field_tag :email, @identity.try(:email)
23
+ .form-group.form-control
24
+ = label_tag :password, 'Password'
25
+ = password_field_tag :password
26
+ .form-group.form-control
27
+ = label_tag :password_confirmation, 'Confirm password'
28
+ = password_field_tag :password_confirmation
29
+ %button.btn.btn-success.btn-block.actions{:type => "submit"}
30
+ %i.fas.fa-sign-up-alt
31
+ Sign Up
32
+
@@ -0,0 +1,11 @@
1
+ .container
2
+ .signup-form
3
+ .sign_in
4
+ = form_tag password_resets_path, :method => :post do
5
+ .form-group.form-control
6
+ = label_tag :email
7
+ = text_field_tag :email, params[:email]
8
+ %button.btn.btn-success.btn-block.actions{:type => "submit"}
9
+ %i.fas.fa-sign-in-alt
10
+ Reset Password
11
+
@@ -0,0 +1,22 @@
1
+ .container
2
+ .signup-form
3
+ = form_tag "/auth/identity/callback", {'data-ajax'=>'false'} do
4
+ %h1.h3.mb-3.font-weight-normal{:style => "text-align: center"} Sign in
5
+ .sign_in
6
+ .label-warning
7
+ = flash[:alert]
8
+ .form-group.form-control
9
+ = label_tag :auth_key, "User name"
10
+ = text_field_tag :auth_key
11
+ .form-group.form-control
12
+ = label_tag :password, "Password"
13
+ = password_field_tag :password
14
+ .form-group
15
+ = label_tag :remember_me
16
+ = check_box_tag :remember_me, 1, params.permit[:remember_me]
17
+ %button.btn.btn-success.btn-block.actions{:type => "submit"}
18
+ %i.fas.fa-sign-in-alt
19
+ Sign in
20
+ = link_to 'Forgotten password?', new_password_reset_path, data: {icon: 'info', mini: 'true', role: 'button'}
21
+ %hr/
22
+
@@ -1,3 +1,3 @@
1
1
  module Jinda
2
- VERSION = "0.7.0.3"
2
+ VERSION = "0.7.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jinda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0.3
4
+ version: 0.7.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Prateep Kul
@@ -306,6 +306,7 @@ files:
306
306
  - lib/generators/jinda/templates/app/views/docs/edit/select_note.html.erb
307
307
  - lib/generators/jinda/templates/app/views/docs/index.haml
308
308
  - lib/generators/jinda/templates/app/views/docs/my.haml
309
+ - lib/generators/jinda/templates/app/views/identities/new.html.haml
309
310
  - lib/generators/jinda/templates/app/views/jinda_mailer/gmail.html.erb
310
311
  - lib/generators/jinda/templates/app/views/layouts/_head.html.erb
311
312
  - lib/generators/jinda/templates/app/views/layouts/_meta_tag.html.erb
@@ -343,6 +344,8 @@ files:
343
344
  - lib/generators/jinda/templates/app/views/notes/show.haml
344
345
  - lib/generators/jinda/templates/app/views/notes/xedit/edit_note.html.erb
345
346
  - lib/generators/jinda/templates/app/views/password_resets/edit.html.erb
347
+ - lib/generators/jinda/templates/app/views/password_resets/new.html.haml
348
+ - lib/generators/jinda/templates/app/views/sessions/new.html.haml
346
349
  - lib/generators/jinda/templates/app/views/sitemap/index.xml.haml
347
350
  - lib/generators/jinda/templates/app/views/user_mailer/password_reset.html.haml
348
351
  - lib/generators/jinda/templates/app/views/user_mailer/password_reset.text.erb