phcscriptcdnpro 1.4.4 → 1.5.0
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/scriptcdn/authors/edit.html.erb +3 -3
- data/app/views/phcscriptcdnpro/scriptcdn/authors/index.html.erb +6 -6
- data/app/views/phcscriptcdnpro/scriptcdn/authors/new.html.erb +3 -3
- data/app/views/phcscriptcdnpro/scriptcdn/mains/edit.html.erb +2 -2
- data/app/views/phcscriptcdnpro/scriptcdn/mains/index.html.erb +5 -5
- data/app/views/phcscriptcdnpro/scriptcdn/mains/new.html.erb +3 -3
- data/app/views/phcscriptcdnpro/scriptcdn/urls/edit.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb +2 -5
- data/app/views/phcscriptcdnpro/scriptcdn/urls/new.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/versions/edit.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb +2 -2
- data/config/routes.rb +3 -12
- 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: 5c95ace6564e94ac3ba00186624a727e7a957a7f
|
4
|
+
data.tar.gz: dd3e37fed014f7416e81f487e65a2ea367d6bdcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c0e43c4765acc9107d382a3a396cd988e96b94665ca21c5c1b4cfa42eb531a7ed32e8b90a62a7b1a9474adf0a2ae30156b3cfa48c01a076f7c827416a9ad170
|
7
|
+
data.tar.gz: 35dce55638240062d0452e7752ae2431b7b3969499e56ffebb3b052bfc1bf17bb1bb9edeaeb8a63671d1bde0bf46427047b12ba1bf283a4770fd87e9ecb451b3
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "
|
3
|
-
<% phc_title_tagline "
|
2
|
+
<% phc_title "Script - Author" %>
|
3
|
+
<% phc_title_tagline "Update Author Information" %>
|
4
4
|
|
5
5
|
<!-- Bread Crumb -->
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script Author",
|
9
|
+
<li><%= link_to "Script Author", scriptcdn_mains_author_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script
|
3
|
-
<% phc_title_tagline "New Script
|
2
|
+
<% phc_title "Script - Author" %>
|
3
|
+
<% phc_title_tagline "New Script Author" %>
|
4
4
|
|
5
5
|
<!-- Bread Crumb -->
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script Versions",
|
9
|
+
<li><%= link_to "Script Versions", scriptcdn_main_aauthors_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -23,8 +23,8 @@
|
|
23
23
|
<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
|
24
24
|
</div>
|
25
25
|
<div class="actions">
|
26
|
-
<%= link_to
|
27
|
-
<i class="fa fa-plus"></i> Add a New Script
|
26
|
+
<%= link_to new_scriptcdn_main_author_path, class: "btn blue-chambray" do %>
|
27
|
+
<i class="fa fa-plus"></i> Add a New Script Author
|
28
28
|
<% end %>
|
29
29
|
</div>
|
30
30
|
</div>
|
@@ -54,4 +54,4 @@
|
|
54
54
|
</div>
|
55
55
|
|
56
56
|
</div>
|
57
|
-
</div>
|
57
|
+
</div>
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "
|
3
|
-
<% phc_title_tagline "
|
2
|
+
<% phc_title "Script - Author" %>
|
3
|
+
<% phc_title_tagline "Add a Script Author" %>
|
4
4
|
|
5
5
|
<!-- Bread Crumb -->
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script Author",
|
9
|
+
<li><%= link_to "Script Author", scriptcdn_mains_author_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script Listing" %>
|
2
|
+
<% phc_title "Script CDN Listing" %>
|
3
3
|
<% phc_title_tagline "Update Script Information" %>
|
4
4
|
|
5
5
|
<!-- Bread Crumb -->
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Scripts Main",
|
9
|
+
<li><%= link_to "Scripts Main", scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script" %>
|
2
|
+
<% phc_title "Script CDN Listing" %>
|
3
3
|
<% phc_title_tagline "Script CDN Index" %>
|
4
4
|
|
5
5
|
<!-- Bread Crumb -->
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script Listing",
|
9
|
+
<li><%= link_to "Script Listing", scriptcdn_main_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -48,9 +48,9 @@
|
|
48
48
|
<td>
|
49
49
|
<div class="btn-group" role="group" aria-label="Script">
|
50
50
|
<% if current_user %>
|
51
|
-
<%= link_to 'Show',
|
52
|
-
<%= link_to 'Edit',
|
53
|
-
<%= link_to 'Destroy',
|
51
|
+
<%= link_to 'Show', scriptcdn_main, class: "btn blue-chambray" %>
|
52
|
+
<%= link_to 'Edit', edit_scriptcdn_main_path(scriptcdn_main), class: "btn blue-chambray" %>
|
53
|
+
<%= link_to 'Destroy', scriptcdn_main, class: "btn btn-w-m btn-danger btn-xs btn-phc-custom", method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %>
|
54
54
|
<% end %>
|
55
55
|
</div>
|
56
56
|
</td>
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Script Listing" %>
|
3
|
-
<% phc_title_tagline "Add New Script" %>
|
2
|
+
<% phc_title "Script CDN Listing" %>
|
3
|
+
<% phc_title_tagline "Add a New Script" %>
|
4
4
|
|
5
5
|
<!-- Bread Crumb -->
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Scripts Main",
|
9
|
+
<li><%= link_to "Scripts Main", scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script URL List",
|
9
|
+
<li><%= link_to "Script URL List", scriptcdn_main_urls_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script Versions",
|
9
|
+
<li><%= link_to "Script Versions", scriptcdn_main_urls_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -23,7 +23,7 @@
|
|
23
23
|
<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
|
24
24
|
</div>
|
25
25
|
<div class="actions">
|
26
|
-
<%= link_to
|
26
|
+
<%= link_to new_scriptcdn_main_url_path, class: "btn blue-chambray" do %>
|
27
27
|
<i class="fa fa-plus"></i> Add a New Script
|
28
28
|
<% end %>
|
29
29
|
</div>
|
@@ -42,9 +42,6 @@
|
|
42
42
|
<% @scriptcdn_urls.each do |scriptcdn_url| %>
|
43
43
|
<tr>
|
44
44
|
<td><%= scriptcdn_url.scripturl %></td>
|
45
|
-
<td><%= link_to 'Show', scriptcdn_url %></td>
|
46
|
-
<td><%= link_to 'Edit', edit_scriptcdn_url_path(scriptcdn_url) %></td>
|
47
|
-
<td><%= link_to 'Destroy', scriptcdn_url, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
48
45
|
</tr>
|
49
46
|
<% end %>
|
50
47
|
</tbody>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script URL List",
|
9
|
+
<li><%= link_to "Script URL List", scriptcdn_main_urls_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script Versions",
|
9
|
+
<li><%= link_to "Script Versions", scriptcdn_versions_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script Versions",
|
9
|
+
<li><%= link_to "Script Versions", scriptcdn_versions_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -43,7 +43,7 @@
|
|
43
43
|
<tr>
|
44
44
|
<td><%= scriptcdn_version.scrptversion %></td>
|
45
45
|
<td>
|
46
|
-
<%= link_to 'Edit', edit_scriptcdn_version_path(
|
46
|
+
<%= link_to 'Edit', edit_scriptcdn_version_path(scriptcdn_version), class: "btn blue-chambray" %>
|
47
47
|
<%= link_to 'Destroy', scriptcdn_version, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %>
|
48
48
|
</td>
|
49
49
|
</tr>
|
data/config/routes.rb
CHANGED
@@ -1,14 +1,5 @@
|
|
1
1
|
Phcscriptcdnpro::Engine.routes.draw do
|
2
2
|
|
3
|
-
namespace :scriptcdn do
|
4
|
-
resources :versions
|
5
|
-
end
|
6
|
-
namespace :scriptcdn do
|
7
|
-
resources :mains
|
8
|
-
end
|
9
|
-
namespace :scriptcdn do
|
10
|
-
resources :urls
|
11
|
-
end
|
12
3
|
# CDN Frontend
|
13
4
|
get 'frontend/cdnpages/list', :path => "script-cdn"
|
14
5
|
|
@@ -16,13 +7,13 @@ Phcscriptcdnpro::Engine.routes.draw do
|
|
16
7
|
namespace :scriptcdn do
|
17
8
|
|
18
9
|
# Main Script Module
|
19
|
-
resources :
|
10
|
+
resources :mains do
|
20
11
|
resources :authors
|
21
|
-
|
12
|
+
resources :urls
|
22
13
|
end
|
23
14
|
|
24
15
|
# Script Versions
|
25
|
-
resources :
|
16
|
+
resources :versions
|
26
17
|
|
27
18
|
end
|
28
19
|
|