phcscriptcdn 54.3.0 → 55.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/Rakefile +4 -18
  4. data/app/assets/config/phcscriptcdn_manifest.js +2 -2
  5. data/app/controllers/phcscriptcdn/application_controller.rb +6 -6
  6. data/app/controllers/phcscriptcdn/script/authors_controller.rb +1 -1
  7. data/app/controllers/phcscriptcdn/script/extensions_controller.rb +1 -1
  8. data/app/controllers/phcscriptcdn/script/licences_controller.rb +1 -1
  9. data/app/controllers/phcscriptcdn/script/listings_controller.rb +1 -1
  10. data/app/controllers/phcscriptcdn/script/urls_controller.rb +1 -1
  11. data/app/controllers/phcscriptcdn/script/versions_controller.rb +1 -1
  12. data/app/views/layouts/phcscriptcdn/application.html.erb +58 -64
  13. data/app/views/layouts/phcscriptcdn/components/backend/footer/_footer.html.erb +14 -6
  14. data/app/views/layouts/phcscriptcdn/components/backend/navigation/_top_menu.html.erb +41 -37
  15. data/app/views/layouts/phcscriptcdn/components/backend/sidebars/_side_menu.html.erb +921 -189
  16. data/app/views/phcscriptcdn/script/authors/_form.html.erb +15 -15
  17. data/app/views/phcscriptcdn/script/authors/edit.html.erb +21 -17
  18. data/app/views/phcscriptcdn/script/authors/index.html.erb +26 -25
  19. data/app/views/phcscriptcdn/script/authors/new.html.erb +21 -17
  20. data/app/views/phcscriptcdn/script/authors/show.html.erb +15 -15
  21. data/app/views/phcscriptcdn/script/extensions/_form.html.erb +13 -13
  22. data/app/views/phcscriptcdn/script/extensions/edit.html.erb +21 -17
  23. data/app/views/phcscriptcdn/script/extensions/index.html.erb +26 -25
  24. data/app/views/phcscriptcdn/script/extensions/new.html.erb +21 -17
  25. data/app/views/phcscriptcdn/script/extensions/show.html.erb +15 -15
  26. data/app/views/phcscriptcdn/script/licences/_form.html.erb +29 -29
  27. data/app/views/phcscriptcdn/script/licences/edit.html.erb +21 -17
  28. data/app/views/phcscriptcdn/script/licences/index.html.erb +26 -25
  29. data/app/views/phcscriptcdn/script/licences/new.html.erb +21 -17
  30. data/app/views/phcscriptcdn/script/licences/show.html.erb +15 -15
  31. data/app/views/phcscriptcdn/script/listings/_form.html.erb +34 -34
  32. data/app/views/phcscriptcdn/script/listings/edit.html.erb +21 -17
  33. data/app/views/phcscriptcdn/script/listings/index.html.erb +26 -25
  34. data/app/views/phcscriptcdn/script/listings/new.html.erb +21 -17
  35. data/app/views/phcscriptcdn/script/listings/show.html.erb +15 -15
  36. data/app/views/phcscriptcdn/script/urls/_form.html.erb +19 -19
  37. data/app/views/phcscriptcdn/script/urls/edit.html.erb +21 -17
  38. data/app/views/phcscriptcdn/script/urls/index.html.erb +26 -25
  39. data/app/views/phcscriptcdn/script/urls/new.html.erb +21 -17
  40. data/app/views/phcscriptcdn/script/urls/show.html.erb +15 -15
  41. data/app/views/phcscriptcdn/script/versions/_form.html.erb +9 -9
  42. data/app/views/phcscriptcdn/script/versions/edit.html.erb +21 -17
  43. data/app/views/phcscriptcdn/script/versions/index.html.erb +26 -25
  44. data/app/views/phcscriptcdn/script/versions/new.html.erb +21 -17
  45. data/app/views/phcscriptcdn/script/versions/show.html.erb +15 -15
  46. data/config/routes.rb +18 -21
  47. data/db/migrate/20160821183652_create_phcscriptcdn_script_listings.rb +31 -0
  48. data/db/migrate/20160821183714_create_phcscriptcdn_script_authors.rb +21 -0
  49. data/db/migrate/20160821183735_create_phcscriptcdn_script_extensions.rb +19 -0
  50. data/db/migrate/20160821183805_create_phcscriptcdn_script_licences.rb +25 -0
  51. data/db/migrate/20160821183830_create_phcscriptcdn_script_urls.rb +23 -0
  52. data/db/migrate/20160821183946_create_phcscriptcdn_script_versions.rb +17 -0
  53. data/db/migrate/20170509002355_create_phcscriptcdn_friendly_id_slugs.rb +18 -0
  54. data/db/migrate/20170517064030_create_phcscriptcdn_extension_versions.rb +17 -0
  55. data/db/migrate/20170517064049_create_phcscriptcdn_listing_versions.rb +17 -0
  56. data/db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb +17 -0
  57. data/db/migrate/20170517064150_create_phcscriptcdn_url_versions.rb +17 -0
  58. data/db/migrate/20170517064208_create_phcscriptcdn_author_versions.rb +17 -0
  59. data/db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb +17 -0
  60. data/lib/phcscriptcdn/engine.rb +30 -56
  61. data/lib/phcscriptcdn/version.rb +1 -1
  62. data/lib/phcscriptcdn.rb +1 -0
  63. metadata +76 -392
  64. data/app/assets/javascripts/phcscriptcdn/application.js +0 -2
  65. data/app/assets/stylesheets/phcscriptcdn/application.scss +0 -2
@@ -1,26 +1,26 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script Listing Details" %>
4
4
  <% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_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">
8
+ <!-- -PHCDEV- Bradcrumbs -->
9
+ <ol class="breadcrumb float-xl-end">
10
10
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
12
12
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
13
13
  </ol>
14
- <!-- Page Bradcrumbs -->
14
+ <!-- -PHCDEV- Bradcrumbs -->
15
15
 
16
- <!-- Page Header -->
16
+ <!-- -PHCDEV- Header -->
17
17
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
18
- <!-- Page Header -->
18
+ <!-- -PHCDEV- Bradcrumbs -->
19
19
 
20
- <!-- Page Content -->
20
+ <!-- -PHCDEV- Panel -->
21
21
  <div class="row">
22
22
 
23
- <!-- Button Panel -->
23
+ <!-- -PHCDEV- Button Panel -->
24
24
  <div class="col-lg-4">
25
25
 
26
26
  <div class="panel panel-inverse">
@@ -30,19 +30,19 @@
30
30
  </div>
31
31
  <div class="panel-body">
32
32
  <div class="btn-group d-flex" role="group">
33
- <%= link_to 'Update', phcscriptcdn.edit_script_listing_path, class: "btn btn-primary" %>
34
- <%= link_to 'Remove', phcscriptcdn.script_listing_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
33
+ <%= link_to "Update", phcscriptcdn.edit_script_listing_path, class: "btn btn-primary" %>
34
+ <%= link_to "Remove", phcscriptcdn.script_listing_path, method: :delete, data: { confirm: "Are you sure?" }, class: "btn btn-danger" %>
35
35
  </div>
36
36
  </div>
37
37
  </div>
38
38
 
39
39
  </div>
40
- <!-- Button Panel -->
40
+ <!-- -PHCDEV- Button Panel -->
41
41
 
42
- <!-- Main Panel -->
42
+ <!-- -PHCDEV- Main Panel -->
43
43
  <div class="col-lg-8">
44
44
  </div>
45
- <!-- Main Panel -->
45
+ <!-- -PHCDEV- Main Panel -->
46
46
 
47
47
  </div>
48
- <!-- Page Content -->
48
+ <!-- -PHCDEV- Panel -->
@@ -1,36 +1,36 @@
1
1
  <%= form_with(model: [ @script_listing, @script_url], url: form_url, local: true) do |form| %>
2
2
 
3
- <!-- PHCNotifi Render Validation -->
4
- <%= render 'phcnotifi/default/validations', :object => @script_url %>
5
- <!-- PHCNotifi Render Validation -->
3
+ <!-- -PHCDEV- Form Validation -->
4
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_url %>
5
+ <!-- -PHCDEV- Form Validation -->
6
6
 
7
- <!-- Form Input Fields -->
8
- <div class="form-group field_with_errors">
9
- <%= form.label :script_url, "Script URL" %>
7
+ <!-- -PHCDEV- Form Input Fields -->
8
+ <div class="mb-3">
9
+ <%= form.label :script_url, "Script URL", class: "form-label" %>
10
10
  <%= form.text_field :script_url, placeholder: "Script URL", class: "form-control" %>
11
11
  </div>
12
- <div class="form-group field_with_errors">
13
- <%= form.label :script_url_release, "Initial Release" %>
12
+ <div class="mb-3">
13
+ <%= form.label :script_url_release, "Initial Release", class: "form-label" %>
14
14
  <%= form.date_select :script_url_release, class: "form-control" %>
15
15
  </div>
16
- <div class="form-group field_with_errors">
17
- <%= form.label :script_url_cdn_update, "Latest Release" %>
16
+ <div class="mb-3">
17
+ <%= form.label :script_url_cdn_update, "Latest Release", class: "form-label" %>
18
18
  <%= form.date_select :script_url_cdn_update, class: "form-control" %>
19
19
  </div>
20
- <div class="form-group field_with_errorss">
21
- <label>Script Version</label>
22
- <%= collection_select(:script_url, :version_id, Phcscriptcdn::Script::Version.order('script_version_number'), :id, :script_version_number, {}, {class: "form-control"}) %>
20
+ <div class="mb-3">
21
+ <label class="form-label">Script Version</label>
22
+ <%= collection_select(:script_url, :version_id, Phcscriptcdn::Script::Version.order("script_version_number"), :id, :script_version_number, {}, {class: "form-control"}) %>
23
23
  </div>
24
- <div class="form-group field_with_errorss">
25
- <label>Script Extensions</label>
26
- <%= collection_select(:script_url, :extension_id, Phcscriptcdn::Script::Extension.order('script_extension_name'), :id, :script_extension, {}, {class: "form-control"}) %>
24
+ <div class="mb-3">
25
+ <label class="form-label">Script Extensions</label>
26
+ <%= collection_select(:script_url, :extension_id, Phcscriptcdn::Script::Extension.order("script_extension_name"), :id, :script_extension, {}, {class: "form-control"}) %>
27
27
  </div>
28
- <!-- Form Input Fields -->
28
+ <!-- -PHCDEV- Form Input Fields -->
29
29
 
30
- <!-- Form Submition Button -->
30
+ <!-- -PHCDEV- Form Submition Button -->
31
31
  <div class="actions">
32
32
  <%= form.submit class: "btn btn-primary" %>
33
33
  </div>
34
- <!-- For Submition Button -->
34
+ <!-- -PHCDEV- Form Submition Button -->
35
35
 
36
36
  <% end %>
@@ -1,36 +1,40 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Update Script URL Information" %>
4
4
  <% phc_breadcrumb_one link_to "Script Urls", phcscriptcdn.script_listing_urls_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">
8
+ <!-- -PHCDEV- Bradcrumbs -->
9
+ <ol class="breadcrumb float-xl-end">
10
10
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
12
12
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
13
13
  </ol>
14
- <!-- Page Bradcrumbs -->
14
+ <!-- -PHCDEV- Bradcrumbs -->
15
15
 
16
- <!-- Page Header -->
16
+ <!-- -PHCDEV- Header -->
17
17
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
18
- <!-- Page Header -->
18
+ <!-- -PHCDEV- Bradcrumbs -->
19
19
 
20
- <!-- Page Content -->
20
+ <!-- -PHCDEV- Panel -->
21
21
  <div class="panel panel-inverse">
22
+
23
+ <!-- -PHCDEV- Panel - Heading -->
22
24
  <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
25
  <h4 class="panel-title"><%= yield(:phc_title) %></h4>
29
26
  </div>
27
+ <!-- -PHCDEV- Panel - Heading -->
28
+
29
+ <!-- -PHCDEV- Panel - Body -->
30
30
  <div class="panel-body">
31
- <!-- Form to Edit URL -->
32
- <%= render 'form', { form_url: script_listing_url_path } %>
33
- <!-- Form to Edit URL -->
31
+
32
+ <!-- -PHCDEV- Form to Edit URL -->
33
+ <%= render "form", { form_url: script_listing_url_path } %>
34
+ <!-- -PHCDEV- Form to Edit URL -->
35
+
34
36
  </div>
37
+ <!-- -PHCDEV- Panel - Body -->
38
+
35
39
  </div>
36
- <!-- Page Content -->
40
+ <!-- -PHCDEV- Panel -->
@@ -1,36 +1,34 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script URL Index" %>
4
4
  <% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_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">
33
- <!-- Table - URL Index -->
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
+
31
+ <!-- -PHCDEV- Table - Author Index -->
34
32
  <div class="table-responsive">
35
33
  <table class="table table-striped table-bordered">
36
34
  <thead>
@@ -55,7 +53,10 @@
55
53
  Add a New CDN URL
56
54
  <% end %>
57
55
  </div>
58
- <!-- Table - URL Index -->
56
+ <!-- -PHCDEV- Table - Author Index -->
57
+
59
58
  </div>
59
+ <!-- -PHCDEV- Panel - Body -->
60
+
60
61
  </div>
61
- <!-- Page Content -->
62
+ <!-- -PHCDEV- Panel -->
@@ -1,37 +1,41 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Create a New Script URL" %>
4
4
  <% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_path %>
5
5
  <% phc_breadcrumb_two link_to "Script Urls", phcscriptcdn.script_listing_urls_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 URL -->
33
- <%= render 'form', { form_url: script_listing_urls_path } %>
34
- <!-- Form for New URL -->
32
+
33
+ <!-- -PHCDEV- Form for New URL -->
34
+ <%= render "form", { form_url: script_listing_urls_path } %>
35
+ <!-- -PHCDEV- Form for New URL -->
36
+
35
37
  </div>
38
+ <!-- -PHCDEV- Panel - Body -->
39
+
36
40
  </div>
37
- <!-- Page Content -->
41
+ <!-- -PHCDEV- Panel -->
@@ -1,27 +1,27 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script URL Details" %>
4
4
  <% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_path %>
5
5
  <% phc_breadcrumb_two link_to "Script Urls", phcscriptcdn.script_listing_urls_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
 
24
- <!-- Button Panel -->
24
+ <!-- -PHCDEV- Button Panel -->
25
25
  <div class="col-lg-4">
26
26
 
27
27
  <div class="panel panel-inverse">
@@ -31,19 +31,19 @@
31
31
  </div>
32
32
  <div class="panel-body">
33
33
  <div class="btn-group d-flex" role="group">
34
- <%= link_to 'Update', edit_script_listing_url_path, class: "btn btn-primary" %>
35
- <%= link_to 'Remove', script_listing_url_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
34
+ <%= link_to "Update", edit_script_listing_url_path, class: "btn btn-primary" %>
35
+ <%= link_to "Remove", script_listing_url_path, method: :delete, data: { confirm: "Are you sure?" }, class: "btn btn-danger" %>
36
36
  </div>
37
37
  </div>
38
38
  </div>
39
39
 
40
40
  </div>
41
- <!-- Button Panel -->
41
+ <!-- -PHCDEV- Button Panel -->
42
42
 
43
- <!-- Main Panel -->
43
+ <!-- -PHCDEV- Main Panel -->
44
44
  <div class="col-lg-8">
45
45
  </div>
46
- <!-- Main Panel -->
46
+ <!-- -PHCDEV- Main Panel -->
47
47
 
48
48
  </div>
49
- <!-- Page Content -->
49
+ <!-- -PHCDEV- Panel -->
@@ -1,20 +1,20 @@
1
1
  <%= form_with(model: script_version, local: true) do |form| %>
2
2
 
3
- <!-- PHCNotifi Render Validation -->
4
- <%= render 'phcnotifi/default/validations', :object => @script_version %>
5
- <!-- PHCNotifi Render Validation -->
3
+ <!-- -PHCDEV- Form Validation -->
4
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_version %>
5
+ <!-- -PHCDEV- Form Validation -->
6
6
 
7
- <!-- Form Input Fields -->
8
- <div class="form-group field_with_errors">
9
- <%= form.label :script_version_number, "Version Number" %>
7
+ <!-- -PHCDEV- Form Input Fields -->
8
+ <div class="mb-3">
9
+ <%= form.label :script_version_number, "Version Number", class: "form-label" %>
10
10
  <%= form.text_field :script_version_number, placeholder: "Version Number", class: "form-control" %>
11
11
  </div>
12
- <!-- Form Input Fields -->
12
+ <!-- -PHCDEV- Form Input Fields -->
13
13
 
14
- <!-- Form Submition Button -->
14
+ <!-- -PHCDEV- Form Submition Button -->
15
15
  <div class="actions">
16
16
  <%= form.submit class: "btn btn-primary" %>
17
17
  </div>
18
- <!-- For Submition Button -->
18
+ <!-- -PHCDEV- Form Submition Button -->
19
19
 
20
20
  <% end %>
@@ -1,37 +1,41 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Update Script Version Information" %>
4
4
  <% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_path %>
5
5
  <% phc_breadcrumb_two link_to "Script Version Index", phcscriptcdn.script_versions_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 Version -->
33
- <%= render 'form', script_version: @script_version %>
34
- <!-- Form to Edit Version -->
32
+
33
+ <!-- -PHCDEV- Form to Edit Version -->
34
+ <%= render "form", script_version: @script_version %>
35
+ <!-- -PHCDEV- Form to Edit Version -->
36
+
35
37
  </div>
38
+ <!-- -PHCDEV- Panel - Body -->
39
+
36
40
  </div>
37
- <!-- Page Content -->
41
+ <!-- -PHCDEV- Panel -->
@@ -1,36 +1,34 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script Version Index" %>
4
4
  <% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_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">
33
- <!-- Table - Version Index -->
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
+
31
+ <!-- -PHCDEV- Table - Author Index -->
34
32
  <div class="table-responsive">
35
33
  <table class="table table-striped table-bordered">
36
34
  <thead>
@@ -51,7 +49,10 @@
51
49
  Add a New Version Number
52
50
  <% end %>
53
51
  </div>
54
- <!-- Table - Version Index -->
52
+ <!-- -PHCDEV- Table - Author Index -->
53
+
55
54
  </div>
55
+ <!-- -PHCDEV- Panel - Body -->
56
+
56
57
  </div>
57
- <!-- Page Content -->
58
+ <!-- -PHCDEV- Panel -->
@@ -1,37 +1,41 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Create a New Version" %>
4
4
  <% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_path %>
5
5
  <% phc_breadcrumb_two link_to "Script Version Index", phcscriptcdn.script_versions_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 Version -->
33
- <%= render 'form', script_version: @script_version %>
34
- <!-- Form for New Version -->
32
+
33
+ <!-- -PHCDEV- Form for New Version -->
34
+ <%= render "form", script_version: @script_version %>
35
+ <!-- -PHCDEV- Form for New Version -->
36
+
35
37
  </div>
38
+ <!-- -PHCDEV- Panel - Body -->
39
+
36
40
  </div>
37
- <!-- Page Content -->
41
+ <!-- -PHCDEV- Panel -->