dq_admin 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/dq_admin/version.rb +1 -1
- metadata +1 -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/email_changed.html.erb +0 -7
- data/app/views/devise/mailer/password_change.html.erb +0 -3
- 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/passwords/edit.html.erb +0 -25
- data/app/views/devise/passwords/new.html.erb +0 -16
- data/app/views/devise/registrations/edit.html.erb +0 -43
- data/app/views/devise/registrations/new.html.erb +0 -29
- data/app/views/devise/sessions/new.html.erb +0 -35
- 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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf6f8355d25f3a6af70fe63794fbc0d297e17f01
|
4
|
+
data.tar.gz: d6f1f2d531271c2196f772b03ae2aa49a532157d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7fd3d1cb42af3c78a6c1bdd6ef90b58b00767cbdf9021f26e9a81845c95683a530eb5e678967f21826b8c398490041d82cf87915ee7497788a53ac780a1464b
|
7
|
+
data.tar.gz: 5290ad46d953633590802217331ed9f37f595634b61be4d9f9b16b4a1f81d0cb028c280085f8fe0f4a956a3247bad5fa0518a676308eafb4439c2afb3a8a8fe9
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dq_admin (0.4.
|
4
|
+
dq_admin (0.4.3)
|
5
5
|
autoprefixer-rails
|
6
6
|
carrierwave
|
7
7
|
devise
|
@@ -89,7 +89,7 @@ GEM
|
|
89
89
|
activerecord
|
90
90
|
kaminari-core (= 1.1.1)
|
91
91
|
kaminari-core (1.1.1)
|
92
|
-
loofah (2.2.
|
92
|
+
loofah (2.2.1)
|
93
93
|
crass (~> 1.0.2)
|
94
94
|
nokogiri (>= 1.5.9)
|
95
95
|
mail (2.7.0)
|
data/lib/dq_admin/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dq_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vincent178
|
@@ -182,19 +182,6 @@ files:
|
|
182
182
|
- app/models/dq_admin/slide.rb
|
183
183
|
- app/models/dq_admin/user.rb
|
184
184
|
- app/services/dq_admin/field_service.rb
|
185
|
-
- app/views/devise/confirmations/new.html.erb
|
186
|
-
- app/views/devise/mailer/confirmation_instructions.html.erb
|
187
|
-
- app/views/devise/mailer/email_changed.html.erb
|
188
|
-
- app/views/devise/mailer/password_change.html.erb
|
189
|
-
- app/views/devise/mailer/reset_password_instructions.html.erb
|
190
|
-
- app/views/devise/mailer/unlock_instructions.html.erb
|
191
|
-
- app/views/devise/passwords/edit.html.erb
|
192
|
-
- app/views/devise/passwords/new.html.erb
|
193
|
-
- app/views/devise/registrations/edit.html.erb
|
194
|
-
- app/views/devise/registrations/new.html.erb
|
195
|
-
- app/views/devise/sessions/new.html.erb
|
196
|
-
- app/views/devise/shared/_links.html.erb
|
197
|
-
- app/views/devise/unlocks/new.html.erb
|
198
185
|
- app/views/dq_admin/dashboard/index.html.erb
|
199
186
|
- app/views/dq_admin/products/edit.html.erb
|
200
187
|
- app/views/dq_admin/products/index.html.erb
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<h2>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, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="actions">
|
12
|
-
<%= f.submit "Resend confirmation instructions" %>
|
13
|
-
</div>
|
14
|
-
<% end %>
|
15
|
-
|
16
|
-
<%= render "devise/shared/links" %>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<p>Hello <%= @email %>!</p>
|
2
|
-
|
3
|
-
<% if @resource.try(:unconfirmed_email?) %>
|
4
|
-
<p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>
|
5
|
-
<% else %>
|
6
|
-
<p>We're contacting you to notify you that your email has been changed to <%= @resource.email %>.</p>
|
7
|
-
<% end %>
|
@@ -1,8 +0,0 @@
|
|
1
|
-
<p>Hello <%= @resource.email %>!</p>
|
2
|
-
|
3
|
-
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
4
|
-
|
5
|
-
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
|
6
|
-
|
7
|
-
<p>If you didn't request this, please ignore this email.</p>
|
8
|
-
<p>Your password won't change until you access the link above and create a new one.</p>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<p>Hello <%= @resource.email %>!</p>
|
2
|
-
|
3
|
-
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
|
4
|
-
|
5
|
-
<p>Click the link below to unlock your account:</p>
|
6
|
-
|
7
|
-
<p><%= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token) %></p>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<h2>Change your password</h2>
|
2
|
-
|
3
|
-
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
|
4
|
-
<%= devise_error_messages! %>
|
5
|
-
<%= f.hidden_field :reset_password_token %>
|
6
|
-
|
7
|
-
<div class="field">
|
8
|
-
<%= f.label :password, "New password" %><br />
|
9
|
-
<% if @minimum_password_length %>
|
10
|
-
<em>(<%= @minimum_password_length %> characters minimum)</em><br />
|
11
|
-
<% end %>
|
12
|
-
<%= f.password_field :password, autofocus: true, autocomplete: "off" %>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<div class="field">
|
16
|
-
<%= f.label :password_confirmation, "Confirm new password" %><br />
|
17
|
-
<%= f.password_field :password_confirmation, autocomplete: "off" %>
|
18
|
-
</div>
|
19
|
-
|
20
|
-
<div class="actions">
|
21
|
-
<%= f.submit "Change my password" %>
|
22
|
-
</div>
|
23
|
-
<% end %>
|
24
|
-
|
25
|
-
<%= render "devise/shared/links" %>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<h2>Forgot your password?</h2>
|
2
|
-
|
3
|
-
<%= form_for(resource, as: resource_name, url: password_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, autocomplete: "email" %>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="actions">
|
12
|
-
<%= f.submit "Send me reset password instructions" %>
|
13
|
-
</div>
|
14
|
-
<% end %>
|
15
|
-
|
16
|
-
<%= render "devise/shared/links" %>
|
@@ -1,43 +0,0 @@
|
|
1
|
-
<h2>Edit <%= resource_name.to_s.humanize %></h2>
|
2
|
-
|
3
|
-
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
|
4
|
-
<%= devise_error_messages! %>
|
5
|
-
|
6
|
-
<div class="field">
|
7
|
-
<%= f.label :email %><br />
|
8
|
-
<%= f.email_field :email, autofocus: true, autocomplete: "email" %>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
|
12
|
-
<div>Currently waiting confirmation for: <%= resource.unconfirmed_email %></div>
|
13
|
-
<% end %>
|
14
|
-
|
15
|
-
<div class="field">
|
16
|
-
<%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br />
|
17
|
-
<%= f.password_field :password, autocomplete: "off" %>
|
18
|
-
<% if @minimum_password_length %>
|
19
|
-
<br />
|
20
|
-
<em><%= @minimum_password_length %> characters minimum</em>
|
21
|
-
<% end %>
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<div class="field">
|
25
|
-
<%= f.label :password_confirmation %><br />
|
26
|
-
<%= f.password_field :password_confirmation, autocomplete: "off" %>
|
27
|
-
</div>
|
28
|
-
|
29
|
-
<div class="field">
|
30
|
-
<%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br />
|
31
|
-
<%= f.password_field :current_password, autocomplete: "off" %>
|
32
|
-
</div>
|
33
|
-
|
34
|
-
<div class="actions">
|
35
|
-
<%= f.submit "Update" %>
|
36
|
-
</div>
|
37
|
-
<% end %>
|
38
|
-
|
39
|
-
<h3>Cancel my account</h3>
|
40
|
-
|
41
|
-
<p>Unhappy? <%= button_to "Cancel my account", registration_path(resource_name), data: { confirm: "Are you sure?" }, method: :delete %></p>
|
42
|
-
|
43
|
-
<%= link_to "Back", :back %>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<h2>Sign up</h2>
|
2
|
-
|
3
|
-
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
|
4
|
-
<%= devise_error_messages! %>
|
5
|
-
|
6
|
-
<div class="field">
|
7
|
-
<%= f.label :email %><br />
|
8
|
-
<%= f.email_field :email, autofocus: true, autocomplete: "email" %>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="field">
|
12
|
-
<%= f.label :password %>
|
13
|
-
<% if @minimum_password_length %>
|
14
|
-
<em>(<%= @minimum_password_length %> characters minimum)</em>
|
15
|
-
<% end %><br />
|
16
|
-
<%= f.password_field :password, autocomplete: "off" %>
|
17
|
-
</div>
|
18
|
-
|
19
|
-
<div class="field">
|
20
|
-
<%= f.label :password_confirmation %><br />
|
21
|
-
<%= f.password_field :password_confirmation, autocomplete: "off" %>
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<div class="actions">
|
25
|
-
<%= f.submit "Sign up" %>
|
26
|
-
</div>
|
27
|
-
<% end %>
|
28
|
-
|
29
|
-
<%= render "devise/shared/links" %>
|
@@ -1,35 +0,0 @@
|
|
1
|
-
<div class="login-box">
|
2
|
-
<div class="login-logo">
|
3
|
-
<a href="/">Admin</a>
|
4
|
-
</div>
|
5
|
-
<div class="login-box-body">
|
6
|
-
<p class="login-box-msg">Sign in to start your session</p>
|
7
|
-
|
8
|
-
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
|
9
|
-
|
10
|
-
<div class="form-group has-feedback">
|
11
|
-
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "form-control" %>
|
12
|
-
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<div class="form-group has-feedback">
|
16
|
-
<%= f.password_field :password, autocomplete: "off", class: "form-control" %>
|
17
|
-
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
18
|
-
</div>
|
19
|
-
|
20
|
-
<% if devise_mapping.rememberable? -%>
|
21
|
-
<div class="form-group has-feedback">
|
22
|
-
<%= f.check_box :remember_me %>
|
23
|
-
<%= f.label :remember_me, style: "font-weight: normal;" %>
|
24
|
-
</div>
|
25
|
-
<% end -%>
|
26
|
-
|
27
|
-
<div class="row">
|
28
|
-
<div class="col-xs-4">
|
29
|
-
<%= f.submit "Sign in", class: "btn btn-primary btn-block btn-flat" %>
|
30
|
-
</div>
|
31
|
-
</div>
|
32
|
-
<% end %>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<%- if controller_name != 'sessions' %>
|
2
|
-
<%= link_to "Log in", new_session_path(resource_name) %><br />
|
3
|
-
<% end -%>
|
4
|
-
|
5
|
-
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
|
6
|
-
<%= link_to "Sign up", new_registration_path(resource_name) %><br />
|
7
|
-
<% end -%>
|
8
|
-
|
9
|
-
<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
|
10
|
-
<%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
|
11
|
-
<% end -%>
|
12
|
-
|
13
|
-
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
14
|
-
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %><br />
|
15
|
-
<% end -%>
|
16
|
-
|
17
|
-
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
|
18
|
-
<%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
|
19
|
-
<% end -%>
|
20
|
-
|
21
|
-
<%- if devise_mapping.omniauthable? %>
|
22
|
-
<%- resource_class.omniauth_providers.each do |provider| %>
|
23
|
-
<%= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider) %><br />
|
24
|
-
<% end -%>
|
25
|
-
<% end -%>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<h2>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, autocomplete: "email" %>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="actions">
|
12
|
-
<%= f.submit "Resend unlock instructions" %>
|
13
|
-
</div>
|
14
|
-
<% end %>
|
15
|
-
|
16
|
-
<%= render "devise/shared/links" %>
|