phcpresspro 69.1.0 → 70.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +8 -1
  4. data/app/assets/javascripts/phcpresspro/application.js +4 -1
  5. data/app/assets/javascripts/phcpresspro/article/categories.js +3 -0
  6. data/app/assets/javascripts/phcpresspro/article/posts.js +2 -0
  7. data/app/assets/javascripts/phcpresspro/custom/custom.js +0 -0
  8. data/app/assets/stylesheets/phcpresspro/application.scss +3 -1
  9. data/app/assets/stylesheets/phcpresspro/article/categories.scss +0 -0
  10. data/app/assets/stylesheets/phcpresspro/article/posts.scss +0 -0
  11. data/app/controllers/phcpresspro/application_controller.rb +1 -1
  12. data/app/controllers/phcpresspro/article/categories_controller.rb +75 -0
  13. data/app/controllers/phcpresspro/article/posts_controller.rb +6 -7
  14. data/app/helpers/phcpresspro/article/categories_helper.rb +4 -0
  15. data/app/helpers/phcpresspro/article/posts_helper.rb +4 -0
  16. data/app/mailers/phcpresspro/application_mailer.rb +1 -1
  17. data/app/models/phcpresspro/{modules → article}/category.rb +2 -3
  18. data/app/models/phcpresspro/article/post.rb +3 -4
  19. data/app/views/layouts/phcpresspro/application.html.erb +2 -11
  20. data/app/views/layouts/phcpresspro/components/backend/footer/_footer.html.erb +1 -1
  21. data/app/views/layouts/phcpresspro/components/backend/sidebars/_side_menu.html.erb +4 -6
  22. data/app/views/phcpresspro/article/categories/_form.html.erb +13 -0
  23. data/app/views/phcpresspro/{modules → article}/categories/edit.html.erb +1 -1
  24. data/app/views/phcpresspro/{modules → article}/categories/index.html.erb +3 -3
  25. data/app/views/phcpresspro/{modules → article}/categories/new.html.erb +2 -2
  26. data/app/views/phcpresspro/article/categories/show.html.erb +9 -0
  27. data/app/views/phcpresspro/article/posts/_form.html.erb +14 -14
  28. data/app/views/phcpresspro/article/posts/index.html.erb +1 -1
  29. data/config/routes.rb +9 -16
  30. data/db/migrate/{20160718204718_create_phcpresspro_article_posts.rb → 20190315010932_create_phcpresspro_article_posts.rb} +2 -3
  31. data/db/migrate/{20160716182936_create_phcpresspro_modules_categories.rb → 20190315040834_create_phcpresspro_article_categories.rb} +2 -3
  32. data/db/migrate/20190315173237_create_phcpresspro_join_table_categories_posts.rb +8 -0
  33. data/lib/phcpresspro/version.rb +1 -1
  34. metadata +20 -43
  35. data/app/controllers/phcpresspro/api/v1/categories_controller.rb +0 -15
  36. data/app/controllers/phcpresspro/api/v1/posts_controller.rb +0 -20
  37. data/app/controllers/phcpresspro/frontend/article_controller.rb +0 -21
  38. data/app/controllers/phcpresspro/modules/categories_controller.rb +0 -75
  39. data/app/controllers/phcpresspro/modules/connections_controller.rb +0 -75
  40. data/app/models/phcpresspro/api/v1/category.rb +0 -4
  41. data/app/models/phcpresspro/api/v1/post.rb +0 -4
  42. data/app/models/phcpresspro/connection_versions.rb +0 -5
  43. data/app/models/phcpresspro/frontend/article.rb +0 -4
  44. data/app/models/phcpresspro/frontend.rb +0 -7
  45. data/app/models/phcpresspro/modules/connection.rb +0 -25
  46. data/app/models/phcpresspro/modules.rb +0 -7
  47. data/app/views/layouts/phcpresspro/components/frontend/footer/_footer.html.erb +0 -14
  48. data/app/views/layouts/phcpresspro/components/frontend/footer/_footer_copyright.html.erb +0 -21
  49. data/app/views/layouts/phcpresspro/components/frontend/header/_slideout.html.erb +0 -24
  50. data/app/views/layouts/phcpresspro/components/frontend/header/_topbar.html.erb +0 -17
  51. data/app/views/layouts/phcpresspro/components/frontend/navigation/_navigation.html.erb +0 -29
  52. data/app/views/layouts/phcpresspro/components/frontend/pages/_titlebars.html.erb +0 -14
  53. data/app/views/layouts/phcpresspro/components/frontend/seo/_seo_main.html.erb +0 -5
  54. data/app/views/layouts/phcpresspro/frontend.html.erb +0 -60
  55. data/app/views/phcpresspro/api/v1/categories/index.json.rabl +0 -2
  56. data/app/views/phcpresspro/api/v1/posts/index.json.rabl +0 -2
  57. data/app/views/phcpresspro/api/v1/posts/show.json.rabl +0 -2
  58. data/app/views/phcpresspro/frontend/article/index.html.erb +0 -69
  59. data/app/views/phcpresspro/frontend/article/show.html.erb +0 -58
  60. data/app/views/phcpresspro/modules/categories/_form.html.erb +0 -17
  61. data/app/views/phcpresspro/modules/categories/show.html.erb +0 -22
  62. data/app/views/phcpresspro/modules/connections/_form.html.erb +0 -21
  63. data/app/views/phcpresspro/modules/connections/edit.html.erb +0 -24
  64. data/app/views/phcpresspro/modules/connections/index.html.erb +0 -42
  65. data/app/views/phcpresspro/modules/connections/new.html.erb +0 -24
  66. data/app/views/phcpresspro/modules/connections/show.html.erb +0 -22
  67. data/db/migrate/20160719221205_create_phcpresspro_modules_connections.rb +0 -17
  68. data/db/migrate/20170517064114_create_phcpresspro_connection_versions.rb +0 -17
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpresspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 69.1.0
4
+ version: 70.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-14 00:00:00.000000000 Z
11
+ date: 2019-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -650,70 +650,47 @@ files:
650
650
  - Rakefile
651
651
  - app/assets/config/phcpresspro_manifest.js
652
652
  - app/assets/javascripts/phcpresspro/application.js
653
+ - app/assets/javascripts/phcpresspro/article/categories.js
654
+ - app/assets/javascripts/phcpresspro/article/posts.js
655
+ - app/assets/javascripts/phcpresspro/custom/custom.js
653
656
  - app/assets/stylesheets/phcpresspro/application.scss
654
- - app/controllers/phcpresspro/api/v1/categories_controller.rb
655
- - app/controllers/phcpresspro/api/v1/posts_controller.rb
657
+ - app/assets/stylesheets/phcpresspro/article/categories.scss
658
+ - app/assets/stylesheets/phcpresspro/article/posts.scss
656
659
  - app/controllers/phcpresspro/application_controller.rb
660
+ - app/controllers/phcpresspro/article/categories_controller.rb
657
661
  - app/controllers/phcpresspro/article/posts_controller.rb
658
- - app/controllers/phcpresspro/frontend/article_controller.rb
659
- - app/controllers/phcpresspro/modules/categories_controller.rb
660
- - app/controllers/phcpresspro/modules/connections_controller.rb
661
662
  - app/helpers/phcpresspro/application_helper.rb
663
+ - app/helpers/phcpresspro/article/categories_helper.rb
664
+ - app/helpers/phcpresspro/article/posts_helper.rb
662
665
  - app/jobs/phcpresspro/application_job.rb
663
666
  - app/mailers/phcpresspro/application_mailer.rb
664
- - app/models/phcpresspro/api/v1/category.rb
665
- - app/models/phcpresspro/api/v1/post.rb
666
667
  - app/models/phcpresspro/application_record.rb
667
668
  - app/models/phcpresspro/article.rb
669
+ - app/models/phcpresspro/article/category.rb
668
670
  - app/models/phcpresspro/article/post.rb
669
671
  - app/models/phcpresspro/category_versions.rb
670
- - app/models/phcpresspro/connection_versions.rb
671
- - app/models/phcpresspro/frontend.rb
672
- - app/models/phcpresspro/frontend/article.rb
673
- - app/models/phcpresspro/modules.rb
674
- - app/models/phcpresspro/modules/category.rb
675
- - app/models/phcpresspro/modules/connection.rb
676
672
  - app/models/phcpresspro/post_versions.rb
677
673
  - app/views/layouts/phcpresspro/application.html.erb
678
674
  - app/views/layouts/phcpresspro/components/backend/footer/_footer.html.erb
679
675
  - app/views/layouts/phcpresspro/components/backend/navigation/_top_menu.html.erb
680
676
  - app/views/layouts/phcpresspro/components/backend/sidebars/_side_menu.html.erb
681
- - app/views/layouts/phcpresspro/components/frontend/footer/_footer.html.erb
682
- - app/views/layouts/phcpresspro/components/frontend/footer/_footer_copyright.html.erb
683
- - app/views/layouts/phcpresspro/components/frontend/header/_slideout.html.erb
684
- - app/views/layouts/phcpresspro/components/frontend/header/_topbar.html.erb
685
- - app/views/layouts/phcpresspro/components/frontend/navigation/_navigation.html.erb
686
- - app/views/layouts/phcpresspro/components/frontend/pages/_titlebars.html.erb
687
- - app/views/layouts/phcpresspro/components/frontend/seo/_seo_main.html.erb
688
- - app/views/layouts/phcpresspro/frontend.html.erb
689
- - app/views/phcpresspro/api/v1/categories/index.json.rabl
690
- - app/views/phcpresspro/api/v1/posts/index.json.rabl
691
- - app/views/phcpresspro/api/v1/posts/show.json.rabl
677
+ - app/views/phcpresspro/article/categories/_form.html.erb
678
+ - app/views/phcpresspro/article/categories/edit.html.erb
679
+ - app/views/phcpresspro/article/categories/index.html.erb
680
+ - app/views/phcpresspro/article/categories/new.html.erb
681
+ - app/views/phcpresspro/article/categories/show.html.erb
692
682
  - app/views/phcpresspro/article/posts/_form.html.erb
693
683
  - app/views/phcpresspro/article/posts/edit.html.erb
694
684
  - app/views/phcpresspro/article/posts/index.html.erb
695
685
  - app/views/phcpresspro/article/posts/new.html.erb
696
686
  - app/views/phcpresspro/article/posts/show.html.erb
697
- - app/views/phcpresspro/frontend/article/index.html.erb
698
- - app/views/phcpresspro/frontend/article/show.html.erb
699
- - app/views/phcpresspro/modules/categories/_form.html.erb
700
- - app/views/phcpresspro/modules/categories/edit.html.erb
701
- - app/views/phcpresspro/modules/categories/index.html.erb
702
- - app/views/phcpresspro/modules/categories/new.html.erb
703
- - app/views/phcpresspro/modules/categories/show.html.erb
704
- - app/views/phcpresspro/modules/connections/_form.html.erb
705
- - app/views/phcpresspro/modules/connections/edit.html.erb
706
- - app/views/phcpresspro/modules/connections/index.html.erb
707
- - app/views/phcpresspro/modules/connections/new.html.erb
708
- - app/views/phcpresspro/modules/connections/show.html.erb
709
687
  - config/routes.rb
710
- - db/migrate/20160716182936_create_phcpresspro_modules_categories.rb
711
- - db/migrate/20160718204718_create_phcpresspro_article_posts.rb
712
- - db/migrate/20160719221205_create_phcpresspro_modules_connections.rb
713
688
  - db/migrate/20170509002355_create_phcpresspro_friendly_id_slugs.rb
714
689
  - db/migrate/20170517064030_create_phcpresspro_post_versions.rb
715
- - db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
716
690
  - db/migrate/20170517064427_create_phcpresspro_category_versions.rb
691
+ - db/migrate/20190315010932_create_phcpresspro_article_posts.rb
692
+ - db/migrate/20190315040834_create_phcpresspro_article_categories.rb
693
+ - db/migrate/20190315173237_create_phcpresspro_join_table_categories_posts.rb
717
694
  - lib/phcpresspro.rb
718
695
  - lib/phcpresspro/engine.rb
719
696
  - lib/phcpresspro/version.rb
@@ -737,7 +714,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
737
714
  - !ruby/object:Gem::Version
738
715
  version: '0'
739
716
  requirements: []
740
- rubygems_version: 3.0.1
717
+ rubygems_version: 3.0.3
741
718
  signing_key:
742
719
  specification_version: 4
743
720
  summary: Rails 5.2 Enterprise App Engine
@@ -1,15 +0,0 @@
1
- require_dependency "phcpresspro/application_controller"
2
-
3
- module Phcpresspro
4
- class Api::V1::CategoriesController < ApplicationController
5
-
6
- # Only Responds to API Requests
7
- respond_to :json
8
-
9
- # Article Category API
10
- def index
11
- @modules_categories = Modules::Category.order('catname ASC')
12
- end
13
-
14
- end
15
- end
@@ -1,20 +0,0 @@
1
- require_dependency "phcpresspro/application_controller"
2
-
3
- module Phcpresspro
4
- class Api::V1::PostsController < ApplicationController
5
-
6
- # Only Responds to API Requests
7
- respond_to :json
8
-
9
- # Article Category API
10
- def index
11
- @article_posts = Article::Post.where(pststatus: 'published').order('created_at ASC')
12
- end
13
-
14
- # Article Show
15
- def show
16
- @article_post = Article::Post.where(pststatus: 'published').find(params[:id])
17
- end
18
-
19
- end
20
- end
@@ -1,21 +0,0 @@
1
- require_dependency "phcpresspro/application_controller"
2
- require 'httparty'
3
-
4
- module Phcpresspro
5
- class Frontend::ArticleController < ApplicationController
6
-
7
- # Security & Filters
8
- layout '/layouts/phcpresspro/frontend.html.erb'
9
-
10
- # Article Index
11
- def index
12
- @phcpresspro_frontend_article_list = HTTParty.get("https://#{ENV["PHC_PRESSPRO_API_DOMAIN"]}/#{ENV["PHC_PRESSPRO_API_FOLDER"]}/api/v1/posts.json")
13
- end
14
-
15
- # Article Show
16
- def show
17
- @phcpresspro_frontend_article_post = HTTParty.get("https://#{ENV["PHC_PRESSPRO_API_DOMAIN"]}/#{ENV["PHC_PRESSPRO_API_FOLDER"]}/api/v1/posts.json")
18
- end
19
-
20
- end
21
- end
@@ -1,75 +0,0 @@
1
- require_dependency "phcpresspro/application_controller"
2
-
3
- module Phcpresspro
4
- class Modules::CategoriesController < ApplicationController
5
-
6
- # Security & Action Filters
7
- before_action :authenticate_user!
8
- before_action :set_paper_trail_whodunnit
9
- before_action :set_modules_category, only: [:show, :edit, :update, :destroy]
10
-
11
- # Categories Index
12
- def index
13
- @modules_categories = Modules::Category.where(org_id: current_user.org_id)
14
- end
15
-
16
- # Categories Show
17
- def show
18
- @modules_category = Modules::Category.friendly.find(params[:id])
19
- @versions = PaperTrail::Version.where(item_id: params[:id], item_type: 'Phcpresspro::Modules::Category')
20
- end
21
-
22
- # Categories New
23
- def new
24
- @modules_category = Modules::Category.new
25
- @modules_category.user_id = current_user.id
26
- @modules_category.org_id = current_user.org_id
27
- end
28
-
29
- # Categories Edit
30
- def edit
31
- end
32
-
33
- # POST
34
- def create
35
- @modules_category = Modules::Category.new(modules_category_params)
36
- @modules_category.user_id = current_user.id
37
- @modules_category.org_id = current_user.org_id
38
- if @modules_category.save
39
- redirect_to modules_categories_url, notice: 'Category was successfully created.'
40
- else
41
- render :new
42
- end
43
- end
44
-
45
- # PATCH/PUT
46
- def update
47
- @modules_category.user_id = current_user.id
48
- @modules_category.org_id = current_user.org_id
49
- if @modules_category.update(modules_category_params)
50
- redirect_to modules_categories_url, notice: 'Category was successfully updated.'
51
- else
52
- render :edit
53
- end
54
- end
55
-
56
- # DELETE
57
- def destroy
58
- @modules_category.destroy
59
- redirect_to modules_categories_url, notice: 'Category was successfully destroyed.'
60
- end
61
-
62
- private
63
-
64
- # Common Callbacks
65
- def set_modules_category
66
- @modules_category = Modules::Category.friendly.find(params[:id])
67
- end
68
-
69
- # Whitelist
70
- def modules_category_params
71
- params.require(:modules_category).permit(:catname, :slug, :user_id, :org_id)
72
- end
73
-
74
- end
75
- end
@@ -1,75 +0,0 @@
1
- require_dependency "phcpresspro/application_controller"
2
-
3
- module Phcpresspro
4
- class Modules::ConnectionsController < ApplicationController
5
-
6
- # Security & Action Filters
7
- before_action :authenticate_user!
8
- before_action :set_paper_trail_whodunnit
9
- before_action :set_modules_connection, only: [:show, :edit, :update, :destroy]
10
-
11
- # Connections Index
12
- def index
13
- @modules_connections = Modules::Connection.where(org_id: current_user.org_id)
14
- end
15
-
16
- # Connections Show
17
- def show
18
- @modules_connection = Modules::Connection.friendly.find(params[:id])
19
- @versions = PaperTrail::Version.where(item_id: params[:id], item_type: 'Phcpresspro::Modules::Connection')
20
- end
21
-
22
- # Connections New
23
- def new
24
- @modules_connection = Modules::Connection.new
25
- @modules_connection.user_id = current_user.id
26
- @modules_connection.org_id = current_user.org_id
27
- end
28
-
29
- # Connections Edit
30
- def edit
31
- end
32
-
33
- # POST
34
- def create
35
- @modules_connection = Modules::Connection.new(modules_connection_params)
36
- @modules_connection.user_id = current_user.id
37
- @modules_connection.org_id = current_user.org_id
38
- if @modules_connection.save
39
- redirect_to modules_connections_url, notice: 'Connection was successfully created.'
40
- else
41
- render :new
42
- end
43
- end
44
-
45
- # PATCH/PUT
46
- def update
47
- @modules_connection.user_id = current_user.id
48
- @modules_connection.org_id = current_user.org_id
49
- if @modules_connection.update(modules_connection_params)
50
- redirect_to modules_connections_url, notice: 'Connection was successfully updated.'
51
- else
52
- render :edit
53
- end
54
- end
55
-
56
- # DELETE
57
- def destroy
58
- @modules_connection.destroy
59
- redirect_to modules_connections_url, notice: 'Connection was successfully destroyed.'
60
- end
61
-
62
- private
63
-
64
- # Common Callbacks
65
- def set_modules_connection
66
- @modules_connection = Modules::Connection.friendly.find(params[:id])
67
- end
68
-
69
- # Whitelist
70
- def modules_connection_params
71
- params.require(:modules_connection).permit(:post_id, :category_id, :slug, :user_id, :org_id)
72
- end
73
-
74
- end
75
- end
@@ -1,4 +0,0 @@
1
- module Phcpresspro
2
- class Api::V1::Category < ApplicationRecord
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module Phcpresspro
2
- class Api::V1::Post < ApplicationRecord
3
- end
4
- end
@@ -1,5 +0,0 @@
1
- module Phcpresspro
2
- class ConnectionVersions < PaperTrail::Version
3
- self.table_name = :phcpresspro_connection_versions
4
- end
5
- end
@@ -1,4 +0,0 @@
1
- module Phcpresspro
2
- class Frontend::Article < ApplicationRecord
3
- end
4
- end
@@ -1,7 +0,0 @@
1
- module Phcpresspro
2
- module Frontend
3
- def self.table_name_prefix
4
- 'phcpresspro_frontend_'
5
- end
6
- end
7
- end
@@ -1,25 +0,0 @@
1
- module Phcpresspro
2
- class Modules::Connection < ApplicationRecord
3
-
4
- # Clean URL Initialize
5
- extend FriendlyId
6
-
7
- # Add Paper Trail
8
- has_paper_trail :class_name => 'Phcpresspro::ConnectionVersions'
9
-
10
- # Relationships
11
- belongs_to :post, class_name: 'Phcpresspro::Article::Post'
12
- belongs_to :category, class_name: 'Phcpresspro::Modules::Category'
13
-
14
- # Clean URL Define
15
- friendly_id :phcpresspro_connections_slug, use: [:slugged, :finders]
16
-
17
- # Define for Multiple Records
18
- def phcpresspro_connections_slug
19
- [
20
- [:post_id, :category_id]
21
- ]
22
- end
23
-
24
- end
25
- end
@@ -1,7 +0,0 @@
1
- module Phcpresspro
2
- module Modules
3
- def self.table_name_prefix
4
- 'phcpresspro_modules_'
5
- end
6
- end
7
- end
@@ -1,14 +0,0 @@
1
- <!-- Start load Footer Template Files From main_app -->
2
- <div class="col-md-3">
3
- <%= render 'layouts/components/frontend/footer/footer_address' %>
4
- </div>
5
- <div class="col-md-3">
6
- <%= render 'layouts/components/frontend/footer/footer_newspost' %>
7
- </div>
8
- <div class="col-md-3">
9
- <%= render 'layouts/components/frontend/footer/footer_quicklinks' %>
10
- </div>
11
- <div class="col-md-3">
12
- <%= render 'layouts/components/frontend/footer/footer_socialconnect' %>
13
- </div>
14
- <!-- End load Footer Template Files From main_app -->
@@ -1,21 +0,0 @@
1
- <!-- Start Copyright Information -->
2
- <div class="container">
3
-
4
- <ul class="float-right m-0 list-inline mobile-block">
5
- <li><%= link_to "Home", main_app.root_path %></li>
6
- <li>&bull;</li>
7
- <li><%= link_to "PHCNetworks", "https://phcnetworks.net", target: "_blank", rel: "nofollow" %></li>
8
- <li>&bull;</li>
9
- <li><%= link_to "PHCMembers", "https://phcmembers.com", target: "_blank", rel: "nofollow" %></li>
10
- <li>&bull;</li>
11
- <li><%= link_to "PHCPress", "https://phcpress.com", target: "_blank", rel: "nofollow" %></li>
12
- <li>&bull;</li>
13
- <li><%= link_to "Privacy & Security", "#", target: "_blank", rel: "nofollow" %></li>
14
- <li>&bull;</li>
15
- <li><%= link_to "Terms & Conditions", "#", target: "_blank", rel: "nofollow" %></li>
16
- </ul>
17
-
18
- PHCNetworks &copy; 2012-<%= Time.now.year %> - v<%= Gem.loaded_specs["phcpresspro"].version.to_s %> - RELEASED - <%= Date.today.month %>-<%= Date.today.year %>
19
-
20
- </div>
21
- <!-- End Copyright Information -->
@@ -1,24 +0,0 @@
1
- <!-- Start load Slideout Template Files From main_app -->
2
- <div class="container">
3
- <div class="row">
4
-
5
- <div class="col-md-3">
6
- <%= render 'layouts/components/frontend/header/slideout_text' %>
7
- </div>
8
-
9
- <div class="col-md-3">
10
- <h6><i class="far fa-link"></i> A PHCNETWORKS COMPANY</h6>
11
- <ul class="list-unstyled">
12
- <%= render 'layouts/components/frontend/header/slideout_links' %>
13
- </ul>
14
- </div>
15
-
16
- <div class="col-md-6">
17
- <%= render 'layouts/components/frontend/header/slideout_address' %>
18
- </div>
19
-
20
- </div>
21
- </div>
22
-
23
- <%= link_to "", "#", class: "slidetop-toggle" %>
24
- <!-- End load Slideout Template Files From main_app -->
@@ -1,17 +0,0 @@
1
- <!-- Start load User Topbar Template Files From main_app -->
2
- <div class="container">
3
-
4
- <!-- Top Bar Right -->
5
- <ul class="top-links list-inline pull-right">
6
- <%= render 'layouts/components/frontend/header/topbar_user_links' %>
7
- </ul>
8
- <!-- End Top Bar Right -->
9
-
10
- <!-- Top Bar Left -->
11
- <ul class="top-links list-inline">
12
- <%= render 'layouts/components/frontend/header/topbar_main_links' %>
13
- </ul>
14
- <!-- End Top Bar Left -->
15
-
16
- </div>
17
- <!-- End load User Topbar Template Files From main_app -->
@@ -1,29 +0,0 @@
1
- <!-- Load Main Navigation -->
2
- <header id="topNav">
3
- <div class="container">
4
-
5
- <!-- Mobile Navigation -->
6
- <button class="btn btn-mobile" data-toggle="collapse" data-target=".nav-main-collapse">
7
- <i class="fa fa-bars"></i>
8
- </button>
9
- <!-- Mobile Navigation -->
10
-
11
- <!-- Logo -->
12
- <%= link_to main_app.root_path, class: "logo float-left phc_logo" do %>
13
- PHCNetworks
14
- <% end %>
15
- <!-- Logo -->
16
-
17
- <!-- Load Main Navigation Template from main_app -->
18
- <div class="navbar-collapse collapse float-right nav-main-collapse submenu-dark">
19
- <nav class="nav-main">
20
- <ul id="topMain" class="nav nav-pills nav-main">
21
- <%= render 'layouts/components/frontend/navigation/navigation_links' %>
22
- </ul>
23
- </nav>
24
- </div>
25
- <!-- Load Main Navigation Template File from main_app -->
26
-
27
- </div>
28
- </header>
29
- <!-- Load Main Navigation -->
@@ -1,14 +0,0 @@
1
- <!-- Start Standardized Title Bar -->
2
- <div class="overlay dark-5"></div>
3
- <div class="container">
4
-
5
- <h1><%= yield(:phc_title) %></h1>
6
- <span class="font-lato size-18 weight-300"><%= yield(:phc_title_tagline) %></span>
7
- <ol class="breadcrumb">
8
- <li><%= link_to "Home", main_app.root_path %></li>
9
- <li><%= yield(:phc_title) %></li>
10
- <li class="active"><%= yield(:phc_title_tagline) %></li>
11
- </ol>
12
-
13
- </div>
14
- <!-- Start Standardized Title Bar -->
@@ -1,5 +0,0 @@
1
- <!-- Start SEO Templates Loaded from MainApp -->
2
- <%= render 'layouts/components/frontend/seo/seo_meta_info' %>
3
- <%= render 'layouts/components/frontend/seo/seo_social_info' %>
4
- <%= render 'layouts/components/frontend/seo/seo_analytics_info' %>
5
- <!-- End SEO Templates Loaded from MainApp -->
@@ -1,60 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
-
5
- <!-- Meta Info -->
6
- <%= render 'layouts/components/frontend/seo/seo_main' %>
7
-
8
- <!-- Font -->
9
- <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700"/>
10
- <!-- Requried StyleSheets -->
11
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
12
-
13
- <!-- Requried JavaScripts -->
14
- <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
15
-
16
- <!-- Security -->
17
- <%= csrf_meta_tags %>
18
- <%= csp_meta_tag %>
19
-
20
- </head>
21
- <body class="smoothscroll enable-animation">
22
-
23
- <!-- Start Main Wrapper -->
24
- <div id="wrapper">
25
-
26
- <!-- Start Main Navigation -->
27
- <div id="header" class="navbar-toggleable-md sticky header-md dark clearfix">
28
-
29
- <%= render 'layouts/components/frontend/navigation/navigation' %>
30
- </div>
31
- <!-- End Main Navigation -->
32
-
33
- <%= yield %>
34
-
35
- <!-- Start Footer Wrapper -->
36
- <footer id="footer">
37
- <div class="container">
38
- <!-- Start Footer Main Information -->
39
- <div class="row">
40
- <%= render 'layouts/components/frontend/footer/footer' %>
41
- </div>
42
- <!-- End Footer Main Information -->
43
- </div>
44
- <!-- Start Footer Copyright Information -->
45
- <div class="copyright">
46
- <%= render 'layouts/components/frontend/footer/footer_copyright' %>
47
- </div>
48
- <!-- End Footer Copyright Information -->
49
- </footer>
50
- <!-- End Footer Wrapper -->
51
-
52
- </div>
53
- <!-- End Main Wrapper -->
54
-
55
- <!-- Scroll to Top -->
56
- <a href="#" id="toTop"></a>
57
- <!-- Scroll to Top -->
58
-
59
- </body>
60
- </html>
@@ -1,2 +0,0 @@
1
- object @modules_categories
2
- attributes :id, :catname
@@ -1,2 +0,0 @@
1
- object @article_posts
2
- attributes :id, :psttitle, :psttext, :pststatus, :pstimage
@@ -1,2 +0,0 @@
1
- object @article_post
2
- attributes :id, :psttitle, :psttext, :pststatus, :pstimage