phcscriptcdn 4.3.2 → 4.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/phcscriptcdn/script/authors/_form.html.erb +6 -1
- data/app/views/phcscriptcdn/script/authors/edit.html.erb +28 -27
- data/app/views/phcscriptcdn/script/authors/index.html.erb +52 -51
- data/app/views/phcscriptcdn/script/authors/new.html.erb +28 -27
- data/app/views/phcscriptcdn/script/authors/show.html.erb +31 -22
- data/app/views/phcscriptcdn/script/extensions/_form.html.erb +5 -0
- data/app/views/phcscriptcdn/script/extensions/edit.html.erb +28 -27
- data/app/views/phcscriptcdn/script/extensions/index.html.erb +46 -45
- data/app/views/phcscriptcdn/script/extensions/new.html.erb +28 -27
- data/app/views/phcscriptcdn/script/extensions/show.html.erb +31 -23
- data/app/views/phcscriptcdn/script/licences/_form.html.erb +7 -1
- data/app/views/phcscriptcdn/script/licences/edit.html.erb +29 -28
- data/app/views/phcscriptcdn/script/licences/index.html.erb +54 -53
- data/app/views/phcscriptcdn/script/licences/new.html.erb +29 -28
- data/app/views/phcscriptcdn/script/licences/show.html.erb +31 -22
- data/app/views/phcscriptcdn/script/listings/_form.html.erb +6 -1
- data/app/views/phcscriptcdn/script/listings/edit.html.erb +28 -27
- data/app/views/phcscriptcdn/script/listings/index.html.erb +48 -47
- data/app/views/phcscriptcdn/script/listings/new.html.erb +28 -27
- data/app/views/phcscriptcdn/script/listings/show.html.erb +29 -28
- data/app/views/phcscriptcdn/script/urls/_form.html.erb +6 -1
- data/app/views/phcscriptcdn/script/urls/edit.html.erb +27 -27
- data/app/views/phcscriptcdn/script/urls/index.html.erb +46 -46
- data/app/views/phcscriptcdn/script/urls/new.html.erb +28 -28
- data/app/views/phcscriptcdn/script/urls/show.html.erb +30 -30
- data/app/views/phcscriptcdn/script/versions/_form.html.erb +6 -1
- data/app/views/phcscriptcdn/script/versions/edit.html.erb +28 -27
- data/app/views/phcscriptcdn/script/versions/index.html.erb +43 -43
- data/app/views/phcscriptcdn/script/versions/new.html.erb +28 -27
- data/app/views/phcscriptcdn/script/versions/show.html.erb +30 -29
- data/lib/phcscriptcdn/version.rb +1 -1
- metadata +2 -2
@@ -1,38 +1,38 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Script URL" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Urls", phcscriptcdnpro.script_listing_urls_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
|
-
<!-- Page
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
<!-- Page Title -->
|
19
|
-
<h3 class="page-title">
|
20
|
-
<%= yield(:phc_title) %> </br>
|
21
|
-
<small><%= yield(:phc_title_tagline) %></small>
|
22
|
-
</h3>
|
23
|
-
<!-- Page Title -->
|
24
|
-
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
<!-- Page Header -->
|
8
|
+
<!-- Page Title Bar -->
|
9
|
+
<section class="content-header">
|
10
|
+
<!-- Page Title and BreadCrumb -->
|
11
|
+
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
12
|
+
<ol class="breadcrumb">
|
13
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
14
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
15
|
+
</ol>
|
16
|
+
<!-- Page Title and BreadCrumb -->
|
17
|
+
</section>
|
18
|
+
<!-- Page Title Bar -->
|
28
19
|
|
29
20
|
<!-- Main Content -->
|
30
|
-
<
|
31
|
-
<div class="
|
21
|
+
<section class="content">
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
24
|
+
<div class="box">
|
25
|
+
<div class="box-header with-border">
|
26
|
+
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
27
|
+
</div>
|
28
|
+
<div class="box-body">
|
32
29
|
|
33
|
-
|
34
|
-
|
30
|
+
<!-- Form Requries URL to Function Properly -->
|
31
|
+
<%= render 'form', { form_url: script_listing_url_path } %>
|
35
32
|
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
36
|
</div>
|
37
|
-
</
|
38
|
-
<!-- Main Content -->
|
37
|
+
</section>
|
38
|
+
<!-- Main Content -->
|
@@ -1,40 +1,40 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script URL Details" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Urls", phcscriptcdnpro.script_listing_urls_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
|
-
<!-- Page
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
<!-- Page Title -->
|
19
|
-
<h3 class="page-title">
|
20
|
-
<%= yield(:phc_title) %> </br>
|
21
|
-
<small><%= yield(:phc_title_tagline) %></small>
|
22
|
-
</h3>
|
23
|
-
<!-- Page Title -->
|
24
|
-
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
<!-- Page Header -->
|
8
|
+
<!-- Page Title Bar -->
|
9
|
+
<section class="content-header">
|
10
|
+
<!-- Page Title and BreadCrumb -->
|
11
|
+
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
12
|
+
<ol class="breadcrumb">
|
13
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
14
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
15
|
+
</ol>
|
16
|
+
<!-- Page Title and BreadCrumb -->
|
17
|
+
</section>
|
18
|
+
<!-- Page Title Bar -->
|
28
19
|
|
29
20
|
<!-- Main Content -->
|
30
|
-
<
|
31
|
-
<div class="
|
21
|
+
<section class="content">
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
24
|
+
<div class="box">
|
25
|
+
<div class="box-header with-border">
|
26
|
+
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
27
|
+
</div>
|
28
|
+
<div class="box-body">
|
32
29
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
30
|
+
<div class="btn-group" role="group" aria-label="url_button_group">
|
31
|
+
<%= link_to 'Edit', edit_script_listing_url_path, class: "btn btn-primary" %>
|
32
|
+
<%= link_to 'Destroy', script_listing_url_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
33
|
+
</div>
|
37
34
|
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
38
|
</div>
|
39
|
-
</
|
40
|
-
<!-- Main Content -->
|
39
|
+
</section>
|
40
|
+
<!-- Main Content -->
|
@@ -1,14 +1,19 @@
|
|
1
1
|
<%= form_for(script_version) do |f| %>
|
2
2
|
|
3
|
+
<!-- PHCNotifi Render Validation -->
|
3
4
|
<%= render 'phcnotifi/validations', :object => @script_version %>
|
4
5
|
|
6
|
+
<!-- Form Input Fields -->
|
5
7
|
<div class="form-group field_with_error">
|
6
8
|
<%= f.label :scriptversion, "Version Number" %>
|
7
9
|
<%= f.text_field :scriptversion, placeholder: "Version Number", class: "form-control" %>
|
8
10
|
</div>
|
11
|
+
<!-- Form Input Fields -->
|
9
12
|
|
13
|
+
<!-- Form Submition Button -->
|
10
14
|
<div class="actions">
|
11
15
|
<%= f.submit class: "btn btn-primary" %>
|
12
16
|
</div>
|
17
|
+
<!-- For Submition Button -->
|
13
18
|
|
14
|
-
<% end %>
|
19
|
+
<% end %>
|
@@ -1,37 +1,38 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Update Script Version Information" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Version Index", phcscriptcdnpro.script_versions_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
|
-
<!-- Page
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<!-- Page Title -->
|
18
|
-
<h3 class="page-title">
|
19
|
-
<%= yield(:phc_title) %> </br>
|
20
|
-
<small><%= yield(:phc_title_tagline) %></small>
|
21
|
-
</h3>
|
22
|
-
<!-- Page Title -->
|
23
|
-
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
<!-- Page Header -->
|
8
|
+
<!-- Page Title Bar -->
|
9
|
+
<section class="content-header">
|
10
|
+
<!-- Page Title and BreadCrumb -->
|
11
|
+
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
12
|
+
<ol class="breadcrumb">
|
13
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
14
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
15
|
+
</ol>
|
16
|
+
<!-- Page Title and BreadCrumb -->
|
17
|
+
</section>
|
18
|
+
<!-- Page Title Bar -->
|
27
19
|
|
28
20
|
<!-- Main Content -->
|
29
|
-
<
|
30
|
-
<div class="
|
21
|
+
<section class="content">
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
24
|
+
<div class="box">
|
25
|
+
<div class="box-header with-border">
|
26
|
+
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
27
|
+
</div>
|
28
|
+
<div class="box-body">
|
31
29
|
|
32
|
-
|
33
|
-
|
30
|
+
<!-- Form Requries URL to Function Properly -->
|
31
|
+
<%= render 'form', script_version: @script_version %>
|
34
32
|
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
35
36
|
</div>
|
36
|
-
</
|
37
|
-
<!-- Main Content -->
|
37
|
+
</section>
|
38
|
+
<!-- Main Content -->
|
@@ -1,51 +1,51 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Version Index" %>
|
4
|
+
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
4
5
|
<!-- Title System -->
|
5
6
|
|
6
|
-
<!-- Page
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<!-- Page Title -->
|
18
|
-
<h3 class="page-title">
|
19
|
-
<%= yield(:phc_title) %> </br>
|
20
|
-
<small><%= yield(:phc_title_tagline) %></small>
|
21
|
-
</h3>
|
22
|
-
<!-- Page Title -->
|
23
|
-
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
<!-- Page Header -->
|
7
|
+
<!-- Page Title Bar -->
|
8
|
+
<section class="content-header">
|
9
|
+
<!-- Page Title and BreadCrumb -->
|
10
|
+
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
11
|
+
<ol class="breadcrumb">
|
12
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
13
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Title and BreadCrumb -->
|
16
|
+
</section>
|
17
|
+
<!-- Page Title Bar -->
|
27
18
|
|
28
19
|
<!-- Main Content -->
|
29
|
-
<
|
30
|
-
<div class="
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
20
|
+
<section class="content">
|
21
|
+
<div class="row">
|
22
|
+
<div class="col-lg-12">
|
23
|
+
<div class="box">
|
24
|
+
<div class="box-header with-border">
|
25
|
+
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
26
|
+
</div>
|
27
|
+
<div class="box-body">
|
28
|
+
|
29
|
+
<table class="table table-striped table-bordered table-advance table-hover">
|
30
|
+
<thead>
|
31
|
+
<tr>
|
32
|
+
<th>Script Version</th>
|
33
|
+
</tr>
|
34
|
+
</thead>
|
35
|
+
<tbody>
|
36
|
+
<% @script_versions.each do |script_version| %>
|
37
|
+
<tr>
|
38
|
+
<td><%= link_to script_version.scriptversion, script_version %></td>
|
39
|
+
</tr>
|
40
|
+
<% end %>
|
41
|
+
</tbody>
|
42
|
+
</table>
|
43
|
+
|
44
|
+
<%= link_to 'New Script Version', new_script_version_path, class: "btn btn-primary" %>
|
45
|
+
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
</div>
|
49
49
|
</div>
|
50
|
-
</
|
51
|
-
<!-- Main Content -->
|
50
|
+
</section>
|
51
|
+
<!-- Main Content -->
|
@@ -1,37 +1,38 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Version" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Version Index", phcscriptcdnpro.script_versions_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
|
-
<!-- Page
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<!-- Page Title -->
|
18
|
-
<h3 class="page-title">
|
19
|
-
<%= yield(:phc_title) %> </br>
|
20
|
-
<small><%= yield(:phc_title_tagline) %></small>
|
21
|
-
</h3>
|
22
|
-
<!-- Page Title -->
|
23
|
-
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
<!-- Page Header -->
|
8
|
+
<!-- Page Title Bar -->
|
9
|
+
<section class="content-header">
|
10
|
+
<!-- Page Title and BreadCrumb -->
|
11
|
+
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
12
|
+
<ol class="breadcrumb">
|
13
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
14
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
15
|
+
</ol>
|
16
|
+
<!-- Page Title and BreadCrumb -->
|
17
|
+
</section>
|
18
|
+
<!-- Page Title Bar -->
|
27
19
|
|
28
20
|
<!-- Main Content -->
|
29
|
-
<
|
30
|
-
<div class="
|
21
|
+
<section class="content">
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
24
|
+
<div class="box">
|
25
|
+
<div class="box-header with-border">
|
26
|
+
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
27
|
+
</div>
|
28
|
+
<div class="box-body">
|
31
29
|
|
32
|
-
|
33
|
-
|
30
|
+
<!-- Form Requries URL to Function Properly -->
|
31
|
+
<%= render 'form', script_version: @script_version %>
|
34
32
|
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
35
36
|
</div>
|
36
|
-
</
|
37
|
-
<!-- Main Content -->
|
37
|
+
</section>
|
38
|
+
<!-- Main Content -->
|
@@ -1,39 +1,40 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Version Details" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Version Index", phcscriptcdnpro.script_versions_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
|
-
<!-- Page
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<!-- Page Title -->
|
18
|
-
<h3 class="page-title">
|
19
|
-
<%= yield(:phc_title) %> </br>
|
20
|
-
<small><%= yield(:phc_title_tagline) %></small>
|
21
|
-
</h3>
|
22
|
-
<!-- Page Title -->
|
23
|
-
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
<!-- Page Header -->
|
8
|
+
<!-- Page Title Bar -->
|
9
|
+
<section class="content-header">
|
10
|
+
<!-- Page Title and BreadCrumb -->
|
11
|
+
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
12
|
+
<ol class="breadcrumb">
|
13
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
14
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
15
|
+
</ol>
|
16
|
+
<!-- Page Title and BreadCrumb -->
|
17
|
+
</section>
|
18
|
+
<!-- Page Title Bar -->
|
27
19
|
|
28
20
|
<!-- Main Content -->
|
29
|
-
<
|
30
|
-
<div class="
|
21
|
+
<section class="content">
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
24
|
+
<div class="box">
|
25
|
+
<div class="box-header with-border">
|
26
|
+
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
27
|
+
</div>
|
28
|
+
<div class="box-body">
|
31
29
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
30
|
+
<div class="btn-group" role="group" aria-label="version_button_group">
|
31
|
+
<%= link_to 'Edit', edit_script_version_path(@script_version), class: "btn btn-primary" %>
|
32
|
+
<%= link_to 'Destroy', script_version_path(@script_version), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
33
|
+
</div>
|
36
34
|
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
37
38
|
</div>
|
38
|
-
</
|
39
|
-
<!-- Main Content -->
|
39
|
+
</section>
|
40
|
+
<!-- Main Content -->
|