phcdevworks_scripts 8.2.0 → 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.md +3 -1
- data/Rakefile +8 -8
- data/app/assets/config/phcdevworks_scripts_manifest.js +2 -3
- data/app/controllers/phcdevworks_scripts/application_controller.rb +0 -0
- data/app/controllers/phcdevworks_scripts/script/authors_controller.rb +0 -0
- data/app/controllers/phcdevworks_scripts/script/extensions_controller.rb +0 -0
- data/app/controllers/phcdevworks_scripts/script/listings_controller.rb +0 -0
- data/app/controllers/phcdevworks_scripts/script/urls_controller.rb +0 -0
- data/app/controllers/phcdevworks_scripts/script/versions_controller.rb +0 -0
- data/app/controllers/phcdevworks_scripts/snippet/posts_controller.rb +0 -0
- data/app/controllers/phcdevworks_scripts/snippet/urls_controller.rb +0 -0
- data/app/helpers/phcdevworks_scripts/application_helper.rb +0 -0
- data/app/helpers/phcdevworks_scripts/script/authors_helper.rb +0 -0
- data/app/helpers/phcdevworks_scripts/script/extensions_helper.rb +0 -0
- data/app/helpers/phcdevworks_scripts/script/listings_helper.rb +0 -0
- data/app/helpers/phcdevworks_scripts/script/urls_helper.rb +0 -0
- data/app/helpers/phcdevworks_scripts/script/versions_helper.rb +0 -0
- data/app/helpers/phcdevworks_scripts/snippet/posts_helper.rb +0 -0
- data/app/helpers/phcdevworks_scripts/snippet/urls_helper.rb +0 -0
- data/app/jobs/phcdevworks_scripts/application_job.rb +0 -0
- data/app/mailers/phcdevworks_scripts/application_mailer.rb +0 -0
- data/app/models/phcdevworks_scripts/application_record.rb +0 -0
- data/app/models/phcdevworks_scripts/script/author.rb +0 -0
- data/app/models/phcdevworks_scripts/script/extension.rb +0 -0
- data/app/models/phcdevworks_scripts/script/listing.rb +0 -0
- data/app/models/phcdevworks_scripts/script/url.rb +0 -0
- data/app/models/phcdevworks_scripts/script/version.rb +0 -0
- data/app/models/phcdevworks_scripts/script.rb +0 -0
- data/app/models/phcdevworks_scripts/script_author_versions.rb +0 -0
- data/app/models/phcdevworks_scripts/script_extension_versions.rb +0 -0
- data/app/models/phcdevworks_scripts/script_listing_versions.rb +0 -0
- data/app/models/phcdevworks_scripts/script_url_versions.rb +0 -0
- data/app/models/phcdevworks_scripts/script_version_versions.rb +0 -0
- data/app/models/phcdevworks_scripts/snippet/post.rb +0 -0
- data/app/models/phcdevworks_scripts/snippet/url.rb +0 -0
- data/app/models/phcdevworks_scripts/snippet.rb +0 -0
- data/app/models/phcdevworks_scripts/snippet_post_versions.rb +0 -0
- data/app/models/phcdevworks_scripts/snippet_url_versions.rb +0 -0
- data/app/views/layouts/phcdevworks_scripts/application.html.erb +73 -131
- data/app/views/layouts/phcdevworks_scripts/components/backend/footer/_footer.html.erb +10 -9
- data/app/views/layouts/phcdevworks_scripts/components/backend/navigation/_top_menu.html.erb +26 -25
- data/app/views/layouts/phcdevworks_scripts/components/backend/sidebars/_side_menu.html.erb +491 -349
- data/app/views/phcdevworks_scripts/script/authors/_form.html.erb +16 -16
- data/app/views/phcdevworks_scripts/script/authors/edit.html.erb +23 -31
- data/app/views/phcdevworks_scripts/script/authors/index.html.erb +50 -58
- data/app/views/phcdevworks_scripts/script/authors/new.html.erb +23 -31
- data/app/views/phcdevworks_scripts/script/authors/show.html.erb +13 -13
- data/app/views/phcdevworks_scripts/script/extensions/_form.html.erb +14 -14
- data/app/views/phcdevworks_scripts/script/extensions/edit.html.erb +23 -31
- data/app/views/phcdevworks_scripts/script/extensions/index.html.erb +46 -54
- data/app/views/phcdevworks_scripts/script/extensions/new.html.erb +23 -31
- data/app/views/phcdevworks_scripts/script/extensions/show.html.erb +13 -13
- data/app/views/phcdevworks_scripts/script/listings/_form.html.erb +29 -29
- data/app/views/phcdevworks_scripts/script/listings/edit.html.erb +23 -31
- data/app/views/phcdevworks_scripts/script/listings/index.html.erb +50 -58
- data/app/views/phcdevworks_scripts/script/listings/new.html.erb +23 -31
- data/app/views/phcdevworks_scripts/script/listings/show.html.erb +13 -13
- data/app/views/phcdevworks_scripts/script/urls/_form.html.erb +18 -18
- data/app/views/phcdevworks_scripts/script/urls/edit.html.erb +27 -35
- data/app/views/phcdevworks_scripts/script/urls/index.html.erb +48 -56
- data/app/views/phcdevworks_scripts/script/urls/new.html.erb +23 -31
- data/app/views/phcdevworks_scripts/script/urls/show.html.erb +13 -13
- data/app/views/phcdevworks_scripts/script/versions/_form.html.erb +10 -10
- data/app/views/phcdevworks_scripts/script/versions/edit.html.erb +23 -31
- data/app/views/phcdevworks_scripts/script/versions/index.html.erb +43 -51
- data/app/views/phcdevworks_scripts/script/versions/new.html.erb +23 -31
- data/app/views/phcdevworks_scripts/script/versions/show.html.erb +13 -13
- data/app/views/phcdevworks_scripts/snippet/posts/_form.html.erb +12 -12
- data/app/views/phcdevworks_scripts/snippet/posts/edit.html.erb +23 -31
- data/app/views/phcdevworks_scripts/snippet/posts/index.html.erb +54 -62
- data/app/views/phcdevworks_scripts/snippet/posts/new.html.erb +23 -31
- data/app/views/phcdevworks_scripts/snippet/posts/show.html.erb +25 -25
- data/app/views/phcdevworks_scripts/snippet/urls/_form.html.erb +10 -10
- data/app/views/phcdevworks_scripts/snippet/urls/edit.html.erb +23 -31
- data/app/views/phcdevworks_scripts/snippet/urls/index.html.erb +52 -60
- data/app/views/phcdevworks_scripts/snippet/urls/new.html.erb +23 -31
- data/app/views/phcdevworks_scripts/snippet/urls/show.html.erb +25 -25
- data/config/routes.rb +0 -4
- data/config/spring.rb +0 -0
- data/db/migrate/20170517064030_create_phcdevworks_scripts_script_extension_versions.rb +1 -1
- data/db/migrate/20170517064049_create_phcdevworks_scripts_script_listing_versions.rb +1 -1
- data/db/migrate/20170517064114_create_phcdevworks_scripts_script_version_versions.rb +1 -1
- data/db/migrate/20170517064150_create_phcdevworks_scripts_script_url_versions.rb +1 -1
- data/db/migrate/20170517064208_create_phcdevworks_scripts_script_author_versions.rb +1 -1
- data/db/migrate/20190818022002_create_phcdevworks_scripts_snippet_posts.rb +1 -1
- data/db/migrate/20190818022024_create_phcdevworks_scripts_snippet_urls.rb +1 -1
- data/db/migrate/20190818022939_create_phcdevworks_scripts_script_authors.rb +1 -1
- data/db/migrate/20190818023353_create_phcdevworks_scripts_script_listings.rb +1 -1
- data/db/migrate/20190818023709_create_phcdevworks_scripts_script_extensions.rb +1 -1
- data/db/migrate/20190818023911_create_phcdevworks_scripts_script_urls.rb +1 -1
- data/db/migrate/20190818031653_create_phcdevworks_scripts_script_versions.rb +1 -1
- data/db/migrate/20191102092649_create_phcdevworks_scripts_snippet_url_versions.rb +1 -1
- data/db/migrate/20191102092711_create_phcdevworks_scripts_snippet_post_versions.rb +1 -1
- data/lib/phcdevworks_scripts/engine.rb +47 -47
- data/lib/phcdevworks_scripts/version.rb +1 -1
- data/lib/phcdevworks_scripts.rb +6 -6
- data/lib/tasks/phcdevworks_scripts_tasks.rake +4 -4
- metadata +28 -79
- data/app/assets/stylesheets/phcdevworks_scripts/application.scss +0 -15
- data/app/assets/stylesheets/phcdevworks_scripts/script/authors.scss +0 -3
- data/app/assets/stylesheets/phcdevworks_scripts/script/extensions.scss +0 -3
- data/app/assets/stylesheets/phcdevworks_scripts/script/listings.scss +0 -3
- data/app/assets/stylesheets/phcdevworks_scripts/script/urls.scss +0 -3
- data/app/assets/stylesheets/phcdevworks_scripts/script/versions.scss +0 -3
- data/app/assets/stylesheets/phcdevworks_scripts/snippet/posts.scss +0 -3
- data/app/assets/stylesheets/phcdevworks_scripts/snippet/urls.scss +0 -3
@@ -1,49 +1,41 @@
|
|
1
|
-
<!--
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Script Extensions" %>
|
3
3
|
<% phc_title_tagline "Add a Script Extension" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Script Extension Index", phcdevworks_scripts.script_extensions_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!--
|
7
|
+
<!-- -PHCDEV- Title Variables -->
|
8
8
|
|
9
|
-
<!--
|
10
|
-
<ol class="breadcrumb
|
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
|
-
<!--
|
15
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
16
16
|
|
17
|
-
<!--
|
18
|
-
<
|
19
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- -PHCDEV- Header -->
|
20
20
|
|
21
|
-
<!--
|
22
|
-
<div class="
|
23
|
-
<div class="col-lg-12">
|
21
|
+
<!-- -PHCDEV- Panel -->
|
22
|
+
<div class="panel panel-inverse">
|
24
23
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
31
|
-
</div>
|
32
|
-
<!-- Panel - Heading -->
|
33
|
-
|
34
|
-
<!-- Panel - Body -->
|
35
|
-
<div class="panel-body">
|
36
|
-
|
37
|
-
<!-- New Form -->
|
38
|
-
<%= render "form", script_extension: @script_extension %>
|
39
|
-
<!-- New Form -->
|
24
|
+
<!-- -PHCDEV- Panel - Heading -->
|
25
|
+
<div class="panel-heading">
|
26
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
27
|
+
</div>
|
28
|
+
<!-- -PHCDEV- Panel - Heading -->
|
40
29
|
|
41
|
-
|
42
|
-
|
30
|
+
<!-- -PHCDEV- Panel - Body -->
|
31
|
+
<div class="panel-body">
|
43
32
|
|
44
|
-
|
45
|
-
|
33
|
+
<!-- -PHCDEV- New Form -->
|
34
|
+
<%= render "form", script_extension: @script_extension %>
|
35
|
+
<!-- -PHCDEV- New Form -->
|
46
36
|
|
47
37
|
</div>
|
38
|
+
<!-- -PHCDEV- Panel - Body -->
|
39
|
+
|
48
40
|
</div>
|
49
|
-
<!--
|
41
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,27 +1,27 @@
|
|
1
|
-
<!-- Title System -->
|
1
|
+
<!-- -PHCDEV- Title System -->
|
2
2
|
<% phc_title "Script Extensions" %>
|
3
3
|
<% phc_title_tagline "Script Extension Details" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Script Extension Index", phcdevworks_scripts.script_extensions_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title System -->
|
7
|
+
<!-- -PHCDEV- Title System -->
|
8
8
|
|
9
|
-
<!--
|
10
|
-
<ol class="breadcrumb
|
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
|
-
<!--
|
15
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
16
16
|
|
17
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Header -->
|
20
20
|
|
21
|
-
<!-- Page Content -->
|
21
|
+
<!-- -PHCDEV- Page Content -->
|
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">
|
@@ -38,12 +38,12 @@
|
|
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- Page Content -->
|
@@ -1,73 +1,73 @@
|
|
1
|
-
<!-- Form - Script - Listings -->
|
1
|
+
<!-- -PHCDEV- Form - Script - Listings -->
|
2
2
|
<%= form_with(model: script_listing, local: true) do |form| %>
|
3
3
|
|
4
|
-
<!--
|
4
|
+
<!-- -PHCDEV- Form Validation -->
|
5
5
|
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_listing %>
|
6
|
-
<!--
|
6
|
+
<!-- -PHCDEV- Form Validation -->
|
7
7
|
|
8
|
-
<!-- Form Input Fields -->
|
9
|
-
<div class="
|
10
|
-
<%= form.label :script_listing_title, "Script Title" %>
|
8
|
+
<!-- -PHCDEV- Form Input Fields -->
|
9
|
+
<div class="mb-3">
|
10
|
+
<%= form.label :script_listing_title, "Script Title", class: "form-label" %>
|
11
11
|
<%= form.text_field :script_listing_title, placeholder: "Script Title", class: "form-control" %>
|
12
12
|
</div>
|
13
13
|
|
14
|
-
<div class="
|
15
|
-
<%= form.label :script_listing_description, "Script Description" %>
|
14
|
+
<div class="mb-3">
|
15
|
+
<%= form.label :script_listing_description, "Script Description", class: "form-label" %>
|
16
16
|
<%= form.text_area :script_listing_description, class: "form-control editor" %>
|
17
17
|
<div id="word-count" class="mt-3"></div>
|
18
18
|
</div>
|
19
19
|
|
20
|
-
<div class="
|
21
|
-
<%= form.label :script_listing_script_source, "Script Source Code" %>
|
20
|
+
<div class="mb-3">
|
21
|
+
<%= form.label :script_listing_script_source, "Script Source Code", class: "form-label" %>
|
22
22
|
<%= form.text_field :script_listing_script_source, placeholder: "Script Source", class: "form-control" %>
|
23
23
|
</div>
|
24
24
|
|
25
|
-
<div class="
|
26
|
-
<%= form.label :script_listing_script_website, "Script Website" %>
|
25
|
+
<div class="mb-3">
|
26
|
+
<%= form.label :script_listing_script_website, "Script Website", class: "form-label" %>
|
27
27
|
<%= form.text_field :script_listing_script_website, placeholder: "Script Website", class: "form-control" %>
|
28
28
|
</div>
|
29
29
|
|
30
|
-
<div class="
|
31
|
-
<%= form.label :script_listing_script_repo, "Script Public Repo" %>
|
30
|
+
<div class="mb-3">
|
31
|
+
<%= form.label :script_listing_script_repo, "Script Public Repo", class: "form-label" %>
|
32
32
|
<%= form.text_field :script_listing_script_repo, placeholder: "Script Github Address", class: "form-control" %>
|
33
33
|
</div>
|
34
34
|
|
35
|
-
<div class="
|
36
|
-
<%= form.label :script_listing_script_initial_release, "Initial Release" %>
|
35
|
+
<div class="mb-3">
|
36
|
+
<%= form.label :script_listing_script_initial_release, "Initial Release", class: "form-label" %>
|
37
37
|
<%= form.date_select :script_listing_script_initial_release, start_year: 1981, class: "form-control" %>
|
38
38
|
</div>
|
39
39
|
|
40
|
-
<div class="
|
41
|
-
<%= form.label :script_listing_script_lastest_release, "Latest Release" %>
|
40
|
+
<div class="mb-3">
|
41
|
+
<%= form.label :script_listing_script_lastest_release, "Latest Release", class: "form-label" %>
|
42
42
|
<%= form.date_select :script_listing_script_lastest_release, start_year: 1981, class: "form-control" %>
|
43
43
|
</div>
|
44
44
|
|
45
|
-
<div class="
|
46
|
-
<%= form.label :script_listing_script_beta_release, "Preview Release" %>
|
45
|
+
<div class="mb-3">
|
46
|
+
<%= form.label :script_listing_script_beta_release, "Preview Release", class: "form-label" %>
|
47
47
|
<%= form.date_select :script_listing_script_beta_release, start_year: 1981, class: "form-control" %>
|
48
48
|
</div>
|
49
49
|
|
50
|
-
<div class="
|
51
|
-
<%= form.label :script_listing_script_lastest_release_cdn, "Script CDN Release" %>
|
50
|
+
<div class="mb-3">
|
51
|
+
<%= form.label :script_listing_script_lastest_release_cdn, "Script CDN Release", class: "form-label" %>
|
52
52
|
<%= form.date_select :script_listing_script_lastest_release_cdn, start_year: 1981, class: "form-control" %>
|
53
53
|
</div>
|
54
54
|
|
55
55
|
<div class="form-group field_with_errorss">
|
56
|
-
<label>Script Author</label>
|
56
|
+
<label class="form-label" >Script Author</label>
|
57
57
|
<%= collection_select(:script_listing, :author_id, PhcdevworksScripts::Script::Author.order("script_author_first_name"), :id, :script_author_first_name, {}, {class: "form-control"}) %>
|
58
58
|
</div>
|
59
59
|
|
60
|
-
<div class="
|
61
|
-
<%= form.label :script_listing_script_status, "Script Status" %>
|
60
|
+
<div class="mb-3">
|
61
|
+
<%= form.label :script_listing_script_status, "Script Status", class: "form-label" %>
|
62
62
|
<%= form.select( :script_listing_script_status, [["Active","Active"],["Outdated","Out Dated"],["Deactivated","Not Active"]], {}, {class: "form-control"}) %>
|
63
63
|
</div>
|
64
|
-
<!-- Form Input Fields -->
|
64
|
+
<!-- -PHCDEV- Form Input Fields -->
|
65
65
|
|
66
|
-
<!-- Form Submition Button -->
|
66
|
+
<!-- -PHCDEV- Form Submition Button -->
|
67
67
|
<div class="actions">
|
68
68
|
<%= form.submit class: "btn btn-primary" %>
|
69
69
|
</div>
|
70
|
-
<!-- For Submition Button -->
|
70
|
+
<!-- -PHCDEV- For Submition Button -->
|
71
71
|
|
72
72
|
<% end %>
|
73
|
-
<!-- Form - Script - Listings -->
|
73
|
+
<!-- -PHCDEV- Form - Script - Listings -->
|
@@ -1,47 +1,39 @@
|
|
1
|
-
<!--
|
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", phcdevworks_scripts.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!--
|
6
|
+
<!-- -PHCDEV- Title Variables -->
|
7
7
|
|
8
|
-
<!--
|
9
|
-
<ol class="breadcrumb
|
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
|
-
<!--
|
13
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
14
14
|
|
15
|
-
<!--
|
16
|
-
<
|
17
|
-
<!--
|
15
|
+
<!-- -PHCDEV- Header -->
|
16
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
|
19
|
-
<!--
|
20
|
-
<div class="
|
21
|
-
<div class="col-lg-12">
|
19
|
+
<!-- -PHCDEV- Panel -->
|
20
|
+
<div class="panel panel-inverse">
|
22
21
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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 -->
|
22
|
+
<!-- -PHCDEV- Panel - Heading -->
|
23
|
+
<div class="panel-heading">
|
24
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
25
|
+
</div>
|
26
|
+
<!-- -PHCDEV- Panel - Heading -->
|
38
27
|
|
39
|
-
|
40
|
-
|
28
|
+
<!-- -PHCDEV- Panel - Body -->
|
29
|
+
<div class="panel-body">
|
41
30
|
|
42
|
-
|
43
|
-
|
31
|
+
<!-- -PHCDEV- Edit Form -->
|
32
|
+
<%= render "form", script_listing: @script_listing %>
|
33
|
+
<!-- -PHCDEV- Edit Form -->
|
44
34
|
|
45
35
|
</div>
|
36
|
+
<!-- -PHCDEV- Panel - Body -->
|
37
|
+
|
46
38
|
</div>
|
47
|
-
<!--
|
39
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,76 +1,68 @@
|
|
1
|
-
<!--
|
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
|
-
<!--
|
5
|
+
<!-- -PHCDEV- Title Variables -->
|
6
6
|
|
7
|
-
<!--
|
8
|
-
<ol class="breadcrumb
|
7
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
8
|
+
<ol class="breadcrumb float-xl-end">
|
9
9
|
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_one) %></li>
|
10
10
|
</ol>
|
11
|
-
<!--
|
11
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
12
12
|
|
13
|
-
<!--
|
14
|
-
<
|
15
|
-
<!--
|
13
|
+
<!-- -PHCDEV- Header -->
|
14
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
15
|
+
<!-- -PHCDEV- Header -->
|
16
16
|
|
17
|
-
<!--
|
18
|
-
<div class="
|
19
|
-
<div class="col-lg-12">
|
17
|
+
<!-- -PHCDEV- Panel -->
|
18
|
+
<div class="panel panel-inverse">
|
20
19
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
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>
|
20
|
+
<!-- -PHCDEV- Panel - Heading -->
|
21
|
+
<div class="panel-heading">
|
22
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
23
|
+
</div>
|
24
|
+
<!-- -PHCDEV- Panel - Heading -->
|
45
25
|
|
46
|
-
|
47
|
-
|
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>
|
26
|
+
<!-- -PHCDEV- Panel - Body -->
|
27
|
+
<div class="panel-body">
|
56
28
|
|
57
|
-
|
58
|
-
|
59
|
-
|
29
|
+
<!-- -PHCDEV- Index - Table -->
|
30
|
+
<div class="table-responsive">
|
31
|
+
<table class="table table-striped table-bordered">
|
60
32
|
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
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>
|
67
41
|
|
68
|
-
|
69
|
-
|
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>
|
70
52
|
|
53
|
+
</table>
|
71
54
|
</div>
|
72
|
-
<!--
|
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 -->
|
73
63
|
|
74
64
|
</div>
|
65
|
+
<!-- -PHCDEV- Panel - Body -->
|
66
|
+
|
75
67
|
</div>
|
76
|
-
<!--
|
68
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,47 +1,39 @@
|
|
1
|
-
<!--
|
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", phcdevworks_scripts.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!--
|
6
|
+
<!-- -PHCDEV- Title Variables -->
|
7
7
|
|
8
|
-
<!--
|
9
|
-
<ol class="breadcrumb
|
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
|
-
<!--
|
13
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
14
14
|
|
15
|
-
<!--
|
16
|
-
<
|
17
|
-
<!--
|
15
|
+
<!-- -PHCDEV- Header -->
|
16
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
|
19
|
-
<!--
|
20
|
-
<div class="
|
21
|
-
<div class="col-lg-12">
|
19
|
+
<!-- -PHCDEV- Panel -->
|
20
|
+
<div class="panel panel-inverse">
|
22
21
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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 -->
|
22
|
+
<!-- -PHCDEV- Panel - Heading -->
|
23
|
+
<div class="panel-heading">
|
24
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
25
|
+
</div>
|
26
|
+
<!-- -PHCDEV- Panel - Heading -->
|
38
27
|
|
39
|
-
|
40
|
-
|
28
|
+
<!-- -PHCDEV- Panel - Body -->
|
29
|
+
<div class="panel-body">
|
41
30
|
|
42
|
-
|
43
|
-
|
31
|
+
<!-- -PHCDEV- New Form -->
|
32
|
+
<%= render "form", script_listing: @script_listing %>
|
33
|
+
<!-- -PHCDEV- New Form -->
|
44
34
|
|
45
35
|
</div>
|
36
|
+
<!-- -PHCDEV- Panel - Body -->
|
37
|
+
|
46
38
|
</div>
|
47
|
-
<!--
|
39
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,26 +1,26 @@
|
|
1
|
-
<!-- Title System -->
|
1
|
+
<!-- -PHCDEV- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Listing Details" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- Title System -->
|
6
|
+
<!-- -PHCDEV- Title System -->
|
7
7
|
|
8
|
-
<!--
|
9
|
-
<ol class="breadcrumb
|
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
|
-
<!--
|
14
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
15
15
|
|
16
|
-
<!--
|
16
|
+
<!-- -PHCDEV- Header -->
|
17
17
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
18
|
-
<!--
|
18
|
+
<!-- -PHCDEV- Header -->
|
19
19
|
|
20
|
-
<!-- Page Content -->
|
20
|
+
<!-- -PHCDEV- Page Content -->
|
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">
|
@@ -37,12 +37,12 @@
|
|
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- Page Content -->
|
@@ -1,42 +1,42 @@
|
|
1
|
-
<!-- Form - Script - URLs -->
|
1
|
+
<!-- -PHCDEV- Form - Script - URLs -->
|
2
2
|
<%= form_with(model: [ @script_listing, @script_url], url: form_url, local: true) do |form| %>
|
3
3
|
|
4
|
-
<!--
|
4
|
+
<!-- -PHCDEV- Form Validation -->
|
5
5
|
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_url %>
|
6
|
-
<!--
|
6
|
+
<!-- -PHCDEV- Form Validation -->
|
7
7
|
|
8
|
-
<!-- Form Input Fields -->
|
9
|
-
<div class="
|
10
|
-
<%= form.label :script_cdn_url, "Script URL" %>
|
8
|
+
<!-- -PHCDEV- Form Input Fields -->
|
9
|
+
<div class="mb-3">
|
10
|
+
<%= form.label :script_cdn_url, "Script URL", class: "form-label" %>
|
11
11
|
<%= form.text_field :script_cdn_url, placeholder: "Script URL", class: "form-control" %>
|
12
12
|
</div>
|
13
13
|
|
14
|
-
<div class="
|
15
|
-
<%= form.label :script_cdn_url_release, "Initial Release" %>
|
14
|
+
<div class="mb-3">
|
15
|
+
<%= form.label :script_cdn_url_release, "Initial Release", class: "form-label" %>
|
16
16
|
<%= form.date_select :script_cdn_url_release, class: "form-control" %>
|
17
17
|
</div>
|
18
18
|
|
19
|
-
<div class="
|
20
|
-
<%= form.label :script_cdn_url_cdn_update, "Latest Release" %>
|
19
|
+
<div class="mb-3">
|
20
|
+
<%= form.label :script_cdn_url_cdn_update, "Latest Release", class: "form-label" %>
|
21
21
|
<%= form.date_select :script_cdn_url_cdn_update, class: "form-control" %>
|
22
22
|
</div>
|
23
23
|
|
24
|
-
<div class="
|
25
|
-
<label>Script Version</label>
|
24
|
+
<div class="mb-3">
|
25
|
+
<label class="form-label">Script Version</label>
|
26
26
|
<%= collection_select(:url, :version_id, PhcdevworksScripts::Script::Version.order("script_version_number"), :id, :script_version_number, {}, {class: "form-control"}) %>
|
27
27
|
</div>
|
28
28
|
|
29
|
-
<div class="
|
30
|
-
<label>Script Extensions</label>
|
29
|
+
<div class="mb-3">
|
30
|
+
<label class="form-label">Script Extensions</label>
|
31
31
|
<%= collection_select(:url, :extension_id, PhcdevworksScripts::Script::Extension.order("script_extension_name"), :id, :script_extension, {}, {class: "form-control"}) %>
|
32
32
|
</div>
|
33
|
-
<!-- Form Input Fields -->
|
33
|
+
<!-- -PHCDEV- Form Input Fields -->
|
34
34
|
|
35
|
-
<!-- Form Submition Button -->
|
35
|
+
<!-- -PHCDEV- Form Submition Button -->
|
36
36
|
<div class="actions">
|
37
37
|
<%= form.submit class: "btn btn-primary" %>
|
38
38
|
</div>
|
39
|
-
<!-- For Submition Button -->
|
39
|
+
<!-- -PHCDEV- For Submition Button -->
|
40
40
|
|
41
41
|
<% end %>
|
42
|
-
<!-- Form - Script - URLs -->
|
42
|
+
<!-- -PHCDEV- Form - Script - URLs -->
|