phcdevworks_accounts 3.2.4 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.md +7 -7
  4. data/Rakefile +8 -8
  5. data/app/assets/config/phcdevworks_accounts_manifest.js +3 -3
  6. data/app/assets/stylesheets/phcdevworks_accounts/admin/pages.scss +3 -3
  7. data/app/assets/stylesheets/phcdevworks_accounts/application.scss +0 -0
  8. data/app/assets/stylesheets/phcdevworks_accounts/user/pages.scss +3 -3
  9. data/app/controllers/phcdevworks_accounts/admin/pages_controller.rb +25 -25
  10. data/app/controllers/phcdevworks_accounts/application_controller.rb +25 -25
  11. data/app/controllers/phcdevworks_accounts/user/pages_controller.rb +15 -15
  12. data/app/controllers/users/confirmations_controller.rb +30 -30
  13. data/app/controllers/users/omniauth_callbacks_controller.rb +30 -30
  14. data/app/controllers/users/passwords_controller.rb +34 -34
  15. data/app/controllers/users/registrations_controller.rb +74 -74
  16. data/app/controllers/users/sessions_controller.rb +27 -27
  17. data/app/controllers/users/unlocks_controller.rb +30 -30
  18. data/app/helpers/phcdevworks_accounts/admin/pages_helper.rb +4 -4
  19. data/app/helpers/phcdevworks_accounts/application_helper.rb +4 -4
  20. data/app/helpers/phcdevworks_accounts/user/pages_helper.rb +4 -4
  21. data/app/jobs/phcdevworks_accounts/application_job.rb +4 -4
  22. data/app/mailers/phcdevworks_accounts/application_mailer.rb +6 -6
  23. data/app/models/phcdevworks_accounts/application_record.rb +5 -5
  24. data/app/models/phcdevworks_accounts/user.rb +39 -39
  25. data/app/views/layouts/phcdevworks_accounts/application.html.erb +66 -66
  26. data/app/views/layouts/phcdevworks_accounts/application_full_width.html.erb +66 -66
  27. data/app/views/layouts/phcdevworks_accounts/application_no_sidebar.html.erb +59 -59
  28. data/app/views/layouts/phcdevworks_accounts/application_profile.html.erb +65 -65
  29. data/app/views/layouts/phcdevworks_accounts/components/backend/footer/_footer.html.erb +0 -0
  30. data/app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb +0 -0
  31. data/app/views/layouts/phcdevworks_accounts/components/backend/sidebars/_side_menu.html.erb +0 -0
  32. data/app/views/layouts/phcdevworks_accounts/devise.html.erb +0 -0
  33. data/app/views/phcdevworks_accounts/admin/pages/components/_profile_header.html.erb +27 -27
  34. data/app/views/phcdevworks_accounts/admin/pages/dashboard.html.erb +0 -0
  35. data/app/views/phcdevworks_accounts/admin/pages/user_profile.html.erb +22 -22
  36. data/app/views/phcdevworks_accounts/admin/pages/users_list.html.erb +72 -72
  37. data/app/views/phcdevworks_accounts/user/pages/dashboard.html.erb +0 -0
  38. data/app/views/phcdevworks_accounts/user/pages/profile.html.erb +0 -0
  39. data/app/views/users/confirmations/new.html.erb +62 -62
  40. data/app/views/users/mailer/confirmation_instructions.html.erb +5 -5
  41. data/app/views/users/mailer/email_changed.html.erb +7 -7
  42. data/app/views/users/mailer/password_change.html.erb +3 -3
  43. data/app/views/users/mailer/reset_password_instructions.html.erb +8 -8
  44. data/app/views/users/mailer/unlock_instructions.html.erb +7 -7
  45. data/app/views/users/passwords/edit.html.erb +78 -78
  46. data/app/views/users/passwords/new.html.erb +65 -65
  47. data/app/views/users/registrations/edit.html.erb +101 -101
  48. data/app/views/users/registrations/new.html.erb +114 -114
  49. data/app/views/users/sessions/new.html.erb +86 -86
  50. data/app/views/users/shared/_links.html.erb +25 -25
  51. data/app/views/users/unlocks/new.html.erb +62 -62
  52. data/config/initializers/devise.rb +310 -310
  53. data/config/locales/devise.en.yml +65 -65
  54. data/config/routes.rb +19 -19
  55. data/config/spring.rb +1 -1
  56. data/db/migrate/20191012042035_devise_create_phcdevworks_accounts_users.rb +46 -46
  57. data/db/migrate/20191012060241_add_userinfo_to_users.rb +15 -15
  58. data/db/migrate/20191012060308_add_role_to_users.rb +7 -7
  59. data/db/migrate/20191012060324_add_tos_to_users.rb +7 -7
  60. data/db/migrate/20210407121952_add_customer_id_to_users.rb +7 -7
  61. data/db/migrate/20210425060053_add_subscription_id_to_users.rb +7 -7
  62. data/lib/phcdevworks_accounts/engine.rb +48 -48
  63. data/lib/phcdevworks_accounts/version.rb +3 -3
  64. data/lib/phcdevworks_accounts.rb +6 -6
  65. data/lib/tasks/phcdevworks_accounts_tasks.rake +4 -4
  66. metadata +31 -31
@@ -1,30 +1,30 @@
1
- # frozen_string_literal: true
2
-
3
- class Users::UnlocksController < Devise::UnlocksController
4
- # GET /resource/unlock/new
5
- # def new
6
- # super
7
- # end
8
-
9
- # POST /resource/unlock
10
- # def create
11
- # super
12
- # end
13
-
14
- # GET /resource/unlock?unlock_token=abcdef
15
- # def show
16
- # super
17
- # end
18
-
19
- # protected
20
-
21
- # The path used after sending unlock password instructions
22
- # def after_sending_unlock_instructions_path_for(resource)
23
- # super(resource)
24
- # end
25
-
26
- # The path used after unlocking the resource
27
- # def after_unlock_path_for(resource)
28
- # super(resource)
29
- # end
30
- end
1
+ # frozen_string_literal: true
2
+
3
+ class Users::UnlocksController < Devise::UnlocksController
4
+ # GET /resource/unlock/new
5
+ # def new
6
+ # super
7
+ # end
8
+
9
+ # POST /resource/unlock
10
+ # def create
11
+ # super
12
+ # end
13
+
14
+ # GET /resource/unlock?unlock_token=abcdef
15
+ # def show
16
+ # super
17
+ # end
18
+
19
+ # protected
20
+
21
+ # The path used after sending unlock password instructions
22
+ # def after_sending_unlock_instructions_path_for(resource)
23
+ # super(resource)
24
+ # end
25
+
26
+ # The path used after unlocking the resource
27
+ # def after_unlock_path_for(resource)
28
+ # super(resource)
29
+ # end
30
+ end
@@ -1,4 +1,4 @@
1
- module PhcdevworksAccounts
2
- module Admin::PagesHelper
3
- end
4
- end
1
+ module PhcdevworksAccounts
2
+ module Admin::PagesHelper
3
+ end
4
+ end
@@ -1,4 +1,4 @@
1
- module PhcdevworksAccounts
2
- module ApplicationHelper
3
- end
4
- end
1
+ module PhcdevworksAccounts
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -1,4 +1,4 @@
1
- module PhcdevworksAccounts
2
- module User::PagesHelper
3
- end
4
- end
1
+ module PhcdevworksAccounts
2
+ module User::PagesHelper
3
+ end
4
+ end
@@ -1,4 +1,4 @@
1
- module PhcdevworksAccounts
2
- class ApplicationJob < ActiveJob::Base
3
- end
4
- end
1
+ module PhcdevworksAccounts
2
+ class ApplicationJob < ActiveJob::Base
3
+ end
4
+ end
@@ -1,6 +1,6 @@
1
- module PhcdevworksAccounts
2
- class ApplicationMailer < ActionMailer::Base
3
- default from: 'from@example.com'
4
- layout 'mailer'
5
- end
6
- end
1
+ module PhcdevworksAccounts
2
+ class ApplicationMailer < ActionMailer::Base
3
+ default from: 'from@example.com'
4
+ layout 'mailer'
5
+ end
6
+ end
@@ -1,5 +1,5 @@
1
- module PhcdevworksAccounts
2
- class ApplicationRecord < ActiveRecord::Base
3
- self.abstract_class = true
4
- end
5
- end
1
+ module PhcdevworksAccounts
2
+ class ApplicationRecord < ActiveRecord::Base
3
+ self.abstract_class = true
4
+ end
5
+ end
@@ -1,39 +1,39 @@
1
- module PhcdevworksAccounts
2
- class User < ApplicationRecord
3
-
4
- # Autogenerate Organization ID
5
- before_create :phcdevworks_generate_org_id
6
-
7
- # User Gravatar Support
8
- include Gravtastic
9
- gravtastic
10
-
11
- # Add Users Roles
12
- enum role: [:user, :editor, :admin]
13
- after_initialize :phcdevworks_set_default_role
14
-
15
- # Include default devise modules. Others available are:
16
- # :trackable, :confirmable, :lockable and :omniauthable
17
- devise :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable, :timeoutable
18
-
19
- # Validations
20
- validates :username, :presence => true, :uniqueness => true
21
-
22
- private
23
-
24
- # Autogenerate User Organization ID
25
- def phcdevworks_generate_org_id
26
- self.org_id = SecureRandom.hex(5)
27
- end
28
-
29
- # First Signup Admin and Rest Default to User
30
- def phcdevworks_set_default_role
31
- if User.all.count < 1
32
- self.role ||= :admin
33
- elsif
34
- self.role ||= :user
35
- end
36
- end
37
-
38
- end
39
- end
1
+ module PhcdevworksAccounts
2
+ class User < ApplicationRecord
3
+
4
+ # Autogenerate Organization ID
5
+ before_create :phcdevworks_generate_org_id
6
+
7
+ # User Gravatar Support
8
+ include Gravtastic
9
+ gravtastic
10
+
11
+ # Add Users Roles
12
+ enum role: [:user, :editor, :admin]
13
+ after_initialize :phcdevworks_set_default_role
14
+
15
+ # Include default devise modules. Others available are:
16
+ # :trackable, :confirmable, :lockable and :omniauthable
17
+ devise :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable, :timeoutable
18
+
19
+ # Validations
20
+ validates :username, :presence => true, :uniqueness => true
21
+
22
+ private
23
+
24
+ # Autogenerate User Organization ID
25
+ def phcdevworks_generate_org_id
26
+ self.org_id = SecureRandom.hex(5)
27
+ end
28
+
29
+ # First Signup Admin and Rest Default to User
30
+ def phcdevworks_set_default_role
31
+ if User.all.count < 1
32
+ self.role ||= :admin
33
+ elsif
34
+ self.role ||= :user
35
+ end
36
+ end
37
+
38
+ end
39
+ end
@@ -1,66 +1,66 @@
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">
51
- <%= render "phcdevworks_notifications/bootstrap/notifications" %>
52
- <%= yield %>
53
- </div>
54
- <!-- Page Content -->
55
-
56
- <!-- Footer Content -->
57
- <div id="footer" class="footer mb-4">
58
- <%= render "layouts/phcdevworks_accounts/components/backend/footer/footer" %>
59
- </div>
60
- <!-- Footer Content -->
61
-
62
- </div>
63
- <!-- Page Container -->
64
-
65
- </body>
66
- </html>
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">
51
+ <%= render "phcdevworks_notifications/bootstrap/notifications" %>
52
+ <%= yield %>
53
+ </div>
54
+ <!-- Page Content -->
55
+
56
+ <!-- Footer Content -->
57
+ <div id="footer" class="footer mb-4">
58
+ <%= render "layouts/phcdevworks_accounts/components/backend/footer/footer" %>
59
+ </div>
60
+ <!-- Footer Content -->
61
+
62
+ </div>
63
+ <!-- Page Container -->
64
+
65
+ </body>
66
+ </html>
@@ -1,66 +1,66 @@
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="page-container 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
- <%= render "phcdevworks_notifications/bootstrap/notifications" %>
52
- <%= yield %>
53
- </div>
54
- <!-- Page Content -->
55
-
56
- <!-- Footer Content -->
57
- <div id="footer" class="row footer mb-4">
58
- <%= render "layouts/phcdevworks_accounts/components/backend/footer/footer" %>
59
- </div>
60
- <!-- Footer Content -->
61
-
62
- </div>
63
- <!-- Page Container -->
64
-
65
- </body>
66
- </html>
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="page-container 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
+ <%= render "phcdevworks_notifications/bootstrap/notifications" %>
52
+ <%= yield %>
53
+ </div>
54
+ <!-- Page Content -->
55
+
56
+ <!-- Footer Content -->
57
+ <div id="footer" class="row footer mb-4">
58
+ <%= render "layouts/phcdevworks_accounts/components/backend/footer/footer" %>
59
+ </div>
60
+ <!-- Footer Content -->
61
+
62
+ </div>
63
+ <!-- Page Container -->
64
+
65
+ </body>
66
+ </html>
@@ -1,59 +1,59 @@
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-without-sidebar 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 Content -->
43
- <div id="content" class="content">
44
- <%= render "phcdevworks_notifications/bootstrap/notifications" %>
45
- <%= yield %>
46
- </div>
47
- <!-- Page Content -->
48
-
49
- <!-- Footer Content -->
50
- <div id="footer" class="row footer mb-4">
51
- <%= render "layouts/phcdevworks_accounts/components/backend/footer/footer" %>
52
- </div>
53
- <!-- Footer Content -->
54
-
55
- </div>
56
- <!-- Page Container -->
57
-
58
- </body>
59
- </html>
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-without-sidebar 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 Content -->
43
+ <div id="content" class="content">
44
+ <%= render "phcdevworks_notifications/bootstrap/notifications" %>
45
+ <%= yield %>
46
+ </div>
47
+ <!-- Page Content -->
48
+
49
+ <!-- Footer Content -->
50
+ <div id="footer" class="row footer mb-4">
51
+ <%= render "layouts/phcdevworks_accounts/components/backend/footer/footer" %>
52
+ </div>
53
+ <!-- Footer Content -->
54
+
55
+ </div>
56
+ <!-- Page Container -->
57
+
58
+ </body>
59
+ </html>