phcmemberspro 91.4.0 → 92.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +4 -4
  4. data/Rakefile +4 -18
  5. data/app/assets/config/phcmemberspro_manifest.js +2 -2
  6. data/app/controllers/phcmemberspro/api/v1/listings_controller.rb +1 -1
  7. data/app/controllers/phcmemberspro/application_controller.rb +4 -5
  8. data/app/controllers/phcmemberspro/directory/categories_controller.rb +1 -1
  9. data/app/controllers/phcmemberspro/member/addresses_controller.rb +1 -1
  10. data/app/controllers/phcmemberspro/member/listings_controller.rb +1 -1
  11. data/app/controllers/phcmemberspro/member/profiles_controller.rb +1 -1
  12. data/app/views/layouts/phcmemberspro/application.html.erb +58 -64
  13. data/app/views/layouts/phcmemberspro/components/backend/footer/_footer.html.erb +14 -6
  14. data/app/views/layouts/phcmemberspro/components/backend/navigation/_top_menu.html.erb +34 -30
  15. data/app/views/layouts/phcmemberspro/components/backend/sidebars/_side_menu.html.erb +919 -187
  16. data/app/views/layouts/phcmemberspro/member_profile.html.erb +58 -64
  17. data/app/views/phcmemberspro/directory/categories/_form.html.erb +12 -12
  18. data/app/views/phcmemberspro/directory/categories/components/_category_main.html.erb +20 -16
  19. data/app/views/phcmemberspro/directory/categories/components/_category_sidebar.html.erb +4 -1
  20. data/app/views/phcmemberspro/directory/categories/edit.html.erb +21 -17
  21. data/app/views/phcmemberspro/directory/categories/index.html.erb +26 -25
  22. data/app/views/phcmemberspro/directory/categories/new.html.erb +21 -17
  23. data/app/views/phcmemberspro/directory/categories/show.html.erb +11 -11
  24. data/app/views/phcmemberspro/member/addresses/_form.html.erb +30 -30
  25. data/app/views/phcmemberspro/member/addresses/components/_address_audits_table.html.erb +1 -1
  26. data/app/views/phcmemberspro/member/addresses/components/_address_main.html.erb +2 -2
  27. data/app/views/phcmemberspro/member/addresses/edit.html.erb +20 -16
  28. data/app/views/phcmemberspro/member/addresses/index.html.erb +29 -29
  29. data/app/views/phcmemberspro/member/addresses/new.html.erb +20 -16
  30. data/app/views/phcmemberspro/member/addresses/show.html.erb +18 -24
  31. data/app/views/phcmemberspro/member/listings/_form.html.erb +43 -43
  32. data/app/views/phcmemberspro/member/listings/components/_listing_audits_table.html.erb +1 -1
  33. data/app/views/phcmemberspro/member/listings/components/_listing_main.html.erb +2 -2
  34. data/app/views/phcmemberspro/member/listings/edit.html.erb +20 -16
  35. data/app/views/phcmemberspro/member/listings/index.html.erb +28 -29
  36. data/app/views/phcmemberspro/member/listings/new.html.erb +18 -16
  37. data/app/views/phcmemberspro/member/listings/show.html.erb +18 -24
  38. data/app/views/phcmemberspro/member/profiles/_form.html.erb +27 -27
  39. data/app/views/phcmemberspro/member/profiles/components/_profile_audits_table.html.erb +1 -1
  40. data/app/views/phcmemberspro/member/profiles/components/_profile_header.html.erb +25 -25
  41. data/app/views/phcmemberspro/member/profiles/components/_profile_sidebar.html.erb +15 -15
  42. data/app/views/phcmemberspro/member/profiles/edit.html.erb +21 -17
  43. data/app/views/phcmemberspro/member/profiles/index.html.erb +30 -30
  44. data/app/views/phcmemberspro/member/profiles/new.html.erb +21 -17
  45. data/app/views/phcmemberspro/member/profiles/show.html.erb +19 -31
  46. data/config/routes.rb +21 -24
  47. data/db/migrate/20160728230720_create_phcmemberspro_directory_categories.rb +17 -0
  48. data/db/migrate/20160728230901_create_phcmemberspro_member_addresses.rb +26 -0
  49. data/db/migrate/20160728231011_create_phcmemberspro_member_listings.rb +30 -0
  50. data/db/migrate/20160728231036_create_phcmemberspro_member_profiles.rb +23 -0
  51. data/db/migrate/20170509002355_create_phcmemberspro_friendly_id_slugs.rb +20 -0
  52. data/db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb +19 -0
  53. data/db/migrate/20170517064049_create_phcmemberspro_listing_versions.rb +19 -0
  54. data/db/migrate/20170517064114_create_phcmemberspro_address_versions.rb +19 -0
  55. data/db/migrate/20170517064427_create_phcmemberspro_category_versions.rb +19 -0
  56. data/db/migrate/20190317215659_create_join_table_categories_listings.rb +12 -0
  57. data/lib/phcmemberspro/engine.rb +42 -68
  58. data/lib/phcmemberspro/version.rb +1 -1
  59. data/lib/phcmemberspro.rb +2 -0
  60. metadata +71 -392
  61. data/app/assets/javascripts/phcmemberspro/application.js +0 -2
  62. data/app/assets/stylesheets/phcmemberspro/application.scss +0 -2
  63. data/app/views/layouts/phcmemberspro/mailer.html.erb +0 -11
  64. data/app/views/layouts/phcmemberspro/mailer.text.erb +0 -1
@@ -1,79 +1,73 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- <head>
3
+ <head>
4
4
 
5
- <!-- SEO System -->
6
- <% phc_seo_title "PHCMembers by PHCDevworks" %>
7
- <% phc_seo_description "Application to Manage Member Information and Business Directory Listings " %>
8
- <!-- SEO System -->
5
+ <!-- SEO System -->
6
+ <% phc_seo_title "PHCDevworks Members" %>
7
+ <% phc_seo_description "Ruby on Rails 7 Engine to Organize Members and Manage an Online Members Directory & Listings." %>
8
+ <!-- SEO System -->
9
9
 
10
- <!-- SEO and Site Description -->
11
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
12
- <title><%= yield(:phc_seo_title) %></title>
13
- <meta name="description" content="<%= yield(:phc_seo_description) %>">
14
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
15
- <link rel="canonical" href="http://phcdevworks.com">
16
- <!-- SEO and Site Description -->
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 -->
17
16
 
18
- <!-- Rails Security Tags -->
19
- <%= csrf_meta_tags %>
20
- <%= csp_meta_tag %>
21
- <!-- Rails Security Tags -->
17
+ <!-- Rails Security Tags -->
18
+ <%= csrf_meta_tags %>
19
+ <%= csp_meta_tag %>
20
+ <!-- Rails Security Tags -->
22
21
 
23
- <!-- CSS Styles -->
24
- <%= stylesheet_link_tag 'phcmemberspro/application', media: 'all', 'data-turbolinks-track': 'reload' %>
25
- <!-- CSS Styles -->
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
26
 
27
- <!-- Font -->
28
- <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"/>
29
- <!-- Font -->
27
+ </head>
28
+ <body>
30
29
 
31
- </head>
32
- <body>
30
+ <!-- -PHCDEV- Page Container -->
31
+ <div id="app" class="app app-header-fixed app-sidebar-fixed app-with-wide-sidebar">
33
32
 
34
- <!-- Page Container -->
35
- <div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
33
+ <!-- -PHCDEV- Page Container - Header -->
34
+ <div id="header" class="app-header">
35
+ <%= render "layouts/phcmemberspro/components/backend/navigation/top_menu" %>
36
+ </div>
37
+ <!-- -PHCDEV- Page Container - Header -->
36
38
 
37
- <!-- Page Header -->
38
- <div id="header" class="header navbar-default">
39
- <%= render 'layouts/phcmemberspro/components/backend/navigation/top_menu' %>
40
- </div>
41
- <!-- Page Header -->
39
+ <!-- -PHCDEV- Page Container - Sidebar -->
40
+ <div id="sidebar" class="app-sidebar" data-disable-slide-animation="true">
41
+ <%= render "layouts/phcmemberspro/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 -->
42
46
 
43
- <!-- Page Sidebar -->
44
- <div id="sidebar" class="sidebar">
45
- <%= render 'layouts/phcmemberspro/components/backend/sidebars/side_menu' %>
46
- </div>
47
- <div class="sidebar-bg"></div>
48
- <!-- Page Sidebar -->
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="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/phcmemberspro/components/backend/footer/footer" %>
59
+ </div>
60
+ <!-- -PHCDEV- Page Container - Footer -->
61
+ </div>
62
+ </div>
63
+ <!-- -PHCDEV- Page Container - Content -->
49
64
 
50
- <!-- Page Content -->
51
- <div id="content" class="content content-full-width">
52
- <%= render 'phcnotifi/default/notifications' %>
53
- <%= yield %>
54
- </div>
55
- <!-- Page Content -->
65
+ </div>
66
+ <!-- -PHCDEV- Page Container -->
56
67
 
57
- <!-- Footer Content -->
58
- <div id="footer" class="footer mb-4">
59
- <%= render 'layouts/phcmemberspro/components/backend/footer/footer' %>
60
- </div>
61
- <!-- Footer Content -->
68
+ <!-- JavaScript -->
69
+ <%= javascript_include_tag "coloradmin/phcthemes_admin_panel_pack_coloradmin" %>
70
+ <!-- JavaScript -->
62
71
 
63
- </div>
64
- <!-- Page Container -->
65
-
66
- <!-- JavaScript -->
67
- <%= javascript_include_tag "phcmemberspro/application", 'data-turbolinks-track': 'reload' %>
68
- <!-- JavaScript -->
69
-
70
- <!-- JavaScript Loader -->
71
- <script>
72
- $(document).ready(function() {
73
- App.init();
74
- });
75
- </script>
76
- <!-- JavaScript Loader -->
77
-
78
- </body>
72
+ </body>
79
73
  </html>
@@ -1,22 +1,22 @@
1
- <!-- Form - Directory - Category -->
1
+ <!-- -PHCDEV- Form - Directory - Category -->
2
2
  <%= form_with(model: @directory_category, local: true) do |form| %>
3
3
 
4
- <!-- PHCNotifi Render Validation -->
5
- <%= render 'phcnotifi/default/validations', :object => @directory_category %>
6
- <!-- PHCNotifi Render Validation -->
4
+ <!-- -PHCDEV- Form Validation -->
5
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @directory_category %>
6
+ <!-- -PHCDEV- Form Validation -->
7
7
 
8
- <!-- Form Input Fields -->
9
- <div class="form-group field_with_errors">
10
- <%= form.label :category_name, "Category Name" %>
11
- <%= form.text_field :category_name, class: "form-control", placeholder: "Directory Category" %>
8
+ <!-- -PHCDEV- Form Input Fields -->
9
+ <div class="mb-3">
10
+ <%= form.label :category_name, "Category Name", class: "form-label" %>
11
+ <%= form.text_field :category_name, placeholder: "Directory Category", class: "form-control" %>
12
12
  </div>
13
- <!-- Form Input Fields -->
13
+ <!-- -PHCDEV- Form Input Fields -->
14
14
 
15
- <!-- Form Submition Button -->
15
+ <!-- -PHCDEV- Form Submition Button -->
16
16
  <div class="actions">
17
17
  <%= form.submit class: "btn btn-primary btn-md" %>
18
18
  </div>
19
- <!-- For Submition Button -->
19
+ <!-- -PHCDEV- Form Submition Button -->
20
20
 
21
21
  <% end %>
22
- <!-- Form - Directory - Category -->
22
+ <!-- -PHCDEV- Form - Directory - Category -->
@@ -1,31 +1,35 @@
1
- <!-- Page Content -->
1
+ <!-- -PHCDEV- Panel -->
2
2
  <div class="panel panel-inverse">
3
+
4
+ <!-- -PHCDEV- Panel - Heading -->
3
5
  <div class="panel-heading">
4
- <div class="panel-heading-btn">
5
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
6
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
7
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
8
- </div>
9
6
  <h4 class="panel-title">Active Listings in <%= @directory_category.category_name %> Directory Category</h4>
10
7
  </div>
8
+ <!-- -PHCDEV- Panel - Heading -->
9
+
10
+ <!-- -PHCDEV- Panel - Body -->
11
11
  <div class="panel-body">
12
- <%= render 'phcmemberspro/directory/categories/components/category_list' %>
12
+ <%= render "phcmemberspro/directory/categories/components/category_list" %>
13
13
  </div>
14
+ <!-- -PHCDEV- Panel - Body -->
15
+
14
16
  </div>
15
- <!-- Page Content -->
17
+ <!-- -PHCDEV- Panel -->
16
18
 
17
- <!-- Page Content -->
19
+ <!-- -PHCDEV- Panel -->
18
20
  <div class="panel panel-inverse">
21
+
22
+ <!-- -PHCDEV- Panel - Heading -->
19
23
  <div class="panel-heading">
20
- <div class="panel-heading-btn">
21
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
22
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
23
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
24
- </div>
25
24
  <h4 class="panel-title">Active Listings in <%= @directory_category.category_name %> Directory Category Change Log</h4>
26
25
  </div>
26
+ <!-- -PHCDEV- Panel - Heading -->
27
+
28
+ <!-- -PHCDEV- Panel - Body -->
27
29
  <div class="panel-body">
28
- <%= render 'phcmemberspro/directory/categories/components/category_audits' %>
30
+ <%= render "phcmemberspro/directory/categories/components/category_audits" %>
29
31
  </div>
32
+ <!-- -PHCDEV- Panel - Body -->
33
+
30
34
  </div>
31
- <!-- Page Content -->
35
+ <!-- -PHCDEV- Panel -->
@@ -2,13 +2,16 @@
2
2
  <div class="panel-heading">
3
3
  <h4 class="panel-title text-center">Directory Category Options</h4>
4
4
  </div>
5
+ <!-- -PHCDEV- Panel - Heading -->
6
+
7
+ <!-- -PHCDEV- Panel - Body -->
5
8
  <div class="panel-body">
6
9
  <h4 class="text-center mb-3"><%= @directory_category.category_name %></h4>
7
10
  <div class="text-center">
8
11
  <%= link_to edit_directory_category_path(@directory_category), class: "btn btn-sm btn-primary" do %>
9
12
  <i class="fa fa-pencil-square-o"></i> Update
10
13
  <% end %>
11
- <%= link_to @directory_category, method: :delete, data: { confirm: 'Are you sure? You will also remove all listing connections to that category. The category will also be removed from your online web directory.' }, class: "btn btn-sm btn-danger" do %>
14
+ <%= link_to @directory_category, method: :delete, data: { confirm: "Are you sure? You will also remove all listing connections to that category. The category will also be removed from your online web directory." }, class: "btn btn-sm btn-danger" do %>
12
15
  <i class="fa fa-trash-o"></i> Delete
13
16
  <% end %>
14
17
  </div>
@@ -1,37 +1,41 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Directory Category Manager" %>
3
3
  <% phc_title_tagline "Edit " + @directory_category.category_name + " Category Name" %>
4
4
  <% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
5
5
  <% phc_breadcrumb_two link_to "Directory Category Index", phcmemberspro.directory_categories_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- -PHCDEV- Title Variables -->
8
8
 
9
- <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
9
+ <!-- -PHCDEV- Bradcrumbs -->
10
+ <ol class="breadcrumb float-xl-end">
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
12
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
14
  </ol>
15
- <!-- Page Bradcrumbs -->
15
+ <!-- -PHCDEV- Bradcrumbs -->
16
16
 
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
- <!-- Page Header -->
19
+ <!-- -PHCDEV- Bradcrumbs -->
20
20
 
21
- <!-- Page Content -->
21
+ <!-- -PHCDEV- Panel -->
22
22
  <div class="panel panel-inverse">
23
+
24
+ <!-- -PHCDEV- Panel - Heading -->
23
25
  <div class="panel-heading">
24
- <div class="panel-heading-btn">
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
27
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
28
- </div>
29
26
  <h4 class="panel-title"><%= yield(:phc_title) %></h4>
30
27
  </div>
28
+ <!-- -PHCDEV- Panel - Heading -->
29
+
30
+ <!-- -PHCDEV- Panel - Body -->
31
31
  <div class="panel-body">
32
- <!-- Form to Edit Directory Category -->
33
- <%= render 'form', directory_category: @directory_category %>
34
- <!-- Form to Edit Directory Category -->
32
+
33
+ <!-- -PHCDEV- Form to Edit Directory Category -->
34
+ <%= render "form", directory_category: @directory_category %>
35
+ <!-- -PHCDEV- Form to Edit Directory Category -->
36
+
35
37
  </div>
38
+ <!-- -PHCDEV- Panel - Body -->
39
+
36
40
  </div>
37
- <!-- Page Content -->
41
+ <!-- -PHCDEV- Panel -->
@@ -1,35 +1,33 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Directory Category Manager" %>
3
3
  <% phc_title_tagline "Web Directory Category Index" %>
4
4
  <% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
5
5
  <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
- <!-- Title System -->
6
+ <!-- -PHCDEV- Title Variables -->
7
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>
8
+ <!-- -PHCDEV- Bradcrumbs -->
9
+ <ol class="breadcrumb float-xl-end">
10
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
12
  </ol>
13
- <!-- Page Bradcrumbs -->
13
+ <!-- -PHCDEV- Bradcrumbs -->
14
14
 
15
- <!-- Page Header -->
15
+ <!-- -PHCDEV- Header -->
16
16
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
 
19
- <!-- Page & Panel Content -->
19
+ <!-- -PHCDEV- Panel -->
20
20
  <div class="panel panel-inverse">
21
- <!-- Panel Heading -->
22
- <div class="panel-heading">
23
- <div class="panel-heading-btn">
24
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
27
- </div>
28
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
29
- </div>
30
- <!-- Panel Heading -->
31
- <!-- Panel Body -->
32
- <div class="panel-body">
21
+
22
+ <!-- -PHCDEV- Panel - Heading -->
23
+ <div class="panel-heading">
24
+ <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
25
+ </div>
26
+ <!-- -PHCDEV- Panel - Heading -->
27
+
28
+ <!-- -PHCDEV- Panel - Body -->
29
+ <div class="panel-body">
30
+
33
31
  <!-- Un-Ordered List - Listing Categories -->
34
32
  <ul class="list-group">
35
33
  <% @directory_categories.each do |directory_category| %>
@@ -39,6 +37,7 @@
39
37
  </li>
40
38
  <% end %>
41
39
  </ul>
40
+
42
41
  <!-- Un-Ordered List - Listing Categories -->
43
42
  <br>
44
43
  <%= link_to phcmemberspro.new_directory_category_path, class: "btn btn-primary" do %>
@@ -46,7 +45,9 @@
46
45
  <%= "Add a New Directory Category" %>
47
46
  <% end %>
48
47
  <!-- Un-Ordered List - Listing Categories -->
49
- </div>
50
- <!-- Panel Body -->
48
+
49
+ </div>
50
+ <!-- -PHCDEV- Panel - Body -->
51
+
51
52
  </div>
52
- <!-- Page & Panel Content -->
53
+ <!-- -PHCDEV- Panel -->
@@ -1,37 +1,41 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Directory Category Manager" %>
3
3
  <% phc_title_tagline "Create a New Directory Category" %>
4
4
  <% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
5
5
  <% phc_breadcrumb_two link_to "Directory Category Index", phcmemberspro.directory_categories_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- -PHCDEV- Title Variables -->
8
8
 
9
- <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
9
+ <!-- -PHCDEV- Bradcrumbs -->
10
+ <ol class="breadcrumb float-xl-end">
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
12
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
14
  </ol>
15
- <!-- Page Bradcrumbs -->
15
+ <!-- -PHCDEV- Bradcrumbs -->
16
16
 
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
- <!-- Page Header -->
19
+ <!-- -PHCDEV- Bradcrumbs -->
20
20
 
21
- <!-- Page Content -->
21
+ <!-- -PHCDEV- Panel -->
22
22
  <div class="panel panel-inverse">
23
+
24
+ <!-- -PHCDEV- Panel - Heading -->
23
25
  <div class="panel-heading">
24
- <div class="panel-heading-btn">
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
27
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
28
- </div>
29
26
  <h4 class="panel-title"><%= yield(:phc_title) %></h4>
30
27
  </div>
28
+ <!-- -PHCDEV- Panel - Heading -->
29
+
30
+ <!-- -PHCDEV- Panel - Body -->
31
31
  <div class="panel-body">
32
- <!-- Form for New Directory Category -->
33
- <%= render 'form', directory_category: @directory_category %>
34
- <!-- Form for New Directory Category -->
32
+
33
+ <!-- -PHCDEV- Form for New Directory Category -->
34
+ <%= render "form", directory_category: @directory_category %>
35
+ <!-- -PHCDEV- Form for New Directory Category -->
36
+
35
37
  </div>
38
+ <!-- -PHCDEV- Panel - Body -->
39
+
36
40
  </div>
37
- <!-- Page Content -->
41
+ <!-- -PHCDEV- Panel -->
@@ -1,30 +1,30 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Directory Category Manager" %>
3
3
  <% phc_title_tagline "Detailed Information for " + @directory_category.category_name %>
4
4
  <% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
5
5
  <% phc_breadcrumb_two link_to "Directory Category Index", phcmemberspro.directory_categories_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- -PHCDEV- Title Variables -->
8
8
 
9
- <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
9
+ <!-- -PHCDEV- Bradcrumbs -->
10
+ <ol class="breadcrumb float-xl-end">
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
12
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
14
  </ol>
15
- <!-- Page Bradcrumbs -->
15
+ <!-- -PHCDEV- Bradcrumbs -->
16
16
 
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
- <!-- Page Header -->
19
+ <!-- -PHCDEV- Bradcrumbs -->
20
20
 
21
- <!-- Page Content -->
21
+ <!-- -PHCDEV- Panel -->
22
22
  <div class="row">
23
23
  <div class="col-lg-3">
24
- <%= render 'phcmemberspro/directory/categories/components/category_sidebar' %>
24
+ <%= render "phcmemberspro/directory/categories/components/category_sidebar" %>
25
25
  </div>
26
26
  <div class="col-lg-9">
27
- <%= render 'phcmemberspro/directory/categories/components/category_main' %>
27
+ <%= render "phcmemberspro/directory/categories/components/category_main" %>
28
28
  </div>
29
29
  </div>
30
- <!-- Page Content -->
30
+ <!-- -PHCDEV- Panel -->
@@ -1,46 +1,46 @@
1
- <!-- Form - Member - Address -->
1
+ <!-- -PHCDEV- Form - Member - Address -->
2
2
  <%= form_with(model: [ @member_profile, @member_address], url: form_url, local: true) do |form| %>
3
3
 
4
- <!-- PHCNotifi Render Validation -->
5
- <%= render 'phcnotifi/default/validations', :object => @member_address %>
6
- <!-- PHCNotifi Render Validation -->
4
+ <!-- -PHCDEV- Form Validation -->
5
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @member_address %>
6
+ <!-- -PHCDEV- Form Validation -->
7
7
 
8
- <!-- Form Input Fields -->
9
- <div class="form-group field_with_errors">
10
- <%= form.label :address_address_line_1, "Address Line1" %>
11
- <%= form.text_field :address_address_line_1, class: "form-control", placeholder: "Address Line 1 - Street Address" %>
8
+ <!-- -PHCDEV- Form Input Fields -->
9
+ <div class="mb-3">
10
+ <%= form.label :address_address_line_1, "Address Line1", class: "form-label" %>
11
+ <%= form.text_field :address_address_line_1, placeholder: "Address Line 1 - Street Address", class: "form-control" %>
12
12
  </div>
13
- <div class="form-group field_with_errors">
14
- <%= form.label :address_address_line_2, "Address Line2" %>
15
- <%= form.text_field :address_address_line_2, class: "form-control", placeholder: "Address Line 2 - Box - Suite - Floor" %>
13
+ <div class="mb-3">
14
+ <%= form.label :address_address_line_2, "Address Line2", class: "form-label" %>
15
+ <%= form.text_field :address_address_line_2, placeholder: "Address Line 2 - Box - Suite - Floor", class: "form-control" %>
16
16
  </div>
17
- <div class="form-group field_with_errors">
18
- <%= form.label :address_city, "City" %>
19
- <%= form.text_field :address_city, class: "form-control", placeholder: "City" %>
17
+ <div class="mb-3">
18
+ <%= form.label :address_city, "City", class: "form-label" %>
19
+ <%= form.text_field :address_city, placeholder: "City", class: "form-control" %>
20
20
  </div>
21
- <div class="form-group field_with_errors">
22
- <%= form.label :address_province, "Province/State" %>
23
- <%= form.text_field :address_province, class: "form-control", placeholder: "Province/State" %>
21
+ <div class="mb-3">
22
+ <%= form.label :address_province, "Province/State", class: "form-label" %>
23
+ <%= form.text_field :address_province, placeholder: "Province/State", class: "form-control" %>
24
24
  </div>
25
- <div class="form-group field_with_errors">
26
- <%= form.label :address_country, "Country" %>
27
- <%= form.text_field :address_country, class: "form-control", placeholder: "Country" %>
25
+ <div class="mb-3">
26
+ <%= form.label :address_country, "Country", class: "form-label" %>
27
+ <%= form.text_field :address_country, placeholder: "Country", class: "form-control" %>
28
28
  </div>
29
- <div class="form-group field_with_errors">
30
- <%= form.label :address_postal_code, "PostalCode" %>
31
- <%= form.text_field :address_postal_code, class: "form-control", placeholder: "PostalCode" %>
29
+ <div class="mb-3">
30
+ <%= form.label :address_postal_code, "PostalCode", class: "form-label" %>
31
+ <%= form.text_field :address_postal_code, placeholder: "PostalCode", class: "form-control" %>
32
32
  </div>
33
- <div class="form-group field_with_errors">
34
- <%= form.label :address_type, "Address Type" %>
35
- <%= form.select :address_type, [['Billing Address','Billing'],['Street Address','Street'],['Mailing Address','Mailing'],['Home Address','Home'],['Business Address','Business']], {}, class: "form-control" %>
33
+ <div class="mb-3">
34
+ <%= form.label :address_type, "Address Type", class: "form-label" %>
35
+ <%= form.select :address_type, [["Billing Address","Billing"],["Street Address","Street"],["Mailing Address","Mailing"],["Home Address","Home"],["Business Address","Business"]], {}, class: "form-control" %>
36
36
  </div>
37
- <!-- Form Input Fields -->
37
+ <!-- -PHCDEV- Form Input Fields -->
38
38
 
39
- <!-- Form Submition Button -->
39
+ <!-- -PHCDEV- Form Submition Button -->
40
40
  <div class="actions">
41
41
  <%= form.submit class: "btn btn-primary btn-md" %>
42
42
  </div>
43
- <!-- For Submition Button -->
43
+ <!-- -PHCDEV- Form Submition Button -->
44
44
 
45
45
  <% end %>
46
- <!-- Form - Member - Address -->
46
+ <!-- -PHCDEV- Form - Member - Address -->
@@ -5,7 +5,7 @@
5
5
  <tr>
6
6
  <td><span class="label label-primary"><%= member_address_version.event.humanize %></span></td>
7
7
  <td><small>ADDRESS EVENT ID#<%= member_address_version.id %></small></td>
8
- <td><%= member_address_version.event.humanize + ' ' + @members_profile_info.member_first_name + ' ' + @members_profile_info.member_last_name %> Address Information</td>
8
+ <td><%= member_address_version.event.humanize + " " + @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name %> Address Information</td>
9
9
  <td><%= member_address_version.whodunnit %></td>
10
10
  <td><%= l(member_address_version.created_at, format: "%-d/%m/%Y") %> - <%= l(member_address_version.created_at, format: "%H:%M %Z") %></td>
11
11
  </tr>
@@ -12,6 +12,6 @@
12
12
  </div>
13
13
  <br>
14
14
  <div class="btn-group d-flex" role="group">
15
- <%= link_to 'Update', edit_member_profile_address_path, class: "btn btn-primary btn-xs" %>
16
- <%= link_to 'Remove', member_profile_address_path, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove listing information and cannot be reversed.' } %>
15
+ <%= link_to "Update", edit_member_profile_address_path, class: "btn btn-primary btn-xs" %>
16
+ <%= link_to "Remove", member_profile_address_path, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure? This will remove listing information and cannot be reversed." } %>
17
17
  </div>