phcscriptcdn 54.1.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 +1 -1
  48. data/db/migrate/20160821183714_create_phcscriptcdn_script_authors.rb +1 -1
  49. data/db/migrate/20160821183735_create_phcscriptcdn_script_extensions.rb +1 -1
  50. data/db/migrate/20160821183805_create_phcscriptcdn_script_licences.rb +1 -1
  51. data/db/migrate/20160821183830_create_phcscriptcdn_script_urls.rb +1 -1
  52. data/db/migrate/20160821183946_create_phcscriptcdn_script_versions.rb +1 -1
  53. data/db/migrate/20170509002355_create_phcscriptcdn_friendly_id_slugs.rb +1 -1
  54. data/db/migrate/20170517064030_create_phcscriptcdn_extension_versions.rb +1 -1
  55. data/db/migrate/20170517064049_create_phcscriptcdn_listing_versions.rb +1 -1
  56. data/db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb +1 -1
  57. data/db/migrate/20170517064150_create_phcscriptcdn_url_versions.rb +1 -1
  58. data/db/migrate/20170517064208_create_phcscriptcdn_author_versions.rb +1 -1
  59. data/db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb +1 -1
  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 +61 -390
  64. data/app/assets/javascripts/phcscriptcdn/application.js +0 -2
  65. data/app/assets/stylesheets/phcscriptcdn/application.scss +0 -2
@@ -1,48 +1,48 @@
1
1
  <%= form_with(model: script_licence, local: true) do |form| %>
2
2
 
3
- <!-- PHCNotifi Render Validation -->
4
- <%= render 'phcnotifi/default/validations', :object => @script_licence %>
5
- <!-- PHCNotifi Render Validation -->
3
+ <!-- -PHCDEV- Form Validation -->
4
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_licence %>
5
+ <!-- -PHCDEV- Form Validation -->
6
6
 
7
- <!-- Form Input Fields -->
8
- <div class="form-group field_with_errors">
9
- <%= form.label :licence_name, "Licence Name" %>
7
+ <!-- -PHCDEV- Form Input Fields -->
8
+ <div class="mb-3">
9
+ <%= form.label :licence_name, "Licence Name", class: "form-label" %>
10
10
  <%= form.text_field :licence_name, placeholder: "Licence Name", class: "form-control" %>
11
11
  </div>
12
- <div class="form-group field_with_errors">
13
- <%= form.label :licence_description, "Licence Description" %>
12
+ <div class="mb-3">
13
+ <%= form.label :licence_description, "Licence Description", class: "form-label" %>
14
14
  <%= form.text_area :licence_description, placeholder: "Licence Descirption", class: "form-control" %>
15
15
  </div>
16
- <div class="form-group field_with_errors">
17
- <%= form.label :licence_compatible_gpl, "GPL(v3) Compatible" %>
18
- <%= form.select( :licence_compatible_gpl, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
16
+ <div class="mb-3">
17
+ <%= form.label :licence_compatible_gpl, "GPL(v3) Compatible", class: "form-label" %>
18
+ <%= form.select( :licence_compatible_gpl, [["No","No"],["Yes","Yes"]], {}, {class: "form-control"}) %>
19
19
  </div>
20
- <div class="form-group field_with_errors">
21
- <%= form.label :licence_approval_fsf, "FSF Approval" %>
22
- <%= form.select( :licence_approval_fsf, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
20
+ <div class="mb-3">
21
+ <%= form.label :licence_approval_fsf, "FSF Approval", class: "form-label" %>
22
+ <%= form.select( :licence_approval_fsf, [["No","No"],["Yes","Yes"]], {}, {class: "form-control"}) %>
23
23
  </div>
24
- <div class="form-group field_with_errors">
25
- <%= form.label :licence_approval_osi, "OSI Approval" %>
26
- <%= form.select( :licence_approval_osi, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
24
+ <div class="mb-3">
25
+ <%= form.label :licence_approval_osi, "OSI Approval", class: "form-label" %>
26
+ <%= form.select( :licence_approval_osi, [["No","No"],["Yes","Yes"]], {}, {class: "form-control"}) %>
27
27
  </div>
28
- <div class="form-group field_with_errors">
29
- <%= form.label :licence_approval_copyfree, "Copyfree Approval" %>
30
- <%= form.select( :licence_approval_copyfree, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
28
+ <div class="mb-3">
29
+ <%= form.label :licence_approval_copyfree, "Copyfree Approval", class: "form-label" %>
30
+ <%= form.select( :licence_approval_copyfree, [["No","No"],["Yes","Yes"]], {}, {class: "form-control"}) %>
31
31
  </div>
32
- <div class="form-group field_with_errors">
33
- <%= form.label :licence_approval_debian, "Debian Approval" %>
34
- <%= form.select( :licence_approval_debian, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
32
+ <div class="mb-3">
33
+ <%= form.label :licence_approval_debian, "Debian Approval", class: "form-label" %>
34
+ <%= form.select( :licence_approval_debian, [["No","No"],["Yes","Yes"]], {}, {class: "form-control"}) %>
35
35
  </div>
36
- <div class="form-group field_with_errors">
37
- <%= form.label :licence_approval_fedora, "Fedora Approval" %>
38
- <%= form.select( :licence_approval_fedora, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
36
+ <div class="mb-3">
37
+ <%= form.label :licence_approval_fedora, "Fedora Approval", class: "form-label" %>
38
+ <%= form.select( :licence_approval_fedora, [["No","No"],["Yes","Yes"]], {}, {class: "form-control"}) %>
39
39
  </div>
40
- <!-- Form Input Fields -->
40
+ <!-- -PHCDEV- Form Input Fields -->
41
41
 
42
- <!-- Form Submition Button -->
42
+ <!-- -PHCDEV- Form Submition Button -->
43
43
  <div class="actions">
44
44
  <%= form.submit class: "btn btn-primary" %>
45
45
  </div>
46
- <!-- For Submition Button -->
46
+ <!-- -PHCDEV- Form Submition Button -->
47
47
 
48
48
  <% 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 Licence Information" %>
4
4
  <% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_path %>
5
5
  <% phc_breadcrumb_two link_to "Script Licence Index", phcscriptcdn.script_licences_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 Licence -->
33
- <%= render 'form', script_licence: @script_licence %>
34
- <!-- Form to Edit Licence -->
32
+
33
+ <!-- -PHCDEV- Form to Edit Licence -->
34
+ <%= render "form", script_licence: @script_licence %>
35
+ <!-- -PHCDEV- Form to Edit Licence -->
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 Licence 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 - Licence 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>
@@ -63,7 +61,10 @@
63
61
  Add a New Licence
64
62
  <% end %>
65
63
  </div>
66
- <!-- Table - Licence Index -->
64
+ <!-- -PHCDEV- Table - Author Index -->
65
+
67
66
  </div>
67
+ <!-- -PHCDEV- Panel - Body -->
68
+
68
69
  </div>
69
- <!-- Page Content -->
70
+ <!-- -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 Licence" %>
4
4
  <% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_path %>
5
5
  <% phc_breadcrumb_two link_to "Script Licence Index", phcscriptcdn.script_licences_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 Licence -->
33
- <%= render 'form', script_licence: @script_licence %>
34
- <!-- Form for New Licence -->
32
+
33
+ <!-- -PHCDEV- Form for New Licence -->
34
+ <%= render "form", script_licence: @script_licence %>
35
+ <!-- -PHCDEV- Form for New Licence -->
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 Licence Details" %>
4
4
  <% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_path %>
5
5
  <% phc_breadcrumb_two link_to "Script Licence Index", phcscriptcdn.script_licences_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', phcscriptcdn.edit_script_licence_path, class: "btn btn-primary" %>
35
- <%= link_to 'Remove', phcscriptcdn.script_licence_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
34
+ <%= link_to "Update", phcscriptcdn.edit_script_licence_path, class: "btn btn-primary" %>
35
+ <%= link_to "Remove", phcscriptcdn.script_licence_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,64 +1,64 @@
1
1
  <%= form_with(model: script_listing, local: true) do |form| %>
2
2
 
3
- <!-- PHCNotifi Render Validation -->
4
- <%= render 'phcnotifi/default/validations', :object => @script_listing %>
5
- <!-- PHCNotifi Render Validation -->
3
+ <!-- -PHCDEV- Form Validation -->
4
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_listing %>
5
+ <!-- -PHCDEV- Form Validation -->
6
6
 
7
- <!-- Form Input Fields -->
8
- <div class="form-group field_with_errors">
9
- <%= form.label :script_title, "Script Title" %>
7
+ <!-- -PHCDEV- Form Input Fields -->
8
+ <div class="mb-3">
9
+ <%= form.label :script_title, "Script Title", class: "form-label" %>
10
10
  <%= form.text_field :script_title, placeholder: "Script Title", class: "form-control" %>
11
11
  </div>
12
- <div class="form-group field_with_errors">
13
- <%= form.label :script_description, "Script Description" %>
12
+ <div class="mb-3">
13
+ <%= form.label :script_description, "Script Description", class: "form-label" %>
14
14
  <%= form.text_area :script_description, placeholder: "Script Description", class: "form-control" %>
15
15
  </div>
16
- <div class="form-group field_with_errors">
17
- <%= form.label :script_source, "Script Source Code" %>
16
+ <div class="mb-3">
17
+ <%= form.label :script_source, "Script Source Code", class: "form-label" %>
18
18
  <%= form.text_field :script_source, placeholder: "Script Source", class: "form-control" %>
19
19
  </div>
20
- <div class="form-group field_with_errors">
21
- <%= form.label :script_website, "Script Website" %>
20
+ <div class="mb-3">
21
+ <%= form.label :script_website, "Script Website", class: "form-label" %>
22
22
  <%= form.text_field :script_website, placeholder: "Script Website", class: "form-control" %>
23
23
  </div>
24
- <div class="form-group field_with_errors">
25
- <%= form.label :script_github, "Script Github" %>
24
+ <div class="mb-3">
25
+ <%= form.label :script_github, "Script Github", class: "form-label" %>
26
26
  <%= form.text_field :script_github, placeholder: "Script Github Address", class: "form-control" %>
27
27
  </div>
28
- <div class="form-group field_with_errors">
29
- <%= form.label :script_initial_release, "Initial Release" %>
28
+ <div class="mb-3">
29
+ <%= form.label :script_initial_release, "Initial Release", class: "form-label" %>
30
30
  <%= form.date_select :script_initial_release, start_year: 1981, class: "form-control" %>
31
31
  </div>
32
- <div class="form-group field_with_errors">
33
- <%= form.label :script_lastest_release, "Latest Release" %>
32
+ <div class="mb-3">
33
+ <%= form.label :script_lastest_release, "Latest Release", class: "form-label" %>
34
34
  <%= form.date_select :script_lastest_release, start_year: 1981, class: "form-control" %>
35
35
  </div>
36
- <div class="form-group field_with_errors">
37
- <%= form.label :script_beta_release, "Preview Release" %>
36
+ <div class="mb-3">
37
+ <%= form.label :script_beta_release, "Preview Release", class: "form-label" %>
38
38
  <%= form.date_select :script_beta_release, start_year: 1981, class: "form-control" %>
39
39
  </div>
40
- <div class="form-group field_with_errors">
41
- <%= form.label :script_lastest_release_cdn, "Script CDN Release" %>
40
+ <div class="mb-3">
41
+ <%= form.label :script_lastest_release_cdn, "Script CDN Release", class: "form-label" %>
42
42
  <%= form.date_select :script_lastest_release_cdn, start_year: 1981, class: "form-control" %>
43
43
  </div>
44
- <div class="form-group field_with_errorss">
45
- <label>Script Licence</label>
46
- <%= collection_select(:script_listing, :licence_id, Phcscriptcdn::Script::Licence.order('licence_name'), :id, :licence_name, {}, {class: "form-control"}) %>
44
+ <div class="mb-3">
45
+ <label class="form-label">Script Licence</label>
46
+ <%= collection_select(:script_listing, :licence_id, Phcscriptcdn::Script::Licence.order("licence_name"), :id, :licence_name, {}, {class: "form-control"}) %>
47
47
  </div>
48
- <div class="form-group field_with_errorss">
49
- <label>Script Author</label>
50
- <%= collection_select(:script_listing, :author_id, Phcscriptcdn::Script::Author.order('author_first_name'), :id, :author_first_name, {}, {class: "form-control"}) %>
48
+ <div class="mb-3">
49
+ <label class="form-label">Script Author</label>
50
+ <%= collection_select(:script_listing, :author_id, Phcscriptcdn::Script::Author.order("author_first_name"), :id, :author_first_name, {}, {class: "form-control"}) %>
51
51
  </div>
52
- <div class="form-group field_with_errors">
53
- <%= form.label :script_status, "Script Status" %>
54
- <%= form.select( :script_status, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control"}) %>
52
+ <div class="mb-3">
53
+ <%= form.label :script_status, "Script Status", class: "form-label" %>
54
+ <%= form.select( :script_status, [["Active","Active"],["Outdated","Out Dated"],["Deactivated","Not Active"]], {}, {class: "form-control"}) %>
55
55
  </div>
56
- <!-- Form Input Fields -->
56
+ <!-- -PHCDEV- Form Input Fields -->
57
57
 
58
- <!-- Form Submition Button -->
58
+ <!-- -PHCDEV- Form Submition Button -->
59
59
  <div class="actions">
60
60
  <%= form.submit class: "btn btn-primary" %>
61
61
  </div>
62
- <!-- For Submition Button -->
62
+ <!-- -PHCDEV- Form Submition Button -->
63
63
 
64
64
  <% end %>
@@ -1,35 +1,39 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Update Script Listing" %>
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 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- Bradcrumbs -->
18
18
 
19
- <!-- Page Content -->
19
+ <!-- -PHCDEV- Panel -->
20
20
  <div class="panel panel-inverse">
21
+
22
+ <!-- -PHCDEV- Panel - Heading -->
21
23
  <div class="panel-heading">
22
- <div class="panel-heading-btn">
23
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
24
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
26
- </div>
27
24
  <h4 class="panel-title"><%= yield(:phc_title) %></h4>
28
25
  </div>
26
+ <!-- -PHCDEV- Panel - Heading -->
27
+
28
+ <!-- -PHCDEV- Panel - Body -->
29
29
  <div class="panel-body">
30
- <!-- Form to Edit Listings -->
31
- <%= render 'form', script_listing: @script_listing %>
32
- <!-- Form to Edit Listings -->
30
+
31
+ <!-- -PHCDEV- Form to Edit Listings -->
32
+ <%= render "form", script_listing: @script_listing %>
33
+ <!-- -PHCDEV- Form to Edit Listings -->
34
+
33
35
  </div>
36
+ <!-- -PHCDEV- Panel - Body -->
37
+
34
38
  </div>
35
- <!-- Page Content -->
39
+ <!-- -PHCDEV- Panel -->
@@ -1,35 +1,33 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script Listing Index" %>
4
4
  <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
- <!-- Title System -->
5
+ <!-- -PHCDEV- Title Variables -->
6
6
 
7
- <!-- Page Bradcrumbs -->
8
- <ol class="breadcrumb pull-right">
9
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
10
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
7
+ <!-- -PHCDEV- Bradcrumbs -->
8
+ <ol class="breadcrumb float-xl-end">
9
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
10
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
11
11
  </ol>
12
- <!-- Page Bradcrumbs -->
12
+ <!-- -PHCDEV- Bradcrumbs -->
13
13
 
14
- <!-- Page Header -->
14
+ <!-- -PHCDEV- Header -->
15
15
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
16
- <!-- Page Header -->
16
+ <!-- -PHCDEV- Header -->
17
17
 
18
- <!-- Page & Panel Content -->
18
+ <!-- -PHCDEV- Panel -->
19
19
  <div class="panel panel-inverse">
20
- <!-- Panel Heading -->
21
- <div class="panel-heading">
22
- <div class="panel-heading-btn">
23
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
24
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
26
- </div>
27
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
28
- </div>
29
- <!-- Panel Heading -->
30
- <!-- Panel Body -->
31
- <div class="panel-body">
32
- <!-- Table - Listings Index -->
20
+
21
+ <!-- -PHCDEV- Panel - Heading -->
22
+ <div class="panel-heading">
23
+ <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
24
+ </div>
25
+ <!-- -PHCDEV- Panel - Heading -->
26
+
27
+ <!-- -PHCDEV- Panel - Body -->
28
+ <div class="panel-body">
29
+
30
+ <!-- -PHCDEV- Table - Author Index -->
33
31
  <div class="table-responsive">
34
32
  <table class="table table-striped table-bordered">
35
33
  <thead>
@@ -56,7 +54,10 @@
56
54
  Add a New Script CDN Listing
57
55
  <% end %>
58
56
  </div>
59
- <!-- Table - Listings Index -->
57
+ <!-- -PHCDEV- Table - Author Index -->
58
+
60
59
  </div>
60
+ <!-- -PHCDEV- Panel - Body -->
61
+
61
62
  </div>
62
- <!-- Page Content -->
63
+ <!-- -PHCDEV- Panel -->
@@ -1,36 +1,40 @@
1
- <!-- Title System -->
1
+ <!-- -PHCDEV- Title Variables -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Create a New Script Listing" %>
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="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 for New Listing -->
32
- <%= render 'form', script_listing: @script_listing %>
33
- <!-- Form for New Listing -->
31
+
32
+ <!-- -PHCDEV- Form for New Listing -->
33
+ <%= render "form", script_listing: @script_listing %>
34
+ <!-- -PHCDEV- Form for New Listing -->
35
+
34
36
  </div>
37
+ <!-- -PHCDEV- Panel - Body -->
38
+
35
39
  </div>
36
- <!-- Page Content -->
40
+ <!-- -PHCDEV- Panel -->