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.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +3 -28
- data/app/assets/config/phcdevworks_scripts_manifest.js +2 -3
- data/app/controllers/phcdevworks_scripts/application_controller.rb +13 -13
- data/app/controllers/phcdevworks_scripts/script/authors_controller.rb +83 -83
- data/app/controllers/phcdevworks_scripts/script/extensions_controller.rb +83 -83
- data/app/controllers/phcdevworks_scripts/script/listings_controller.rb +83 -83
- data/app/controllers/phcdevworks_scripts/script/urls_controller.rb +78 -78
- data/app/controllers/phcdevworks_scripts/script/versions_controller.rb +83 -83
- data/app/controllers/phcdevworks_scripts/snippet/posts_controller.rb +82 -82
- data/app/controllers/phcdevworks_scripts/snippet/urls_controller.rb +77 -77
- data/app/helpers/phcdevworks_scripts/application_helper.rb +4 -4
- data/app/helpers/phcdevworks_scripts/script/authors_helper.rb +4 -4
- data/app/helpers/phcdevworks_scripts/script/extensions_helper.rb +4 -4
- data/app/helpers/phcdevworks_scripts/script/listings_helper.rb +4 -4
- data/app/helpers/phcdevworks_scripts/script/urls_helper.rb +4 -4
- data/app/helpers/phcdevworks_scripts/script/versions_helper.rb +4 -4
- data/app/helpers/phcdevworks_scripts/snippet/posts_helper.rb +4 -4
- data/app/helpers/phcdevworks_scripts/snippet/urls_helper.rb +4 -4
- data/app/jobs/phcdevworks_scripts/application_job.rb +4 -4
- data/app/mailers/phcdevworks_scripts/application_mailer.rb +6 -6
- data/app/models/phcdevworks_scripts/application_record.rb +5 -5
- data/app/models/phcdevworks_scripts/script/author.rb +33 -33
- data/app/models/phcdevworks_scripts/script/extension.rb +32 -32
- data/app/models/phcdevworks_scripts/script/listing.rb +38 -38
- data/app/models/phcdevworks_scripts/script/url.rb +24 -24
- data/app/models/phcdevworks_scripts/script/version.rb +26 -26
- data/app/models/phcdevworks_scripts/script.rb +7 -7
- data/app/models/phcdevworks_scripts/snippet/post.rb +28 -28
- data/app/models/phcdevworks_scripts/snippet/url.rb +19 -19
- data/app/models/phcdevworks_scripts/snippet.rb +7 -7
- data/app/models/phcdevworks_scripts/snippet_post_versions.rb +5 -5
- data/app/models/phcdevworks_scripts/snippet_url_versions.rb +5 -5
- data/app/views/layouts/phcdevworks_scripts/application.html.erb +58 -116
- 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 +37 -37
- data/app/views/phcdevworks_scripts/script/authors/edit.html.erb +41 -49
- data/app/views/phcdevworks_scripts/script/authors/index.html.erb +70 -78
- data/app/views/phcdevworks_scripts/script/authors/new.html.erb +41 -49
- data/app/views/phcdevworks_scripts/script/authors/show.html.erb +49 -49
- data/app/views/phcdevworks_scripts/script/extensions/_form.html.erb +32 -32
- data/app/views/phcdevworks_scripts/script/extensions/edit.html.erb +41 -49
- data/app/views/phcdevworks_scripts/script/extensions/index.html.erb +65 -73
- data/app/views/phcdevworks_scripts/script/extensions/new.html.erb +41 -49
- data/app/views/phcdevworks_scripts/script/extensions/show.html.erb +49 -49
- data/app/views/phcdevworks_scripts/script/listings/_form.html.erb +73 -73
- data/app/views/phcdevworks_scripts/script/listings/edit.html.erb +39 -47
- data/app/views/phcdevworks_scripts/script/listings/index.html.erb +68 -76
- data/app/views/phcdevworks_scripts/script/listings/new.html.erb +39 -47
- data/app/views/phcdevworks_scripts/script/listings/show.html.erb +48 -48
- data/app/views/phcdevworks_scripts/script/urls/_form.html.erb +42 -42
- data/app/views/phcdevworks_scripts/script/urls/edit.html.erb +52 -60
- data/app/views/phcdevworks_scripts/script/urls/index.html.erb +68 -76
- data/app/views/phcdevworks_scripts/script/urls/new.html.erb +41 -49
- data/app/views/phcdevworks_scripts/script/urls/show.html.erb +49 -49
- data/app/views/phcdevworks_scripts/script/versions/_form.html.erb +22 -22
- data/app/views/phcdevworks_scripts/script/versions/edit.html.erb +41 -49
- data/app/views/phcdevworks_scripts/script/versions/index.html.erb +64 -72
- data/app/views/phcdevworks_scripts/script/versions/new.html.erb +41 -49
- data/app/views/phcdevworks_scripts/script/versions/show.html.erb +49 -49
- data/app/views/phcdevworks_scripts/snippet/posts/_form.html.erb +28 -28
- data/app/views/phcdevworks_scripts/snippet/posts/edit.html.erb +39 -47
- data/app/views/phcdevworks_scripts/snippet/posts/index.html.erb +74 -82
- data/app/views/phcdevworks_scripts/snippet/posts/new.html.erb +39 -47
- data/app/views/phcdevworks_scripts/snippet/posts/show.html.erb +71 -71
- data/app/views/phcdevworks_scripts/snippet/urls/_form.html.erb +22 -22
- data/app/views/phcdevworks_scripts/snippet/urls/edit.html.erb +39 -47
- data/app/views/phcdevworks_scripts/snippet/urls/index.html.erb +72 -80
- data/app/views/phcdevworks_scripts/snippet/urls/new.html.erb +39 -47
- data/app/views/phcdevworks_scripts/snippet/urls/show.html.erb +71 -71
- data/config/routes.rb +29 -33
- data/config/spring.rb +1 -1
- data/db/migrate/20170517064030_create_phcdevworks_scripts_script_extension_versions.rb +1 -1
- data/db/migrate/20170517064049_create_phcdevworks_scripts_script_listing_versions.rb +18 -18
- data/db/migrate/20170517064114_create_phcdevworks_scripts_script_version_versions.rb +18 -18
- data/db/migrate/20170517064150_create_phcdevworks_scripts_script_url_versions.rb +1 -1
- data/db/migrate/20170517064208_create_phcdevworks_scripts_script_author_versions.rb +18 -18
- data/db/migrate/20190818022002_create_phcdevworks_scripts_snippet_posts.rb +18 -18
- data/db/migrate/20190818022024_create_phcdevworks_scripts_snippet_urls.rb +17 -17
- data/db/migrate/20190818022939_create_phcdevworks_scripts_script_authors.rb +18 -18
- data/db/migrate/20190818023353_create_phcdevworks_scripts_script_listings.rb +29 -29
- data/db/migrate/20190818023709_create_phcdevworks_scripts_script_extensions.rb +17 -17
- data/db/migrate/20190818023911_create_phcdevworks_scripts_script_urls.rb +21 -21
- data/db/migrate/20190818031653_create_phcdevworks_scripts_script_versions.rb +15 -15
- data/db/migrate/20191102092649_create_phcdevworks_scripts_snippet_url_versions.rb +18 -18
- data/db/migrate/20191102092711_create_phcdevworks_scripts_snippet_post_versions.rb +18 -18
- data/lib/phcdevworks_scripts/engine.rb +45 -45
- data/lib/phcdevworks_scripts/version.rb +3 -3
- metadata +36 -87
- 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
|
-
<!--
|
2
|
-
<% phc_title "Script Extensions" %>
|
3
|
-
<% phc_title_tagline "Update Script Extension" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
|
5
|
-
<% phc_breadcrumb_two link_to "Script Extension Index", phcdevworks_scripts.script_extensions_path %>
|
6
|
-
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!--
|
8
|
-
|
9
|
-
<!--
|
10
|
-
<ol class="breadcrumb
|
11
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
12
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
-
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
-
</ol>
|
15
|
-
<!--
|
16
|
-
|
17
|
-
<!--
|
18
|
-
<
|
19
|
-
<!--
|
20
|
-
|
21
|
-
<!--
|
22
|
-
<div class="
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
<!-- Panel - Body -->
|
43
|
-
|
44
|
-
</div>
|
45
|
-
<!-- Panel -->
|
46
|
-
|
47
|
-
</div>
|
48
|
-
</div>
|
49
|
-
<!-- Page Content -->
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
|
+
<% phc_title "Script Extensions" %>
|
3
|
+
<% phc_title_tagline "Update Script Extension" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Script Extension Index", phcdevworks_scripts.script_extensions_path %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
+
<!-- -PHCDEV- Title Variables -->
|
8
|
+
|
9
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
10
|
+
<ol class="breadcrumb float-xl-end">
|
11
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
12
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- -PHCDEV- Header -->
|
20
|
+
|
21
|
+
<!-- -PHCDEV- Panel -->
|
22
|
+
<div class="panel panel-inverse">
|
23
|
+
|
24
|
+
<!-- -PHCDEV- Panel - Heading -->
|
25
|
+
<div class="panel-heading">
|
26
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
27
|
+
</div>
|
28
|
+
<!-- -PHCDEV- Panel - Heading -->
|
29
|
+
|
30
|
+
<!-- -PHCDEV- Panel - Body -->
|
31
|
+
<div class="panel-body">
|
32
|
+
|
33
|
+
<!-- -PHCDEV- Edit Form -->
|
34
|
+
<%= render "form", script_extension: @script_extension %>
|
35
|
+
<!-- -PHCDEV- Edit Form -->
|
36
|
+
|
37
|
+
</div>
|
38
|
+
<!-- -PHCDEV- Panel - Body -->
|
39
|
+
|
40
|
+
</div>
|
41
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,73 +1,65 @@
|
|
1
|
-
<!--
|
2
|
-
<% phc_title "Script Extensions" %>
|
3
|
-
<% phc_title_tagline "Script Extension Index" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
|
5
|
-
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!--
|
7
|
-
|
8
|
-
<!--
|
9
|
-
<ol class="breadcrumb
|
10
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
-
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
|
-
</ol>
|
13
|
-
<!--
|
14
|
-
|
15
|
-
<!--
|
16
|
-
<
|
17
|
-
<!--
|
18
|
-
|
19
|
-
<!--
|
20
|
-
<div class="
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
<
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
<
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
<!-- Panel - Body -->
|
67
|
-
|
68
|
-
</div>
|
69
|
-
<!-- Panel -->
|
70
|
-
|
71
|
-
</div>
|
72
|
-
</div>
|
73
|
-
<!-- Page Content -->
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
|
+
<% phc_title "Script Extensions" %>
|
3
|
+
<% phc_title_tagline "Script Extension Index" %>
|
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- Index - Table -->
|
32
|
+
<div class="table-responsive">
|
33
|
+
<table class="table table-striped table-bordered">
|
34
|
+
|
35
|
+
<thead>
|
36
|
+
<tr>
|
37
|
+
<th>Script Extension Name</th>
|
38
|
+
<th>Script Extension</th>
|
39
|
+
</tr>
|
40
|
+
</thead>
|
41
|
+
<tbody>
|
42
|
+
<% @script_extensions.each do |script_extension| %>
|
43
|
+
<tr>
|
44
|
+
<td><%= link_to script_extension.script_extension_name, script_extension %></td>
|
45
|
+
<td><%= link_to script_extension.script_extension, script_extension %></td>
|
46
|
+
</tr>
|
47
|
+
<% end %>
|
48
|
+
</tbody>
|
49
|
+
|
50
|
+
</table>
|
51
|
+
</div>
|
52
|
+
<!-- -PHCDEV- Index - Table -->
|
53
|
+
|
54
|
+
<!-- -PHCDEV- New Button -->
|
55
|
+
<%= link_to phcdevworks_scripts.new_script_extension_path, class: "btn btn-primary" do %>
|
56
|
+
<i class="fad fa-plus-circle"></i>
|
57
|
+
Add a New Extension
|
58
|
+
<% end %>
|
59
|
+
<!-- -PHCDEV- New Button -->
|
60
|
+
|
61
|
+
</div>
|
62
|
+
<!-- -PHCDEV- Panel - Body -->
|
63
|
+
|
64
|
+
</div>
|
65
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,49 +1,41 @@
|
|
1
|
-
<!--
|
2
|
-
<% phc_title "Script Extensions" %>
|
3
|
-
<% phc_title_tagline "Add a Script Extension" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
|
5
|
-
<% phc_breadcrumb_two link_to "Script Extension Index", phcdevworks_scripts.script_extensions_path %>
|
6
|
-
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!--
|
8
|
-
|
9
|
-
<!--
|
10
|
-
<ol class="breadcrumb
|
11
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
12
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
-
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
-
</ol>
|
15
|
-
<!--
|
16
|
-
|
17
|
-
<!--
|
18
|
-
<
|
19
|
-
<!--
|
20
|
-
|
21
|
-
<!--
|
22
|
-
<div class="
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
<!-- Panel - Body -->
|
43
|
-
|
44
|
-
</div>
|
45
|
-
<!-- Panel -->
|
46
|
-
|
47
|
-
</div>
|
48
|
-
</div>
|
49
|
-
<!-- Page Content -->
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
|
+
<% phc_title "Script Extensions" %>
|
3
|
+
<% phc_title_tagline "Add a Script Extension" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Script Extension Index", phcdevworks_scripts.script_extensions_path %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
+
<!-- -PHCDEV- Title Variables -->
|
8
|
+
|
9
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
10
|
+
<ol class="breadcrumb float-xl-end">
|
11
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
12
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- -PHCDEV- Header -->
|
20
|
+
|
21
|
+
<!-- -PHCDEV- Panel -->
|
22
|
+
<div class="panel panel-inverse">
|
23
|
+
|
24
|
+
<!-- -PHCDEV- Panel - Heading -->
|
25
|
+
<div class="panel-heading">
|
26
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
27
|
+
</div>
|
28
|
+
<!-- -PHCDEV- Panel - Heading -->
|
29
|
+
|
30
|
+
<!-- -PHCDEV- Panel - Body -->
|
31
|
+
<div class="panel-body">
|
32
|
+
|
33
|
+
<!-- -PHCDEV- New Form -->
|
34
|
+
<%= render "form", script_extension: @script_extension %>
|
35
|
+
<!-- -PHCDEV- New Form -->
|
36
|
+
|
37
|
+
</div>
|
38
|
+
<!-- -PHCDEV- Panel - Body -->
|
39
|
+
|
40
|
+
</div>
|
41
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,49 +1,49 @@
|
|
1
|
-
<!-- Title System -->
|
2
|
-
<% phc_title "Script Extensions" %>
|
3
|
-
<% phc_title_tagline "Script Extension Details" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
|
5
|
-
<% phc_breadcrumb_two link_to "Script Extension Index", phcdevworks_scripts.script_extensions_path %>
|
6
|
-
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title System -->
|
8
|
-
|
9
|
-
<!--
|
10
|
-
<ol class="breadcrumb
|
11
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
12
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
-
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
-
</ol>
|
15
|
-
<!--
|
16
|
-
|
17
|
-
<!--
|
18
|
-
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
-
<!--
|
20
|
-
|
21
|
-
<!-- Page Content -->
|
22
|
-
<div class="row">
|
23
|
-
|
24
|
-
<!-- Button Panel -->
|
25
|
-
<div class="col-lg-4">
|
26
|
-
|
27
|
-
<div class="panel panel-inverse">
|
28
|
-
<div class="panel-heading">
|
29
|
-
<div class="panel-heading-btn">
|
30
|
-
</div>
|
31
|
-
</div>
|
32
|
-
<div class="panel-body">
|
33
|
-
<div class="btn-group d-flex" role="group">
|
34
|
-
<%= link_to 'Update', phcdevworks_scripts.edit_script_extension_path, class: "btn btn-primary" %>
|
35
|
-
<%= link_to 'Remove', phcdevworks_scripts.script_extension_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
|
40
|
-
</div>
|
41
|
-
<!-- Button Panel -->
|
42
|
-
|
43
|
-
<!-- Main Panel -->
|
44
|
-
<div class="col-lg-8">
|
45
|
-
</div>
|
46
|
-
<!-- Main Panel -->
|
47
|
-
|
48
|
-
</div>
|
49
|
-
<!-- Page Content -->
|
1
|
+
<!-- -PHCDEV- Title System -->
|
2
|
+
<% phc_title "Script Extensions" %>
|
3
|
+
<% phc_title_tagline "Script Extension Details" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Script Extension Index", phcdevworks_scripts.script_extensions_path %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
+
<!-- -PHCDEV- Title System -->
|
8
|
+
|
9
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
10
|
+
<ol class="breadcrumb float-xl-end">
|
11
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
12
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- -PHCDEV- Header -->
|
20
|
+
|
21
|
+
<!-- -PHCDEV- Page Content -->
|
22
|
+
<div class="row">
|
23
|
+
|
24
|
+
<!-- -PHCDEV- Button Panel -->
|
25
|
+
<div class="col-lg-4">
|
26
|
+
|
27
|
+
<div class="panel panel-inverse">
|
28
|
+
<div class="panel-heading">
|
29
|
+
<div class="panel-heading-btn">
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
<div class="panel-body">
|
33
|
+
<div class="btn-group d-flex" role="group">
|
34
|
+
<%= link_to 'Update', phcdevworks_scripts.edit_script_extension_path, class: "btn btn-primary" %>
|
35
|
+
<%= link_to 'Remove', phcdevworks_scripts.script_extension_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
</div>
|
41
|
+
<!-- -PHCDEV- Button Panel -->
|
42
|
+
|
43
|
+
<!-- -PHCDEV- Main Panel -->
|
44
|
+
<div class="col-lg-8">
|
45
|
+
</div>
|
46
|
+
<!-- -PHCDEV- Main Panel -->
|
47
|
+
|
48
|
+
</div>
|
49
|
+
<!-- -PHCDEV- Page Content -->
|
@@ -1,73 +1,73 @@
|
|
1
|
-
<!-- Form - Script - Listings -->
|
2
|
-
<%= form_with(model: script_listing, local: true) do |form| %>
|
3
|
-
|
4
|
-
<!--
|
5
|
-
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_listing %>
|
6
|
-
<!--
|
7
|
-
|
8
|
-
<!-- Form Input Fields -->
|
9
|
-
<div class="
|
10
|
-
<%= form.label :script_listing_title, "Script Title" %>
|
11
|
-
<%= form.text_field :script_listing_title, placeholder: "Script Title", class: "form-control" %>
|
12
|
-
</div>
|
13
|
-
|
14
|
-
<div class="
|
15
|
-
<%= form.label :script_listing_description, "Script Description" %>
|
16
|
-
<%= form.text_area :script_listing_description, class: "form-control editor" %>
|
17
|
-
<div id="word-count" class="mt-3"></div>
|
18
|
-
</div>
|
19
|
-
|
20
|
-
<div class="
|
21
|
-
<%= form.label :script_listing_script_source, "Script Source Code" %>
|
22
|
-
<%= form.text_field :script_listing_script_source, placeholder: "Script Source", class: "form-control" %>
|
23
|
-
</div>
|
24
|
-
|
25
|
-
<div class="
|
26
|
-
<%= form.label :script_listing_script_website, "Script Website" %>
|
27
|
-
<%= form.text_field :script_listing_script_website, placeholder: "Script Website", class: "form-control" %>
|
28
|
-
</div>
|
29
|
-
|
30
|
-
<div class="
|
31
|
-
<%= form.label :script_listing_script_repo, "Script Public Repo" %>
|
32
|
-
<%= form.text_field :script_listing_script_repo, placeholder: "Script Github Address", class: "form-control" %>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div class="
|
36
|
-
<%= form.label :script_listing_script_initial_release, "Initial Release" %>
|
37
|
-
<%= form.date_select :script_listing_script_initial_release, start_year: 1981, class: "form-control" %>
|
38
|
-
</div>
|
39
|
-
|
40
|
-
<div class="
|
41
|
-
<%= form.label :script_listing_script_lastest_release, "Latest Release" %>
|
42
|
-
<%= form.date_select :script_listing_script_lastest_release, start_year: 1981, class: "form-control" %>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<div class="
|
46
|
-
<%= form.label :script_listing_script_beta_release, "Preview Release" %>
|
47
|
-
<%= form.date_select :script_listing_script_beta_release, start_year: 1981, class: "form-control" %>
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<div class="
|
51
|
-
<%= form.label :script_listing_script_lastest_release_cdn, "Script CDN Release" %>
|
52
|
-
<%= form.date_select :script_listing_script_lastest_release_cdn, start_year: 1981, class: "form-control" %>
|
53
|
-
</div>
|
54
|
-
|
55
|
-
<div class="form-group field_with_errorss">
|
56
|
-
<label>Script Author</label>
|
57
|
-
<%= collection_select(:script_listing, :author_id, PhcdevworksScripts::Script::Author.order("script_author_first_name"), :id, :script_author_first_name, {}, {class: "form-control"}) %>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
<div class="
|
61
|
-
<%= form.label :script_listing_script_status, "Script Status" %>
|
62
|
-
<%= form.select( :script_listing_script_status, [["Active","Active"],["Outdated","Out Dated"],["Deactivated","Not Active"]], {}, {class: "form-control"}) %>
|
63
|
-
</div>
|
64
|
-
<!-- Form Input Fields -->
|
65
|
-
|
66
|
-
<!-- Form Submition Button -->
|
67
|
-
<div class="actions">
|
68
|
-
<%= form.submit class: "btn btn-primary" %>
|
69
|
-
</div>
|
70
|
-
<!-- For Submition Button -->
|
71
|
-
|
72
|
-
<% end %>
|
73
|
-
<!-- Form - Script - Listings -->
|
1
|
+
<!-- -PHCDEV- Form - Script - Listings -->
|
2
|
+
<%= form_with(model: script_listing, local: true) do |form| %>
|
3
|
+
|
4
|
+
<!-- -PHCDEV- Form Validation -->
|
5
|
+
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_listing %>
|
6
|
+
<!-- -PHCDEV- Form Validation -->
|
7
|
+
|
8
|
+
<!-- -PHCDEV- Form Input Fields -->
|
9
|
+
<div class="mb-3">
|
10
|
+
<%= form.label :script_listing_title, "Script Title", class: "form-label" %>
|
11
|
+
<%= form.text_field :script_listing_title, placeholder: "Script Title", class: "form-control" %>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<div class="mb-3">
|
15
|
+
<%= form.label :script_listing_description, "Script Description", class: "form-label" %>
|
16
|
+
<%= form.text_area :script_listing_description, class: "form-control editor" %>
|
17
|
+
<div id="word-count" class="mt-3"></div>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<div class="mb-3">
|
21
|
+
<%= form.label :script_listing_script_source, "Script Source Code", class: "form-label" %>
|
22
|
+
<%= form.text_field :script_listing_script_source, placeholder: "Script Source", class: "form-control" %>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<div class="mb-3">
|
26
|
+
<%= form.label :script_listing_script_website, "Script Website", class: "form-label" %>
|
27
|
+
<%= form.text_field :script_listing_script_website, placeholder: "Script Website", class: "form-control" %>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<div class="mb-3">
|
31
|
+
<%= form.label :script_listing_script_repo, "Script Public Repo", class: "form-label" %>
|
32
|
+
<%= form.text_field :script_listing_script_repo, placeholder: "Script Github Address", class: "form-control" %>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div class="mb-3">
|
36
|
+
<%= form.label :script_listing_script_initial_release, "Initial Release", class: "form-label" %>
|
37
|
+
<%= form.date_select :script_listing_script_initial_release, start_year: 1981, class: "form-control" %>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<div class="mb-3">
|
41
|
+
<%= form.label :script_listing_script_lastest_release, "Latest Release", class: "form-label" %>
|
42
|
+
<%= form.date_select :script_listing_script_lastest_release, start_year: 1981, class: "form-control" %>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<div class="mb-3">
|
46
|
+
<%= form.label :script_listing_script_beta_release, "Preview Release", class: "form-label" %>
|
47
|
+
<%= form.date_select :script_listing_script_beta_release, start_year: 1981, class: "form-control" %>
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<div class="mb-3">
|
51
|
+
<%= form.label :script_listing_script_lastest_release_cdn, "Script CDN Release", class: "form-label" %>
|
52
|
+
<%= form.date_select :script_listing_script_lastest_release_cdn, start_year: 1981, class: "form-control" %>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<div class="form-group field_with_errorss">
|
56
|
+
<label class="form-label" >Script Author</label>
|
57
|
+
<%= collection_select(:script_listing, :author_id, PhcdevworksScripts::Script::Author.order("script_author_first_name"), :id, :script_author_first_name, {}, {class: "form-control"}) %>
|
58
|
+
</div>
|
59
|
+
|
60
|
+
<div class="mb-3">
|
61
|
+
<%= form.label :script_listing_script_status, "Script Status", class: "form-label" %>
|
62
|
+
<%= form.select( :script_listing_script_status, [["Active","Active"],["Outdated","Out Dated"],["Deactivated","Not Active"]], {}, {class: "form-control"}) %>
|
63
|
+
</div>
|
64
|
+
<!-- -PHCDEV- Form Input Fields -->
|
65
|
+
|
66
|
+
<!-- -PHCDEV- Form Submition Button -->
|
67
|
+
<div class="actions">
|
68
|
+
<%= form.submit class: "btn btn-primary" %>
|
69
|
+
</div>
|
70
|
+
<!-- -PHCDEV- For Submition Button -->
|
71
|
+
|
72
|
+
<% end %>
|
73
|
+
<!-- -PHCDEV- Form - Script - Listings -->
|