rails_modular_admin 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +0 -0
- data/README.md +10 -35
- data/Rakefile +1 -1
- data/app/assets/config/rails_modular_admin_manifest.js +0 -0
- data/app/assets/javascripts/rails_modular_admin.js +3 -2
- data/app/assets/javascripts/rails_modular_admin/_common/_helpers/code-helper.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/_common/_helpers/for-helper.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/_common/_helpers/is-helper.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/_common/_helpers/times-helper.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/_common/animations/animations.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/_common/items-list/items-list.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/_common/nprogress/nprogress.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/_common/sameheight-items/sameheight-items.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/_common/editor/editor-helper.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/_common/editor/editor.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/_common/header/nav/nav.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/_common/modals/modal-media/modal-media.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/_common/sidebar/customize/customize.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/_common/sidebar/sidebar.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/charts/charts-flot/charts-flot.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/charts/charts-morris/charts-morris.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/dashboard/history/history.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/dashboard/items/items.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/dashboard/sales-breakdown/sales-breakdown.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/dashboard/sales-by-countries/sales-by-countries.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/dashboard/tasks/tasks.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/forms/input-groups/input-groups.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/items/editor/item-editor.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/items/list/items-list.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/app/pages/error.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/auth/login/login.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/auth/reset/reset.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/auth/signup/signup.js +0 -0
- data/app/assets/javascripts/rails_modular_admin/vendor.js +0 -0
- data/app/assets/stylesheets/rails_modular_admin.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/_styles/_mixins.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/_styles/layout.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/_styles/misc.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/_styles/typography.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/alert/alert.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/animations/animations.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/button/button.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/card/card.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/chart/chart.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/dropdown/dropdown.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/flex/flex.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/form/form.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/images-container/images-container.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/items-list/items-list.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/logo/logo.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/modal/modal-tabs.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/navigation/navigation.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/nprogress/nprogress.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/pagination/pagination.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/sameheight-items/sameheight-items.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/scrollbar/scrollbar.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_common/table/table.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_main.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/_variables.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/editor/editor.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/footer/footer.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/header/buttons/buttons.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/header/collapse/collapse.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/header/header.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/header/nav/nav.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/header/nav/notifications/notifications.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/header/nav/profile/profile.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/header/search/search.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/modals/modal-media/modal-media.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/modals/modals.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/sidebar/customize/customize.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/sidebar/header/header.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/_common/sidebar/sidebar.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/app.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/charts/charts-flot/charts-flot.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/dashboard/dashboard.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/dashboard/history/history.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/dashboard/items/items-header.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/dashboard/items/items-list.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/dashboard/sales-breakdown/sales-breakdown.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/dashboard/sales-by-countries/sales-by-countries.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/dashboard/stats/stats.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/dashboard/tasks/tasks.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/items/editor/item-editor.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/items/list/items-list.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/pages/error.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/pages/screenful/screenful.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/app/tables/responsive-tables/responsive-tables.scss +0 -0
- data/app/assets/stylesheets/rails_modular_admin/application.scss +0 -1
- data/app/assets/stylesheets/rails_modular_admin/auth/auth.scss +0 -0
- data/app/controllers/rails_modular_admin/application_controller.rb +0 -0
- data/app/helpers/rails_modular_admin/application_helper.rb +0 -0
- data/app/jobs/rails_modular_admin/application_job.rb +0 -0
- data/app/mailers/rails_modular_admin/application_mailer.rb +0 -0
- data/app/models/rails_modular_admin/application_record.rb +0 -0
- data/app/views/layouts/rails_modular_admin/application.html.erb +0 -0
- data/config/initializers/assets.rb +2 -2
- data/config/routes.rb +0 -0
- data/lib/generators/rails_modular_admin/USAGE +0 -0
- data/lib/generators/rails_modular_admin/install_generator.rb +0 -0
- data/lib/generators/rails_modular_admin/templates/application.html.erb +27 -0
- data/lib/generators/rails_modular_admin/templates/custom-theme.scss +0 -0
- data/lib/generators/rails_modular_admin/templates/dashboard.html.erb +1450 -0
- data/lib/generators/rails_modular_admin/templates/devise/confirmations/new.html.erb +16 -0
- data/lib/generators/rails_modular_admin/templates/devise/passwords/edit.html.erb +25 -0
- data/lib/generators/rails_modular_admin/templates/devise/passwords/new.html.erb +39 -0
- data/lib/generators/rails_modular_admin/templates/devise/registrations/edit.html.erb +43 -0
- data/lib/generators/rails_modular_admin/templates/devise/registrations/new.html.erb +29 -0
- data/lib/generators/rails_modular_admin/templates/devise/sessions/new.html.erb +73 -0
- data/lib/generators/rails_modular_admin/templates/devise/shared/_links.html.erb +25 -0
- data/lib/generators/rails_modular_admin/templates/devise/unlocks/new.html.erb +16 -0
- data/lib/generators/rails_modular_admin/templates/login.html.erb +85 -0
- data/lib/generators/rails_modular_admin/templates/recover.html.erb +77 -0
- data/lib/generators/rails_modular_admin/templates/signup.html.erb +101 -0
- data/lib/generators/rails_modular_admin/views_generator.rb +15 -0
- data/lib/rails_modular_admin.rb +0 -4
- data/lib/rails_modular_admin/engine.rb +4 -1
- data/lib/rails_modular_admin/version.rb +1 -1
- data/lib/tasks/rails_modular_admin_tasks.rake +0 -0
- metadata +73 -3
@@ -0,0 +1,16 @@
|
|
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" %>
|
@@ -0,0 +1,25 @@
|
|
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" %>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<div class="auth">
|
2
|
+
<div class="auth-container">
|
3
|
+
<div class="card">
|
4
|
+
<header class="auth-header">
|
5
|
+
<h1 class="auth-title">
|
6
|
+
<div class="logo">
|
7
|
+
<span class="l l1"></span>
|
8
|
+
<span class="l l2"></span>
|
9
|
+
<span class="l l3"></span>
|
10
|
+
<span class="l l4"></span>
|
11
|
+
<span class="l l5"></span>
|
12
|
+
</div> ModularAdmin </h1>
|
13
|
+
</header>
|
14
|
+
<div class="auth-content">
|
15
|
+
<p class="text-center">RECOVER PASSWORD</p>
|
16
|
+
<p class="text-muted text-center">
|
17
|
+
<small>Enter your email address to recover your password.</small>
|
18
|
+
</p>
|
19
|
+
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }, id: "reset-form") do |f| %>
|
20
|
+
<%= devise_error_messages! %>
|
21
|
+
<div class="form-group">
|
22
|
+
<label for="email1">Email</label>
|
23
|
+
<%= f.email_field :email, autofocus: true, autocomplete: "email", id: "email1", class: "form-control underlined", placeholder: "Your email address", required: true %>
|
24
|
+
</div>
|
25
|
+
<div class="form-group">
|
26
|
+
<%= f.submit "Reset", class: "btn btn-block btn-primary" %>
|
27
|
+
</div>
|
28
|
+
<div class="form-group clearfix">
|
29
|
+
<%= render "devise/shared/links" %>
|
30
|
+
<a class="pull-left" href="login.html">return to Login</a>
|
31
|
+
<a class="pull-right" href="signup.html">Sign Up!</a>
|
32
|
+
</div>
|
33
|
+
<% end %>
|
34
|
+
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
</div>
|
39
|
+
</div>
|
@@ -0,0 +1,43 @@
|
|
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 %>
|
@@ -0,0 +1,29 @@
|
|
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" %>
|
@@ -0,0 +1,73 @@
|
|
1
|
+
<h2>Log in</h2>
|
2
|
+
|
3
|
+
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
|
4
|
+
<div class="field">
|
5
|
+
<%= f.label :email %><br />
|
6
|
+
<%= f.email_field :email, autofocus: true, autocomplete: "email" %>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<div class="field">
|
10
|
+
<%= f.label :password %><br />
|
11
|
+
<%= f.password_field :password, autocomplete: "off" %>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<% if devise_mapping.rememberable? -%>
|
15
|
+
<div class="field">
|
16
|
+
<%= f.check_box :remember_me %>
|
17
|
+
<%= f.label :remember_me %>
|
18
|
+
</div>
|
19
|
+
<% end -%>
|
20
|
+
|
21
|
+
<div class="actions">
|
22
|
+
<%= f.submit "Log in" %>
|
23
|
+
</div>
|
24
|
+
<% end %>
|
25
|
+
|
26
|
+
<%= render "devise/shared/links" %>
|
27
|
+
|
28
|
+
<div class="auth">
|
29
|
+
<div class="auth-container">
|
30
|
+
<div class="card">
|
31
|
+
<header class="auth-header">
|
32
|
+
<h1 class="auth-title">
|
33
|
+
<div class="logo">
|
34
|
+
<span class="l l1"></span>
|
35
|
+
<span class="l l2"></span>
|
36
|
+
<span class="l l3"></span>
|
37
|
+
<span class="l l4"></span>
|
38
|
+
<span class="l l5"></span>
|
39
|
+
</div> ModularAdmin </h1>
|
40
|
+
</header>
|
41
|
+
<div class="auth-content">
|
42
|
+
<p class="text-center">LOGIN TO CONTINUE</p>
|
43
|
+
<form id="login-form" action="/index.html" method="GET" novalidate="">
|
44
|
+
<div class="form-group">
|
45
|
+
<label for="username">Username</label>
|
46
|
+
<input type="email" class="form-control underlined" name="username" id="username" placeholder="Your email address" required> </div>
|
47
|
+
<div class="form-group">
|
48
|
+
<label for="password">Password</label>
|
49
|
+
<input type="password" class="form-control underlined" name="password" id="password" placeholder="Your password" required> </div>
|
50
|
+
<div class="form-group">
|
51
|
+
<label for="remember">
|
52
|
+
<input class="checkbox" id="remember" type="checkbox">
|
53
|
+
<span>Remember me</span>
|
54
|
+
</label>
|
55
|
+
<a href="reset.html" class="forgot-btn pull-right">Forgot password?</a>
|
56
|
+
</div>
|
57
|
+
<div class="form-group">
|
58
|
+
<button type="submit" class="btn btn-block btn-primary">Login</button>
|
59
|
+
</div>
|
60
|
+
<div class="form-group">
|
61
|
+
<p class="text-muted text-center">Do not have an account?
|
62
|
+
<a href="signup.html">Sign Up!</a>
|
63
|
+
</p>
|
64
|
+
</div>
|
65
|
+
</form>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
<div class="text-center">
|
69
|
+
<a href="index.html" class="btn btn-secondary btn-sm">
|
70
|
+
<i class="fa fa-arrow-left"></i> Back to dashboard </a>
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
</div>
|
@@ -0,0 +1,25 @@
|
|
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 -%>
|
@@ -0,0 +1,16 @@
|
|
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" %>
|
@@ -0,0 +1,85 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html class="no-js" lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
6
|
+
<title> ModularAdmin - Free Dashboard Theme | HTML Version </title>
|
7
|
+
<meta name="description" content="">
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
9
|
+
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
10
|
+
<!-- Place favicon.ico in the root directory -->
|
11
|
+
<link rel="stylesheet" href="css/vendor.css">
|
12
|
+
<!-- Theme initialization -->
|
13
|
+
<script>
|
14
|
+
var themeSettings = (localStorage.getItem('themeSettings')) ? JSON.parse(localStorage.getItem('themeSettings')) :
|
15
|
+
{};
|
16
|
+
var themeName = themeSettings.themeName || '';
|
17
|
+
if (themeName)
|
18
|
+
{
|
19
|
+
document.write('<link rel="stylesheet" id="theme-style" href="css/app-' + themeName + '.css">');
|
20
|
+
}
|
21
|
+
else
|
22
|
+
{
|
23
|
+
document.write('<link rel="stylesheet" id="theme-style" href="css/app.css">');
|
24
|
+
}
|
25
|
+
</script>
|
26
|
+
</head>
|
27
|
+
<body>
|
28
|
+
<div class="auth">
|
29
|
+
<div class="auth-container">
|
30
|
+
<div class="card">
|
31
|
+
<header class="auth-header">
|
32
|
+
<h1 class="auth-title">
|
33
|
+
<div class="logo">
|
34
|
+
<span class="l l1"></span>
|
35
|
+
<span class="l l2"></span>
|
36
|
+
<span class="l l3"></span>
|
37
|
+
<span class="l l4"></span>
|
38
|
+
<span class="l l5"></span>
|
39
|
+
</div> ModularAdmin </h1>
|
40
|
+
</header>
|
41
|
+
<div class="auth-content">
|
42
|
+
<p class="text-center">LOGIN TO CONTINUE</p>
|
43
|
+
<form id="login-form" action="/index.html" method="GET" novalidate="">
|
44
|
+
<div class="form-group">
|
45
|
+
<label for="username">Username</label>
|
46
|
+
<input type="email" class="form-control underlined" name="username" id="username" placeholder="Your email address" required> </div>
|
47
|
+
<div class="form-group">
|
48
|
+
<label for="password">Password</label>
|
49
|
+
<input type="password" class="form-control underlined" name="password" id="password" placeholder="Your password" required> </div>
|
50
|
+
<div class="form-group">
|
51
|
+
<label for="remember">
|
52
|
+
<input class="checkbox" id="remember" type="checkbox">
|
53
|
+
<span>Remember me</span>
|
54
|
+
</label>
|
55
|
+
<a href="reset.html" class="forgot-btn pull-right">Forgot password?</a>
|
56
|
+
</div>
|
57
|
+
<div class="form-group">
|
58
|
+
<button type="submit" class="btn btn-block btn-primary">Login</button>
|
59
|
+
</div>
|
60
|
+
<div class="form-group">
|
61
|
+
<p class="text-muted text-center">Do not have an account?
|
62
|
+
<a href="signup.html">Sign Up!</a>
|
63
|
+
</p>
|
64
|
+
</div>
|
65
|
+
</form>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
<div class="text-center">
|
69
|
+
<a href="index.html" class="btn btn-secondary btn-sm">
|
70
|
+
<i class="fa fa-arrow-left"></i> Back to dashboard </a>
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
<!-- Reference block for JS -->
|
75
|
+
<div class="ref" id="ref">
|
76
|
+
<div class="color-primary"></div>
|
77
|
+
<div class="chart">
|
78
|
+
<div class="color-primary"></div>
|
79
|
+
<div class="color-secondary"></div>
|
80
|
+
</div>
|
81
|
+
</div>
|
82
|
+
<script src="js/vendor.js"></script>
|
83
|
+
<script src="js/app.js"></script>
|
84
|
+
</body>
|
85
|
+
</html>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html class="no-js" lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
6
|
+
<title> ModularAdmin - Free Dashboard Theme | HTML Version </title>
|
7
|
+
<meta name="description" content="">
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
9
|
+
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
10
|
+
<!-- Place favicon.ico in the root directory -->
|
11
|
+
<link rel="stylesheet" href="css/vendor.css">
|
12
|
+
<!-- Theme initialization -->
|
13
|
+
<script>
|
14
|
+
var themeSettings = (localStorage.getItem('themeSettings')) ? JSON.parse(localStorage.getItem('themeSettings')) :
|
15
|
+
{};
|
16
|
+
var themeName = themeSettings.themeName || '';
|
17
|
+
if (themeName)
|
18
|
+
{
|
19
|
+
document.write('<link rel="stylesheet" id="theme-style" href="css/app-' + themeName + '.css">');
|
20
|
+
}
|
21
|
+
else
|
22
|
+
{
|
23
|
+
document.write('<link rel="stylesheet" id="theme-style" href="css/app.css">');
|
24
|
+
}
|
25
|
+
</script>
|
26
|
+
</head>
|
27
|
+
<body>
|
28
|
+
<div class="auth">
|
29
|
+
<div class="auth-container">
|
30
|
+
<div class="card">
|
31
|
+
<header class="auth-header">
|
32
|
+
<h1 class="auth-title">
|
33
|
+
<div class="logo">
|
34
|
+
<span class="l l1"></span>
|
35
|
+
<span class="l l2"></span>
|
36
|
+
<span class="l l3"></span>
|
37
|
+
<span class="l l4"></span>
|
38
|
+
<span class="l l5"></span>
|
39
|
+
</div> ModularAdmin </h1>
|
40
|
+
</header>
|
41
|
+
<div class="auth-content">
|
42
|
+
<p class="text-center">PASSWORD RECOVER</p>
|
43
|
+
<p class="text-muted text-center">
|
44
|
+
<small>Enter your email address to recover your password.</small>
|
45
|
+
</p>
|
46
|
+
<form id="reset-form" action="/index.html" method="GET" novalidate="">
|
47
|
+
<div class="form-group">
|
48
|
+
<label for="email1">Email</label>
|
49
|
+
<input type="email" class="form-control underlined" name="email1" id="email1" placeholder="Your email address" required> </div>
|
50
|
+
<div class="form-group">
|
51
|
+
<button type="submit" class="btn btn-block btn-primary">Reset</button>
|
52
|
+
</div>
|
53
|
+
<div class="form-group clearfix">
|
54
|
+
<a class="pull-left" href="login.html">return to Login</a>
|
55
|
+
<a class="pull-right" href="signup.html">Sign Up!</a>
|
56
|
+
</div>
|
57
|
+
</form>
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
<div class="text-center">
|
61
|
+
<a href="index.html" class="btn btn-secondary btn-sm">
|
62
|
+
<i class="fa fa-arrow-left"></i> Back to dashboard </a>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
<!-- Reference block for JS -->
|
67
|
+
<div class="ref" id="ref">
|
68
|
+
<div class="color-primary"></div>
|
69
|
+
<div class="chart">
|
70
|
+
<div class="color-primary"></div>
|
71
|
+
<div class="color-secondary"></div>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
<script src="js/vendor.js"></script>
|
75
|
+
<script src="js/app.js"></script>
|
76
|
+
</body>
|
77
|
+
</html>
|
@@ -0,0 +1,101 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html class="no-js" lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
6
|
+
<title> ModularAdmin - Free Dashboard Theme | HTML Version </title>
|
7
|
+
<meta name="description" content="">
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
9
|
+
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
10
|
+
<!-- Place favicon.ico in the root directory -->
|
11
|
+
<link rel="stylesheet" href="css/vendor.css">
|
12
|
+
<!-- Theme initialization -->
|
13
|
+
<script>
|
14
|
+
var themeSettings = (localStorage.getItem('themeSettings')) ? JSON.parse(localStorage.getItem('themeSettings')) :
|
15
|
+
{};
|
16
|
+
var themeName = themeSettings.themeName || '';
|
17
|
+
if (themeName)
|
18
|
+
{
|
19
|
+
document.write('<link rel="stylesheet" id="theme-style" href="css/app-' + themeName + '.css">');
|
20
|
+
}
|
21
|
+
else
|
22
|
+
{
|
23
|
+
document.write('<link rel="stylesheet" id="theme-style" href="css/app.css">');
|
24
|
+
}
|
25
|
+
</script>
|
26
|
+
</head>
|
27
|
+
<body>
|
28
|
+
<div class="auth">
|
29
|
+
<div class="auth-container">
|
30
|
+
<div class="card">
|
31
|
+
<header class="auth-header">
|
32
|
+
<h1 class="auth-title">
|
33
|
+
<div class="logo">
|
34
|
+
<span class="l l1"></span>
|
35
|
+
<span class="l l2"></span>
|
36
|
+
<span class="l l3"></span>
|
37
|
+
<span class="l l4"></span>
|
38
|
+
<span class="l l5"></span>
|
39
|
+
</div> ModularAdmin </h1>
|
40
|
+
</header>
|
41
|
+
<div class="auth-content">
|
42
|
+
<p class="text-center">SIGNUP TO GET INSTANT ACCESS</p>
|
43
|
+
<form id="signup-form" action="/index.html" method="GET" novalidate="">
|
44
|
+
<div class="form-group">
|
45
|
+
<label for="firstname">Name</label>
|
46
|
+
<div class="row">
|
47
|
+
<div class="col-sm-6">
|
48
|
+
<input type="text" class="form-control underlined" name="firstname" id="firstname" placeholder="Enter firstname" required=""> </div>
|
49
|
+
<div class="col-sm-6">
|
50
|
+
<input type="text" class="form-control underlined" name="lastname" id="lastname" placeholder="Enter lastname" required=""> </div>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
<div class="form-group">
|
54
|
+
<label for="email">Email</label>
|
55
|
+
<input type="email" class="form-control underlined" name="email" id="email" placeholder="Enter email address" required=""> </div>
|
56
|
+
<div class="form-group">
|
57
|
+
<label for="password">Password</label>
|
58
|
+
<div class="row">
|
59
|
+
<div class="col-sm-6">
|
60
|
+
<input type="password" class="form-control underlined" name="password" id="password" placeholder="Enter password" required=""> </div>
|
61
|
+
<div class="col-sm-6">
|
62
|
+
<input type="password" class="form-control underlined" name="retype_password" id="retype_password" placeholder="Re-type password" required=""> </div>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
<div class="form-group">
|
66
|
+
<label for="agree">
|
67
|
+
<input class="checkbox" name="agree" id="agree" type="checkbox" required="">
|
68
|
+
<span>Agree the terms and
|
69
|
+
<a href="#">policy</a>
|
70
|
+
</span>
|
71
|
+
</label>
|
72
|
+
</div>
|
73
|
+
<div class="form-group">
|
74
|
+
<button type="submit" class="btn btn-block btn-primary">Sign Up</button>
|
75
|
+
</div>
|
76
|
+
<div class="form-group">
|
77
|
+
<p class="text-muted text-center">Already have an account?
|
78
|
+
<a href="login.html">Login!</a>
|
79
|
+
</p>
|
80
|
+
</div>
|
81
|
+
</form>
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
<div class="text-center">
|
85
|
+
<a href="index.html" class="btn btn-secondary btn-sm">
|
86
|
+
<i class="fa fa-arrow-left"></i> Back to dashboard </a>
|
87
|
+
</div>
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
<!-- Reference block for JS -->
|
91
|
+
<div class="ref" id="ref">
|
92
|
+
<div class="color-primary"></div>
|
93
|
+
<div class="chart">
|
94
|
+
<div class="color-primary"></div>
|
95
|
+
<div class="color-secondary"></div>
|
96
|
+
</div>
|
97
|
+
</div>
|
98
|
+
<script src="js/vendor.js"></script>
|
99
|
+
<script src="js/app.js"></script>
|
100
|
+
</body>
|
101
|
+
</html>
|