phcdevworks_scripts 8.1.1 → 9.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +3 -28
  4. data/app/assets/config/phcdevworks_scripts_manifest.js +2 -3
  5. data/app/controllers/phcdevworks_scripts/application_controller.rb +13 -13
  6. data/app/controllers/phcdevworks_scripts/script/authors_controller.rb +83 -83
  7. data/app/controllers/phcdevworks_scripts/script/extensions_controller.rb +83 -83
  8. data/app/controllers/phcdevworks_scripts/script/listings_controller.rb +83 -83
  9. data/app/controllers/phcdevworks_scripts/script/urls_controller.rb +78 -78
  10. data/app/controllers/phcdevworks_scripts/script/versions_controller.rb +83 -83
  11. data/app/controllers/phcdevworks_scripts/snippet/posts_controller.rb +82 -82
  12. data/app/controllers/phcdevworks_scripts/snippet/urls_controller.rb +77 -77
  13. data/app/helpers/phcdevworks_scripts/application_helper.rb +4 -4
  14. data/app/helpers/phcdevworks_scripts/script/authors_helper.rb +4 -4
  15. data/app/helpers/phcdevworks_scripts/script/extensions_helper.rb +4 -4
  16. data/app/helpers/phcdevworks_scripts/script/listings_helper.rb +4 -4
  17. data/app/helpers/phcdevworks_scripts/script/urls_helper.rb +4 -4
  18. data/app/helpers/phcdevworks_scripts/script/versions_helper.rb +4 -4
  19. data/app/helpers/phcdevworks_scripts/snippet/posts_helper.rb +4 -4
  20. data/app/helpers/phcdevworks_scripts/snippet/urls_helper.rb +4 -4
  21. data/app/jobs/phcdevworks_scripts/application_job.rb +4 -4
  22. data/app/mailers/phcdevworks_scripts/application_mailer.rb +6 -6
  23. data/app/models/phcdevworks_scripts/application_record.rb +5 -5
  24. data/app/models/phcdevworks_scripts/script/author.rb +33 -33
  25. data/app/models/phcdevworks_scripts/script/extension.rb +32 -32
  26. data/app/models/phcdevworks_scripts/script/listing.rb +38 -38
  27. data/app/models/phcdevworks_scripts/script/url.rb +24 -24
  28. data/app/models/phcdevworks_scripts/script/version.rb +26 -26
  29. data/app/models/phcdevworks_scripts/script.rb +7 -7
  30. data/app/models/phcdevworks_scripts/snippet/post.rb +28 -28
  31. data/app/models/phcdevworks_scripts/snippet/url.rb +19 -19
  32. data/app/models/phcdevworks_scripts/snippet.rb +7 -7
  33. data/app/models/phcdevworks_scripts/snippet_post_versions.rb +5 -5
  34. data/app/models/phcdevworks_scripts/snippet_url_versions.rb +5 -5
  35. data/app/views/layouts/phcdevworks_scripts/application.html.erb +58 -116
  36. data/app/views/layouts/phcdevworks_scripts/components/backend/footer/_footer.html.erb +10 -9
  37. data/app/views/layouts/phcdevworks_scripts/components/backend/navigation/_top_menu.html.erb +26 -25
  38. data/app/views/layouts/phcdevworks_scripts/components/backend/sidebars/_side_menu.html.erb +491 -349
  39. data/app/views/phcdevworks_scripts/script/authors/_form.html.erb +37 -37
  40. data/app/views/phcdevworks_scripts/script/authors/edit.html.erb +41 -49
  41. data/app/views/phcdevworks_scripts/script/authors/index.html.erb +70 -78
  42. data/app/views/phcdevworks_scripts/script/authors/new.html.erb +41 -49
  43. data/app/views/phcdevworks_scripts/script/authors/show.html.erb +49 -49
  44. data/app/views/phcdevworks_scripts/script/extensions/_form.html.erb +32 -32
  45. data/app/views/phcdevworks_scripts/script/extensions/edit.html.erb +41 -49
  46. data/app/views/phcdevworks_scripts/script/extensions/index.html.erb +65 -73
  47. data/app/views/phcdevworks_scripts/script/extensions/new.html.erb +41 -49
  48. data/app/views/phcdevworks_scripts/script/extensions/show.html.erb +49 -49
  49. data/app/views/phcdevworks_scripts/script/listings/_form.html.erb +73 -73
  50. data/app/views/phcdevworks_scripts/script/listings/edit.html.erb +39 -47
  51. data/app/views/phcdevworks_scripts/script/listings/index.html.erb +68 -76
  52. data/app/views/phcdevworks_scripts/script/listings/new.html.erb +39 -47
  53. data/app/views/phcdevworks_scripts/script/listings/show.html.erb +48 -48
  54. data/app/views/phcdevworks_scripts/script/urls/_form.html.erb +42 -42
  55. data/app/views/phcdevworks_scripts/script/urls/edit.html.erb +52 -60
  56. data/app/views/phcdevworks_scripts/script/urls/index.html.erb +68 -76
  57. data/app/views/phcdevworks_scripts/script/urls/new.html.erb +41 -49
  58. data/app/views/phcdevworks_scripts/script/urls/show.html.erb +49 -49
  59. data/app/views/phcdevworks_scripts/script/versions/_form.html.erb +22 -22
  60. data/app/views/phcdevworks_scripts/script/versions/edit.html.erb +41 -49
  61. data/app/views/phcdevworks_scripts/script/versions/index.html.erb +64 -72
  62. data/app/views/phcdevworks_scripts/script/versions/new.html.erb +41 -49
  63. data/app/views/phcdevworks_scripts/script/versions/show.html.erb +49 -49
  64. data/app/views/phcdevworks_scripts/snippet/posts/_form.html.erb +28 -28
  65. data/app/views/phcdevworks_scripts/snippet/posts/edit.html.erb +39 -47
  66. data/app/views/phcdevworks_scripts/snippet/posts/index.html.erb +74 -82
  67. data/app/views/phcdevworks_scripts/snippet/posts/new.html.erb +39 -47
  68. data/app/views/phcdevworks_scripts/snippet/posts/show.html.erb +71 -71
  69. data/app/views/phcdevworks_scripts/snippet/urls/_form.html.erb +22 -22
  70. data/app/views/phcdevworks_scripts/snippet/urls/edit.html.erb +39 -47
  71. data/app/views/phcdevworks_scripts/snippet/urls/index.html.erb +72 -80
  72. data/app/views/phcdevworks_scripts/snippet/urls/new.html.erb +39 -47
  73. data/app/views/phcdevworks_scripts/snippet/urls/show.html.erb +71 -71
  74. data/config/routes.rb +29 -33
  75. data/config/spring.rb +1 -1
  76. data/db/migrate/20170517064030_create_phcdevworks_scripts_script_extension_versions.rb +1 -1
  77. data/db/migrate/20170517064049_create_phcdevworks_scripts_script_listing_versions.rb +18 -18
  78. data/db/migrate/20170517064114_create_phcdevworks_scripts_script_version_versions.rb +18 -18
  79. data/db/migrate/20170517064150_create_phcdevworks_scripts_script_url_versions.rb +1 -1
  80. data/db/migrate/20170517064208_create_phcdevworks_scripts_script_author_versions.rb +18 -18
  81. data/db/migrate/20190818022002_create_phcdevworks_scripts_snippet_posts.rb +18 -18
  82. data/db/migrate/20190818022024_create_phcdevworks_scripts_snippet_urls.rb +17 -17
  83. data/db/migrate/20190818022939_create_phcdevworks_scripts_script_authors.rb +18 -18
  84. data/db/migrate/20190818023353_create_phcdevworks_scripts_script_listings.rb +29 -29
  85. data/db/migrate/20190818023709_create_phcdevworks_scripts_script_extensions.rb +17 -17
  86. data/db/migrate/20190818023911_create_phcdevworks_scripts_script_urls.rb +21 -21
  87. data/db/migrate/20190818031653_create_phcdevworks_scripts_script_versions.rb +15 -15
  88. data/db/migrate/20191102092649_create_phcdevworks_scripts_snippet_url_versions.rb +18 -18
  89. data/db/migrate/20191102092711_create_phcdevworks_scripts_snippet_post_versions.rb +18 -18
  90. data/lib/phcdevworks_scripts/engine.rb +45 -45
  91. data/lib/phcdevworks_scripts/version.rb +3 -3
  92. metadata +36 -87
  93. data/app/assets/stylesheets/phcdevworks_scripts/application.scss +0 -15
  94. data/app/assets/stylesheets/phcdevworks_scripts/script/authors.scss +0 -3
  95. data/app/assets/stylesheets/phcdevworks_scripts/script/extensions.scss +0 -3
  96. data/app/assets/stylesheets/phcdevworks_scripts/script/listings.scss +0 -3
  97. data/app/assets/stylesheets/phcdevworks_scripts/script/urls.scss +0 -3
  98. data/app/assets/stylesheets/phcdevworks_scripts/script/versions.scss +0 -3
  99. data/app/assets/stylesheets/phcdevworks_scripts/snippet/posts.scss +0 -3
  100. data/app/assets/stylesheets/phcdevworks_scripts/snippet/urls.scss +0 -3
@@ -1,47 +1,39 @@
1
- <!-- PHCTitleSEO Title Variables -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Update Script Listing" %>
4
- <% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
5
- <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
- <!-- PHCTitleSEO Title Variables -->
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>
12
- </ol>
13
- <!-- Page Bradcrumbs -->
14
-
15
- <!-- Page Header -->
16
- <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
- <!-- Page Header -->
18
-
19
- <!-- Page Content -->
20
- <div class="row">
21
- <div class="col-lg-12">
22
-
23
- <!-- Panel -->
24
- <div class="panel panel-inverse">
25
-
26
- <!-- Panel - Heading -->
27
- <div class="panel-heading">
28
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
29
- </div>
30
- <!-- Panel - Heading -->
31
-
32
- <!-- Panel - Body -->
33
- <div class="panel-body">
34
-
35
- <!-- Edit Form -->
36
- <%= render "form", script_listing: @script_listing %>
37
- <!-- Edit Form -->
38
-
39
- </div>
40
- <!-- Panel - Body -->
41
-
42
- </div>
43
- <!-- Panel -->
44
-
45
- </div>
46
- </div>
47
- <!-- Page Content -->
1
+ <!-- -PHCDEV- Title Variables -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Update Script Listing" %>
4
+ <% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
+ <!-- -PHCDEV- Title Variables -->
7
+
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
+ </ol>
13
+ <!-- -PHCDEV- Bradcrumbs -->
14
+
15
+ <!-- -PHCDEV- Header -->
16
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
+ <!-- -PHCDEV- Header -->
18
+
19
+ <!-- -PHCDEV- Panel -->
20
+ <div class="panel panel-inverse">
21
+
22
+ <!-- -PHCDEV- Panel - Heading -->
23
+ <div class="panel-heading">
24
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
25
+ </div>
26
+ <!-- -PHCDEV- Panel - Heading -->
27
+
28
+ <!-- -PHCDEV- Panel - Body -->
29
+ <div class="panel-body">
30
+
31
+ <!-- -PHCDEV- Edit Form -->
32
+ <%= render "form", script_listing: @script_listing %>
33
+ <!-- -PHCDEV- Edit Form -->
34
+
35
+ </div>
36
+ <!-- -PHCDEV- Panel - Body -->
37
+
38
+ </div>
39
+ <!-- -PHCDEV- Panel -->
@@ -1,76 +1,68 @@
1
- <!-- PHCTitleSEO Title Variables -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Script Listing Index" %>
4
- <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
- <!-- PHCTitleSEO Title Variables -->
6
-
7
- <!-- Page Bradcrumbs -->
8
- <ol class="breadcrumb pull-right">
9
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_one) %></li>
10
- </ol>
11
- <!-- Page Bradcrumbs -->
12
-
13
- <!-- Page Header -->
14
- <h2 class="page-header"><%= yield(:phc_title) %></h2>
15
- <!-- Page Header -->
16
-
17
- <!-- Page Content -->
18
- <div class="row">
19
- <div class="col-lg-12">
20
-
21
- <!-- Panel -->
22
- <div class="panel panel-inverse">
23
-
24
- <!-- Panel - Heading -->
25
- <div class="panel-heading">
26
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
27
- </div>
28
- <!-- Panel - Heading -->
29
-
30
- <!-- Panel - Body -->
31
- <div class="panel-body">
32
-
33
- <!-- Index - Table -->
34
- <div class="table-responsive">
35
- <table class="table table-striped table-bordered">
36
-
37
- <thead>
38
- <tr>
39
- <th>Title</th>
40
- <th>Release Date</th>
41
- <th>Latest Release Date</th>
42
- <th>Beta Release Date</th>
43
- </tr>
44
- </thead>
45
-
46
- <tbody>
47
- <% @script_listings.each do |script_listing| %>
48
- <tr>
49
- <td class="vert-align"><%= link_to script_listing.script_listing_title, script_listing_path(script_listing) %></td>
50
- <td class="vert-align"><%= link_to script_listing.script_listing_script_initial_release, script_listing_path(script_listing) %></td>
51
- <td class="vert-align"><%= link_to script_listing.script_listing_script_lastest_release, script_listing_path(script_listing) %></td>
52
- <td class="vert-align"><%= link_to script_listing.script_listing_script_beta_release, script_listing_path(script_listing) %></td>
53
- </tr>
54
- <% end %>
55
- </tbody>
56
-
57
- </table>
58
- </div>
59
- <!-- Index - Table -->
60
-
61
- <!-- New Button -->
62
- <%= link_to phcdevworks_scripts.new_script_listing_path, class: "btn btn-primary" do %>
63
- <i class="fad fa-plus-circle"></i>
64
- Add a New Script CDN Listing
65
- <% end %>
66
- <!-- New Button -->
67
-
68
- </div>
69
- <!-- Panel - Body -->
70
-
71
- </div>
72
- <!-- Panel -->
73
-
74
- </div>
75
- </div>
76
- <!-- Page Content -->
1
+ <!-- -PHCDEV- Title Variables -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Script Listing Index" %>
4
+ <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
+ <!-- -PHCDEV- Title Variables -->
6
+
7
+ <!-- -PHCDEV- Bradcrumbs -->
8
+ <ol class="breadcrumb float-xl-end">
9
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_one) %></li>
10
+ </ol>
11
+ <!-- -PHCDEV- Bradcrumbs -->
12
+
13
+ <!-- -PHCDEV- Header -->
14
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
15
+ <!-- -PHCDEV- Header -->
16
+
17
+ <!-- -PHCDEV- Panel -->
18
+ <div class="panel panel-inverse">
19
+
20
+ <!-- -PHCDEV- Panel - Heading -->
21
+ <div class="panel-heading">
22
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
23
+ </div>
24
+ <!-- -PHCDEV- Panel - Heading -->
25
+
26
+ <!-- -PHCDEV- Panel - Body -->
27
+ <div class="panel-body">
28
+
29
+ <!-- -PHCDEV- Index - Table -->
30
+ <div class="table-responsive">
31
+ <table class="table table-striped table-bordered">
32
+
33
+ <thead>
34
+ <tr>
35
+ <th>Title</th>
36
+ <th>Release Date</th>
37
+ <th>Latest Release Date</th>
38
+ <th>Beta Release Date</th>
39
+ </tr>
40
+ </thead>
41
+
42
+ <tbody>
43
+ <% @script_listings.each do |script_listing| %>
44
+ <tr>
45
+ <td class="vert-align"><%= link_to script_listing.script_listing_title, script_listing_path(script_listing) %></td>
46
+ <td class="vert-align"><%= link_to script_listing.script_listing_script_initial_release, script_listing_path(script_listing) %></td>
47
+ <td class="vert-align"><%= link_to script_listing.script_listing_script_lastest_release, script_listing_path(script_listing) %></td>
48
+ <td class="vert-align"><%= link_to script_listing.script_listing_script_beta_release, script_listing_path(script_listing) %></td>
49
+ </tr>
50
+ <% end %>
51
+ </tbody>
52
+
53
+ </table>
54
+ </div>
55
+ <!-- -PHCDEV- Index - Table -->
56
+
57
+ <!-- -PHCDEV- New Button -->
58
+ <%= link_to phcdevworks_scripts.new_script_listing_path, class: "btn btn-primary" do %>
59
+ <i class="fad fa-plus-circle"></i>
60
+ Add a New Script CDN Listing
61
+ <% end %>
62
+ <!-- -PHCDEV- New Button -->
63
+
64
+ </div>
65
+ <!-- -PHCDEV- Panel - Body -->
66
+
67
+ </div>
68
+ <!-- -PHCDEV- Panel -->
@@ -1,47 +1,39 @@
1
- <!-- PHCTitleSEO Title Variables -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Create a New Script Listing" %>
4
- <% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
5
- <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
- <!-- PHCTitleSEO Title Variables -->
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>
12
- </ol>
13
- <!-- Page Bradcrumbs -->
14
-
15
- <!-- Page Header -->
16
- <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
- <!-- Page Header -->
18
-
19
- <!-- Page Content -->
20
- <div class="row">
21
- <div class="col-lg-12">
22
-
23
- <!-- Panel -->
24
- <div class="panel panel-inverse">
25
-
26
- <!-- Panel - Heading -->
27
- <div class="panel-heading">
28
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
29
- </div>
30
- <!-- Panel - Heading -->
31
-
32
- <!-- Panel - Body -->
33
- <div class="panel-body">
34
-
35
- <!-- New Form -->
36
- <%= render "form", script_listing: @script_listing %>
37
- <!-- New Form -->
38
-
39
- </div>
40
- <!-- Panel - Body -->
41
-
42
- </div>
43
- <!-- Panel -->
44
-
45
- </div>
46
- </div>
47
- <!-- Page Content -->
1
+ <!-- -PHCDEV- Title Variables -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Create a New Script Listing" %>
4
+ <% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
+ <!-- -PHCDEV- Title Variables -->
7
+
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
+ </ol>
13
+ <!-- -PHCDEV- Bradcrumbs -->
14
+
15
+ <!-- -PHCDEV- Header -->
16
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
+ <!-- -PHCDEV- Header -->
18
+
19
+ <!-- -PHCDEV- Panel -->
20
+ <div class="panel panel-inverse">
21
+
22
+ <!-- -PHCDEV- Panel - Heading -->
23
+ <div class="panel-heading">
24
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
25
+ </div>
26
+ <!-- -PHCDEV- Panel - Heading -->
27
+
28
+ <!-- -PHCDEV- Panel - Body -->
29
+ <div class="panel-body">
30
+
31
+ <!-- -PHCDEV- New Form -->
32
+ <%= render "form", script_listing: @script_listing %>
33
+ <!-- -PHCDEV- New Form -->
34
+
35
+ </div>
36
+ <!-- -PHCDEV- Panel - Body -->
37
+
38
+ </div>
39
+ <!-- -PHCDEV- Panel -->
@@ -1,48 +1,48 @@
1
- <!-- Title System -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Script Listing Details" %>
4
- <% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
5
- <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
- <!-- Title System -->
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"><%= yield(:phc_breadcrumb_two) %></li>
12
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
13
- </ol>
14
- <!-- Page Bradcrumbs -->
15
-
16
- <!-- Page Header -->
17
- <h1 class="page-header"><%= yield(:phc_title) %></h1>
18
- <!-- Page Header -->
19
-
20
- <!-- Page Content -->
21
- <div class="row">
22
-
23
- <!-- Button Panel -->
24
- <div class="col-lg-4">
25
-
26
- <div class="panel panel-inverse">
27
- <div class="panel-heading">
28
- <div class="panel-heading-btn">
29
- </div>
30
- </div>
31
- <div class="panel-body">
32
- <div class="btn-group d-flex" role="group">
33
- <%= link_to 'Update', phcdevworks_scripts.edit_script_listing_path, class: "btn btn-primary" %>
34
- <%= link_to 'Remove', phcdevworks_scripts.script_listing_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
35
- </div>
36
- </div>
37
- </div>
38
-
39
- </div>
40
- <!-- Button Panel -->
41
-
42
- <!-- Main Panel -->
43
- <div class="col-lg-8">
44
- </div>
45
- <!-- Main Panel -->
46
-
47
- </div>
48
- <!-- Page Content -->
1
+ <!-- -PHCDEV- Title System -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Script Listing Details" %>
4
+ <% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
+ <!-- -PHCDEV- Title System -->
7
+
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"><%= yield(:phc_breadcrumb_two) %></li>
12
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
13
+ </ol>
14
+ <!-- -PHCDEV- Bradcrumbs -->
15
+
16
+ <!-- -PHCDEV- Header -->
17
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
18
+ <!-- -PHCDEV- Header -->
19
+
20
+ <!-- -PHCDEV- Page Content -->
21
+ <div class="row">
22
+
23
+ <!-- -PHCDEV- Button Panel -->
24
+ <div class="col-lg-4">
25
+
26
+ <div class="panel panel-inverse">
27
+ <div class="panel-heading">
28
+ <div class="panel-heading-btn">
29
+ </div>
30
+ </div>
31
+ <div class="panel-body">
32
+ <div class="btn-group d-flex" role="group">
33
+ <%= link_to 'Update', phcdevworks_scripts.edit_script_listing_path, class: "btn btn-primary" %>
34
+ <%= link_to 'Remove', phcdevworks_scripts.script_listing_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
35
+ </div>
36
+ </div>
37
+ </div>
38
+
39
+ </div>
40
+ <!-- -PHCDEV- Button Panel -->
41
+
42
+ <!-- -PHCDEV- Main Panel -->
43
+ <div class="col-lg-8">
44
+ </div>
45
+ <!-- -PHCDEV- Main Panel -->
46
+
47
+ </div>
48
+ <!-- -PHCDEV- Page Content -->
@@ -1,42 +1,42 @@
1
- <!-- Form - Script - URLs -->
2
- <%= form_with(model: [ @script_listing, @script_url], url: form_url, local: true) do |form| %>
3
-
4
- <!-- PHCNotifi Render Validation -->
5
- <%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_url %>
6
- <!-- PHCNotifi Render Validation -->
7
-
8
- <!-- Form Input Fields -->
9
- <div class="form-group field_with_errors">
10
- <%= form.label :script_cdn_url, "Script URL" %>
11
- <%= form.text_field :script_cdn_url, placeholder: "Script URL", class: "form-control" %>
12
- </div>
13
-
14
- <div class="form-group field_with_errors">
15
- <%= form.label :script_cdn_url_release, "Initial Release" %>
16
- <%= form.date_select :script_cdn_url_release, class: "form-control" %>
17
- </div>
18
-
19
- <div class="form-group field_with_errors">
20
- <%= form.label :script_cdn_url_cdn_update, "Latest Release" %>
21
- <%= form.date_select :script_cdn_url_cdn_update, class: "form-control" %>
22
- </div>
23
-
24
- <div class="form-group field_with_errorss">
25
- <label>Script Version</label>
26
- <%= collection_select(:url, :version_id, PhcdevworksScripts::Script::Version.order("script_version_number"), :id, :script_version_number, {}, {class: "form-control"}) %>
27
- </div>
28
-
29
- <div class="form-group field_with_errorss">
30
- <label>Script Extensions</label>
31
- <%= collection_select(:url, :extension_id, PhcdevworksScripts::Script::Extension.order("script_extension_name"), :id, :script_extension, {}, {class: "form-control"}) %>
32
- </div>
33
- <!-- Form Input Fields -->
34
-
35
- <!-- Form Submition Button -->
36
- <div class="actions">
37
- <%= form.submit class: "btn btn-primary" %>
38
- </div>
39
- <!-- For Submition Button -->
40
-
41
- <% end %>
42
- <!-- Form - Script - URLs -->
1
+ <!-- -PHCDEV- Form - Script - URLs -->
2
+ <%= form_with(model: [ @script_listing, @script_url], url: form_url, local: true) do |form| %>
3
+
4
+ <!-- -PHCDEV- Form Validation -->
5
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_url %>
6
+ <!-- -PHCDEV- Form Validation -->
7
+
8
+ <!-- -PHCDEV- Form Input Fields -->
9
+ <div class="mb-3">
10
+ <%= form.label :script_cdn_url, "Script URL", class: "form-label" %>
11
+ <%= form.text_field :script_cdn_url, placeholder: "Script URL", class: "form-control" %>
12
+ </div>
13
+
14
+ <div class="mb-3">
15
+ <%= form.label :script_cdn_url_release, "Initial Release", class: "form-label" %>
16
+ <%= form.date_select :script_cdn_url_release, class: "form-control" %>
17
+ </div>
18
+
19
+ <div class="mb-3">
20
+ <%= form.label :script_cdn_url_cdn_update, "Latest Release", class: "form-label" %>
21
+ <%= form.date_select :script_cdn_url_cdn_update, class: "form-control" %>
22
+ </div>
23
+
24
+ <div class="mb-3">
25
+ <label class="form-label">Script Version</label>
26
+ <%= collection_select(:url, :version_id, PhcdevworksScripts::Script::Version.order("script_version_number"), :id, :script_version_number, {}, {class: "form-control"}) %>
27
+ </div>
28
+
29
+ <div class="mb-3">
30
+ <label class="form-label">Script Extensions</label>
31
+ <%= collection_select(:url, :extension_id, PhcdevworksScripts::Script::Extension.order("script_extension_name"), :id, :script_extension, {}, {class: "form-control"}) %>
32
+ </div>
33
+ <!-- -PHCDEV- Form Input Fields -->
34
+
35
+ <!-- -PHCDEV- Form Submition Button -->
36
+ <div class="actions">
37
+ <%= form.submit class: "btn btn-primary" %>
38
+ </div>
39
+ <!-- -PHCDEV- For Submition Button -->
40
+
41
+ <% end %>
42
+ <!-- -PHCDEV- Form - Script - URLs -->
@@ -1,60 +1,52 @@
1
- <!-- PHCTitleSEO Title Variables -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Update Script URL Information" %>
4
- <% phc_breadcrumb_one link_to "Script Urls", phcdevworks_scripts.script_listing_urls_path %>
5
- <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
- <!-- PHCTitleSEO Title Variables -->
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>
12
- </ol>
13
- <!-- Page Bradcrumbs -->
14
-
15
- <!-- Page Header -->
16
- <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
- <!-- Page Header -->
18
-
19
- <!-- Page Content -->
20
- <div class="row">
21
- <div class="col-lg-12">
22
-
23
- <!-- Panel -->
24
- <div class="panel panel-inverse">
25
-
26
- <!-- Panel - Heading -->
27
- <div class="panel-heading">
28
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
29
- </div>
30
- <!-- Page Header -->
31
-
32
- <!-- Page Content -->
33
- <div class="row">
34
- <div class="col-lg-12">
35
-
36
- <!-- Panel -->
37
- <div class="panel panel-inverse">
38
-
39
- <!-- Panel - Heading -->
40
- <div class="panel-heading">
41
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
42
- </div>
43
- <!-- Panel - Heading -->
44
-
45
- <!-- Panel - Body -->
46
- <div class="panel-body">
47
-
48
- <!-- Edit Form -->
49
- <%= render "form", { form_url: script_listing_url_path } %>
50
- <!-- Edit Form -->
51
-
52
- </div>
53
- <!-- Panel - Body -->
54
-
55
- </div>
56
- <!-- Panel -->
57
-
58
- </div>
59
- </div>
60
- <!-- Page Content -->
1
+ <!-- -PHCDEV- Title Variables -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Update Script URL Information" %>
4
+ <% phc_breadcrumb_one link_to "Script Urls", phcdevworks_scripts.script_listing_urls_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
+ <!-- -PHCDEV- Title Variables -->
7
+
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
+ </ol>
13
+ <!-- -PHCDEV- Bradcrumbs -->
14
+
15
+ <!-- -PHCDEV- Header -->
16
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
+ <!-- -PHCDEV- Header -->
18
+
19
+ <!-- -PHCDEV- Page Content -->
20
+ <div class="row">
21
+ <div class="col-lg-12">
22
+
23
+ <!-- -PHCDEV- Panel -->
24
+ <div class="panel panel-inverse">
25
+
26
+ <!-- -PHCDEV- Panel - Heading -->
27
+ <div class="panel-heading">
28
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
29
+ </div>
30
+ <!-- -PHCDEV- Header -->
31
+
32
+ <!-- -PHCDEV- Panel -->
33
+ <div class="panel panel-inverse">
34
+
35
+ <!-- -PHCDEV- Panel - Heading -->
36
+ <div class="panel-heading">
37
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
38
+ </div>
39
+ <!-- -PHCDEV- Panel - Heading -->
40
+
41
+ <!-- -PHCDEV- Panel - Body -->
42
+ <div class="panel-body">
43
+
44
+ <!-- -PHCDEV- Edit Form -->
45
+ <%= render "form", { form_url: script_listing_url_path } %>
46
+ <!-- -PHCDEV- Edit Form -->
47
+
48
+ </div>
49
+ <!-- -PHCDEV- Panel - Body -->
50
+
51
+ </div>
52
+ <!-- -PHCDEV- Panel -->