jinda 0.6.9 → 0.7.0

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: d7a078c526660f0e9f16753cd5119be42f5c961c7e9c3e8091ab1c5dd225d7d9
4
- data.tar.gz: 7b28f4aca8216b5fde11857c7927237e9b0d617ab2393595d9043483124a6706
3
+ metadata.gz: d366628d4cd026005bc75ff7c777cc27e783dcc626d57b5c93b6f67601f01b1e
4
+ data.tar.gz: d3392657824388c9815e929c279b1e538dbf5017411bd7a4e7eb0c7b55decbd8
5
5
  SHA512:
6
- metadata.gz: c17d6eb37c448e445be4a478d423166e9da739103bcc387490c0bb49d969961697ba25f6bc7638d6da85d03e31a8d84731571cbef165ea45a6aad5bb30b15e85
7
- data.tar.gz: c7ebbc487683d060b13a92400e0216d0106b08d0d0324bbcce97c93decafa6d641c2b29f0d1aafff6f7507563be42d4fc0fd91ae95bdf3e0b14dbbbf86acee58
6
+ metadata.gz: 67a1ddc7b42bba833d2331f0a8b166928560230cb97fbbda1453192daa2009345e6a06eb4e8eb1699846a50e14bdf373bc3816b75cd275dd36ab5f07ade652f4
7
+ data.tar.gz: be82dbe2c79f1bac9f7406d2fb97242ba8ce17f39bd0d07469d681e965a7e2db71a476bb3e428dbd85f16ec2e594d16ff81e772429c53e192d8b2d7bca1a5e72
@@ -50,3 +50,20 @@
50
50
  display: table-cell;
51
51
  text-align:center;
52
52
  }
53
+ .sign_in {
54
+ width: 100%;
55
+ max-width: 410px;
56
+ padding: 15px;
57
+ margin: auto;
58
+ display: block;
59
+
60
+ }
61
+
62
+ #logreg-forms{
63
+ width:412px;
64
+ margin:10vh auto;
65
+ background-color:#f3f3f3;
66
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
67
+ transition: all 0.3s cubic-bezier(.25,.8,.25,1);
68
+ }
69
+
@@ -33,7 +33,7 @@
33
33
  %div.inner
34
34
  %b Installation
35
35
  %ul
36
- %li add gem 'jinda', '0.6.9' to Gemfile then $ bundle
36
+ %li add gem 'jinda', '0.7.0' to Gemfile then $ bundle
37
37
  %li rails generate jinda:install, then bundle
38
38
  %li rails generate jinda:config
39
39
  %li rails jinda:seed, will create initial user:password admin:secret
@@ -1,32 +1,37 @@
1
1
  <div class="container">
2
- <%- @title= 'Sign Up' %>
3
- <%= form_tag "/auth/identity/register", {'data-ajax'=>'false'} do %>
2
+ <div id="logreg-forms">
3
+ <div class="sign_in">
4
+ <%- @title= 'Sign Up' %>
5
+ <%= form_tag "/auth/identity/register", {'data-ajax'=>'false'} do %>
6
+ <h1 class="h3 mb-3 font-weight-normal" style="text-align: center"> Sign Up</h1>
4
7
  <% if @identity && @identity.errors.any? %>
5
- <div class="error_messages">
6
- <h2><%= pluralize(@identity.errors.count, "error") %> prohibited this account from being saved:</h2>
7
- <ul>
8
- <% @identity.errors.full_messages.each do |msg| %>
9
- <li><%= msg %></li>
10
- <% end %>
11
- </ul>
12
- </div>
8
+ <div class="error_messages">
9
+ <h2><%= pluralize(@identity.errors.count, "error") %> prohibited this account from being saved:</h2>
10
+ <ul>
11
+ <% @identity.errors.full_messages.each do |msg| %>
12
+ <li><%= msg %></li>
13
+ <% end %>
14
+ </ul>
15
+ </div>
13
16
  <% end %>
14
- <div class="field" data-role="fieldcontain">
15
- <%= label_tag :code, 'Username' %>
16
- <%= text_field_tag :code, @identity.try(:code) %>
17
+ <div class="field form-control" data-role="fieldcontain">
18
+ <%= label_tag :code, 'Username' %>
19
+ <%= text_field_tag :code, @identity.try(:code) %>
17
20
  </div>
18
- <div class="field" data-role="fieldcontain">
19
- <%= label_tag :email %>
20
- <%= text_field_tag :email, @identity.try(:email) %>
21
+ <div class="field form-control" data-role="fieldcontain">
22
+ <%= label_tag :email %>
23
+ <%= text_field_tag :email, @identity.try(:email) %>
21
24
  </div>
22
- <div class="field" data-role="fieldcontain">
23
- <%= label_tag :password, 'Password' %>
24
- <%= password_field_tag :password %>
25
+ <div class="field form-control" data-role="fieldcontain">
26
+ <%= label_tag :password, 'Password' %>
27
+ <%= password_field_tag :password %>
25
28
  </div>
26
- <div class="field" data-role="fieldcontain">
27
- <%= label_tag :password_confirmation, 'Confirm password' %>
28
- <%= password_field_tag :password_confirmation %>
29
+ <div class="field form-control" data-role="fieldcontain">
30
+ <%= label_tag :password_confirmation, 'Confirm password' %>
31
+ <%= password_field_tag :password_confirmation %>
29
32
  </div>
30
- <div class="actions"><%= submit_tag "Sign Up" %></div>
31
- <% end %>
33
+ <button class="btn btn-warning btn-block actions" type="submit"><i class="fas fa-sign-up-alt"></i> Sign Up</button>
34
+ <% end %>
35
+ </div>
36
+ </div>
32
37
  </div>
@@ -1,7 +1,13 @@
1
- <%= form_tag password_resets_path, :method => :post do %>
2
- <div class="field">
3
- <%= label_tag :email %>
4
- <%= text_field_tag :email, params[:email] %>
5
- </div>
6
- <div class="actions"><%= submit_tag "Reset Password" %></div>
7
- <% end %>
1
+ <div class="container">
2
+ <div id="logreg-forms">
3
+ <div class="sign_in">
4
+ <%= form_tag password_resets_path, :method => :post do %>
5
+ <div class="field">
6
+ <%= label_tag :email %>
7
+ <%= text_field_tag :email, params[:email] %>
8
+ </div>
9
+ <button class="btn btn-success btn-block actions" type="submit"><i class="fas fa-sign-in-alt"></i> Reset Password</button>
10
+ <% end %>
11
+ </div>
12
+ </div>
13
+ </div>
@@ -1,20 +1,26 @@
1
1
  <div class="container">
2
- <div class="ui.head">
3
- <%= form_tag "/auth/identity/callback", {'data-ajax'=>'false'} do %>
4
- <div class="field" data-role="fieldcontain">
5
- <%= label_tag :auth_key, "User name" %>
6
- <%= text_field_tag :auth_key %>
7
- </div>
8
- <div class="field" data-role="fieldcontain">
9
- <%= label_tag :password, "Password" %>
10
- <%= password_field_tag :password %>
11
- </div>
12
- <div class="field" data-role="fieldcontain" data-icon="info">
13
- <%= label_tag :remember_me %>
14
- <%= check_box_tag :remember_me, 1, params.permit[:remember_me] %>
15
- </div>
16
- <div class="actions"><%= submit_tag "Sign In" %></div>
17
- <%= link_to 'Forgotten password?', new_password_reset_path, data: {icon: 'info', mini: 'true', role: 'button'} %>
18
- <% end %>
19
- </div>
2
+ <div id="logreg-forms">
3
+ <div class="sign_in">
4
+
5
+ <%= form_tag "/auth/identity/callback", {'data-ajax'=>'false'} do %>
6
+ <h1 class="h3 mb-3 font-weight-normal" style="text-align: center"> Sign in</h1>
7
+ <div class="form-control" data-role="fieldcontain">
8
+ <%= label_tag :auth_key, "User name" %>
9
+ <%= text_field_tag :auth_key %>
10
+ </div>
11
+ <div class="form-control" data-role="fieldcontain">
12
+ <%= label_tag :password, "Password" %>
13
+ <%= password_field_tag :password %>
14
+ </div>
15
+ <div class="field" data-role="fieldcontain" data-icon="info">
16
+ <%= label_tag :remember_me %>
17
+ <%= check_box_tag :remember_me, 1, params.permit[:remember_me] %>
18
+ </div>
19
+
20
+ <button class="btn btn-success btn-block actions" type="submit"><i class="fas fa-sign-in-alt"></i> Sign in</button>
21
+ <%= link_to 'Forgotten password?', new_password_reset_path, data: {icon: 'info', mini: 'true', role: 'button'} %>
22
+ <hr>
23
+ <% end %>
24
+ </div>
25
+ </div>
20
26
  </div>
@@ -1,3 +1,3 @@
1
1
  module Jinda
2
- VERSION = "0.6.9"
2
+ VERSION = "0.7.0"
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.6.9
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Prateep Kul
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-12-12 00:00:00.000000000 Z
12
+ date: 2021-01-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -478,7 +478,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
478
478
  - !ruby/object:Gem::Version
479
479
  version: '0'
480
480
  requirements: []
481
- rubygems_version: 3.1.4
481
+ rubygems_version: 3.2.3
482
482
  signing_key:
483
483
  specification_version: 4
484
484
  summary: 'Rails workflow from mind map: Freemind'