thecore_ui_commons 3.0.6 → 3.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +1 -15
- data/app/views/active_storage/blobs/_blob.html.erb +0 -14
- data/app/views/devise/confirmations/new.html.erb +0 -16
- data/app/views/devise/mailer/confirmation_instructions.html.erb +0 -5
- data/app/views/devise/mailer/password_change.html.erb +0 -5
- data/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
- data/app/views/devise/mailer/unlock_instructions.html.erb +0 -7
- data/app/views/devise/menu/_login_items.html.erb +0 -7
- data/app/views/devise/passwords/edit.html.erb +0 -25
- data/app/views/devise/passwords/new.html.erb +0 -18
- data/app/views/devise/registrations/edit.html.erb +0 -45
- data/app/views/devise/registrations/new.html.erb +0 -29
- data/app/views/devise/sessions/new.html.erb +0 -26
- data/app/views/devise/shared/_links.html.erb +0 -25
- data/app/views/devise/unlocks/new.html.erb +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2e82bc897c2c40c1f8aba8a48068740c1d56fc7c94e90eee2c48bf293a2b187
|
4
|
+
data.tar.gz: 9dc3f31aea8c17bbd5630a5839894ae6d7b21c33340cbab8aee77935beecda82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8c45f2cd0dec1f442b67857c814497ce7596c796d4304da22499c2348be7c1788e89bbbd01db542d60aa5dd5b4e387aaf882bc2910f707f3b42bce58771ad2f
|
7
|
+
data.tar.gz: 9640e77e101424114545f2e1c92a3d72a7eedfdf368f0c5153d3b2934c2e27ef5d76e0fa29491510503c8513e08bd27eb0613beb427bd53cb1efd31b82e5e806
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_ui_commons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
@@ -129,21 +129,7 @@ files:
|
|
129
129
|
- app/assets/javascripts/manifest.json
|
130
130
|
- app/assets/stylesheets/devise/sessions.css
|
131
131
|
- app/controllers/application_controller.rb
|
132
|
-
- app/views/active_storage/blobs/_blob.html.erb
|
133
132
|
- app/views/contact_mailer/contact_message.html.erb
|
134
|
-
- app/views/devise/confirmations/new.html.erb
|
135
|
-
- app/views/devise/mailer/confirmation_instructions.html.erb
|
136
|
-
- app/views/devise/mailer/password_change.html.erb
|
137
|
-
- app/views/devise/mailer/reset_password_instructions.html.erb
|
138
|
-
- app/views/devise/mailer/unlock_instructions.html.erb
|
139
|
-
- app/views/devise/menu/_login_items.html.erb
|
140
|
-
- app/views/devise/passwords/edit.html.erb
|
141
|
-
- app/views/devise/passwords/new.html.erb
|
142
|
-
- app/views/devise/registrations/edit.html.erb
|
143
|
-
- app/views/devise/registrations/new.html.erb
|
144
|
-
- app/views/devise/sessions/new.html.erb
|
145
|
-
- app/views/devise/shared/_links.html.erb
|
146
|
-
- app/views/devise/unlocks/new.html.erb
|
147
133
|
- app/views/kaminari/_first_page.html.erb
|
148
134
|
- app/views/kaminari/_gap.html.erb
|
149
135
|
- app/views/kaminari/_last_page.html.erb
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<figure class="attachment attachment--<%= blob.representable? ? "preview" : "file" %> attachment--<%= blob.filename.extension %>">
|
2
|
-
<% if blob.representable? %>
|
3
|
-
<%= image_tag blob.representation(resize_to_limit: local_assigns[:in_gallery] ? [ 800, 600 ] : [ 1024, 768 ]) %>
|
4
|
-
<% end %>
|
5
|
-
|
6
|
-
<figcaption class="attachment__caption">
|
7
|
-
<% if caption = blob.try(:caption) %>
|
8
|
-
<%= caption %>
|
9
|
-
<% else %>
|
10
|
-
<span class="attachment__name"><%= blob.filename %></span>
|
11
|
-
<span class="attachment__size"><%= number_to_human_size blob.byte_size %></span>
|
12
|
-
<% end %>
|
13
|
-
</figcaption>
|
14
|
-
</figure>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<h2><%=t("devise.confirmations.new.resend_confirmation_instructions")</h2>
|
2
|
-
|
3
|
-
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
|
4
|
-
<%= devise_error_messages! %>
|
5
|
-
|
6
|
-
<div class="field">
|
7
|
-
<%= f.label :email %><br />
|
8
|
-
<%= f.email_field :email, autofocus: true, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="actions">
|
12
|
-
<%= f.submit t("devise.confirmations.new.resend_confirmation_instructions") %>
|
13
|
-
|
14
|
-
<%= render "devise/shared/links" %>
|
15
|
-
</div>
|
16
|
-
<% end %>
|
@@ -1,5 +0,0 @@
|
|
1
|
-
<p><%=t "devise.mailer.confirmation_instructions.greeting", recipient: @email %></p>
|
2
|
-
|
3
|
-
<p><%=t "devise.mailer.confirmation_instructions.instruction"%></p>
|
4
|
-
|
5
|
-
<p><%= link_to t("devise.mailer.confirmation_instructions.action"), confirmation_url(@resource, confirmation_token: @token) %></p>
|
@@ -1,8 +0,0 @@
|
|
1
|
-
<p><%=t "devise.mailer.reset_password_instructions.greeting", recipient: @resource.email %></p>
|
2
|
-
|
3
|
-
<p><%=t "devise.mailer.reset_password_instructions.instruction"%></p>
|
4
|
-
|
5
|
-
<p><%= link_to t("devise.mailer.reset_password_instructions.action"), edit_password_url(@resource, reset_password_token: @token) %></p>
|
6
|
-
|
7
|
-
<p><%=t "devise.mailer.reset_password_instructions.instruction_2"%></p>
|
8
|
-
<p><%=t "devise.mailer.reset_password_instructions.instruction_3"%></p>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<p><%=t "devise.mailer.unlock_instructions.greeting", recipient: @resource.email %></p>
|
2
|
-
|
3
|
-
<p><%=t "devise.mailer.unlock_instructions.message" %></p>
|
4
|
-
|
5
|
-
<p><%=t "devise.mailer.unlock_instructions.instruction" %></p>
|
6
|
-
|
7
|
-
<p><%= link_to t("devise.mailer.unlock_instructions.action"), unlock_url(@resource, unlock_token: @token) %></p>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<div class="col-md-4 col-md-offset-4">
|
2
|
-
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
|
3
|
-
<%= devise_error_messages! %>
|
4
|
-
<%= f.hidden_field :reset_password_token %>
|
5
|
-
|
6
|
-
<div class="field">
|
7
|
-
<%= f.label :password, t("devise.passwords.edit.new_password") %><br />
|
8
|
-
<% if @minimum_password_length %>
|
9
|
-
<em>(<%= @minimum_password_length %> characters minimum)</em><br />
|
10
|
-
<% end %>
|
11
|
-
<%= f.password_field :password, autofocus: true, autocomplete: "off", :class => "form-control" %>
|
12
|
-
</div>
|
13
|
-
|
14
|
-
<div class="field">
|
15
|
-
<%= f.label :password_confirmation, "Confirm new password" %><br />
|
16
|
-
<%= f.password_field :password_confirmation, autocomplete: "off", :class => "form-control" %>
|
17
|
-
</div>
|
18
|
-
|
19
|
-
<div class="actions">
|
20
|
-
<%= f.submit t("devise.passwords.edit.change_my_password"), :class => "btn btn-warning" %>
|
21
|
-
|
22
|
-
<%= render "devise/shared/links" %>
|
23
|
-
</div>
|
24
|
-
<% end %>
|
25
|
-
</div>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<div class="col-md-4 col-md-offset-4">
|
2
|
-
<h2><%=t("devise.shared.links.forgot_your_password")%></h2>
|
3
|
-
|
4
|
-
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
|
5
|
-
<%= devise_error_messages! %>
|
6
|
-
|
7
|
-
<div class="field">
|
8
|
-
<%= f.label :username %><br />
|
9
|
-
<%= f.email_field :username, autofocus: true, :class => "form-control" %>
|
10
|
-
</div>
|
11
|
-
|
12
|
-
<div class="actions">
|
13
|
-
<%= f.submit t("devise.confirmations.new.resend_confirmation_instructions"), :class => "btn btn-warning" %>
|
14
|
-
|
15
|
-
<%= render "devise/shared/links" %>
|
16
|
-
</div>
|
17
|
-
<% end %>
|
18
|
-
</div>
|
@@ -1,45 +0,0 @@
|
|
1
|
-
<div class="col-md-4 col-md-offset-4">
|
2
|
-
<h2><%=t("devise.registrations.edit.title", resource: resource_name.to_s.humanize)%></h2>
|
3
|
-
|
4
|
-
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
|
5
|
-
<%= devise_error_messages! %>
|
6
|
-
|
7
|
-
<div class="field">
|
8
|
-
<%= f.label :username %><br />
|
9
|
-
<%= f.email_field :username, autofocus: true, :class => "form-control" %>
|
10
|
-
</div>
|
11
|
-
|
12
|
-
<% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
|
13
|
-
<div><%=t("devise.registrations.edit.currently_waiting_confirmation_for_email", {resource: resource.unconfirmed_email})%></div>
|
14
|
-
<% end %>
|
15
|
-
|
16
|
-
<div class="field">
|
17
|
-
<%= f.label :password %> <i><%=t("devise.shared.descriptions.leave_blank")%></i><br />
|
18
|
-
<%= f.password_field :password, autocomplete: "off", :class => "form-control" %>
|
19
|
-
<% if @minimum_password_length %>
|
20
|
-
<br />
|
21
|
-
<em><%=t "devise.validations.minimum_length", length: @minimum_password_length %></em>
|
22
|
-
<% end %>
|
23
|
-
</div>
|
24
|
-
|
25
|
-
<div class="field">
|
26
|
-
<%= f.label :password_confirmation %><br />
|
27
|
-
<%= f.password_field :password_confirmation, autocomplete: "off", :class => "form-control" %>
|
28
|
-
</div>
|
29
|
-
|
30
|
-
<div class="field">
|
31
|
-
<%= f.label :current_password %> <i><%=t("devise.shared.descriptions.current_password_needed")%></i><br />
|
32
|
-
<%= f.password_field :current_password, autocomplete: "off", :class => "form-control" %>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div class="actions">
|
36
|
-
<%= f.submit t("devise.registrations.edit.update"), :class => "btn btn-warning" %>
|
37
|
-
</div>
|
38
|
-
<% end %>
|
39
|
-
|
40
|
-
<h3><%=t("devise.registrations.edit.cancel_my_account")%></h3>
|
41
|
-
|
42
|
-
<p><%=t("devise.registrations.edit.unhappy")%> <%= button_to t("devise.registrations.edit.cancel_my_account"), registration_path(resource_name), data: { confirm: t("devise.registrations.edit.are_you_sure") }, method: :delete %></p>
|
43
|
-
|
44
|
-
<%= link_to t("devise.shared.links.back"), :back %>
|
45
|
-
</div>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<div class="col-md-4 col-md-offset-4">
|
2
|
-
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
|
3
|
-
<%= devise_error_messages! %>
|
4
|
-
|
5
|
-
<div class="field">
|
6
|
-
<%= f.label :username %><br />
|
7
|
-
<%= f.text_field :username, autofocus: true, :class => "form-control" %>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div class="field">
|
11
|
-
<%= f.label :password %>
|
12
|
-
<% if @minimum_password_length %>
|
13
|
-
<em>(<%= t "devise.validations.minimum_length", length: @minimum_password_length %>)</em>
|
14
|
-
<% end %><br />
|
15
|
-
<%= f.password_field :password, autocomplete: "off", :class => "form-control" %>
|
16
|
-
</div>
|
17
|
-
|
18
|
-
<div class="field">
|
19
|
-
<%= f.label :password_confirmation %><br />
|
20
|
-
<%= f.password_field :password_confirmation, autocomplete: "off", :class => "form-control" %>
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<div class="actions">
|
24
|
-
<%= f.submit t("devise.registrations.new.sign_up") %>
|
25
|
-
|
26
|
-
<%= render "devise/shared/links" %>
|
27
|
-
</div>
|
28
|
-
<% end %>
|
29
|
-
</div>
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<div class=login-container id="login-form">
|
2
|
-
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
|
3
|
-
<div class="field">
|
4
|
-
<%= f.text_field :login, autofocus: true, :class => "form-control", placeholder: t("devise.sessions.new.login") %>
|
5
|
-
</div>
|
6
|
-
|
7
|
-
<div class="field">
|
8
|
-
<%= f.password_field :password, autocomplete: "off", :class => "form-control", placeholder: t("devise.sessions.new.password") %>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<% if devise_mapping.rememberable? -%>
|
12
|
-
<div class="form-check">
|
13
|
-
<%= f.check_box :remember_me, class: "form-check-input" %>
|
14
|
-
<label class="form-check-label" for="defaultCheck1">
|
15
|
-
<%=t "activerecord.attributes.user.remember_me" %>
|
16
|
-
</label>
|
17
|
-
</div>
|
18
|
-
<% end -%>
|
19
|
-
|
20
|
-
<div class="actions">
|
21
|
-
<%= f.submit t("devise.sessions.new.sign_in"), class: "btn" %>
|
22
|
-
|
23
|
-
<%= render "devise/shared/links" %>
|
24
|
-
</div>
|
25
|
-
<% end %>
|
26
|
-
</div>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<%- if controller_name != 'sessions' %>
|
2
|
-
<%= link_to t("devise.sessions.new.sign_in"), new_session_path(resource_name), :class => "btn btn-success" %><br />
|
3
|
-
<% end -%>
|
4
|
-
|
5
|
-
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
|
6
|
-
<%= link_to t("devise.registrations.new.sign_up"), new_registration_path(resource_name), :class => "btn btn-success" %><br />
|
7
|
-
<% end -%>
|
8
|
-
|
9
|
-
<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
|
10
|
-
<%= link_to t("devise.passwords.new.forgot_your_password"), new_password_path(resource_name), :class => "btn btn-success" %><br />
|
11
|
-
<% end -%>
|
12
|
-
|
13
|
-
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
14
|
-
<%= link_to t("devise.shared.links.didn_t_receive_confirmation_instructions"), new_confirmation_path(resource_name), :class => "btn btn-success" %><br />
|
15
|
-
<% end -%>
|
16
|
-
|
17
|
-
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
|
18
|
-
<%= link_to t("devise.shared.links.didn_t_receive_unlock_instructions"), new_unlock_path(resource_name), :class => "btn btn-success" %><br />
|
19
|
-
<% end -%>
|
20
|
-
|
21
|
-
<%- if devise_mapping.omniauthable? %>
|
22
|
-
<%- resource_class.omniauth_providers.each do |provider| %>
|
23
|
-
<%= link_to t("devise.shared.links.sign_in_with_provider", provider: OmniAuth::Utils.camelize(provider)), omniauth_authorize_path(resource_name, provider), :class => "btn btn-success" %><br />
|
24
|
-
<% end -%>
|
25
|
-
<% end -%>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<h2><%=t("devise.unlocks.new.resend_unlock_instructions")%></h2>
|
2
|
-
|
3
|
-
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
|
4
|
-
<%= devise_error_messages! %>
|
5
|
-
|
6
|
-
<div class="field">
|
7
|
-
<%= f.label :email %><br />
|
8
|
-
<%= f.email_field :email, autofocus: true %>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="actions">
|
12
|
-
<%= f.submit <%=t("devise.unlocks.new.resend_unlock_instructions")%> %>
|
13
|
-
|
14
|
-
<%= render "devise/shared/links" %>
|
15
|
-
</div>
|
16
|
-
<% end %>
|