phcdevworks_tutorials 12.2.0 → 13.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.md +0 -0
  4. data/Rakefile +8 -8
  5. data/app/assets/config/phcdevworks_tutorials_manifest.js +2 -3
  6. data/app/controllers/phcdevworks_tutorials/application_controller.rb +0 -0
  7. data/app/controllers/phcdevworks_tutorials/blog/commands_controller.rb +0 -0
  8. data/app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb +0 -0
  9. data/app/controllers/phcdevworks_tutorials/command/items_controller.rb +0 -0
  10. data/app/controllers/phcdevworks_tutorials/command/posts_controller.rb +0 -0
  11. data/app/controllers/phcdevworks_tutorials/tutorial/posts_controller.rb +0 -0
  12. data/app/controllers/phcdevworks_tutorials/tutorial/steps_controller.rb +0 -0
  13. data/app/helpers/phcdevworks_tutorials/application_helper.rb +0 -0
  14. data/app/helpers/phcdevworks_tutorials/blog/commands_helper.rb +0 -0
  15. data/app/helpers/phcdevworks_tutorials/blog/tutorials_helper.rb +0 -0
  16. data/app/helpers/phcdevworks_tutorials/command/items_helper.rb +0 -0
  17. data/app/helpers/phcdevworks_tutorials/command/posts_helper.rb +0 -0
  18. data/app/helpers/phcdevworks_tutorials/tutorial/posts_helper.rb +0 -0
  19. data/app/helpers/phcdevworks_tutorials/tutorial/steps_helper.rb +0 -0
  20. data/app/jobs/phcdevworks_tutorials/application_job.rb +0 -0
  21. data/app/mailers/phcdevworks_tutorials/application_mailer.rb +0 -0
  22. data/app/models/phcdevworks_tutorials/application_record.rb +0 -0
  23. data/app/models/phcdevworks_tutorials/command/item.rb +1 -1
  24. data/app/models/phcdevworks_tutorials/command/post.rb +1 -1
  25. data/app/models/phcdevworks_tutorials/command.rb +0 -0
  26. data/app/models/phcdevworks_tutorials/command_item_versions.rb +0 -0
  27. data/app/models/phcdevworks_tutorials/command_post_versions.rb +0 -0
  28. data/app/models/phcdevworks_tutorials/tutorial/post.rb +1 -1
  29. data/app/models/phcdevworks_tutorials/tutorial/step.rb +1 -1
  30. data/app/models/phcdevworks_tutorials/tutorial.rb +0 -0
  31. data/app/models/phcdevworks_tutorials/tutorial_post_versions.rb +0 -0
  32. data/app/models/phcdevworks_tutorials/tutorial_step_versions.rb +0 -0
  33. data/app/views/layouts/phcdevworks_tutorials/application.html.erb +73 -131
  34. data/app/views/layouts/phcdevworks_tutorials/components/backend/footer/_footer.html.erb +10 -9
  35. data/app/views/layouts/phcdevworks_tutorials/components/backend/navigation/_top_menu.html.erb +26 -25
  36. data/app/views/layouts/phcdevworks_tutorials/components/backend/sidebars/_side_menu.html.erb +491 -349
  37. data/app/views/phcdevworks_tutorials/blog/commands/index.html.erb +0 -0
  38. data/app/views/phcdevworks_tutorials/blog/commands/show.html.erb +0 -0
  39. data/app/views/phcdevworks_tutorials/blog/tutorials/index.html.erb +0 -0
  40. data/app/views/phcdevworks_tutorials/blog/tutorials/show.html.erb +0 -0
  41. data/app/views/phcdevworks_tutorials/command/items/_form.html.erb +16 -16
  42. data/app/views/phcdevworks_tutorials/command/items/edit.html.erb +23 -31
  43. data/app/views/phcdevworks_tutorials/command/items/index.html.erb +54 -62
  44. data/app/views/phcdevworks_tutorials/command/items/new.html.erb +23 -31
  45. data/app/views/phcdevworks_tutorials/command/items/show.html.erb +0 -0
  46. data/app/views/phcdevworks_tutorials/command/posts/_form.html.erb +11 -11
  47. data/app/views/phcdevworks_tutorials/command/posts/edit.html.erb +17 -25
  48. data/app/views/phcdevworks_tutorials/command/posts/index.html.erb +48 -56
  49. data/app/views/phcdevworks_tutorials/command/posts/new.html.erb +17 -25
  50. data/app/views/phcdevworks_tutorials/command/posts/show.html.erb +40 -48
  51. data/app/views/phcdevworks_tutorials/tutorial/posts/_form.html.erb +19 -19
  52. data/app/views/phcdevworks_tutorials/tutorial/posts/edit.html.erb +23 -31
  53. data/app/views/phcdevworks_tutorials/tutorial/posts/index.html.erb +56 -65
  54. data/app/views/phcdevworks_tutorials/tutorial/posts/new.html.erb +23 -31
  55. data/app/views/phcdevworks_tutorials/tutorial/posts/show.html.erb +48 -56
  56. data/app/views/phcdevworks_tutorials/tutorial/steps/_form.html.erb +20 -20
  57. data/app/views/phcdevworks_tutorials/tutorial/steps/edit.html.erb +23 -31
  58. data/app/views/phcdevworks_tutorials/tutorial/steps/index.html.erb +54 -62
  59. data/app/views/phcdevworks_tutorials/tutorial/steps/new.html.erb +23 -31
  60. data/config/routes.rb +0 -4
  61. data/config/spring.rb +0 -0
  62. data/db/migrate/20191017235259_create_phcdevworks_tutorials_tutorial_posts.rb +1 -1
  63. data/db/migrate/20191017235421_create_phcdevworks_tutorials_tutorial_steps.rb +1 -1
  64. data/db/migrate/20191024232406_create_phcdevworks_tutorials_tutorial_categories_posts.rb +1 -1
  65. data/db/migrate/20191102093129_create_phcdevworks_tutorials_tutorial_post_versions.rb +1 -1
  66. data/db/migrate/20191102093146_create_phcdevworks_tutorials_tutorial_step_versions.rb +1 -1
  67. data/db/migrate/20200320110115_create_phcdevworks_tutorials_command_posts.rb +1 -1
  68. data/db/migrate/20200320110553_create_phcdevworks_tutorials_command_items.rb +1 -1
  69. data/db/migrate/20200321122525_create_phcdevworks_tutorials_command_item_versions.rb +1 -1
  70. data/db/migrate/20200321122606_create_phcdevworks_tutorials_command_post_versions.rb +1 -1
  71. data/db/migrate/20200328012248_create_phcdevworks_tutorials_command_categories_posts.rb +1 -1
  72. data/lib/phcdevworks_tutorials/engine.rb +47 -47
  73. data/lib/phcdevworks_tutorials/version.rb +1 -1
  74. data/lib/phcdevworks_tutorials.rb +6 -6
  75. data/lib/tasks/phcdevworks_tutorials_tasks.rake +4 -4
  76. metadata +28 -79
  77. data/app/assets/stylesheets/phcdevworks_tutorials/application.scss +0 -0
  78. data/app/assets/stylesheets/phcdevworks_tutorials/blog/commands.scss +0 -3
  79. data/app/assets/stylesheets/phcdevworks_tutorials/blog/tutorials.scss +0 -3
  80. data/app/assets/stylesheets/phcdevworks_tutorials/command/items.scss +0 -3
  81. data/app/assets/stylesheets/phcdevworks_tutorials/command/posts.scss +0 -3
  82. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/posts.css +0 -4
  83. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/steps.css +0 -4
  84. data/app/views/layouts/phcdevworks_tutorials/frontend.html.erb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0708394071c5e7a10a3eb67d9da0da3fc6bf52a534f80d2d70ee316e1dcd6d7
4
- data.tar.gz: a3bddf33299c18f30da4999141ba4005b55a569b93b0de210c7dd6fe128716f9
3
+ metadata.gz: e55b9c969594170d5abd5bcd714d0cf130cff27822e1d3b93b7f04ab07748c96
4
+ data.tar.gz: bcc838b3ccabc38f409b4be694a94c0df49285a849b77df266cca03d6f38c7a4
5
5
  SHA512:
6
- metadata.gz: 8d7e5d53ab0893f27c72d5305e128a30e69df10d2cc6dcbc47685b4f561c26ec01ad70dcda732fa0bf38f088563b3c32f493ce4d5a1bdaf37d5b40913ca24198
7
- data.tar.gz: 353898662e7ff66238c5b1c5ff319bb9eefd5323e317ab4d1d4742b52a4d39b283441b369d5cfec899c2db1df5112e1d3db3cbab82b7aa738663fd5bf98832af
6
+ metadata.gz: 4d434ea13efe786fb7d452e80eddf0ea18ab4927e907c6d6020a24a0145d1e0cc2bc4e270dd7111bfdd3883e27035e43db2c0396a405dc62b12df6b76e1b558a
7
+ data.tar.gz: 626670940711e1a967cdc3697f16121ef94acbbf870d2654bbac092868b2e39d73073a122bc3059dafea376fdfd1c5b477cd267c2a1626dd2397ce202a09c537
data/MIT-LICENSE CHANGED
@@ -1,20 +1,20 @@
1
- Copyright 2020 BradPotts
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright 2022 PHCDevworks
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
1
- require "bundler/setup"
2
-
3
- APP_RAKEFILE = File.expand_path("spec/test_app/Rakefile", __dir__)
4
- load "rails/tasks/engine.rake"
5
-
6
- load "rails/tasks/statistics.rake"
7
-
8
- require "bundler/gem_tasks"
1
+ require "bundler/setup"
2
+
3
+ APP_RAKEFILE = File.expand_path("spec/test_app/Rakefile", __dir__)
4
+ load "rails/tasks/engine.rake"
5
+
6
+ load "rails/tasks/statistics.rake"
7
+
8
+ require "bundler/gem_tasks"
@@ -1,3 +1,2 @@
1
- //= link_directory ../stylesheets/phcdevworks_tutorials .scss
2
- //= link phcthemes_admin_panel_pack_coloradmin.css
3
- //= link phcthemes_admin_panel_pack_coloradmin.js
1
+ //= link coloradmin/default/phcthemes_admin_panel_pack_coloradmin.css
2
+ //= link coloradmin/phcthemes_admin_panel_pack_coloradmin.js
File without changes
@@ -8,7 +8,7 @@ module PhcdevworksTutorials
8
8
  has_one_attached :command_item_image
9
9
 
10
10
  # Relationships
11
- belongs_to :user, class_name: "PhcdevworksAccounts::User"
11
+ belongs_to :user, class_name: "PhcdevworksAccountsDevise"
12
12
  belongs_to :post, class_name: "Command::Post"
13
13
  has_many :categories, class_name: "Tutorial::Category", :through => :post
14
14
  belongs_to :optimization, class_name: "PhcdevworksCoreModules::Marketing::Optimization", optional: true
@@ -11,7 +11,7 @@ module PhcdevworksTutorials
11
11
  has_one_attached :command_post_image
12
12
 
13
13
  # Relationships
14
- belongs_to :user, class_name: "PhcdevworksAccounts::User"
14
+ belongs_to :user, class_name: "PhcdevworksAccountsDevise"
15
15
  belongs_to :optimization, class_name: "PhcdevworksCoreModules::Marketing::Optimization", optional: true
16
16
  has_and_belongs_to_many :categories, class_name: "PhcdevworksCoreModules::Post::Category", :join_table => "phcdevworks_tutorials_command_categories_posts"
17
17
  has_many :items, class_name: "Command::Item", :dependent => :destroy
File without changes
@@ -11,7 +11,7 @@ module PhcdevworksTutorials
11
11
  has_one_attached :tutorial_post_image
12
12
 
13
13
  # Relationships
14
- belongs_to :user, class_name: "PhcdevworksAccounts::User"
14
+ belongs_to :user, class_name: "PhcdevworksAccountsDevise"
15
15
  belongs_to :optimization, class_name: "PhcdevworksCoreModules::Marketing::Optimization", optional: true
16
16
  has_and_belongs_to_many :categories, class_name: "PhcdevworksCoreModules::Post::Category", :join_table => "phcdevworks_tutorials_tutorial_categories_posts", :dependent => :destroy
17
17
  has_many :steps, class_name: "Tutorial::Step", :dependent => :destroy
@@ -8,7 +8,7 @@ module PhcdevworksTutorials
8
8
  has_one_attached :tutorial_step_image
9
9
 
10
10
  # Relationships
11
- belongs_to :user, class_name: "PhcdevworksAccounts::User"
11
+ belongs_to :user, class_name: "PhcdevworksAccountsDevise"
12
12
  belongs_to :post, class_name: "Tutorial::Post"
13
13
  belongs_to :optimization, class_name: "PhcdevworksCoreModules::Marketing::Optimization", optional: true
14
14
  has_many :categories, class_name: "Tutorial::Category", :through => :post
File without changes
@@ -1,131 +1,73 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
-
5
- <!-- SEO System -->
6
- <% phc_seo_title "PHCDevworks Tutorials" %>
7
- <% phc_seo_description " Ruby on Rails 6 engine, PHCDevworks Tutorials offers built in copy to clipboard function, easily build step-by-step guides and a separate module to list common computer/development commands." %>
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_tutorials/components/backend/navigation/top_menu" %>
39
- </div>
40
- <!-- Page Header -->
41
-
42
- <!-- Page Sidebar -->
43
- <div id="sidebar" class="sidebar">
44
- <%= render "layouts/phcdevworks_tutorials/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_tutorials/components/backend/footer/footer" %>
59
- </div>
60
- <!-- Footer Content -->
61
-
62
- </div>
63
- <!-- Page Container -->
64
-
65
- <!-- JavaScript CKEditor -->
66
- <script>ClassicEditor
67
- .create( document.querySelector( '.editor' ), {
68
- toolbar: {
69
- items: [
70
- 'heading',
71
- '|',
72
- 'fontBackgroundColor',
73
- 'fontColor',
74
- 'horizontalLine',
75
- 'fontSize',
76
- 'fontFamily',
77
- 'highlight',
78
- '|',
79
- 'bold',
80
- 'underline',
81
- 'italic',
82
- 'strikethrough',
83
- 'link',
84
- 'removeFormat',
85
- '|',
86
- 'alignment',
87
- 'indent',
88
- 'outdent',
89
- '|',
90
- 'blockQuote',
91
- 'insertTable',
92
- 'undo',
93
- 'redo',
94
- '|',
95
- 'subscript',
96
- 'superscript',
97
- '|',
98
- 'codeBlock',
99
- 'code',
100
- '|',
101
- 'MathType',
102
- 'ChemType',
103
- 'specialCharacters'
104
- ]
105
- },
106
- language: 'en',
107
- table: {
108
- contentToolbar: [
109
- 'tableColumn',
110
- 'tableRow',
111
- 'mergeTableCells',
112
- 'tableCellProperties',
113
- 'tableProperties'
114
- ]
115
- },
116
- licenseKey: '',
117
- } )
118
- .then( editor => {
119
- window.editor = editor;
120
- } )
121
- .catch( error => {
122
- console.error( 'Oops, something gone wrong!' );
123
- console.error( 'Please, report the following error in the https://github.com/ckeditor/ckeditor5 with the build id and the error stack trace:' );
124
- console.warn( 'Build id: ulhl6ym1zxhr-qh8kt6relt0l' );
125
- console.error( error );
126
- } );
127
- </script>
128
- <!-- JavaScript CKEditor -->
129
-
130
- </body>
131
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+
5
+ <!-- SEO System -->
6
+ <% phc_seo_title "PHCDevworks Tutorials" %>
7
+ <% phc_seo_description "Ruby on Rails 7 Engine to Manage Online Tutorials." %>
8
+ <!-- SEO System -->
9
+
10
+ <!-- SEO and Site Description -->
11
+ <meta charset="utf-8">
12
+ <title><%= yield(:phc_seo_title) %></title>
13
+ <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
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
+ <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
24
+ <%= stylesheet_link_tag "coloradmin/default/phcthemes_admin_panel_pack_coloradmin", media: "all" %>
25
+ <!-- CSS Styles -->
26
+
27
+ </head>
28
+ <body>
29
+
30
+ <!-- -PHCDEV- Page Container -->
31
+ <div id="app" class="app app-header-fixed app-sidebar-fixed app-with-wide-sidebar">
32
+
33
+ <!-- -PHCDEV- Page Container - Header -->
34
+ <div id="header" class="app-header">
35
+ <%= render "layouts/phcdevworks_tutorials/components/backend/navigation/top_menu" %>
36
+ </div>
37
+ <!-- -PHCDEV- Page Container - Header -->
38
+
39
+ <!-- -PHCDEV- Page Container - Sidebar -->
40
+ <div id="sidebar" class="app-sidebar" data-disable-slide-animation="true">
41
+ <%= render "layouts/phcdevworks_tutorials/components/backend/sidebars/side_menu" %>
42
+ </div>
43
+ <div class="app-sidebar-bg"></div>
44
+ <div class="app-sidebar-mobile-backdrop"><a href="#" data-dismiss="app-sidebar-mobile" class="stretched-link"></a></div>
45
+ <!-- -PHCDEV- Page Container - Sidebar -->
46
+
47
+ <!-- -PHCDEV- Page Container - Content -->
48
+ <div id="app" class="app app-content-full-height">
49
+ <div id="content" class="app-content d-flex flex-column p-0">
50
+ <!-- -PHCDEV- Page Container - Main -->
51
+ <div class="app-content-padding flex-grow-1 overflow-hidden" data-scrollbar="true" data-height="100%">
52
+ <%= render "phcdevworks_notifications/bootstrap/notifications" %>
53
+ <%= yield %>
54
+ </div>
55
+ <!-- -PHCDEV- Page Container - Main -->
56
+ <!-- -PHCDEV- Page Container - Footer -->
57
+ <div id="footer" class="app-footer m-0">
58
+ <%= render "layouts/phcdevworks_tutorials/components/backend/footer/footer" %>
59
+ </div>
60
+ <!-- -PHCDEV- Page Container - Footer -->
61
+ </div>
62
+ </div>
63
+ <!-- -PHCDEV- Page Container - Content -->
64
+
65
+ </div>
66
+ <!-- -PHCDEV- Page Container -->
67
+
68
+ <!-- JavaScript -->
69
+ <%= javascript_include_tag "coloradmin/phcthemes_admin_panel_pack_coloradmin" %>
70
+ <!-- JavaScript -->
71
+
72
+ </body>
73
+ </html>
@@ -1,16 +1,17 @@
1
- <!-- Footer Content - Left -->
1
+ <!-- -PHCDEV- Page Container - Footer - Left -->
2
2
  <span>
3
- <!-- Footer Content - Left - Time in Production -->
3
+ <!-- -PHCDEV- Page Container - Footer - Left - Copyright -->
4
4
  <i class="fab fa-osi font-weight-bolder"></i> 2012-<%= Time.now.year %> -
5
- <span class="font-weight-bold">PHC</span>Devworks Tutorials -
6
- Engine v<%= Gem.loaded_specs["phcdevworks_tutorials"].version.to_s %>
7
- <!-- Footer Content - Left - Time in Production -->
5
+ <span class="phc_dev_strong_plugin">PHC</span><span class="phc_dev_light_plugin">Devworks</span> Tutorials - Engine v<%= Gem.loaded_specs["phcdevworks_tutorials"].version.to_s %>
6
+ <!-- -PHCDEV- Page Container - Footer - Left - Copyright -->
8
7
  </span>
9
- <!-- Footer Content - Left -->
8
+ <!-- -PHCDEV- Page Container - Footer - Left -->
10
9
 
11
- <!-- Footer Content - Right -->
10
+ <!-- -PHCDEV- Page Container - Footer - Right -->
12
11
  <span class="float-right">
12
+ <!-- -PHCDEV- Page Container - Footer - Right - Developed -->
13
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="font-weight-bold">PHC</span>Devworks</u></a>
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 -->
15
16
  </span>
16
- <!-- Footer Content - Right -->
17
+ <!-- -PHCDEV- Page Container - Footer - Right -->
@@ -1,40 +1,41 @@
1
- <!-- -PHC- Topbar - Navigation Header -->
1
+ <!-- -PHCDEV- Topbar - Navigation Header -->
2
2
  <div class="navbar-header">
3
3
 
4
- <%= link_to phcdevworks_tutorials.tutorial_posts_path, class: "navbar-brand" do %>
5
- <strong>PHCDevworks</strong>Tutorial
6
- <% end %>
7
-
8
- <button type="button" class="navbar-toggle" data-click="sidebar-toggled">
9
- <span class="icon-bar"></span>
10
- <span class="icon-bar"></span>
11
- <span class="icon-bar"></span>
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>
12
8
  </button>
13
9
 
10
+ <%= link_to phcdevworks_accounts_devise.user_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
14
  </div>
15
- <!-- -PHC- Topbar - Navigation Header -->
15
+ <!-- -PHCDEV- Topbar - Navigation Header -->
16
16
 
17
- <!-- -PHC- Topbar - Navigation Main -->
17
+ <!-- -PHCDEV- Topbar - Navigation Main -->
18
18
  <% if current_user %>
19
- <ul class="navbar-nav navbar-right">
20
-
21
- <!-- -PHC- Topbar - Navigation Main - User Menu -->
22
- <li class="dropdown navbar-user">
23
- <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
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">
24
22
  <%= image_tag current_user.gravatar_url %>
25
- <span class="d-none d-md-inline"><%= current_user.firstname + " " + current_user.lastname %></span> <b class="caret"></b>
23
+ <span>
24
+ <span class="d-none d-md-inline"><%= current_user.firstname + " " + current_user.lastname %></span>
25
+ <b class="caret"></b>
26
+ </span>
26
27
  </a>
27
- <div class="dropdown-menu dropdown-menu-right">
28
- <%= link_to phcdevworks_accounts.edit_user_registration_path, class: "dropdown-item" do %>
28
+ <div class="dropdown-menu dropdown-menu-end me-1">
29
+ <%= link_to phcdevworks_accounts_devise.edit_user_registration_path, class: "dropdown-item" do %>
29
30
  <i class="fad fa-cogs"></i> Account Settings
30
31
  <% end %>
31
- <%= link_to phcdevworks_accounts.destroy_user_session_path, method: :delete, class: "dropdown-item" do %>
32
+ <%= link_to phcdevworks_accounts_devise.destroy_user_session_path, method: :delete, class: "dropdown-item" do %>
32
33
  <i class="fad fa-sign-out-alt"></i> Logout
33
34
  <% end %>
34
35
  </div>
35
- </li>
36
- <!-- -PHC- Topbar - Navigation Main - User Menu -->
37
-
38
- </ul>
36
+ </div>
37
+ </div>
39
38
  <% end %>
40
- <!-- -PHC- Topbar - Navigation Main -->
39
+
40
+ </div>
41
+ <!-- -PHCDEV- Topbar - Navigation Main -->