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,37 +1,38 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Add a Script Extension" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Extension Index", phcscriptcdnpro.script_extensions_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_extension: @script_extension %>
|
34
32
|
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
35
36
|
</div>
|
36
|
-
</
|
37
|
-
<!-- Main Content -->
|
37
|
+
</section>
|
38
|
+
<!-- Main Content -->
|
@@ -1,32 +1,40 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Extension Details" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Extension Index", phcscriptcdnpro.script_extensions_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
|
-
<!-- Page
|
7
|
-
<
|
8
|
-
|
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 -->
|
9
19
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
20
|
+
<!-- Main Content -->
|
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">
|
16
29
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
</h3>
|
22
|
-
<!-- Page Title -->
|
30
|
+
<div class="btn-group" role="group" aria-label="extension_button_group">
|
31
|
+
<%= link_to 'Edit', edit_script_extension_path(@script_extension), class: "btn btn-primary" %>
|
32
|
+
<%= link_to 'Destroy', script_extension_path(@script_extension), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
33
|
+
</div>
|
23
34
|
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
24
38
|
</div>
|
25
|
-
</
|
26
|
-
<!--
|
27
|
-
|
28
|
-
|
29
|
-
<div class="btn-group" role="group" aria-label="extension_button_group">
|
30
|
-
<%= link_to 'Edit', edit_script_extension_path(@script_extension), class: "btn btn-primary" %>
|
31
|
-
<%= link_to 'Destroy', script_extension_path(@script_extension), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
32
|
-
</div>
|
39
|
+
</section>
|
40
|
+
<!-- Main Content -->
|
@@ -1,7 +1,9 @@
|
|
1
1
|
<%= form_for(script_licence) do |f| %>
|
2
2
|
|
3
|
+
<!-- PHCNotifi Render Validation -->
|
3
4
|
<%= render 'phcnotifi/validations', :object => @script_licence %>
|
4
5
|
|
6
|
+
<!-- Form Input Fields -->
|
5
7
|
<div class="form-group field_with_error">
|
6
8
|
<%= f.label :lcncname, "Licence Name" %>
|
7
9
|
<%= f.text_field :lcncname, placeholder: "Licence Name", class: "form-control" %>
|
@@ -34,8 +36,12 @@
|
|
34
36
|
<%= f.label :lcncarvlfedora, "Fedora Approval" %>
|
35
37
|
<%= f.select( :lcncarvlfedora, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
36
38
|
</div>
|
39
|
+
<!-- Form Input Fields -->
|
40
|
+
|
41
|
+
<!-- Form Submition Button -->
|
37
42
|
<div class="actions">
|
38
43
|
<%= f.submit class: "btn btn-primary" %>
|
39
44
|
</div>
|
45
|
+
<!-- For Submition Button -->
|
40
46
|
|
41
|
-
<% end %>
|
47
|
+
<% end %>
|
@@ -1,37 +1,38 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
|
-
<% phc_title_tagline "Update
|
3
|
+
<% phc_title_tagline "Update Script Licence Information" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Licence Index", phcscriptcdnpro.script_licences_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_licence: @script_licence %>
|
34
32
|
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
35
36
|
</div>
|
36
|
-
</
|
37
|
-
<!-- Main Content -->
|
37
|
+
</section>
|
38
|
+
<!-- Main Content -->
|
@@ -1,62 +1,63 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Licence 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
|
-
<h3 class="page-title">
|
18
|
-
<%= yield(:phc_title) %> </br>
|
19
|
-
<small><%= yield(:phc_title_tagline) %></small>
|
20
|
-
</h3>
|
21
|
-
<!-- Page Title -->
|
22
|
-
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
<!-- 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 -->
|
26
18
|
|
27
19
|
<!-- Main Content -->
|
28
|
-
<
|
29
|
-
<div class="
|
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
|
-
|
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>Licence Name</th>
|
33
|
+
<th>GPLv3 Compatible</th>
|
34
|
+
<th>FSF Approval</th>
|
35
|
+
<th>OSI Approval</th>
|
36
|
+
<th>CopyFree Approval</th>
|
37
|
+
<th>Debian Approval</th>
|
38
|
+
<th>Fedora Approval</th>
|
39
|
+
</tr>
|
40
|
+
</thead>
|
41
|
+
<tbody>
|
42
|
+
<% @script_licences.each do |script_licence| %>
|
43
|
+
<tr>
|
44
|
+
<td><%= link_to script_licence.lcncname, script_licence %></td>
|
45
|
+
<td><%= link_to script_licence.lcnccomgpl, script_licence %></td>
|
46
|
+
<td><%= link_to script_licence.lcncarvlfsf, script_licence %></td>
|
47
|
+
<td><%= link_to script_licence.lcncarvlosi, script_licence %></td>
|
48
|
+
<td><%= link_to script_licence.lcncarvlcopyfree, script_licence %></td>
|
49
|
+
<td><%= link_to script_licence.lcncarvldebian, script_licence %></td>
|
50
|
+
<td><%= link_to script_licence.lcncarvlfedora, script_licence %></td>
|
51
|
+
</tr>
|
52
|
+
<% end %>
|
53
|
+
</tbody>
|
54
|
+
</table>
|
55
|
+
|
56
|
+
<%= link_to 'New Script Licence', new_script_licence_path, class: "btn btn-primary" %>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
</div>
|
60
61
|
</div>
|
61
|
-
</
|
62
|
+
</section>
|
62
63
|
<!-- Main Content -->
|
@@ -1,37 +1,38 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
|
-
<% phc_title_tagline "
|
3
|
+
<% phc_title_tagline "Create a New Script Licence" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Licence Index", phcscriptcdnpro.script_licences_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_licence: @script_licence %>
|
34
32
|
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
35
36
|
</div>
|
36
|
-
</
|
37
|
-
<!-- Main Content -->
|
37
|
+
</section>
|
38
|
+
<!-- Main Content -->
|
@@ -1,31 +1,40 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Licence Details" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Script Licence Index", phcscriptcdnpro.script_licences_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
|
-
<!-- Page
|
7
|
-
<
|
8
|
-
|
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 -->
|
9
19
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
20
|
+
<!-- Main Content -->
|
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">
|
16
29
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
</h3>
|
22
|
-
<!-- Page Title -->
|
30
|
+
<div class="btn-group" role="group" aria-label="licence_button_group">
|
31
|
+
<%= link_to 'Edit', edit_script_licence_path(@script_licence), class: "btn btn-primary" %>
|
32
|
+
<%= link_to 'Destroy', script_licence_path(@script_licence), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
33
|
+
</div>
|
23
34
|
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
24
38
|
</div>
|
25
|
-
</
|
26
|
-
<!--
|
27
|
-
|
28
|
-
<div class="btn-group" role="group" aria-label="licence_button_group">
|
29
|
-
<%= link_to 'Edit', edit_script_licence_path(@script_licence), class: "btn btn-primary" %>
|
30
|
-
<%= link_to 'Destroy', script_licence_path(@script_licence), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
|
31
|
-
</div>
|
39
|
+
</section>
|
40
|
+
<!-- Main Content -->
|