phcscriptcdnpro 78.4.0 → 79.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 +1 -1
- data/Rakefile +4 -18
- data/app/assets/config/phcscriptcdnpro_manifest.js +2 -2
- data/app/controllers/phcscriptcdnpro/application_controller.rb +4 -5
- data/app/controllers/phcscriptcdnpro/script/authors_controller.rb +1 -1
- data/app/controllers/phcscriptcdnpro/script/extensions_controller.rb +1 -1
- data/app/controllers/phcscriptcdnpro/script/licences_controller.rb +1 -1
- data/app/controllers/phcscriptcdnpro/script/listings_controller.rb +1 -1
- data/app/controllers/phcscriptcdnpro/script/urls_controller.rb +2 -2
- data/app/controllers/phcscriptcdnpro/script/versions_controller.rb +1 -1
- data/app/models/phcscriptcdnpro/script/url.rb +16 -16
- data/app/views/layouts/phcscriptcdnpro/application.html.erb +58 -64
- data/app/views/layouts/phcscriptcdnpro/components/backend/footer/_footer.html.erb +14 -6
- data/app/views/layouts/phcscriptcdnpro/components/backend/navigation/_top_menu.html.erb +41 -37
- data/app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_side_menu.html.erb +921 -189
- data/app/views/phcscriptcdnpro/script/authors/_form.html.erb +15 -15
- data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/authors/index.html.erb +26 -25
- data/app/views/phcscriptcdnpro/script/authors/new.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/authors/show.html.erb +15 -15
- data/app/views/phcscriptcdnpro/script/extensions/_form.html.erb +13 -13
- data/app/views/phcscriptcdnpro/script/extensions/edit.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +26 -25
- data/app/views/phcscriptcdnpro/script/extensions/new.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/extensions/show.html.erb +15 -15
- data/app/views/phcscriptcdnpro/script/licences/_form.html.erb +29 -29
- data/app/views/phcscriptcdnpro/script/licences/edit.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/licences/index.html.erb +26 -25
- data/app/views/phcscriptcdnpro/script/licences/new.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/licences/show.html.erb +15 -15
- data/app/views/phcscriptcdnpro/script/listings/_form.html.erb +34 -34
- data/app/views/phcscriptcdnpro/script/listings/edit.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/listings/index.html.erb +26 -25
- data/app/views/phcscriptcdnpro/script/listings/new.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/listings/show.html.erb +15 -15
- data/app/views/phcscriptcdnpro/script/urls/_form.html.erb +19 -19
- data/app/views/phcscriptcdnpro/script/urls/edit.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/urls/index.html.erb +26 -25
- data/app/views/phcscriptcdnpro/script/urls/new.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/urls/show.html.erb +15 -15
- data/app/views/phcscriptcdnpro/script/versions/_form.html.erb +10 -10
- data/app/views/phcscriptcdnpro/script/versions/edit.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/versions/index.html.erb +26 -25
- data/app/views/phcscriptcdnpro/script/versions/new.html.erb +21 -17
- data/app/views/phcscriptcdnpro/script/versions/show.html.erb +15 -15
- data/config/routes.rb +18 -21
- data/db/migrate/20160821183652_create_phcscriptcdnpro_script_listings.rb +33 -0
- data/db/migrate/20160821183714_create_phcscriptcdnpro_script_authors.rb +22 -0
- data/db/migrate/20160821183735_create_phcscriptcdnpro_script_extensions.rb +20 -0
- data/db/migrate/20160821183805_create_phcscriptcdnpro_script_licences.rb +26 -0
- data/db/migrate/20160821183830_create_phcscriptcdnpro_script_urls.rb +24 -0
- data/db/migrate/20160821183946_create_phcscriptcdnpro_script_versions.rb +18 -0
- data/db/migrate/20170509002355_create_phcscriptcdnpro_friendly_id_slugs.rb +18 -0
- data/db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb +17 -0
- data/db/migrate/20170517064049_create_phcscriptcdnpro_listing_versions.rb +17 -0
- data/db/migrate/20170517064114_create_phcscriptcdnpro_scriptversion_versions.rb +17 -0
- data/db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb +17 -0
- data/db/migrate/20170517064208_create_phcscriptcdnpro_author_versions.rb +17 -0
- data/db/migrate/20170517064427_create_phcscriptcdnpro_licence_versions.rb +17 -0
- data/lib/phcscriptcdnpro/engine.rb +30 -56
- data/lib/phcscriptcdnpro/version.rb +1 -1
- data/lib/phcscriptcdnpro.rb +2 -0
- metadata +73 -389
- data/app/assets/javascripts/phcscriptcdnpro/application.js +0 -2
- data/app/assets/stylesheets/phcscriptcdnpro/application.scss +0 -2
@@ -1,32 +1,32 @@
|
|
1
1
|
<%= form_with(model: script_author, local: true) do |form| %>
|
2
2
|
|
3
|
-
<!--
|
4
|
-
<%= render
|
5
|
-
<!--
|
3
|
+
<!-- -PHCDEV- Form Validation -->
|
4
|
+
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_author %>
|
5
|
+
<!-- -PHCDEV- Form Validation -->
|
6
6
|
|
7
|
-
<!-- Form Input Fields -->
|
8
|
-
<div class="
|
9
|
-
<%= form.label :author_first_name, "Author First Name" %>
|
7
|
+
<!-- -PHCDEV- Form Input Fields -->
|
8
|
+
<div class="mb-3">
|
9
|
+
<%= form.label :author_first_name, "Author First Name", class: "form-label" %>
|
10
10
|
<%= form.text_field :author_first_name, placeholder: "Author First Name", class: "form-control" %>
|
11
11
|
</div>
|
12
|
-
<div class="
|
13
|
-
<%= form.label :author_last_name, "Author Last Name" %>
|
12
|
+
<div class="mb-3">
|
13
|
+
<%= form.label :author_last_name, "Author Last Name", class: "form-label" %>
|
14
14
|
<%= form.text_field :author_last_name, placeholder: "Author Last Name", class: "form-control" %>
|
15
15
|
</div>
|
16
|
-
<div class="
|
17
|
-
<%= form.label :author_website, "Author Website" %>
|
16
|
+
<div class="mb-3">
|
17
|
+
<%= form.label :author_website, "Author Website", class: "form-label" %>
|
18
18
|
<%= form.text_field :author_website, placeholder: "Author Website", class: "form-control" %>
|
19
19
|
</div>
|
20
|
-
<div class="
|
21
|
-
<%= form.label :author_github, "Author Github Address" %>
|
20
|
+
<div class="mb-3">
|
21
|
+
<%= form.label :author_github, "Author Github Address", class: "form-label" %>
|
22
22
|
<%= form.text_field :author_github, placeholder: "Author Github Address", class: "form-control" %>
|
23
23
|
</div>
|
24
|
-
<!-- Form Input Fields -->
|
24
|
+
<!-- -PHCDEV- Form Input Fields -->
|
25
25
|
|
26
|
-
<!-- Form Submition Button -->
|
26
|
+
<!-- -PHCDEV- Form Submition Button -->
|
27
27
|
<div class="actions">
|
28
28
|
<%= form.submit class: "btn btn-primary" %>
|
29
29
|
</div>
|
30
|
-
<!--
|
30
|
+
<!-- -PHCDEV- Form Submition Button -->
|
31
31
|
|
32
32
|
<% end %>
|
@@ -1,37 +1,41 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Script Authors" %>
|
3
3
|
<% phc_title_tagline "Update Author Data" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcscriptcdnpro.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Author Index", phcscriptcdnpro.script_authors_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title
|
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
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
20
20
|
|
21
|
-
<!--
|
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
|
-
|
33
|
-
|
34
|
-
|
32
|
+
|
33
|
+
<!-- -PHCDEV- Form to Edit Author -->
|
34
|
+
<%= render "form", script_author: @script_author %>
|
35
|
+
<!-- -PHCDEV- Form to Edit Author -->
|
36
|
+
|
35
37
|
</div>
|
38
|
+
<!-- -PHCDEV- Panel - Body -->
|
39
|
+
|
36
40
|
</div>
|
37
|
-
<!--
|
41
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,36 +1,34 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Script Authors" %>
|
3
3
|
<% phc_title_tagline "Author Index" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcscriptcdnpro.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- Title
|
6
|
+
<!-- -PHCDEV- Title Variables -->
|
7
7
|
|
8
|
-
<!--
|
9
|
-
<ol class="breadcrumb
|
10
|
-
|
11
|
-
|
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
|
-
<!--
|
13
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
14
14
|
|
15
|
-
<!--
|
15
|
+
<!-- -PHCDEV- Header -->
|
16
16
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Panel -->
|
20
20
|
<div class="panel panel-inverse">
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
<div class="panel-body">
|
33
|
-
<!-- Table - Author 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>
|
@@ -57,7 +55,10 @@
|
|
57
55
|
Add a New Script Author
|
58
56
|
<% end %>
|
59
57
|
</div>
|
60
|
-
<!-- Table - Author Index -->
|
58
|
+
<!-- -PHCDEV- Table - Author Index -->
|
59
|
+
|
61
60
|
</div>
|
61
|
+
<!-- -PHCDEV- Panel - Body -->
|
62
|
+
|
62
63
|
</div>
|
63
|
-
<!--
|
64
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,37 +1,41 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Script Authors" %>
|
3
3
|
<% phc_title_tagline "Add a New Author" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcscriptcdnpro.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Author Index", phcscriptcdnpro.script_authors_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title
|
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
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
20
20
|
|
21
|
-
<!--
|
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
|
-
|
33
|
-
|
34
|
-
|
32
|
+
|
33
|
+
<!-- -PHCDEV- Form for New Author -->
|
34
|
+
<%= render "form", script_author: @script_author %>
|
35
|
+
<!-- -PHCDEV- Form for New Author -->
|
36
|
+
|
35
37
|
</div>
|
38
|
+
<!-- -PHCDEV- Panel - Body -->
|
39
|
+
|
36
40
|
</div>
|
37
|
-
<!--
|
41
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,27 +1,27 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Script Authors" %>
|
3
3
|
<% phc_title_tagline "Script Author Profile" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcscriptcdnpro.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Author Index", phcscriptcdnpro.script_authors_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title
|
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
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
20
20
|
|
21
|
-
<!--
|
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
|
35
|
-
<%= link_to
|
34
|
+
<%= link_to "Update", phcscriptcdnpro.edit_script_author_path, class: "btn btn-primary" %>
|
35
|
+
<%= link_to "Remove", phcscriptcdnpro.script_author_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
|
-
<!--
|
49
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,28 +1,28 @@
|
|
1
1
|
<%= form_with(model: script_extension, local: true) do |form| %>
|
2
2
|
|
3
|
-
<!--
|
4
|
-
<%= render
|
5
|
-
<!--
|
3
|
+
<!-- -PHCDEV- Form Validation -->
|
4
|
+
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_extension %>
|
5
|
+
<!-- -PHCDEV- Form Validation -->
|
6
6
|
|
7
|
-
<!-- Form Input Fields -->
|
8
|
-
<div class="
|
9
|
-
<%= form.label :script_extension_name, "Extension Name" %>
|
7
|
+
<!-- -PHCDEV- Form Input Fields -->
|
8
|
+
<div class="mb-3">
|
9
|
+
<%= form.label :script_extension_name, "Extension Name", class: "form-label" %>
|
10
10
|
<%= form.text_field :script_extension_name, placeholder: "Extension Name", class: "form-control" %>
|
11
11
|
</div>
|
12
|
-
<div class="
|
13
|
-
<%= form.label :script_extension_description, "Extension Description" %>
|
12
|
+
<div class="mb-3">
|
13
|
+
<%= form.label :script_extension_description, "Extension Description", class: "form-label" %>
|
14
14
|
<%= form.text_area :script_extension_description, placeholder: "Extension Description", class: "form-control" %>
|
15
15
|
</div>
|
16
|
-
<div class="
|
17
|
-
<%= form.label :script_extension, "Script Extension" %>
|
16
|
+
<div class="mb-3">
|
17
|
+
<%= form.label :script_extension, "Script Extension", class: "form-label" %>
|
18
18
|
<%= form.text_field :script_extension, placeholder: "Script Extension (.js/.css)", class: "form-control" %>
|
19
19
|
</div>
|
20
|
-
<!-- Form Input Fields -->
|
20
|
+
<!-- -PHCDEV- Form Input Fields -->
|
21
21
|
|
22
|
-
<!-- Form Submition Button -->
|
22
|
+
<!-- -PHCDEV- Form Submition Button -->
|
23
23
|
<div class="actions">
|
24
24
|
<%= form.submit class: "btn btn-primary" %>
|
25
25
|
</div>
|
26
|
-
<!--
|
26
|
+
<!-- -PHCDEV- Form Submition Button -->
|
27
27
|
|
28
28
|
<% end %>
|
@@ -1,37 +1,41 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Update Script Extension" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcscriptcdnpro.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Script Extension Index", phcscriptcdnpro.script_extensions_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title
|
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
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
20
20
|
|
21
|
-
<!--
|
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
|
-
|
33
|
-
|
34
|
-
|
32
|
+
|
33
|
+
<!-- -PHCDEV- Form to Edit Extension -->
|
34
|
+
<%= render "form", script_extension: @script_extension %>
|
35
|
+
<!-- -PHCDEV- Form to Edit Extension -->
|
36
|
+
|
35
37
|
</div>
|
38
|
+
<!-- -PHCDEV- Panel - Body -->
|
39
|
+
|
36
40
|
</div>
|
37
|
-
<!--
|
41
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,36 +1,34 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Extension Index" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcscriptcdnpro.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- Title
|
6
|
+
<!-- -PHCDEV- Title Variables -->
|
7
7
|
|
8
|
-
<!--
|
9
|
-
<ol class="breadcrumb
|
10
|
-
|
11
|
-
|
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
|
-
<!--
|
13
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
14
14
|
|
15
|
-
<!--
|
15
|
+
<!-- -PHCDEV- Header -->
|
16
16
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Panel -->
|
20
20
|
<div class="panel panel-inverse">
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
<div class="panel-body">
|
33
|
-
<!-- Table - Extension 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>
|
@@ -53,7 +51,10 @@
|
|
53
51
|
Add a New Extension
|
54
52
|
<% end %>
|
55
53
|
</div>
|
56
|
-
<!-- Table -
|
54
|
+
<!-- -PHCDEV- Table - Author Index -->
|
55
|
+
|
57
56
|
</div>
|
57
|
+
<!-- -PHCDEV- Panel - Body -->
|
58
|
+
|
58
59
|
</div>
|
59
|
-
<!--
|
60
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,37 +1,41 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Add a Script Extension" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcscriptcdnpro.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Script Extension Index", phcscriptcdnpro.script_extensions_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title
|
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
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
20
20
|
|
21
|
-
<!--
|
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
|
-
|
33
|
-
|
34
|
-
|
32
|
+
|
33
|
+
<!-- -PHCDEV- Form for New Extension -->
|
34
|
+
<%= render "form", script_extension: @script_extension %>
|
35
|
+
<!-- -PHCDEV- Form for New Extension -->
|
36
|
+
|
35
37
|
</div>
|
38
|
+
<!-- -PHCDEV- Panel - Body -->
|
39
|
+
|
36
40
|
</div>
|
37
|
-
<!--
|
41
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,27 +1,27 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Extension Details" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcscriptcdnpro.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Script Extension Index", phcscriptcdnpro.script_extensions_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title
|
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
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
20
20
|
|
21
|
-
<!--
|
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
|
35
|
-
<%= link_to
|
34
|
+
<%= link_to "Update", phcscriptcdnpro.edit_script_extension_path, class: "btn btn-primary" %>
|
35
|
+
<%= link_to "Remove", phcscriptcdnpro.script_extension_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
|
-
<!--
|
49
|
+
<!-- -PHCDEV- Panel -->
|