phcdevworks_accounts 2.1.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/phcdevworks_accounts/{account/dashboard.coffee → admin/pages.coffee} +0 -0
- data/app/assets/javascripts/phcdevworks_accounts/{admin/accounts.coffee → user/pages.coffee} +0 -0
- data/app/assets/stylesheets/phcdevworks_accounts/admin/{accounts.scss → pages.scss} +1 -1
- data/app/assets/stylesheets/phcdevworks_accounts/{account/dashboard.scss → user/pages.scss} +1 -1
- data/app/controllers/phcdevworks_accounts/admin/pages_controller.rb +25 -0
- data/app/controllers/phcdevworks_accounts/application_controller.rb +17 -17
- data/app/controllers/phcdevworks_accounts/user/pages_controller.rb +15 -0
- data/app/helpers/phcdevworks_accounts/admin/{accounts_helper.rb → pages_helper.rb} +1 -1
- data/app/helpers/phcdevworks_accounts/application_helper.rb +2 -2
- data/app/helpers/phcdevworks_accounts/{account/dashboard_helper.rb → user/pages_helper.rb} +1 -1
- data/app/views/layouts/phcdevworks_accounts/application.html.erb +12 -17
- data/app/views/layouts/phcdevworks_accounts/application_full_width.html.erb +12 -17
- data/app/views/layouts/phcdevworks_accounts/application_no_sidebar.html.erb +12 -17
- data/app/views/layouts/phcdevworks_accounts/application_profile.html.erb +65 -0
- data/app/views/layouts/phcdevworks_accounts/components/backend/footer/_footer.html.erb +1 -2
- data/app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb +1 -1
- data/app/views/layouts/phcdevworks_accounts/components/backend/sidebars/_side_menu.html.erb +2 -2
- data/app/views/layouts/phcdevworks_accounts/devise.html.erb +12 -17
- data/app/views/phcdevworks_accounts/admin/pages/components/_profile_header.html.erb +27 -0
- data/app/views/phcdevworks_accounts/{account/dashboard/index.html.erb → admin/pages/dashboard.html.erb} +0 -0
- data/app/views/phcdevworks_accounts/admin/pages/user_profile.html.erb +22 -0
- data/app/views/phcdevworks_accounts/admin/pages/users_list.html.erb +70 -0
- data/app/views/phcdevworks_accounts/{admin/accounts/index.html.erb → user/pages/dashboard.html.erb} +0 -0
- data/app/views/phcdevworks_accounts/{admin/accounts/users_index.html.erb → user/pages/profile.html.erb} +0 -0
- data/app/views/users/confirmations/new.html.erb +2 -2
- data/app/views/users/passwords/edit.html.erb +2 -2
- data/app/views/users/passwords/new.html.erb +1 -1
- data/app/views/users/registrations/edit.html.erb +2 -2
- data/app/views/users/registrations/new.html.erb +1 -1
- data/app/views/users/sessions/new.html.erb +1 -1
- data/app/views/users/unlocks/new.html.erb +2 -2
- data/config/routes.rb +6 -5
- data/lib/phcdevworks_accounts/engine.rb +3 -3
- data/lib/phcdevworks_accounts/version.rb +1 -1
- metadata +52 -52
- data/app/controllers/phcdevworks_accounts/account/dashboard_controller.rb +0 -11
- data/app/controllers/phcdevworks_accounts/admin/accounts_controller.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69c3f6fc45363975ce0ca7a1079d54cadd77d459dfd07f1e6a39445ddb0bf1d2
|
4
|
+
data.tar.gz: 5710d7ae20f011c5ede7d2f5de15413c580bb6920692839b06210cfbd5c81db5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0906276c4f161774b28b7c258f0fa69fcd317d45adf52fd1611c3f438c0929e789a7a1cb1c296ac61ea290a60bc8aa52158c557c4ba6c1c29a1907d5bf0bd47f'
|
7
|
+
data.tar.gz: b556b41b0208121cdba54f22fb029cef7bbe28b6d87e4d9d4b198c19f585a49615608ce9ee68aceb57a26b0f6b3f7a42762052720fa1069a02dd296236e456b6
|
data/app/assets/javascripts/phcdevworks_accounts/{account/dashboard.coffee → admin/pages.coffee}
RENAMED
File without changes
|
data/app/assets/javascripts/phcdevworks_accounts/{admin/accounts.coffee → user/pages.coffee}
RENAMED
File without changes
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require_dependency "phcdevworks_accounts/application_controller"
|
2
|
+
|
3
|
+
module PhcdevworksAccounts
|
4
|
+
class Admin::PagesController < ApplicationController
|
5
|
+
|
6
|
+
# Filters
|
7
|
+
include PhcdevworksCore::PhcdevworksPluginsHelper
|
8
|
+
before_action :phcdevworks_accounts_admin_only
|
9
|
+
layout "phcdevworks_accounts/application_profile", :only => [ :user_profile ]
|
10
|
+
|
11
|
+
# Account Admin
|
12
|
+
def dashboard
|
13
|
+
end
|
14
|
+
|
15
|
+
# User Admin
|
16
|
+
def users_list
|
17
|
+
@admin_users = User.all
|
18
|
+
end
|
19
|
+
|
20
|
+
def user_profile
|
21
|
+
@admin_user = User.find_by_id(params[:id])
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
@@ -1,25 +1,25 @@
|
|
1
1
|
module PhcdevworksAccounts
|
2
|
-
|
2
|
+
class ApplicationController < ActionController::Base
|
3
|
+
|
4
|
+
# Devise Filter
|
5
|
+
before_action :phcdevworks_accounts_permitted_parameters, if: :devise_controller?
|
3
6
|
|
4
|
-
|
5
|
-
|
7
|
+
# Security Filters
|
8
|
+
protect_from_forgery with: :exception
|
6
9
|
|
7
|
-
|
8
|
-
|
10
|
+
# Load Requried Helper Files
|
11
|
+
helper PhcdevworksActiveMenus::Engine.helpers
|
12
|
+
helper PhcdevworksNotifications::Engine.helpers
|
13
|
+
helper PhcdevworksTitleseo::Engine.helpers
|
9
14
|
|
10
|
-
|
11
|
-
helper PhcdevworksActiveMenus::Engine.helpers
|
12
|
-
helper PhcdevworksNotifications::Engine.helpers
|
13
|
-
helper PhcdevworksTitleseo::Engine.helpers
|
15
|
+
private
|
14
16
|
|
15
|
-
|
17
|
+
# Whitelist Additional Fields
|
18
|
+
def phcdevworks_accounts_permitted_parameters
|
19
|
+
added_attrs = [:username, :firstname, :lastname, :email, :terms_of_service, :password, :password_confirmation, :remember_me]
|
20
|
+
devise_parameter_sanitizer.permit :sign_up, keys: added_attrs
|
21
|
+
devise_parameter_sanitizer.permit :account_update, keys: added_attrs
|
22
|
+
end
|
16
23
|
|
17
|
-
# Whitelist Additional Fields
|
18
|
-
def phcdevworks_accounts_permitted_parameters
|
19
|
-
added_attrs = [:username, :firstname, :lastname, :email, :terms_of_service, :password, :password_confirmation, :remember_me]
|
20
|
-
devise_parameter_sanitizer.permit :sign_up, keys: added_attrs
|
21
|
-
devise_parameter_sanitizer.permit :account_update, keys: added_attrs
|
22
24
|
end
|
23
|
-
|
24
|
-
end
|
25
25
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require_dependency "phcdevworks_accounts/application_controller"
|
2
|
+
|
3
|
+
module PhcdevworksAccounts
|
4
|
+
class User::PagesController < ApplicationController
|
5
|
+
|
6
|
+
# Security Filters
|
7
|
+
before_action :authenticate_user!
|
8
|
+
|
9
|
+
# Pages - User
|
10
|
+
def profile
|
11
|
+
@user_profile = User.find_by_id(params[:id])
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
@@ -6,27 +6,26 @@
|
|
6
6
|
<% phc_seo_title "PHCDevworks Accounts" %>
|
7
7
|
<% phc_seo_description "Ruby on Rails 6 Authentication and User Management Engine." %>
|
8
8
|
<!-- SEO System -->
|
9
|
-
|
9
|
+
|
10
10
|
<!-- SEO and Site Description -->
|
11
|
-
|
12
|
-
|
13
|
-
<meta name="
|
14
|
-
|
15
|
-
<link rel="canonical" href="http://phcdevworks.com">
|
11
|
+
<meta charset="utf-8">
|
12
|
+
<title><%= yield(:phc_seo_title) %></title>
|
13
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
14
|
+
<meta name="description" content="<%= yield(:phc_seo_description) %>">
|
16
15
|
<!-- SEO and Site Description -->
|
17
|
-
|
16
|
+
|
18
17
|
<!-- Rails Security Tags -->
|
19
18
|
<%= csrf_meta_tags %>
|
20
19
|
<%= csp_meta_tag %>
|
21
20
|
<!-- Rails Security Tags -->
|
22
|
-
|
21
|
+
|
23
22
|
<!-- CSS Styles -->
|
24
|
-
<%= stylesheet_link_tag "
|
23
|
+
<%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
|
25
24
|
<!-- CSS Styles -->
|
26
|
-
|
27
|
-
<!--
|
28
|
-
|
29
|
-
<!--
|
25
|
+
|
26
|
+
<!-- JavaScript -->
|
27
|
+
<%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
|
28
|
+
<!-- JavaScript -->
|
30
29
|
|
31
30
|
</head>
|
32
31
|
<body>
|
@@ -63,9 +62,5 @@
|
|
63
62
|
</div>
|
64
63
|
<!-- Page Container -->
|
65
64
|
|
66
|
-
<!-- JavaScript -->
|
67
|
-
<%= javascript_include_tag "phcdevworks_accounts/application", "data-turbolinks-track": "reload" %>
|
68
|
-
<!-- JavaScript -->
|
69
|
-
|
70
65
|
</body>
|
71
66
|
</html>
|
@@ -6,27 +6,26 @@
|
|
6
6
|
<% phc_seo_title "PHCDevworks Accounts" %>
|
7
7
|
<% phc_seo_description "Ruby on Rails 6 Authentication and User Management Engine." %>
|
8
8
|
<!-- SEO System -->
|
9
|
-
|
9
|
+
|
10
10
|
<!-- SEO and Site Description -->
|
11
|
-
|
12
|
-
|
13
|
-
<meta name="
|
14
|
-
|
15
|
-
<link rel="canonical" href="http://phcdevworks.com">
|
11
|
+
<meta charset="utf-8">
|
12
|
+
<title><%= yield(:phc_seo_title) %></title>
|
13
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
14
|
+
<meta name="description" content="<%= yield(:phc_seo_description) %>">
|
16
15
|
<!-- SEO and Site Description -->
|
17
|
-
|
16
|
+
|
18
17
|
<!-- Rails Security Tags -->
|
19
18
|
<%= csrf_meta_tags %>
|
20
19
|
<%= csp_meta_tag %>
|
21
20
|
<!-- Rails Security Tags -->
|
22
|
-
|
21
|
+
|
23
22
|
<!-- CSS Styles -->
|
24
|
-
<%= stylesheet_link_tag "
|
23
|
+
<%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
|
25
24
|
<!-- CSS Styles -->
|
26
|
-
|
27
|
-
<!--
|
28
|
-
|
29
|
-
<!--
|
25
|
+
|
26
|
+
<!-- JavaScript -->
|
27
|
+
<%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
|
28
|
+
<!-- JavaScript -->
|
30
29
|
|
31
30
|
</head>
|
32
31
|
<body>
|
@@ -63,9 +62,5 @@
|
|
63
62
|
</div>
|
64
63
|
<!-- Page Container -->
|
65
64
|
|
66
|
-
<!-- JavaScript -->
|
67
|
-
<%= javascript_include_tag "phcdevworks_accounts/application", "data-turbolinks-track": "reload" %>
|
68
|
-
<!-- JavaScript -->
|
69
|
-
|
70
65
|
</body>
|
71
66
|
</html>
|
@@ -6,27 +6,26 @@
|
|
6
6
|
<% phc_seo_title "PHCDevworks Accounts" %>
|
7
7
|
<% phc_seo_description "Ruby on Rails 6 Authentication and User Management Engine." %>
|
8
8
|
<!-- SEO System -->
|
9
|
-
|
9
|
+
|
10
10
|
<!-- SEO and Site Description -->
|
11
|
-
|
12
|
-
|
13
|
-
<meta name="
|
14
|
-
|
15
|
-
<link rel="canonical" href="http://phcdevworks.com">
|
11
|
+
<meta charset="utf-8">
|
12
|
+
<title><%= yield(:phc_seo_title) %></title>
|
13
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
14
|
+
<meta name="description" content="<%= yield(:phc_seo_description) %>">
|
16
15
|
<!-- SEO and Site Description -->
|
17
|
-
|
16
|
+
|
18
17
|
<!-- Rails Security Tags -->
|
19
18
|
<%= csrf_meta_tags %>
|
20
19
|
<%= csp_meta_tag %>
|
21
20
|
<!-- Rails Security Tags -->
|
22
|
-
|
21
|
+
|
23
22
|
<!-- CSS Styles -->
|
24
|
-
<%= stylesheet_link_tag "
|
23
|
+
<%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
|
25
24
|
<!-- CSS Styles -->
|
26
|
-
|
27
|
-
<!--
|
28
|
-
|
29
|
-
<!--
|
25
|
+
|
26
|
+
<!-- JavaScript -->
|
27
|
+
<%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
|
28
|
+
<!-- JavaScript -->
|
30
29
|
|
31
30
|
</head>
|
32
31
|
<body>
|
@@ -56,9 +55,5 @@
|
|
56
55
|
</div>
|
57
56
|
<!-- Page Container -->
|
58
57
|
|
59
|
-
<!-- JavaScript -->
|
60
|
-
<%= javascript_include_tag "phcdevworks_accounts/application", "data-turbolinks-track": "reload" %>
|
61
|
-
<!-- JavaScript -->
|
62
|
-
|
63
58
|
</body>
|
64
59
|
</html>
|
@@ -0,0 +1,65 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
|
5
|
+
<!-- SEO System -->
|
6
|
+
<% phc_seo_title "PHCDevworks Accounts" %>
|
7
|
+
<% phc_seo_description "Ruby on Rails 6 Authentication and User Management Engine." %>
|
8
|
+
<!-- SEO System -->
|
9
|
+
|
10
|
+
<!-- SEO and Site Description -->
|
11
|
+
<meta charset="utf-8">
|
12
|
+
<title><%= yield(:phc_seo_title) %></title>
|
13
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
14
|
+
<meta name="description" content="<%= yield(:phc_seo_description) %>">
|
15
|
+
<!-- SEO and Site Description -->
|
16
|
+
|
17
|
+
<!-- Rails Security Tags -->
|
18
|
+
<%= csrf_meta_tags %>
|
19
|
+
<%= csp_meta_tag %>
|
20
|
+
<!-- Rails Security Tags -->
|
21
|
+
|
22
|
+
<!-- CSS Styles -->
|
23
|
+
<%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
|
24
|
+
<!-- CSS Styles -->
|
25
|
+
|
26
|
+
<!-- JavaScript -->
|
27
|
+
<%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
|
28
|
+
<!-- JavaScript -->
|
29
|
+
|
30
|
+
</head>
|
31
|
+
<body>
|
32
|
+
|
33
|
+
<!-- Page Container -->
|
34
|
+
<div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
|
35
|
+
|
36
|
+
<!-- Page Header -->
|
37
|
+
<div id="header" class="header navbar-default">
|
38
|
+
<%= render "layouts/phcdevworks_accounts/components/backend/navigation/top_menu" %>
|
39
|
+
</div>
|
40
|
+
<!-- Page Header -->
|
41
|
+
|
42
|
+
<!-- Page Sidebar -->
|
43
|
+
<div id="sidebar" class="sidebar">
|
44
|
+
<%= render "layouts/phcdevworks_accounts/components/backend/sidebars/side_menu" %>
|
45
|
+
</div>
|
46
|
+
<div class="sidebar-bg"></div>
|
47
|
+
<!-- Page Sidebar -->
|
48
|
+
|
49
|
+
<!-- Page Content -->
|
50
|
+
<div id="content" class="content content-full-width">
|
51
|
+
<%= yield %>
|
52
|
+
</div>
|
53
|
+
<!-- Page Content -->
|
54
|
+
|
55
|
+
<!-- Footer Content -->
|
56
|
+
<div id="footer" class="footer mb-4">
|
57
|
+
<%= render "layouts/phcdevworks_accounts/components/backend/footer/footer" %>
|
58
|
+
</div>
|
59
|
+
<!-- Footer Content -->
|
60
|
+
|
61
|
+
</div>
|
62
|
+
<!-- Page Container -->
|
63
|
+
|
64
|
+
</body>
|
65
|
+
</html>
|
@@ -2,8 +2,7 @@
|
|
2
2
|
<span>
|
3
3
|
<!-- -PHC- Footer Content - Left - Time in Production -->
|
4
4
|
<i class="fab fa-osi font-weight-bolder"></i> 2012-<%= Time.now.year %> -
|
5
|
-
<span class="font-weight-bold">PHC</span>Devworks Accounts -
|
6
|
-
Engine v<%= Gem.loaded_specs["phcdevworks_accounts"].version.to_s %>
|
5
|
+
<span class="font-weight-bold">PHC</span>Devworks Accounts - Engine v<%= Gem.loaded_specs["phcdevworks_accounts"].version.to_s %>
|
7
6
|
<!-- -PHC- Footer Content - Left - Time in Production -->
|
8
7
|
</span>
|
9
8
|
<!-- -PHC- Footer Content - Left -->
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<% end %>
|
26
26
|
</li>
|
27
27
|
<li>
|
28
|
-
<%= link_to phcdevworks_accounts.destroy_user_session_path do %>
|
28
|
+
<%= link_to phcdevworks_accounts.destroy_user_session_path, method: :delete do %>
|
29
29
|
<i class="fad fa-sign-out-alt"></i> Logout
|
30
30
|
<% end %>
|
31
31
|
</li>
|
@@ -270,7 +270,7 @@
|
|
270
270
|
<span>Admin</span>
|
271
271
|
</a>
|
272
272
|
<ul class="sub-menu">
|
273
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_accounts/admin/users") %>"><%= link_to "User List", phcdevworks_accounts.
|
273
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts/admin/users") %>"><%= link_to "User List", phcdevworks_accounts.admin_users_all_path %></li>
|
274
274
|
</ul>
|
275
275
|
</li>
|
276
276
|
<!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
|
@@ -6,27 +6,26 @@
|
|
6
6
|
<% phc_seo_title "PHCDevworks Accounts" %>
|
7
7
|
<% phc_seo_description "Ruby on Rails 6 Authentication and User Management Engine." %>
|
8
8
|
<!-- SEO System -->
|
9
|
-
|
9
|
+
|
10
10
|
<!-- SEO and Site Description -->
|
11
|
-
|
12
|
-
|
13
|
-
<meta name="
|
14
|
-
|
15
|
-
<link rel="canonical" href="http://phcdevworks.com">
|
11
|
+
<meta charset="utf-8">
|
12
|
+
<title><%= yield(:phc_seo_title) %></title>
|
13
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
14
|
+
<meta name="description" content="<%= yield(:phc_seo_description) %>">
|
16
15
|
<!-- SEO and Site Description -->
|
17
|
-
|
16
|
+
|
18
17
|
<!-- Rails Security Tags -->
|
19
18
|
<%= csrf_meta_tags %>
|
20
19
|
<%= csp_meta_tag %>
|
21
20
|
<!-- Rails Security Tags -->
|
22
|
-
|
21
|
+
|
23
22
|
<!-- CSS Styles -->
|
24
|
-
<%= stylesheet_link_tag "
|
23
|
+
<%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
|
25
24
|
<!-- CSS Styles -->
|
26
|
-
|
27
|
-
<!--
|
28
|
-
|
29
|
-
<!--
|
25
|
+
|
26
|
+
<!-- JavaScript -->
|
27
|
+
<%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
|
28
|
+
<!-- JavaScript -->
|
30
29
|
|
31
30
|
</head>
|
32
31
|
<body class="pace-top bg-white">
|
@@ -35,9 +34,5 @@
|
|
35
34
|
<%= yield %>
|
36
35
|
<!-- Page Content -->
|
37
36
|
|
38
|
-
<!-- JavaScript -->
|
39
|
-
<%= javascript_include_tag "phcdevworks_accounts/application", "data-turbolinks-track": "reload" %>
|
40
|
-
<!-- JavaScript -->
|
41
|
-
|
42
37
|
</body>
|
43
38
|
</html>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<div class="profile-header">
|
2
|
+
|
3
|
+
<!-- User Profiles - Header - Cover -->
|
4
|
+
<div class="profile-header-cover"></div>
|
5
|
+
<!-- User Profiles - Header - Cover -->
|
6
|
+
|
7
|
+
<!-- User Profiles - Header - Content -->
|
8
|
+
<div class="profile-header-content">
|
9
|
+
<div class="profile-header-img">
|
10
|
+
<%= image_tag @admin_user.gravatar_url :secure => true, :filetype => :png, :size => 128 %>
|
11
|
+
</div>
|
12
|
+
<div class="profile-header-info">
|
13
|
+
<h4 class="m-t-10 m-b-5"><%= @admin_user.firstname + ' ' + @admin_user.lastname %></h4>
|
14
|
+
<p class="m-b-10"><%= @admin_user.username %></p>
|
15
|
+
<%= link_to edit_user_registration_path(@admin_user), class: "btn btn-xs btn-yellow" do %>
|
16
|
+
<i class="fad fa-user-edit"></i> Update Member Information
|
17
|
+
<% end %>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
<!-- User Profiles - Header - Content -->
|
21
|
+
|
22
|
+
<!-- User Profiles - Header - Tab Bar -->
|
23
|
+
<ul class="profile-header-tab nav nav-tabs">
|
24
|
+
</ul>
|
25
|
+
<!-- User Profiles - Header - Tab Bar -->
|
26
|
+
|
27
|
+
</div>
|
File without changes
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
|
+
<% phc_title "User Manager" %>
|
3
|
+
<% phc_title_tagline "Useer Profile" %>
|
4
|
+
<% phc_breadcrumb_one yield(:phc_title) %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
+
<!-- PHCTitleSEO Title Variables -->
|
7
|
+
|
8
|
+
<!-- User Profiles - Header -->
|
9
|
+
<div class="profile">
|
10
|
+
<%= render 'phcdevworks_accounts/admin/pages/components/profile_header' %>
|
11
|
+
</div>
|
12
|
+
<!-- User Profiles - Header -->
|
13
|
+
|
14
|
+
<!-- User Profiles - Remove Full Page Width -->
|
15
|
+
<div class="profile-content">
|
16
|
+
<div class="tab-content p-0">
|
17
|
+
|
18
|
+
<%= render 'phcdevworks_notifications/bootstrap/notifications' %>
|
19
|
+
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
<!-- User Profiles - Remove Full Page Width -->
|
@@ -0,0 +1,70 @@
|
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
|
+
<% phc_title "User Manager" %>
|
3
|
+
<% phc_title_tagline "Useer Index" %>
|
4
|
+
<% phc_breadcrumb_one yield(:phc_title) %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
+
<!-- PHCTitleSEO Title Variables -->
|
7
|
+
|
8
|
+
<!-- Page Bradcrumbs -->
|
9
|
+
<ol class="breadcrumb pull-right">
|
10
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
|
+
</ol>
|
13
|
+
<!-- Page Bradcrumbs -->
|
14
|
+
|
15
|
+
<!-- Page Header -->
|
16
|
+
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
17
|
+
<!-- Page Header -->
|
18
|
+
|
19
|
+
<!-- Page Content -->
|
20
|
+
<div class="row">
|
21
|
+
<div class="col-lg-12">
|
22
|
+
|
23
|
+
<!-- Panel -->
|
24
|
+
<div class="panel panel-inverse">
|
25
|
+
|
26
|
+
<!-- Panel - Heading -->
|
27
|
+
<div class="panel-heading">
|
28
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
29
|
+
</div>
|
30
|
+
<!-- Panel - Heading -->
|
31
|
+
|
32
|
+
<!-- Panel - Body -->
|
33
|
+
<div class="panel-body">
|
34
|
+
|
35
|
+
<!-- Index - Table -->
|
36
|
+
<div class="table-responsive">
|
37
|
+
<table class="table table-striped table-bordered">
|
38
|
+
|
39
|
+
<thead>
|
40
|
+
<tr>
|
41
|
+
<th>Username</th>
|
42
|
+
<th>Full Name</th>
|
43
|
+
<th>Email</th>
|
44
|
+
</tr>
|
45
|
+
</thead>
|
46
|
+
|
47
|
+
<tbody>
|
48
|
+
<% @admin_users.each do |user| %>
|
49
|
+
<td><%= user.username %></td>
|
50
|
+
<td><%= user.email %> <%= user.email %></td>
|
51
|
+
<td><%= user.email %></td>
|
52
|
+
<% end %>
|
53
|
+
</tbody>
|
54
|
+
|
55
|
+
</table>
|
56
|
+
</div>
|
57
|
+
<!-- Index - Table -->
|
58
|
+
|
59
|
+
<!-- New Button -->
|
60
|
+
<!-- New Button -->
|
61
|
+
|
62
|
+
</div>
|
63
|
+
<!-- Panel - Body -->
|
64
|
+
|
65
|
+
</div>
|
66
|
+
<!-- Panel -->
|
67
|
+
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
<!-- Page Content -->
|
data/app/views/phcdevworks_accounts/{admin/accounts/index.html.erb → user/pages/dashboard.html.erb}
RENAMED
File without changes
|
File without changes
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!-- PHCTitleSEO Title Variables -->
|
2
2
|
<% phc_title resource_name.to_s.humanize + " Unlock Password" %>
|
3
3
|
<% phc_title_tagline "Unlock Your " + resource_name.to_s.humanize + " Unlock Password" %>
|
4
|
-
<% phc_breadcrumb_one link_to resource_name.to_s.humanize + " Home", phcdevworks_accounts.
|
4
|
+
<% phc_breadcrumb_one link_to resource_name.to_s.humanize + " Home", phcdevworks_accounts.user_dashboard_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- PHCTitleSEO Title Variables -->
|
7
7
|
|
@@ -36,7 +36,7 @@
|
|
36
36
|
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |form| %>
|
37
37
|
|
38
38
|
<!-- Devise Error Message -->
|
39
|
-
<%=
|
39
|
+
<%= render "devise/shared/error_messages", resource: resource %>
|
40
40
|
<!-- Devise Error Message -->
|
41
41
|
|
42
42
|
<div class="form-group">
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!-- PHCTitleSEO Title Variables -->
|
2
2
|
<% phc_title resource_name.to_s.humanize + " Edit Password" %>
|
3
3
|
<% phc_title_tagline "Edit Your " + resource_name.to_s.humanize + " Edit Password" %>
|
4
|
-
<% phc_breadcrumb_one link_to resource_name.to_s.humanize + " Accounts Home", phcdevworks_accounts.
|
4
|
+
<% phc_breadcrumb_one link_to resource_name.to_s.humanize + " Accounts Home", phcdevworks_accounts.user_dashboard_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- PHCTitleSEO Title Variables -->
|
7
7
|
|
@@ -36,7 +36,7 @@
|
|
36
36
|
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |form| %>
|
37
37
|
|
38
38
|
<!-- Devise Error Message -->
|
39
|
-
<%=
|
39
|
+
<%= render "devise/shared/error_messages", resource: resource %>
|
40
40
|
<!-- Devise Error Message -->
|
41
41
|
|
42
42
|
<!-- Reset Password Token -->
|
@@ -36,7 +36,7 @@
|
|
36
36
|
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |form| %>
|
37
37
|
|
38
38
|
<!-- Devise Error Message -->
|
39
|
-
<%=
|
39
|
+
<%= render "devise/shared/error_messages", resource: resource %>
|
40
40
|
<!-- Devise Error Message -->
|
41
41
|
|
42
42
|
<div class="form-group">
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<% phc_title resource_name.to_s.humanize + " Account Information" %>
|
3
3
|
<% phc_title_tagline "Edit Your " + resource_name.to_s.humanize + " Account Information" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Home", main_app.root_path %>
|
5
|
-
<% phc_breadcrumb_two link_to "Accounts Dashboard", phcdevworks_accounts.
|
5
|
+
<% phc_breadcrumb_two link_to "Accounts Dashboard", phcdevworks_accounts.user_dashboard_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
7
|
<!-- PHCTitleSEO Title Variables -->
|
8
8
|
|
@@ -38,7 +38,7 @@
|
|
38
38
|
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |form| %>
|
39
39
|
|
40
40
|
<!-- Devise Error Message -->
|
41
|
-
<%=
|
41
|
+
<%= render "devise/shared/error_messages", resource: resource %>
|
42
42
|
<!-- Devise Error Message -->
|
43
43
|
|
44
44
|
<div class="form-group">
|
@@ -34,7 +34,7 @@
|
|
34
34
|
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |form| %>
|
35
35
|
|
36
36
|
<!-- Devise Error Message -->
|
37
|
-
<%=
|
37
|
+
<%= render "devise/shared/error_messages", resource: resource %>
|
38
38
|
<!-- Devise Error Message -->
|
39
39
|
|
40
40
|
<label class="control-label">Name <span class="text-danger">*</span></label>
|
@@ -35,7 +35,7 @@
|
|
35
35
|
|
36
36
|
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |form| %>
|
37
37
|
|
38
|
-
<%=
|
38
|
+
<%= render "devise/shared/error_messages", resource: resource %>
|
39
39
|
|
40
40
|
<div class="form-group m-b-15">
|
41
41
|
<%= form.email_field :email, autofocus: true, autocomplete: "email", placeholder: "Email", class: "form-control form-control-lg" %>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title resource_name.to_s.humanize + " Unlock Password" %>
|
3
3
|
<% phc_title_tagline "Unlock Your " + resource_name.to_s.humanize + " Unlock Password" %>
|
4
|
-
<% phc_breadcrumb_one link_to resource_name.to_s.humanize + " Home", phcdevworks_accounts.
|
4
|
+
<% phc_breadcrumb_one link_to resource_name.to_s.humanize + " Home", phcdevworks_accounts.user_dashboard_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
@@ -38,7 +38,7 @@
|
|
38
38
|
|
39
39
|
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |form| %>
|
40
40
|
|
41
|
-
<%=
|
41
|
+
<%= render "devise/shared/error_messages", resource: resource %>
|
42
42
|
|
43
43
|
<div class="form-group">
|
44
44
|
<%= form.label :email %>
|
data/config/routes.rb
CHANGED
@@ -3,15 +3,16 @@ PhcdevworksAccounts::Engine.routes.draw do
|
|
3
3
|
# User Routes
|
4
4
|
devise_for :users, {
|
5
5
|
class_name: "PhcdevworksAccounts::User",
|
6
|
-
module: :devise
|
7
|
-
controllers: { registrations: "users/registrations"}
|
6
|
+
module: :devise
|
8
7
|
}
|
9
8
|
|
10
9
|
# User Dashboard
|
11
|
-
|
10
|
+
match "user/dashboard", to: "user/pages#dashboard", via: "get"
|
11
|
+
match "user/profile", to: "user/pages#profile", via: "get"
|
12
12
|
|
13
13
|
# Admin Routes
|
14
|
-
|
15
|
-
|
14
|
+
match "/admin", to: "admin/pages#dashboard", via: "get"
|
15
|
+
match "/admin/users/all", to: "admin/pages#users_list", via: "get"
|
16
|
+
match "/admin/user/:id", to: "admin/pages#user_profile", via: "get"
|
16
17
|
|
17
18
|
end
|
@@ -26,13 +26,13 @@ module PhcdevworksAccounts
|
|
26
26
|
require "gravtastic"
|
27
27
|
require "friendly_id"
|
28
28
|
|
29
|
+
# Mailer Dependencies
|
30
|
+
require "mail_form"
|
31
|
+
|
29
32
|
# Security Dependencies
|
30
33
|
require "devise"
|
31
34
|
require "simple_token_authentication"
|
32
35
|
|
33
|
-
# Payment Dependencies
|
34
|
-
require "activemerchant"
|
35
|
-
|
36
36
|
# Plugin Namespace
|
37
37
|
isolate_namespace PhcdevworksAccounts
|
38
38
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcdevworks_accounts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PHCDevworks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '6.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 6.0.3.3
|
19
|
+
version: '6.1'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '6.
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 6.0.3.3
|
26
|
+
version: '6.1'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: jbuilder
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,84 +58,84 @@ dependencies:
|
|
64
58
|
requirements:
|
65
59
|
- - "~>"
|
66
60
|
- !ruby/object:Gem::Version
|
67
|
-
version: '3.
|
61
|
+
version: '3.2'
|
68
62
|
type: :runtime
|
69
63
|
prerelease: false
|
70
64
|
version_requirements: !ruby/object:Gem::Requirement
|
71
65
|
requirements:
|
72
66
|
- - "~>"
|
73
67
|
- !ruby/object:Gem::Version
|
74
|
-
version: '3.
|
68
|
+
version: '3.2'
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: phcthemes_web_theme_pack
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
78
72
|
requirements:
|
79
73
|
- - "~>"
|
80
74
|
- !ruby/object:Gem::Version
|
81
|
-
version: '3.
|
75
|
+
version: '3.2'
|
82
76
|
type: :runtime
|
83
77
|
prerelease: false
|
84
78
|
version_requirements: !ruby/object:Gem::Requirement
|
85
79
|
requirements:
|
86
80
|
- - "~>"
|
87
81
|
- !ruby/object:Gem::Version
|
88
|
-
version: '3.
|
82
|
+
version: '3.2'
|
89
83
|
- !ruby/object:Gem::Dependency
|
90
84
|
name: phcdevworks_active_menus
|
91
85
|
requirement: !ruby/object:Gem::Requirement
|
92
86
|
requirements:
|
93
87
|
- - "~>"
|
94
88
|
- !ruby/object:Gem::Version
|
95
|
-
version: '2.
|
89
|
+
version: '2.2'
|
96
90
|
type: :runtime
|
97
91
|
prerelease: false
|
98
92
|
version_requirements: !ruby/object:Gem::Requirement
|
99
93
|
requirements:
|
100
94
|
- - "~>"
|
101
95
|
- !ruby/object:Gem::Version
|
102
|
-
version: '2.
|
96
|
+
version: '2.2'
|
103
97
|
- !ruby/object:Gem::Dependency
|
104
98
|
name: phcdevworks_core
|
105
99
|
requirement: !ruby/object:Gem::Requirement
|
106
100
|
requirements:
|
107
101
|
- - "~>"
|
108
102
|
- !ruby/object:Gem::Version
|
109
|
-
version: '2.
|
103
|
+
version: '2.2'
|
110
104
|
type: :runtime
|
111
105
|
prerelease: false
|
112
106
|
version_requirements: !ruby/object:Gem::Requirement
|
113
107
|
requirements:
|
114
108
|
- - "~>"
|
115
109
|
- !ruby/object:Gem::Version
|
116
|
-
version: '2.
|
110
|
+
version: '2.2'
|
117
111
|
- !ruby/object:Gem::Dependency
|
118
112
|
name: phcdevworks_notifications
|
119
113
|
requirement: !ruby/object:Gem::Requirement
|
120
114
|
requirements:
|
121
115
|
- - "~>"
|
122
116
|
- !ruby/object:Gem::Version
|
123
|
-
version: '2.
|
117
|
+
version: '2.2'
|
124
118
|
type: :runtime
|
125
119
|
prerelease: false
|
126
120
|
version_requirements: !ruby/object:Gem::Requirement
|
127
121
|
requirements:
|
128
122
|
- - "~>"
|
129
123
|
- !ruby/object:Gem::Version
|
130
|
-
version: '2.
|
124
|
+
version: '2.2'
|
131
125
|
- !ruby/object:Gem::Dependency
|
132
126
|
name: phcdevworks_titleseo
|
133
127
|
requirement: !ruby/object:Gem::Requirement
|
134
128
|
requirements:
|
135
129
|
- - "~>"
|
136
130
|
- !ruby/object:Gem::Version
|
137
|
-
version: '3.
|
131
|
+
version: '3.2'
|
138
132
|
type: :runtime
|
139
133
|
prerelease: false
|
140
134
|
version_requirements: !ruby/object:Gem::Requirement
|
141
135
|
requirements:
|
142
136
|
- - "~>"
|
143
137
|
- !ruby/object:Gem::Version
|
144
|
-
version: '3.
|
138
|
+
version: '3.2'
|
145
139
|
- !ruby/object:Gem::Dependency
|
146
140
|
name: wicked
|
147
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,89 +179,89 @@ dependencies:
|
|
185
179
|
- !ruby/object:Gem::Version
|
186
180
|
version: '3.2'
|
187
181
|
- !ruby/object:Gem::Dependency
|
188
|
-
name:
|
182
|
+
name: mail_form
|
189
183
|
requirement: !ruby/object:Gem::Requirement
|
190
184
|
requirements:
|
191
185
|
- - "~>"
|
192
186
|
- !ruby/object:Gem::Version
|
193
|
-
version: '1.
|
187
|
+
version: '1.8'
|
194
188
|
type: :runtime
|
195
189
|
prerelease: false
|
196
190
|
version_requirements: !ruby/object:Gem::Requirement
|
197
191
|
requirements:
|
198
192
|
- - "~>"
|
199
193
|
- !ruby/object:Gem::Version
|
200
|
-
version: '1.
|
194
|
+
version: '1.8'
|
201
195
|
- !ruby/object:Gem::Dependency
|
202
|
-
name:
|
196
|
+
name: aws-sdk-s3
|
203
197
|
requirement: !ruby/object:Gem::Requirement
|
204
198
|
requirements:
|
205
199
|
- - "~>"
|
206
200
|
- !ruby/object:Gem::Version
|
207
|
-
version: '1.
|
201
|
+
version: '1.86'
|
208
202
|
type: :runtime
|
209
203
|
prerelease: false
|
210
204
|
version_requirements: !ruby/object:Gem::Requirement
|
211
205
|
requirements:
|
212
206
|
- - "~>"
|
213
207
|
- !ruby/object:Gem::Version
|
214
|
-
version: '1.
|
208
|
+
version: '1.86'
|
215
209
|
- !ruby/object:Gem::Dependency
|
216
|
-
name:
|
210
|
+
name: google-cloud-storage
|
217
211
|
requirement: !ruby/object:Gem::Requirement
|
218
212
|
requirements:
|
219
213
|
- - "~>"
|
220
214
|
- !ruby/object:Gem::Version
|
221
|
-
version: '
|
215
|
+
version: '1.29'
|
222
216
|
type: :runtime
|
223
217
|
prerelease: false
|
224
218
|
version_requirements: !ruby/object:Gem::Requirement
|
225
219
|
requirements:
|
226
220
|
- - "~>"
|
227
221
|
- !ruby/object:Gem::Version
|
228
|
-
version: '
|
222
|
+
version: '1.29'
|
229
223
|
- !ruby/object:Gem::Dependency
|
230
|
-
name:
|
224
|
+
name: mini_magick
|
231
225
|
requirement: !ruby/object:Gem::Requirement
|
232
226
|
requirements:
|
233
227
|
- - "~>"
|
234
228
|
- !ruby/object:Gem::Version
|
235
|
-
version: '4.
|
229
|
+
version: '4.11'
|
236
230
|
type: :runtime
|
237
231
|
prerelease: false
|
238
232
|
version_requirements: !ruby/object:Gem::Requirement
|
239
233
|
requirements:
|
240
234
|
- - "~>"
|
241
235
|
- !ruby/object:Gem::Version
|
242
|
-
version: '4.
|
236
|
+
version: '4.11'
|
243
237
|
- !ruby/object:Gem::Dependency
|
244
|
-
name:
|
238
|
+
name: devise
|
245
239
|
requirement: !ruby/object:Gem::Requirement
|
246
240
|
requirements:
|
247
241
|
- - "~>"
|
248
242
|
- !ruby/object:Gem::Version
|
249
|
-
version: '
|
243
|
+
version: '4.7'
|
250
244
|
type: :runtime
|
251
245
|
prerelease: false
|
252
246
|
version_requirements: !ruby/object:Gem::Requirement
|
253
247
|
requirements:
|
254
248
|
- - "~>"
|
255
249
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
250
|
+
version: '4.7'
|
257
251
|
- !ruby/object:Gem::Dependency
|
258
|
-
name:
|
252
|
+
name: simple_token_authentication
|
259
253
|
requirement: !ruby/object:Gem::Requirement
|
260
254
|
requirements:
|
261
255
|
- - "~>"
|
262
256
|
- !ruby/object:Gem::Version
|
263
|
-
version: '1.
|
257
|
+
version: '1.17'
|
264
258
|
type: :runtime
|
265
259
|
prerelease: false
|
266
260
|
version_requirements: !ruby/object:Gem::Requirement
|
267
261
|
requirements:
|
268
262
|
- - "~>"
|
269
263
|
- !ruby/object:Gem::Version
|
270
|
-
version: '1.
|
264
|
+
version: '1.17'
|
271
265
|
- !ruby/object:Gem::Dependency
|
272
266
|
name: sqlite3
|
273
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -282,7 +276,9 @@ dependencies:
|
|
282
276
|
- - "~>"
|
283
277
|
- !ruby/object:Gem::Version
|
284
278
|
version: '1.4'
|
285
|
-
description: Ruby on Rails 6 Authentication and User Management Engine
|
279
|
+
description: Ruby on Rails 6 Authentication and User Management Engine using Devise
|
280
|
+
with a nice-looking dashboard, admin panel and login views to get you going fast
|
281
|
+
on your next project.
|
286
282
|
email:
|
287
283
|
- imfo@phcdevworks.com
|
288
284
|
executables: []
|
@@ -293,24 +289,24 @@ files:
|
|
293
289
|
- README.md
|
294
290
|
- Rakefile
|
295
291
|
- app/assets/config/phcdevworks_accounts_manifest.js
|
296
|
-
- app/assets/javascripts/phcdevworks_accounts/
|
297
|
-
- app/assets/javascripts/phcdevworks_accounts/admin/accounts.coffee
|
292
|
+
- app/assets/javascripts/phcdevworks_accounts/admin/pages.coffee
|
298
293
|
- app/assets/javascripts/phcdevworks_accounts/application.js
|
299
|
-
- app/assets/
|
300
|
-
- app/assets/stylesheets/phcdevworks_accounts/admin/
|
294
|
+
- app/assets/javascripts/phcdevworks_accounts/user/pages.coffee
|
295
|
+
- app/assets/stylesheets/phcdevworks_accounts/admin/pages.scss
|
301
296
|
- app/assets/stylesheets/phcdevworks_accounts/application.scss
|
302
|
-
- app/
|
303
|
-
- app/controllers/phcdevworks_accounts/admin/
|
297
|
+
- app/assets/stylesheets/phcdevworks_accounts/user/pages.scss
|
298
|
+
- app/controllers/phcdevworks_accounts/admin/pages_controller.rb
|
304
299
|
- app/controllers/phcdevworks_accounts/application_controller.rb
|
300
|
+
- app/controllers/phcdevworks_accounts/user/pages_controller.rb
|
305
301
|
- app/controllers/users/confirmations_controller.rb
|
306
302
|
- app/controllers/users/omniauth_callbacks_controller.rb
|
307
303
|
- app/controllers/users/passwords_controller.rb
|
308
304
|
- app/controllers/users/registrations_controller.rb
|
309
305
|
- app/controllers/users/sessions_controller.rb
|
310
306
|
- app/controllers/users/unlocks_controller.rb
|
311
|
-
- app/helpers/phcdevworks_accounts/
|
312
|
-
- app/helpers/phcdevworks_accounts/admin/accounts_helper.rb
|
307
|
+
- app/helpers/phcdevworks_accounts/admin/pages_helper.rb
|
313
308
|
- app/helpers/phcdevworks_accounts/application_helper.rb
|
309
|
+
- app/helpers/phcdevworks_accounts/user/pages_helper.rb
|
314
310
|
- app/jobs/phcdevworks_accounts/application_job.rb
|
315
311
|
- app/mailers/phcdevworks_accounts/application_mailer.rb
|
316
312
|
- app/models/phcdevworks_accounts/application_record.rb
|
@@ -318,13 +314,17 @@ files:
|
|
318
314
|
- app/views/layouts/phcdevworks_accounts/application.html.erb
|
319
315
|
- app/views/layouts/phcdevworks_accounts/application_full_width.html.erb
|
320
316
|
- app/views/layouts/phcdevworks_accounts/application_no_sidebar.html.erb
|
317
|
+
- app/views/layouts/phcdevworks_accounts/application_profile.html.erb
|
321
318
|
- app/views/layouts/phcdevworks_accounts/components/backend/footer/_footer.html.erb
|
322
319
|
- app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
|
323
320
|
- app/views/layouts/phcdevworks_accounts/components/backend/sidebars/_side_menu.html.erb
|
324
321
|
- app/views/layouts/phcdevworks_accounts/devise.html.erb
|
325
|
-
- app/views/phcdevworks_accounts/
|
326
|
-
- app/views/phcdevworks_accounts/admin/
|
327
|
-
- app/views/phcdevworks_accounts/admin/
|
322
|
+
- app/views/phcdevworks_accounts/admin/pages/components/_profile_header.html.erb
|
323
|
+
- app/views/phcdevworks_accounts/admin/pages/dashboard.html.erb
|
324
|
+
- app/views/phcdevworks_accounts/admin/pages/user_profile.html.erb
|
325
|
+
- app/views/phcdevworks_accounts/admin/pages/users_list.html.erb
|
326
|
+
- app/views/phcdevworks_accounts/user/pages/dashboard.html.erb
|
327
|
+
- app/views/phcdevworks_accounts/user/pages/profile.html.erb
|
328
328
|
- app/views/users/confirmations/new.html.erb
|
329
329
|
- app/views/users/mailer/confirmation_instructions.html.erb
|
330
330
|
- app/views/users/mailer/email_changed.html.erb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
require_dependency "phcdevworks_accounts/application_controller"
|
2
|
-
|
3
|
-
module PhcdevworksAccounts
|
4
|
-
class Admin::AccountsController < ApplicationController
|
5
|
-
|
6
|
-
# Admin Main Dashboard
|
7
|
-
def index
|
8
|
-
end
|
9
|
-
|
10
|
-
# Admin User List
|
11
|
-
def users_index
|
12
|
-
end
|
13
|
-
|
14
|
-
end
|
15
|
-
end
|