phcdevworks_accounts_auth0 1.0.1b → 1.1.0b
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +2 -2
- data/app/assets/config/phcdevworks_accounts_auth0_manifest.js +1 -2
- data/app/assets/stylesheets/phcdevworks_accounts_auth0/application.css +15 -0
- data/app/controllers/phcdevworks_accounts_auth0/application_controller.rb +2 -13
- data/app/controllers/phcdevworks_accounts_auth0/auth/handler_controller.rb +26 -26
- data/app/controllers/phcdevworks_accounts_auth0/user/pages_controller.rb +9 -7
- data/app/helpers/phcdevworks_accounts_auth0/user/pages_helper.rb +4 -0
- data/app/views/layouts/phcdevworks_accounts_auth0/application.html.erb +9 -67
- data/app/views/phcdevworks_accounts_auth0/auth/handler/logged_out.html.erb +1 -0
- data/app/views/phcdevworks_accounts_auth0/user/pages/profile.html.erb +0 -4
- data/config/routes.rb +2 -2
- data/lib/phcdevworks_accounts_auth0/engine.rb +1 -40
- data/lib/phcdevworks_accounts_auth0/version.rb +1 -1
- metadata +22 -237
- data/app/controllers/concerns/secured.rb +0 -13
- data/app/views/layouts/phcdevworks_accounts_auth0/components/backend/footer/_footer.html.erb +0 -17
- data/app/views/layouts/phcdevworks_accounts_auth0/components/backend/navigation/_top_menu.html.erb +0 -36
- data/app/views/layouts/phcdevworks_accounts_auth0/components/backend/sidebars/_side_menu.html.erb +0 -934
- data/app/views/phcdevworks_accounts_auth0/admin/pages/components/_profile_header.html.erb +0 -27
- data/app/views/phcdevworks_accounts_auth0/admin/pages/dashboard.html.erb +0 -0
- data/app/views/phcdevworks_accounts_auth0/admin/pages/user_profile.html.erb +0 -22
- data/app/views/phcdevworks_accounts_auth0/admin/pages/users_list.html.erb +0 -64
- data/config/initializers/auth0.rb +0 -14
data/app/views/layouts/phcdevworks_accounts_auth0/components/backend/footer/_footer.html.erb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
<!-- -PHCDEV- Page Container - Footer - Left -->
|
2
|
-
<span>
|
3
|
-
<!-- -PHCDEV- Page Container - Footer - Left - Copyright -->
|
4
|
-
<i class="fab fa-osi font-weight-bolder"></i> 2012-<%= Time.now.year %> -
|
5
|
-
<span class="phc_dev_strong_plugin">PHC</span><span class="phc_dev_light_plugin">Devworks</span> Accounts (Auth0) - Engine v<%= Gem.loaded_specs["phcdevworks_accounts_auth0"].version.to_s %>
|
6
|
-
<!-- -PHCDEV- Page Container - Footer - Left - Copyright -->
|
7
|
-
</span>
|
8
|
-
<!-- -PHCDEV- Page Container - Footer - Left -->
|
9
|
-
|
10
|
-
<!-- -PHCDEV- Page Container - Footer - Right -->
|
11
|
-
<span class="float-right">
|
12
|
-
<!-- -PHCDEV- Page Container - Footer - Right - Developed -->
|
13
|
-
Developed with <i class="fas fa-heart hanna_hearts"></i> by
|
14
|
-
<a class="phcnet_copyright text-dark" href="https://phcdevworks.com/"><u><span class="phc_dev_strong_plugin">PHC</span><span class="phc_dev_light_plugin">Devworks</span></u></a>
|
15
|
-
<!-- -PHCDEV- Page Container - Footer - Right - Developed -->
|
16
|
-
</span>
|
17
|
-
<!-- -PHCDEV- Page Container - Footer - Right -->
|
data/app/views/layouts/phcdevworks_accounts_auth0/components/backend/navigation/_top_menu.html.erb
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
<!-- -PHCDEV- Topbar - Navigation Header -->
|
2
|
-
<div class="navbar-header">
|
3
|
-
|
4
|
-
<button type="button" class="navbar-mobile-toggler" data-toggle="app-sidebar-mobile">
|
5
|
-
<span class="icon-bar"></span>
|
6
|
-
<span class="icon-bar"></span>
|
7
|
-
<span class="icon-bar"></span>
|
8
|
-
</button>
|
9
|
-
|
10
|
-
<%= link_to phcdevworks_accounts_auth0.user_profile_path, class: "navbar-brand" do %>
|
11
|
-
<span class="phc_dev_strong_plugin_logo">PHC</span><span class="phc_dev_light_plugin_logo">Devworks</span>
|
12
|
-
<% end %>
|
13
|
-
|
14
|
-
</div>
|
15
|
-
<!-- -PHCDEV- Topbar - Navigation Header -->
|
16
|
-
|
17
|
-
<!-- -PHCDEV- Topbar - Navigation Main -->
|
18
|
-
<% if current_user %>
|
19
|
-
<div class="navbar-nav">
|
20
|
-
<div class="navbar-item navbar-user dropdown">
|
21
|
-
<a href="#" class="navbar-link dropdown-toggle d-flex align-items-center" data-bs-toggle="dropdown">
|
22
|
-
<%= image_tag current_user['picture'] %>
|
23
|
-
<span>
|
24
|
-
<span class="d-none d-md-inline"><%= current_user['name'] %></span>
|
25
|
-
<b class="caret"></b>
|
26
|
-
</span>
|
27
|
-
</a>
|
28
|
-
<div class="dropdown-menu dropdown-menu-end me-1">
|
29
|
-
<%= link_to phcdevworks_accounts_auth0.auth_logout_path, class: "dropdown-item" do %>
|
30
|
-
<i class="fad fa-sign-out-alt"></i> Logout
|
31
|
-
<% end %>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
<% end %>
|
36
|
-
<!-- -PHCDEV- Topbar - Navigation Main -->
|