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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 23a724e858d1e13bc32a94a0b6845fa586fa64d5
4
- data.tar.gz: dc72090c7d6bcccd5502e525db4c7bacc46374d0
3
+ metadata.gz: bfcba58be0293fd7453a316e204930b40dd4886f
4
+ data.tar.gz: 705beab22e1e7ec62da36fc1182fff3d46ef624e
5
5
  SHA512:
6
- metadata.gz: a90a00daabff41fb496996480a5377331e236175dbce2bcb2e367b840d4471ce230855bf05bdb88870a3505a8bf4a5357846c1dd8a28b50ef361584e012f6961
7
- data.tar.gz: f0b2edc70d230b4643bd0ec401744dabf4ae46d5e219e89814d9a884e6d9f3eee36586803aaa1153d2028d1d466a428d21bf972785e754f3ca200734aca47f2f
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
@@ -22,6 +22,7 @@
22
22
  <%= f.label :authortwitter, "Author Twitter Addresss" %>
23
23
  <%= f.text_field :authortwitter, placeholder: "Author Twitter Addresss", class: "form-control" %>
24
24
  </div>
25
+
25
26
  <div class="actions">
26
27
  <%= f.submit class: "btn btn-primary" %>
27
28
  </div>
@@ -1,6 +1,6 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Script Listing Manager" %>
3
- <% phc_title_tagline "Update Script Author" %>
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 "Script Authors", phcscriptcdnpro.script_authors_path %></li>
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 Script Author Index
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 Listing Manager" %>
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 Script Author
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>Author Firstname</th>
48
- <th>Author Lastname</th>
49
- <th>Author Website</th>
50
- <th>Author Github</th>
51
- <th>Author Twitter</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 Listing Manager" %>
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 "Script Authors", phcscriptcdnpro.script_authors_path %></li>
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 Script Author Index
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 Listing Manager" %>
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 "Script Authors", phcscriptcdnpro.script_authors_path %></li>
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 Script Author Index
19
+ <i class="fa fa-plus"></i> Back to Author Index
20
20
  <% end %>
21
21
  </div>
22
22
  </div>
@@ -14,6 +14,7 @@
14
14
  <%= f.label :scriptextension, "Script Extension" %>
15
15
  <%= f.text_field :scriptextension, placeholder: "Script Extension (.js/.css)", class: "form-control" %>
16
16
  </div>
17
+
17
18
  <div class="actions">
18
19
  <%= f.submit class: "btn btn-primary" %>
19
20
  </div>
@@ -1,5 +1,5 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Script Listing Manager" %>
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 Extensions", phcscriptcdnpro.script_extensions_path %></li>
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 Listing Manager" %>
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 Listing Manager" %>
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 Extensions", phcscriptcdnpro.script_extensions_path %></li>
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 Listing Manager" %>
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 Extensions", phcscriptcdnpro.script_extensions_path %></li>
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 Script Extension Index
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.text_field :scriptdescription, placeholder: "Script Information Description", class: "form-control" %>
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 Listing Manager" %>
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 Script Listing Index
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 Listing Manager" %>
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 Script Listing
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 Listing Manager" %>
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 Script Listing Index
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 Listing Manager" %>
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 Script Listing Index
19
+ <i class="fa fa-plus"></i> Back to Listing Index
20
20
  <% end %>
21
21
  </div>
22
22
  </div>
@@ -5,6 +5,7 @@ class CreatePhcscriptcdnproScriptLicences < ActiveRecord::Migration[5.0]
5
5
 
6
6
  t.string :lcncname
7
7
  t.string :lcncdescript
8
+ t.text :lcncdescription
8
9
 
9
10
  t.string :lcnccomgpl
10
11
  t.string :lcncarvlfsf
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "5.0.3"
2
+ VERSION = "5.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcscriptcdnpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.3
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts