phcscriptcdnpro 5.0.3 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcscriptcdnpro/script/licences_controller.rb +1 -1
- data/app/views/phcscriptcdnpro/script/authors/_form.html.erb +1 -0
- data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +4 -4
- data/app/views/phcscriptcdnpro/script/authors/index.html.erb +11 -8
- data/app/views/phcscriptcdnpro/script/authors/new.html.erb +3 -3
- data/app/views/phcscriptcdnpro/script/authors/show.html.erb +3 -3
- data/app/views/phcscriptcdnpro/script/extensions/_form.html.erb +1 -0
- data/app/views/phcscriptcdnpro/script/extensions/edit.html.erb +2 -2
- data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +2 -3
- data/app/views/phcscriptcdnpro/script/extensions/new.html.erb +2 -2
- data/app/views/phcscriptcdnpro/script/extensions/show.html.erb +3 -3
- data/app/views/phcscriptcdnpro/script/licences/_form.html.erb +4 -0
- data/app/views/phcscriptcdnpro/script/listings/_form.html.erb +1 -1
- data/app/views/phcscriptcdnpro/script/listings/edit.html.erb +2 -2
- data/app/views/phcscriptcdnpro/script/listings/index.html.erb +2 -2
- data/app/views/phcscriptcdnpro/script/listings/new.html.erb +2 -2
- data/app/views/phcscriptcdnpro/script/listings/show.html.erb +2 -2
- data/db/migrate/20160821183805_create_phcscriptcdnpro_script_licences.rb +1 -0
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfcba58be0293fd7453a316e204930b40dd4886f
|
4
|
+
data.tar.gz: 705beab22e1e7ec62da36fc1182fff3d46ef624e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dda0c4c98b4d18d916ec155129b9f50347aef62460acc3b97fb1cc06eacf4a5a4d31783b7ec60605a802324eb747cc1b7ea257b6cc4b45cfaf7903ac58e57024
|
7
|
+
data.tar.gz: 44a59655992f9b9d2f24ea57821f9b58c72f1fe7329496c7cae5c5d811af204dfcf5e35484236447903e7954d726ba2e2c7adfc64f585c19959acb392f2b3266
|
@@ -59,7 +59,7 @@ module Phcscriptcdnpro
|
|
59
59
|
|
60
60
|
# Whitelists
|
61
61
|
def script_licence_params
|
62
|
-
params.require(:script_licence).permit(:lcncname, :lcncdescript, :lcnccomgpl, :lcncarvlfsf, :lcncarvlosi, :lcncarvlcopyfree, :lcncarvldebian, :lcncarvlfedora)
|
62
|
+
params.require(:script_licence).permit(:lcncname, :lcncdescription, :lcncdescript, :lcnccomgpl, :lcncarvlfsf, :lcncarvlosi, :lcncarvlcopyfree, :lcncarvldebian, :lcncarvlfedora)
|
63
63
|
end
|
64
64
|
|
65
65
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
3
|
-
<% phc_title_tagline "Update
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
|
+
<% phc_title_tagline "Update Authors Data" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
6
6
|
<!-- Page Header -->
|
@@ -9,14 +9,14 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "
|
12
|
+
<li><%= link_to "Author Index", phcscriptcdnpro.script_authors_path %></li>
|
13
13
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
14
|
</ol>
|
15
15
|
</div>
|
16
16
|
<div class="col-sm-8">
|
17
17
|
<div class="title-action">
|
18
18
|
<%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
|
19
|
-
<i class="fa fa-plus"></i> Back to
|
19
|
+
<i class="fa fa-plus"></i> Back to Author Index
|
20
20
|
<% end %>
|
21
21
|
</div>
|
22
22
|
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Author Index" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
@@ -9,14 +9,13 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Author Index", phcscriptcdnpro.script_authors_path %></li>
|
13
12
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
13
|
</ol>
|
15
14
|
</div>
|
16
15
|
<div class="col-sm-8">
|
17
16
|
<div class="title-action">
|
18
17
|
<%= link_to phcscriptcdnpro.new_script_author_path, class: "btn btn-primary" do %>
|
19
|
-
<i class="fa fa-plus"></i> Add a
|
18
|
+
<i class="fa fa-plus"></i> Add a New Author
|
20
19
|
<% end %>
|
21
20
|
</div>
|
22
21
|
</div>
|
@@ -27,6 +26,7 @@
|
|
27
26
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
27
|
<div class="row">
|
29
28
|
<div class="col-lg-12">
|
29
|
+
|
30
30
|
<div class="ibox float-e-margins">
|
31
31
|
<div class="ibox-title">
|
32
32
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -41,14 +41,15 @@
|
|
41
41
|
</div>
|
42
42
|
<div class="ibox-content">
|
43
43
|
<div class="table-responsive">
|
44
|
+
|
44
45
|
<table class="table table-striped table-bordered table-hover dataTables-example">
|
45
46
|
<thead>
|
46
47
|
<tr>
|
47
|
-
<th>
|
48
|
-
<th>
|
49
|
-
<th>
|
50
|
-
<th>
|
51
|
-
<th>
|
48
|
+
<th>First Name</th>
|
49
|
+
<th>Last Name</th>
|
50
|
+
<th>Website</th>
|
51
|
+
<th>Github</th>
|
52
|
+
<th>Twitter</th>
|
52
53
|
</tr>
|
53
54
|
</thead>
|
54
55
|
<tbody>
|
@@ -63,9 +64,11 @@
|
|
63
64
|
<% end %>
|
64
65
|
</tbody>
|
65
66
|
</table>
|
67
|
+
|
66
68
|
</div>
|
67
69
|
</div>
|
68
70
|
</div>
|
71
|
+
|
69
72
|
</div>
|
70
73
|
</div>
|
71
74
|
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Add a New Author" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
@@ -9,14 +9,14 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "
|
12
|
+
<li><%= link_to "Author Index", phcscriptcdnpro.script_authors_path %></li>
|
13
13
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
14
|
</ol>
|
15
15
|
</div>
|
16
16
|
<div class="col-sm-8">
|
17
17
|
<div class="title-action">
|
18
18
|
<%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
|
19
|
-
<i class="fa fa-plus"></i> Back to
|
19
|
+
<i class="fa fa-plus"></i> Back to Author Index
|
20
20
|
<% end %>
|
21
21
|
</div>
|
22
22
|
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Author Profile" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
@@ -9,14 +9,14 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "
|
12
|
+
<li><%= link_to "Author Index", phcscriptcdnpro.script_authors_path %></li>
|
13
13
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
14
|
</ol>
|
15
15
|
</div>
|
16
16
|
<div class="col-sm-8">
|
17
17
|
<div class="title-action">
|
18
18
|
<%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
|
19
|
-
<i class="fa fa-plus"></i> Back to
|
19
|
+
<i class="fa fa-plus"></i> Back to Author Index
|
20
20
|
<% end %>
|
21
21
|
</div>
|
22
22
|
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Update Script Extension" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Script
|
12
|
+
<li><%= link_to "Script Extension Index", phcscriptcdnpro.script_extensions_path %></li>
|
13
13
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
14
|
</ol>
|
15
15
|
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Extension Index" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
@@ -9,14 +9,13 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Script Extension Index", phcscriptcdnpro.script_extensions_path %></li>
|
13
12
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
13
|
</ol>
|
15
14
|
</div>
|
16
15
|
<div class="col-sm-8">
|
17
16
|
<div class="title-action">
|
18
17
|
<%= link_to phcscriptcdnpro.new_script_extension_path, class: "btn btn-primary" do %>
|
19
|
-
<i class="fa fa-plus"></i> Add a Script Extension
|
18
|
+
<i class="fa fa-plus"></i> Add a New Script Extension
|
20
19
|
<% end %>
|
21
20
|
</div>
|
22
21
|
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Add a Script Extension" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Script
|
12
|
+
<li><%= link_to "Script Extension Index", phcscriptcdnpro.script_extensions_path %></li>
|
13
13
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
14
|
</ol>
|
15
15
|
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Extension Details" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
@@ -9,14 +9,14 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Script
|
12
|
+
<li><%= link_to "Script Extension Index", phcscriptcdnpro.script_extensions_path %></li>
|
13
13
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
14
|
</ol>
|
15
15
|
</div>
|
16
16
|
<div class="col-sm-8">
|
17
17
|
<div class="title-action">
|
18
18
|
<%= link_to phcscriptcdnpro.script_extensions_path, class: "btn btn-primary" do %>
|
19
|
-
<i class="fa fa-plus"></i> Back to
|
19
|
+
<i class="fa fa-plus"></i> Back to Extension Index
|
20
20
|
<% end %>
|
21
21
|
</div>
|
22
22
|
</div>
|
@@ -6,6 +6,10 @@
|
|
6
6
|
<%= f.label :lcncname, "Licence Name" %>
|
7
7
|
<%= f.text_field :lcncname, placeholder: "Licence Name", class: "form-control" %>
|
8
8
|
</div>
|
9
|
+
<div class="form-group field_with_error">
|
10
|
+
<%= f.label :lcncdescription, "Licence Description" %>
|
11
|
+
<%= f.text_area :lcncdescription, placeholder: "Licence Name", class: "form-control" %>
|
12
|
+
</div>
|
9
13
|
<div class="form-group field_with_error">
|
10
14
|
<%= f.label :lcnccomgpl, "GPL(v3) Compatible" %>
|
11
15
|
<%= f.select( :lcnccomgpl, [['No','No'],['Yes','Yes']], {}, {class: "form-control form-control"}) %>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
</div>
|
9
9
|
<div class="form-group field_with_error">
|
10
10
|
<%= f.label :scriptdescription, "Script Description" %>
|
11
|
-
<%= f.
|
11
|
+
<%= f.text_area :scriptdescription, placeholder: "Script Information Description", class: "form-control" %>
|
12
12
|
</div>
|
13
13
|
<div class="form-group field_with_error">
|
14
14
|
<%= f.label :scriptwebsite, "Script Website" %>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Script Listing" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
<div class="col-sm-8">
|
17
17
|
<div class="title-action">
|
18
18
|
<%= link_to phcscriptcdnpro.script_listings_path, class: "btn btn-primary" do %>
|
19
|
-
<i class="fa fa-plus"></i> Back to
|
19
|
+
<i class="fa fa-plus"></i> Back to Listing Index
|
20
20
|
<% end %>
|
21
21
|
</div>
|
22
22
|
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Listing Index" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<div class="col-sm-8">
|
16
16
|
<div class="title-action">
|
17
17
|
<%= link_to phcscriptcdnpro.new_script_listing_path, class: "btn btn-primary" do %>
|
18
|
-
<i class="fa fa-plus"></i> Create a
|
18
|
+
<i class="fa fa-plus"></i> Create a New Listing
|
19
19
|
<% end %>
|
20
20
|
</div>
|
21
21
|
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Script Listing" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
<div class="col-sm-8">
|
17
17
|
<div class="title-action">
|
18
18
|
<%= link_to phcscriptcdnpro.script_listings_path, class: "btn btn-primary" do %>
|
19
|
-
<i class="fa fa-plus"></i> Back to
|
19
|
+
<i class="fa fa-plus"></i> Back to Listing Index
|
20
20
|
<% end %>
|
21
21
|
</div>
|
22
22
|
</div>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listings Manager" %>
|
3
3
|
<% phc_title_tagline "Script Listings" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
<div class="col-sm-8">
|
17
17
|
<div class="title-action">
|
18
18
|
<%= link_to phcscriptcdnpro.script_listings_path, class: "btn btn-primary" do %>
|
19
|
-
<i class="fa fa-plus"></i> Back to
|
19
|
+
<i class="fa fa-plus"></i> Back to Listing Index
|
20
20
|
<% end %>
|
21
21
|
</div>
|
22
22
|
</div>
|