phcscriptcdnpro 5.8.0 → 5.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +35 -0
- 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 +1 -1
- data/app/controllers/phcscriptcdnpro/script/versions_controller.rb +1 -1
- data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +17 -1
- data/app/views/phcscriptcdnpro/script/authors/index.html.erb +16 -1
- data/app/views/phcscriptcdnpro/script/authors/new.html.erb +17 -1
- data/app/views/phcscriptcdnpro/script/authors/show.html.erb +15 -1
- data/app/views/phcscriptcdnpro/script/extensions/edit.html.erb +19 -3
- data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +14 -1
- data/app/views/phcscriptcdnpro/script/extensions/new.html.erb +19 -3
- data/app/views/phcscriptcdnpro/script/extensions/show.html.erb +19 -3
- data/app/views/phcscriptcdnpro/script/licences/_form.html.erb +7 -6
- data/app/views/phcscriptcdnpro/script/licences/edit.html.erb +17 -1
- data/app/views/phcscriptcdnpro/script/licences/index.html.erb +18 -6
- data/app/views/phcscriptcdnpro/script/licences/new.html.erb +17 -1
- data/app/views/phcscriptcdnpro/script/licences/show.html.erb +17 -1
- data/app/views/phcscriptcdnpro/script/listings/edit.html.erb +1 -1
- data/app/views/phcscriptcdnpro/script/urls/_form.html.erb +1 -0
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b07ef543338bcdda1e04ae917cf92de3d8ea700d
|
4
|
+
data.tar.gz: 6aaed82bab2790d2bbc84f1d9516aa9a0632909f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71b11f9e0a4399715a44ddf9bf0a2aa7d0545a5dc0e6b42a15a56ce9476390b5638200d50c77624237e58dbbb72934143f4b993361d46d73ffb5e97c28ca5878
|
7
|
+
data.tar.gz: 997dc4ed890a993be9a982b5397b0b29bd271f4cc6d61e678453aa6400d606671e4bcaa145f27036c55332ebf468829f2e0e569381e3477b3d82ec376b45f67e
|
data/README.md
CHANGED
@@ -0,0 +1,35 @@
|
|
1
|
+
### PHCScriptCDN(PRO) (Script Listing Engine) Documentation
|
2
|
+
PHCScriptCDN(PRO) rails script management engine for website script CDN listings.
|
3
|
+
|
4
|
+
- Manage script CDN listings for websites.
|
5
|
+
- Main script title and description.
|
6
|
+
- Script versions and script URLs.
|
7
|
+
|
8
|
+
#### Step 1 - Add PHCScriptCDN(PRO) to your gemfile and run command
|
9
|
+
|
10
|
+
gem 'phcscriptcdnpro', '~> 5.8'
|
11
|
+
bundle install
|
12
|
+
|
13
|
+
#### Step 2 - Copy PHCScriptCDN(PRO) Database Tables
|
14
|
+
To copy PHCScriptCDN's required database migrations, copy each command individually to your terminal's command line.
|
15
|
+
|
16
|
+
rails phcscriptcdnpro:install:migrations
|
17
|
+
rails db:migrate
|
18
|
+
|
19
|
+
#### Step 3 - Mount PHCScriptCDN & Add Routes
|
20
|
+
Mount PHCMembers by adding code below to your routes file.
|
21
|
+
|
22
|
+
mount Phcscriptcdnpro::Engine, :at => '/'
|
23
|
+
|
24
|
+
#### Step 4 - Recompile Assets
|
25
|
+
To properly function re-compile your application's assets to copy over required files.
|
26
|
+
|
27
|
+
rails assets:clobber
|
28
|
+
rails assets:precompile
|
29
|
+
|
30
|
+
#### Step 5 - Generate Contact Form View (Customization)
|
31
|
+
All PHCScriptCDN views and layouts can be overwritten by copying files to your application.
|
32
|
+
|
33
|
+
rails generate phcscriptcdnpro:views
|
34
|
+
|
35
|
+
#### Additional Information
|
@@ -67,7 +67,7 @@ module Phcscriptcdnpro
|
|
67
67
|
|
68
68
|
# Whitelist
|
69
69
|
def script_author_params
|
70
|
-
params.require(:script_author).permit(:authorfirstname, :authorlastname, :authorwebsite, :authorgithub, :authortwitter, :
|
70
|
+
params.require(:script_author).permit(:authorfirstname, :authorlastname, :authorwebsite, :authorgithub, :authortwitter, :user_id, :user_name, :membership_id, :oganization_id)
|
71
71
|
end
|
72
72
|
|
73
73
|
end
|
@@ -67,7 +67,7 @@ module Phcscriptcdnpro
|
|
67
67
|
|
68
68
|
# Whitelists
|
69
69
|
def script_extension_params
|
70
|
-
params.require(:script_extension).permit(:scriptextensionname, :scriptextensiondes, :scriptextension)
|
70
|
+
params.require(:script_extension).permit(:scriptextensionname, :scriptextensiondes, :scriptextension, user_id, user_name, membership_id, oganization_id)
|
71
71
|
end
|
72
72
|
|
73
73
|
end
|
@@ -67,7 +67,7 @@ module Phcscriptcdnpro
|
|
67
67
|
|
68
68
|
# Whitelists
|
69
69
|
def script_licence_params
|
70
|
-
params.require(:script_licence).permit(:lcncname, :lcncdescription, :lcncdescript, :lcnccomgpl, :lcncarvlfsf, :lcncarvlosi, :lcncarvlcopyfree, :lcncarvldebian, :lcncarvlfedora)
|
70
|
+
params.require(:script_licence).permit(:lcncname, :lcncdescription, :lcncdescript, :lcnccomgpl, :lcncarvlfsf, :lcncarvlosi, :lcncarvlcopyfree, :lcncarvldebian, :lcncarvlfedora, :user_id, :user_name, :membership_id, :oganization_id)
|
71
71
|
end
|
72
72
|
|
73
73
|
end
|
@@ -67,7 +67,7 @@ module Phcscriptcdnpro
|
|
67
67
|
|
68
68
|
# Whitelist
|
69
69
|
def script_listing_params
|
70
|
-
params.require(:script_listing).permit(:scripttitle, :scriptdescription, :descriptionsource, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptinitialrelease, :scriptlastestrelease, :scriptbetarelease, :scriptstatus, :version_id, :author_id, :licence_id)
|
70
|
+
params.require(:script_listing).permit(:scripttitle, :scriptdescription, :descriptionsource, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptinitialrelease, :scriptlastestrelease, :scriptbetarelease, :scriptstatus, :user_id, :user_name, :membership_id, :oganization_id, :version_id, :author_id, :licence_id)
|
71
71
|
end
|
72
72
|
|
73
73
|
end
|
@@ -76,7 +76,7 @@ module Phcscriptcdnpro
|
|
76
76
|
|
77
77
|
# Whitelists
|
78
78
|
def script_url_params
|
79
|
-
params.require(:script_url).permit(:scripturl, :scripturlrelease, :scripturlcdnupdate, :listing_id, :version_id, :extension_id)
|
79
|
+
params.require(:script_url).permit(:scripturl, :scripturlrelease, :scripturlcdnupdate, :user_id, :user_name, :membership_id, :oganization_id, :listing_id, :version_id, :extension_id)
|
80
80
|
end
|
81
81
|
|
82
82
|
end
|
@@ -67,7 +67,7 @@ module Phcscriptcdnpro
|
|
67
67
|
|
68
68
|
# Only allow a trusted parameter "white list" through.
|
69
69
|
def script_version_params
|
70
|
-
params.require(:script_version).permit(:scriptversion)
|
70
|
+
params.require(:script_version).permit(:scriptversion, :user_id, :user_name, :membership_id, :oganization_id)
|
71
71
|
end
|
72
72
|
|
73
73
|
end
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Author Index", phcscriptcdnpro.script_authors_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Author Index Button -->
|
17
25
|
<div class="title-action">
|
18
26
|
<%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Author Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Author Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -27,6 +37,8 @@
|
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
38
|
<div class="row">
|
29
39
|
<div class="col-lg-12">
|
40
|
+
|
41
|
+
<!-- Content Box -->
|
30
42
|
<div class="ibox float-e-margins">
|
31
43
|
<div class="ibox-title">
|
32
44
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -40,10 +52,14 @@
|
|
40
52
|
</div>
|
41
53
|
</div>
|
42
54
|
<div class="ibox-content">
|
55
|
+
|
43
56
|
<!-- Form Requries URL to Function Properly -->
|
44
57
|
<%= render 'form', script_author: @script_author %>
|
58
|
+
|
45
59
|
</div>
|
46
60
|
</div>
|
61
|
+
<!-- Content Box -->
|
62
|
+
|
47
63
|
</div>
|
48
64
|
</div>
|
49
65
|
</div>
|
@@ -6,18 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
16
|
+
<li><%= link_to "Author Index", phcscriptcdnpro.script_authors_path %></li>
|
12
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
13
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
14
21
|
</div>
|
15
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Author Index Button -->
|
16
25
|
<div class="title-action">
|
17
26
|
<%= link_to phcscriptcdnpro.new_script_author_path, class: "btn btn-primary" do %>
|
18
27
|
<i class="fa fa-plus"></i> Add a New Author
|
19
28
|
<% end %>
|
20
29
|
</div>
|
30
|
+
<!-- Back to Author Index Button -->
|
31
|
+
|
21
32
|
</div>
|
22
33
|
</div>
|
23
34
|
<!-- Page Header -->
|
@@ -27,6 +38,7 @@
|
|
27
38
|
<div class="row">
|
28
39
|
<div class="col-lg-12">
|
29
40
|
|
41
|
+
<!-- Content Box -->
|
30
42
|
<div class="ibox float-e-margins">
|
31
43
|
<div class="ibox-title">
|
32
44
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -42,6 +54,7 @@
|
|
42
54
|
<div class="ibox-content">
|
43
55
|
<div class="table-responsive">
|
44
56
|
|
57
|
+
<!-- Index Tables -->
|
45
58
|
<table class="table table-striped table-bordered table-hover dataTables-example">
|
46
59
|
<thead>
|
47
60
|
<tr>
|
@@ -64,10 +77,12 @@
|
|
64
77
|
<% end %>
|
65
78
|
</tbody>
|
66
79
|
</table>
|
80
|
+
<!-- Index Tables -->
|
67
81
|
|
68
82
|
</div>
|
69
83
|
</div>
|
70
84
|
</div>
|
85
|
+
<!-- Content Box -->
|
71
86
|
|
72
87
|
</div>
|
73
88
|
</div>
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Author Index", phcscriptcdnpro.script_authors_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Author Index Button -->
|
17
25
|
<div class="title-action">
|
18
26
|
<%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Author Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Author Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -27,6 +37,8 @@
|
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
38
|
<div class="row">
|
29
39
|
<div class="col-lg-12">
|
40
|
+
|
41
|
+
<!-- Content Box -->
|
30
42
|
<div class="ibox float-e-margins">
|
31
43
|
<div class="ibox-title">
|
32
44
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -40,10 +52,14 @@
|
|
40
52
|
</div>
|
41
53
|
</div>
|
42
54
|
<div class="ibox-content">
|
55
|
+
|
43
56
|
<!-- Form Requries URL to Function Properly -->
|
44
57
|
<%= render 'form', script_author: @script_author %>
|
58
|
+
|
45
59
|
</div>
|
46
60
|
</div>
|
61
|
+
<!-- Content Box -->
|
62
|
+
|
47
63
|
</div>
|
48
64
|
</div>
|
49
65
|
</div>
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Author Index", phcscriptcdnpro.script_authors_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Author Index Button -->
|
17
25
|
<div class="title-action">
|
18
26
|
<%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Author Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Author Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -40,12 +50,16 @@
|
|
40
50
|
</div>
|
41
51
|
</div>
|
42
52
|
<div class="ibox-content">
|
53
|
+
|
43
54
|
<div class="btn-group" role="group" aria-label="author_button_group">
|
44
55
|
<%= link_to 'Edit', edit_script_author_path, class: "btn btn-primary" %>
|
45
56
|
<%= link_to 'Destroy', script_author_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
|
46
57
|
</div>
|
58
|
+
|
47
59
|
</div>
|
48
60
|
</div>
|
61
|
+
<!-- Content Box -->
|
62
|
+
|
49
63
|
</div>
|
50
64
|
</div>
|
51
65
|
</div>
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Script Extension Index",
|
16
|
+
<li><%= link_to "Script Extension Index", phcscriptcdn.script_extensions_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Extensions Index Button -->
|
17
25
|
<div class="title-action">
|
18
|
-
<%= link_to
|
26
|
+
<%= link_to phcscriptcdn.script_extensions_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Script Extension Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Extensions Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -27,6 +37,8 @@
|
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
38
|
<div class="row">
|
29
39
|
<div class="col-lg-12">
|
40
|
+
|
41
|
+
<!-- Content Box -->
|
30
42
|
<div class="ibox float-e-margins">
|
31
43
|
<div class="ibox-title">
|
32
44
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -40,10 +52,14 @@
|
|
40
52
|
</div>
|
41
53
|
</div>
|
42
54
|
<div class="ibox-content">
|
55
|
+
|
43
56
|
<!-- Form Requries URL to Function Properly -->
|
44
57
|
<%= render 'form', script_extension: @script_extension %>
|
58
|
+
|
45
59
|
</div>
|
46
60
|
</div>
|
61
|
+
<!-- Content Box -->
|
62
|
+
|
47
63
|
</div>
|
48
64
|
</div>
|
49
65
|
</div>
|
@@ -6,18 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
16
|
+
<li><%= link_to "Script Extension Index", phcscriptcdn.script_extensions_path %></li>
|
12
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
13
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
14
21
|
</div>
|
15
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- New Extensions Button -->
|
16
25
|
<div class="title-action">
|
17
26
|
<%= link_to phcscriptcdnpro.new_script_extension_path, class: "btn btn-primary" do %>
|
18
27
|
<i class="fa fa-plus"></i> Add a New Script Extension
|
19
28
|
<% end %>
|
20
29
|
</div>
|
30
|
+
<!-- New Extensions Button -->
|
31
|
+
|
21
32
|
</div>
|
22
33
|
</div>
|
23
34
|
<!-- Page Header -->
|
@@ -27,6 +38,7 @@
|
|
27
38
|
<div class="row">
|
28
39
|
<div class="col-lg-12">
|
29
40
|
|
41
|
+
<!-- Content Box -->
|
30
42
|
<div class="ibox float-e-margins">
|
31
43
|
<div class="ibox-title">
|
32
44
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -62,6 +74,7 @@
|
|
62
74
|
|
63
75
|
</div>
|
64
76
|
</div>
|
77
|
+
<!-- Content Box -->
|
65
78
|
|
66
79
|
</div>
|
67
80
|
</div>
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Script Extension Index",
|
16
|
+
<li><%= link_to "Script Extension Index", phcscriptcdn.script_extensions_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Extensions Index Button -->
|
17
25
|
<div class="title-action">
|
18
|
-
<%= link_to
|
26
|
+
<%= link_to phcscriptcdn.script_extensions_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Script Extension Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Extensions Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -27,6 +37,8 @@
|
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
38
|
<div class="row">
|
29
39
|
<div class="col-lg-12">
|
40
|
+
|
41
|
+
<!-- Content Box -->
|
30
42
|
<div class="ibox float-e-margins">
|
31
43
|
<div class="ibox-title">
|
32
44
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -40,10 +52,14 @@
|
|
40
52
|
</div>
|
41
53
|
</div>
|
42
54
|
<div class="ibox-content">
|
55
|
+
|
43
56
|
<!-- Form Requries URL to Function Properly -->
|
44
57
|
<%= render 'form', script_extension: @script_extension %>
|
58
|
+
|
45
59
|
</div>
|
46
60
|
</div>
|
61
|
+
<!-- Content Box -->
|
62
|
+
|
47
63
|
</div>
|
48
64
|
</div>
|
49
65
|
</div>
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Script Extension Index",
|
16
|
+
<li><%= link_to "Script Extension Index", phcscriptcdn.script_extensions_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Extensions Index Button -->
|
17
25
|
<div class="title-action">
|
18
|
-
<%= link_to
|
26
|
+
<%= link_to phcscriptcdn.script_extensions_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Script Extension Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Extensions Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -27,6 +37,8 @@
|
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
38
|
<div class="row">
|
29
39
|
<div class="col-lg-12">
|
40
|
+
|
41
|
+
<!-- Content Box -->
|
30
42
|
<div class="ibox float-e-margins">
|
31
43
|
<div class="ibox-title">
|
32
44
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -40,12 +52,16 @@
|
|
40
52
|
</div>
|
41
53
|
</div>
|
42
54
|
<div class="ibox-content">
|
55
|
+
|
43
56
|
<div class="btn-group" role="group" aria-label="extension_button_group">
|
44
57
|
<%= link_to 'Edit', edit_script_extension_path, class: "btn btn-primary" %>
|
45
58
|
<%= link_to 'Destroy', script_extension_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
|
46
59
|
</div>
|
60
|
+
|
47
61
|
</div>
|
48
62
|
</div>
|
63
|
+
<!-- Content Box -->
|
64
|
+
|
49
65
|
</div>
|
50
66
|
</div>
|
51
67
|
</div>
|
@@ -12,28 +12,29 @@
|
|
12
12
|
</div>
|
13
13
|
<div class="form-group field_with_error">
|
14
14
|
<%= f.label :lcnccomgpl, "GPL(v3) Compatible" %>
|
15
|
-
<%= f.select( :lcnccomgpl, [['No','No'],['Yes','Yes']], {}, {class: "form-control
|
15
|
+
<%= f.select( :lcnccomgpl, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
16
16
|
</div>
|
17
17
|
<div class="form-group field_with_error">
|
18
18
|
<%= f.label :lcncarvlfsf, "FSF Approval" %>
|
19
|
-
<%= f.select( :lcncarvlfsf, [['No','No'],['Yes','Yes']], {}, {class: "form-control
|
19
|
+
<%= f.select( :lcncarvlfsf, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
20
20
|
</div>
|
21
21
|
<div class="form-group field_with_error">
|
22
22
|
<%= f.label :lcncarvlosi, "OSI Approval" %>
|
23
|
-
<%= f.select( :lcncarvlosi, [['No','No'],['Yes','Yes']], {}, {class: "form-control
|
23
|
+
<%= f.select( :lcncarvlosi, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
24
24
|
</div>
|
25
25
|
<div class="form-group field_with_error">
|
26
26
|
<%= f.label :lcncarvlcopyfree, "Copyfree Approval" %>
|
27
|
-
<%= f.select( :lcncarvlcopyfree, [['No','No'],['Yes','Yes']], {}, {class: "form-control
|
27
|
+
<%= f.select( :lcncarvlcopyfree, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
28
28
|
</div>
|
29
29
|
<div class="form-group field_with_error">
|
30
30
|
<%= f.label :lcncarvldebian, "Debian Approval" %>
|
31
|
-
<%= f.select( :lcncarvldebian, [['No','No'],['Yes','Yes']], {}, {class: "form-control
|
31
|
+
<%= f.select( :lcncarvldebian, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
32
32
|
</div>
|
33
33
|
<div class="form-group field_with_error">
|
34
34
|
<%= f.label :lcncarvlfedora, "Fedora Approval" %>
|
35
|
-
<%= f.select( :lcncarvlfedora, [['No','No'],['Yes','Yes']], {}, {class: "form-control
|
35
|
+
<%= f.select( :lcncarvlfedora, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
36
36
|
</div>
|
37
|
+
|
37
38
|
<div class="actions">
|
38
39
|
<%= f.submit class: "btn btn-primary" %>
|
39
40
|
</div>
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Script Licence Index", phcscriptcdnpro.script_licences_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Extensions Index Button -->
|
17
25
|
<div class="title-action">
|
18
26
|
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Script Licence Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Extensions Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -27,6 +37,8 @@
|
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
38
|
<div class="row">
|
29
39
|
<div class="col-lg-12">
|
40
|
+
|
41
|
+
<!-- Content Box -->
|
30
42
|
<div class="ibox float-e-margins">
|
31
43
|
<div class="ibox-title">
|
32
44
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -40,10 +52,14 @@
|
|
40
52
|
</div>
|
41
53
|
</div>
|
42
54
|
<div class="ibox-content">
|
55
|
+
|
43
56
|
<!-- Form Requries URL to Function Properly -->
|
44
57
|
<%= render 'form', script_licence: @script_licence %>
|
58
|
+
|
45
59
|
</div>
|
46
60
|
</div>
|
61
|
+
<!-- Content Box -->
|
62
|
+
|
47
63
|
</div>
|
48
64
|
</div>
|
49
65
|
</div>
|
@@ -6,18 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
16
|
+
<li><%= link_to "Script Licence Index", phcscriptcdnpro.script_licences_path %></li>
|
12
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
13
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
14
21
|
</div>
|
15
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Extensions Index Button -->
|
16
25
|
<div class="title-action">
|
17
|
-
<%= link_to phcscriptcdnpro.
|
18
|
-
<i class="fa fa-plus"></i>
|
26
|
+
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
27
|
+
<i class="fa fa-plus"></i> Back to Script Licence Index
|
19
28
|
<% end %>
|
20
29
|
</div>
|
30
|
+
<!-- Back to Extensions Index Button -->
|
31
|
+
|
21
32
|
</div>
|
22
33
|
</div>
|
23
34
|
<!-- Page Header -->
|
@@ -27,6 +38,7 @@
|
|
27
38
|
<div class="row">
|
28
39
|
<div class="col-lg-12">
|
29
40
|
|
41
|
+
<!-- Content Box -->
|
30
42
|
<div class="ibox float-e-margins">
|
31
43
|
<div class="ibox-title">
|
32
44
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -68,13 +80,13 @@
|
|
68
80
|
<% end %>
|
69
81
|
</tbody>
|
70
82
|
</table>
|
71
|
-
|
72
83
|
</div>
|
73
|
-
</div>
|
74
84
|
|
85
|
+
</div>
|
75
86
|
</div>
|
87
|
+
<!-- Content Box -->
|
88
|
+
|
76
89
|
</div>
|
77
90
|
</div>
|
78
|
-
|
79
91
|
</div>
|
80
92
|
<!-- Page Content -->
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Script Licence Index", phcscriptcdnpro.script_licences_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Extensions Index Button -->
|
17
25
|
<div class="title-action">
|
18
26
|
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Script Licence Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Extensions Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -27,6 +37,8 @@
|
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
38
|
<div class="row">
|
29
39
|
<div class="col-lg-12">
|
40
|
+
|
41
|
+
<!-- Content Box -->
|
30
42
|
<div class="ibox float-e-margins">
|
31
43
|
<div class="ibox-title">
|
32
44
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -40,10 +52,14 @@
|
|
40
52
|
</div>
|
41
53
|
</div>
|
42
54
|
<div class="ibox-content">
|
55
|
+
|
43
56
|
<!-- Form Requries URL to Function Properly -->
|
44
57
|
<%= render 'form', script_licence: @script_licence %>
|
58
|
+
|
45
59
|
</div>
|
46
60
|
</div>
|
61
|
+
<!-- Content Box -->
|
62
|
+
|
47
63
|
</div>
|
48
64
|
</div>
|
49
65
|
</div>
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
10
|
-
<!--
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
14
|
+
<!-- Bread Crumbs -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Script Licence Index", phcscriptcdnpro.script_licences_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumbs -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Extensions Index Button -->
|
17
25
|
<div class="title-action">
|
18
26
|
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Script Licence Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Extensions Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -27,6 +37,8 @@
|
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
38
|
<div class="row">
|
29
39
|
<div class="col-lg-12">
|
40
|
+
|
41
|
+
<!-- Content Box -->
|
30
42
|
<div class="ibox float-e-margins">
|
31
43
|
<div class="ibox-title">
|
32
44
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -40,12 +52,16 @@
|
|
40
52
|
</div>
|
41
53
|
</div>
|
42
54
|
<div class="ibox-content">
|
55
|
+
|
43
56
|
<div class="btn-group" role="group" aria-label="licence_button_group">
|
44
57
|
<%= link_to 'Edit', edit_script_licence_path, class: "btn btn-primary" %>
|
45
58
|
<%= link_to 'Destroy', script_licence_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
|
46
59
|
</div>
|
60
|
+
|
47
61
|
</div>
|
48
62
|
</div>
|
63
|
+
<!-- Content Box -->
|
64
|
+
|
49
65
|
</div>
|
50
66
|
</div>
|
51
67
|
</div>
|
@@ -22,6 +22,7 @@
|
|
22
22
|
<label>Script Extensions</label>
|
23
23
|
<%= collection_select(:script_url, :extension_id, Phcscriptcdnpro::Script::Extension.order('scriptextensionname'), :id, :scriptextension, {}, {class: "form-control"}) %>
|
24
24
|
</div>
|
25
|
+
|
25
26
|
<div class="actions">
|
26
27
|
<%= f.submit class: "btn btn-primary" %>
|
27
28
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdnpro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.8.
|
4
|
+
version: 5.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|