phcscriptcdnpro 4.5.9 → 4.5.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +45 -34
- data/app/views/phcscriptcdnpro/script/authors/index.html.erb +62 -55
- data/app/views/phcscriptcdnpro/script/authors/new.html.erb +46 -35
- data/app/views/phcscriptcdnpro/script/authors/show.html.erb +46 -37
- data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +1 -1
- data/config/routes.rb +1 -1
- data/db/migrate/20160821183714_create_phcscriptcdnpro_script_authors.rb +0 -2
- 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: bb62d41b1bf3261b9e1a2fb06a7a20246a79f15a
|
4
|
+
data.tar.gz: c593d703d23f5cf1611d62e48f47c73fcfe3b471
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34fc07ff05563a9ff3a66afadfd538eecd7698eec487ae6e613ee68d806bf2a33da1bdcfb6fbcc1e9df055389128e830d17189edbff85e44ee94cacef9404508
|
7
|
+
data.tar.gz: a35350fbfb26d40bf862106621f258d53f555a9d85e2b12a4467dcfd20e40aea9825e89ce24db225000b94eabb3fa3b1e821e7455331a3466d93f2d1943da4dc
|
@@ -1,48 +1,59 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listing Manager" %>
|
3
3
|
<% phc_title_tagline "Update Script Author" %>
|
4
|
+
<!-- Title System -->
|
4
5
|
|
5
|
-
<!--
|
6
|
-
<div class="page-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<
|
11
|
-
|
12
|
-
|
13
|
-
|
6
|
+
<!-- Page Header -->
|
7
|
+
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
+
<div class="col-sm-4">
|
9
|
+
<h2><%= yield(:phc_title) %></h2>
|
10
|
+
<!-- Bread Crumb -->
|
11
|
+
<ol class="breadcrumb">
|
12
|
+
<li><%= link_to "Script Versions", phcscriptcdnpro.script_authors_path %></li>
|
13
|
+
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
|
+
</ol>
|
15
|
+
</div>
|
16
|
+
<div class="col-sm-8">
|
17
|
+
<div class="title-action">
|
18
|
+
<%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
|
19
|
+
<i class="fa fa-plus"></i> Back to Script Version Index
|
20
|
+
<% end %>
|
21
|
+
</div>
|
22
|
+
</div>
|
14
23
|
</div>
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
<div class="
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
24
|
+
<!-- Page Header -->
|
25
|
+
|
26
|
+
<!-- Page Content -->
|
27
|
+
<div class="wrapper wrapper-content animated fadeInRight">
|
28
|
+
|
29
|
+
<div class="row">
|
30
|
+
<div class="col-lg-12">
|
31
|
+
|
32
|
+
<div class="ibox float-e-margins">
|
33
|
+
|
34
|
+
<div class="ibox-title">
|
35
|
+
<h5><%= yield(:phc_title_tagline) %></h5>
|
36
|
+
<div class="ibox-tools">
|
37
|
+
<a class="collapse-link">
|
38
|
+
<i class="fa fa-chevron-up"></i>
|
39
|
+
</a>
|
40
|
+
<a class="close-link">
|
41
|
+
<i class="fa fa-times"></i>
|
42
|
+
</a>
|
43
|
+
</div>
|
34
44
|
</div>
|
35
45
|
|
36
|
-
|
46
|
+
<div class="ibox-content">
|
37
47
|
|
38
|
-
|
48
|
+
<!-- Form Requries URL to Function Properly -->
|
49
|
+
<%= render 'form', { form_url: script_listing_author_path } %>
|
39
50
|
|
40
|
-
|
41
|
-
<%= render 'form', { form_url: script_listing_author_path } %>
|
51
|
+
</div>
|
42
52
|
|
43
53
|
</div>
|
44
54
|
|
45
55
|
</div>
|
46
|
-
|
47
56
|
</div>
|
57
|
+
|
48
58
|
</div>
|
59
|
+
<!-- Page Content -->
|
@@ -1,73 +1,80 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listing Manager" %>
|
3
3
|
<% phc_title_tagline "Script Author Index" %>
|
4
|
+
<!-- Title System -->
|
4
5
|
|
5
|
-
<!--
|
6
|
-
<div class="page-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<
|
11
|
-
|
12
|
-
|
6
|
+
<!-- Page Header -->
|
7
|
+
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
+
<div class="col-sm-4">
|
9
|
+
<h2><%= yield(:phc_title) %></h2>
|
10
|
+
<!-- Bread Crumb -->
|
11
|
+
<ol class="breadcrumb">
|
12
|
+
<li><%= link_to "Script Listing Index", phcscriptcdnpro.script_listings_path %></li>
|
13
|
+
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
|
+
</ol>
|
15
|
+
</div>
|
16
|
+
<div class="col-sm-8">
|
17
|
+
<div class="title-action">
|
18
|
+
<%= link_to phcscriptcdnpro.new_script_version_path, class: "btn btn-primary" do %>
|
19
|
+
<i class="fa fa-plus"></i> Create a New Script Version
|
20
|
+
<% end %>
|
21
|
+
</div>
|
22
|
+
</div>
|
13
23
|
</div>
|
24
|
+
<!-- Page Header -->
|
14
25
|
|
15
|
-
<!-- Page
|
16
|
-
<
|
17
|
-
<%= yield(:phc_title) %> </br>
|
18
|
-
<small><%= yield(:phc_title_tagline) %></small>
|
19
|
-
</h3>
|
20
|
-
|
21
|
-
<!-- Main Content -->
|
22
|
-
<div class="row">
|
23
|
-
<div class="col-lg-12">
|
26
|
+
<!-- Page Content -->
|
27
|
+
<div class="wrapper wrapper-content animated fadeInRight">
|
24
28
|
|
25
|
-
|
29
|
+
<div class="row">
|
30
|
+
<div class="col-lg-12">
|
26
31
|
|
27
|
-
<div class="
|
32
|
+
<div class="ibox float-e-margins">
|
28
33
|
|
29
|
-
<div class="
|
30
|
-
<
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
34
|
+
<div class="ibox-title">
|
35
|
+
<h5><%= yield(:phc_title_tagline) %></h5>
|
36
|
+
<div class="ibox-tools">
|
37
|
+
<a class="collapse-link">
|
38
|
+
<i class="fa fa-chevron-up"></i>
|
39
|
+
</a>
|
40
|
+
<a class="close-link">
|
41
|
+
<i class="fa fa-times"></i>
|
42
|
+
</a>
|
43
|
+
</div>
|
36
44
|
</div>
|
37
45
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
<table class="table table-striped table-bordered table-hover table-header-fixed">
|
44
|
-
<thead>
|
45
|
-
<tr>
|
46
|
-
<th>Author Firstname</th>
|
47
|
-
<th>Author Lastname</th>
|
48
|
-
<th>Author Website</th>
|
49
|
-
<th>Author Github</th>
|
50
|
-
<th>Author Twitter</th>
|
51
|
-
</tr>
|
52
|
-
</thead>
|
53
|
-
|
54
|
-
<tbody>
|
55
|
-
<% @script_authors.each do |script_author| %>
|
46
|
+
<div class="ibox-content">
|
47
|
+
<div class="table-responsive">
|
48
|
+
<table class="table table-striped table-bordered table-hover dataTables-example">
|
49
|
+
<thead>
|
56
50
|
<tr>
|
57
|
-
<
|
58
|
-
<
|
59
|
-
<
|
60
|
-
<
|
61
|
-
<
|
51
|
+
<th>Author Firstname</th>
|
52
|
+
<th>Author Lastname</th>
|
53
|
+
<th>Author Website</th>
|
54
|
+
<th>Author Github</th>
|
55
|
+
<th>Author Twitter</th>
|
62
56
|
</tr>
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
57
|
+
</thead>
|
58
|
+
|
59
|
+
<tbody>
|
60
|
+
<% @script_authors.each do |script_author| %>
|
61
|
+
<tr>
|
62
|
+
<td><%= link_to script_author.authorfirstname, script_author %></td>
|
63
|
+
<td><%= link_to script_author.authorlastname, script_author %></td>
|
64
|
+
<td><%= link_to script_author.authorwebsite, script_author %></td>
|
65
|
+
<td><%= link_to script_author.authorgithub, script_author %></td>
|
66
|
+
<td><%= link_to script_author.authortwitter, script_author %></td>
|
67
|
+
</tr>
|
68
|
+
<% end %>
|
69
|
+
</tbody>
|
70
|
+
</table>
|
71
|
+
</div>
|
67
72
|
</div>
|
73
|
+
|
68
74
|
</div>
|
69
75
|
|
70
76
|
</div>
|
71
|
-
|
72
77
|
</div>
|
78
|
+
|
73
79
|
</div>
|
80
|
+
<!-- Page Content -->
|
@@ -1,48 +1,59 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
3
|
-
<% phc_title_tagline "Create a New Script
|
4
|
-
|
5
|
-
<!-- Bread Crumb -->
|
6
|
-
<div class="page-bar">
|
7
|
-
|
8
|
-
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script Listings Index", script_listings_path %> <i class="fa fa-circle"></li>
|
10
|
-
<li><%= link_to "Author Index", script_listing_authors_path %> <i class="fa fa-circle"></li>
|
11
|
-
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
12
|
-
</ul>
|
2
|
+
<% phc_title "Script Listing Manager" %>
|
3
|
+
<% phc_title_tagline "Create a New Version for Script Listings" %>
|
4
|
+
<!-- Title System -->
|
13
5
|
|
6
|
+
<!-- Page Header -->
|
7
|
+
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
+
<div class="col-sm-4">
|
9
|
+
<h2><%= yield(:phc_title) %></h2>
|
10
|
+
<!-- Bread Crumb -->
|
11
|
+
<ol class="breadcrumb">
|
12
|
+
<li><%= link_to "Script Authors", phcscriptcdnpro.script_authors_path %></li>
|
13
|
+
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
|
+
</ol>
|
15
|
+
</div>
|
16
|
+
<div class="col-sm-8">
|
17
|
+
<div class="title-action">
|
18
|
+
<%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
|
19
|
+
<i class="fa fa-plus"></i> Back to Script Author Index
|
20
|
+
<% end %>
|
21
|
+
</div>
|
22
|
+
</div>
|
14
23
|
</div>
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
<div class="
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
24
|
+
<!-- Page Header -->
|
25
|
+
|
26
|
+
<!-- Page Content -->
|
27
|
+
<div class="wrapper wrapper-content animated fadeInRight">
|
28
|
+
|
29
|
+
<div class="row">
|
30
|
+
<div class="col-lg-12">
|
31
|
+
|
32
|
+
<div class="ibox float-e-margins">
|
33
|
+
|
34
|
+
<div class="ibox-title">
|
35
|
+
<h5><%= yield(:phc_title_tagline) %></h5>
|
36
|
+
<div class="ibox-tools">
|
37
|
+
<a class="collapse-link">
|
38
|
+
<i class="fa fa-chevron-up"></i>
|
39
|
+
</a>
|
40
|
+
<a class="close-link">
|
41
|
+
<i class="fa fa-times"></i>
|
42
|
+
</a>
|
43
|
+
</div>
|
34
44
|
</div>
|
35
45
|
|
36
|
-
|
37
|
-
|
38
|
-
<div class="portlet-body">
|
46
|
+
<div class="ibox-content">
|
39
47
|
|
40
48
|
<!-- Form Requries URL to Function Properly -->
|
41
|
-
<%= render 'form', { form_url:
|
49
|
+
<%= render 'form', { form_url: script_listing_author_path } %>
|
50
|
+
|
51
|
+
</div>
|
42
52
|
|
43
53
|
</div>
|
44
54
|
|
45
55
|
</div>
|
46
|
-
|
47
56
|
</div>
|
57
|
+
|
48
58
|
</div>
|
59
|
+
<!-- Page Content -->
|
@@ -1,50 +1,59 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
2
|
+
<% phc_title "Script Listing Manager" %>
|
3
3
|
<% phc_title_tagline "Script Author Profile" %>
|
4
|
+
<!-- Title System -->
|
4
5
|
|
5
|
-
<!--
|
6
|
-
<div class="page-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<
|
11
|
-
|
12
|
-
|
13
|
-
|
6
|
+
<!-- Page Header -->
|
7
|
+
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
+
<div class="col-sm-4">
|
9
|
+
<h2><%= yield(:phc_title) %></h2>
|
10
|
+
<!-- Bread Crumb -->
|
11
|
+
<ol class="breadcrumb">
|
12
|
+
<li><%= link_to "Script Authors", phcscriptcdnpro.script_authors_path %></li>
|
13
|
+
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
|
+
</ol>
|
15
|
+
</div>
|
16
|
+
<div class="col-sm-8">
|
17
|
+
<div class="title-action">
|
18
|
+
<%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
|
19
|
+
<i class="fa fa-plus"></i> Back to Script Author Index
|
20
|
+
<% end %>
|
21
|
+
</div>
|
22
|
+
</div>
|
14
23
|
</div>
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
<div class="
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
24
|
+
<!-- Page Header -->
|
25
|
+
|
26
|
+
<!-- Page Content -->
|
27
|
+
<div class="wrapper wrapper-content animated fadeInRight">
|
28
|
+
|
29
|
+
<div class="row">
|
30
|
+
<div class="col-lg-12">
|
31
|
+
|
32
|
+
<div class="ibox float-e-margins">
|
33
|
+
|
34
|
+
<div class="ibox-title">
|
35
|
+
<h5><%= yield(:phc_title_tagline) %></h5>
|
36
|
+
<div class="ibox-tools">
|
37
|
+
<a class="collapse-link">
|
38
|
+
<i class="fa fa-chevron-up"></i>
|
39
|
+
</a>
|
40
|
+
<a class="close-link">
|
41
|
+
<i class="fa fa-times"></i>
|
42
|
+
</a>
|
43
|
+
</div>
|
32
44
|
</div>
|
33
|
-
<div class="actions">
|
34
|
-
</div>
|
35
|
-
|
36
|
-
</div>
|
37
|
-
|
38
|
-
<div class="portlet-body">
|
39
45
|
|
40
|
-
<div class="
|
41
|
-
|
42
|
-
|
46
|
+
<div class="ibox-content">
|
47
|
+
<div class="btn-group" role="group" aria-label="author_button_group">
|
48
|
+
<%= link_to 'Edit', edit_script_listing_author_path, class: "btn btn-primary" %>
|
49
|
+
<%= link_to 'Destroy', script_listing_author_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
|
50
|
+
</div>
|
43
51
|
</div>
|
44
52
|
|
45
53
|
</div>
|
46
54
|
|
47
55
|
</div>
|
48
|
-
|
49
56
|
</div>
|
57
|
+
|
50
58
|
</div>
|
59
|
+
<!-- Page Content -->
|
@@ -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>
|
data/config/routes.rb
CHANGED
@@ -13,8 +13,8 @@ Phcscriptcdnpro::Engine.routes.draw do
|
|
13
13
|
# Main Script Module
|
14
14
|
resources :listings, class_name: 'Phcscriptcdnpro::Script::Listing' do
|
15
15
|
resources :urls, class_name: 'Phcscriptcdnpro::Script::Url'
|
16
|
-
resources :authors, class_name: 'Phcscriptcdnpro::Script::Author'
|
17
16
|
end
|
17
|
+
resources :authors, class_name: 'Phcscriptcdnpro::Script::Author'
|
18
18
|
resources :extensions, class_name: 'Phcscriptcdnpro::Script::Extension'
|
19
19
|
resources :versions, class_name: 'Phcscriptcdnpro::Script::Version'
|
20
20
|
resources :licences, class_name: 'Phcscriptcdnpro::Script::Licence'
|