phcscriptcdnpro 1.11.7 → 1.11.8
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/api/mains_controller.rb +2 -1
- data/app/controllers/phcscriptcdnpro/frontend/cdnpages_controller.rb +6 -6
- data/app/views/phcscriptcdnpro/frontend/cdnpages/{list.html.erb → index.html.erb} +2 -3
- data/app/views/phcscriptcdnpro/frontend/cdnpages/show.html.erb +20 -0
- data/app/views/phcscriptcdnpro/scriptcdn/informations/_form.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/informations/_formpatch.html.erb +1 -1
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +4 -4
- data/app/views/phcscriptcdnpro/frontend/cdnpages/listing.html.erb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24be70df3c08080ab7239a88b92a2412ea426fc0
|
4
|
+
data.tar.gz: d67c9001045a1c6f20850512e95726aeb99eaa21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c3b043cfa4d3b192517457c20c9a279e432009f72489ecfebeef63647c6a503830d7966fb6fbe8e4b80326cef4b513865d8f16a7c9095140f9511360418ece0
|
7
|
+
data.tar.gz: 7be616622171f84d8214dc3e2ce8763ee6d56395316054648b56d1136b9d0f9ff810f2b11a13e97fc583a12e4015121260cfa1d94f24cf2ccfb3d6526db76b84
|
@@ -6,7 +6,7 @@ module Phcscriptcdnpro
|
|
6
6
|
# Only Responds to API Requests
|
7
7
|
respond_to :json
|
8
8
|
|
9
|
-
#
|
9
|
+
# Script List API
|
10
10
|
def index
|
11
11
|
@scriptcdn_mains = Scriptcdn::Main.all
|
12
12
|
respond_to do |format|
|
@@ -14,6 +14,7 @@ module Phcscriptcdnpro
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
+
# Script Show API
|
17
18
|
def show
|
18
19
|
@scriptcdn_main = Scriptcdn::Main.find(params[:id])
|
19
20
|
end
|
@@ -6,14 +6,14 @@ module Phcscriptcdnpro
|
|
6
6
|
# Security & Action Filters
|
7
7
|
layout '/layouts/phcscriptcdnpro/frontend.html.erb'
|
8
8
|
|
9
|
-
#
|
10
|
-
def
|
9
|
+
# Script List FrontEnd
|
10
|
+
def index
|
11
11
|
@scriptcdn_mains = Scriptcdn::Main.all
|
12
12
|
end
|
13
|
-
|
14
|
-
#
|
15
|
-
def
|
16
|
-
|
13
|
+
|
14
|
+
# Script List BackEnd
|
15
|
+
def show
|
16
|
+
@scriptcdn_main = Scriptcdn::Main.find(params[:id])
|
17
17
|
end
|
18
18
|
|
19
19
|
end
|
@@ -7,10 +7,9 @@
|
|
7
7
|
<div class="col-md-12">
|
8
8
|
|
9
9
|
<div class="list-group">
|
10
|
-
<% @scriptcdn_mains.each do |
|
10
|
+
<% @scriptcdn_mains.each do |scriptcdn_main| %>
|
11
11
|
<a href="#" class="list-group-item">
|
12
|
-
<h4 class="list-group-item-heading"><%=
|
13
|
-
<p class="list-group-item-text"><%= scriptcdn_mains.scrptdescription %></p>
|
12
|
+
<h4 class="list-group-item-heading"><%= scriptcdn_main.scriptname %></h4>
|
14
13
|
</a>
|
15
14
|
<% end %>
|
16
15
|
</div>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<% phc_title "PHC Script CDN" %>
|
2
|
+
<% phc_title_tagline "Script Content Delivery Network" %>
|
3
|
+
|
4
|
+
<section>
|
5
|
+
<div class="container">
|
6
|
+
<div class="row">
|
7
|
+
<div class="col-md-12">
|
8
|
+
|
9
|
+
<div class="list-group">
|
10
|
+
|
11
|
+
<a href="#" class="list-group-item">
|
12
|
+
<h4 class="list-group-item-heading"><%= @scriptcdn_mains.informations.scripttitle %></h4>
|
13
|
+
</a>
|
14
|
+
|
15
|
+
</div>
|
16
|
+
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</section>
|
@@ -28,7 +28,7 @@
|
|
28
28
|
</div>
|
29
29
|
<div class="form-group field_with_error">
|
30
30
|
<%= f.label :scriptinitialrelease, "Initial Release" %>
|
31
|
-
<%= f.date_select :scriptinitialrelease,
|
31
|
+
<%= f.date_select :scriptinitialrelease, class: "form-control" %>
|
32
32
|
</div>
|
33
33
|
<div class="form-group field_with_error">
|
34
34
|
<%= f.label :scriptlicence, "Script Licence" %>
|
@@ -28,7 +28,7 @@
|
|
28
28
|
</div>
|
29
29
|
<div class="form-group field_with_error">
|
30
30
|
<%= f.label :scriptinitialrelease, "Initial Release" %>
|
31
|
-
<%= f.date_select :scriptinitialrelease,
|
31
|
+
<%= f.date_select :scriptinitialrelease, class: "form-control" %>
|
32
32
|
</div>
|
33
33
|
<div class="form-group field_with_error">
|
34
34
|
<%= f.label :scriptlicence, "Script Licence" %>
|
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: 1.11.
|
4
|
+
version: 1.11.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -459,8 +459,8 @@ files:
|
|
459
459
|
- app/views/layouts/phcscriptcdnpro/frontend.html.erb
|
460
460
|
- app/views/phcscriptcdnpro/api/mains/index.json.rabl
|
461
461
|
- app/views/phcscriptcdnpro/api/mains/show.json.rabl
|
462
|
-
- app/views/phcscriptcdnpro/frontend/cdnpages/
|
463
|
-
- app/views/phcscriptcdnpro/frontend/cdnpages/
|
462
|
+
- app/views/phcscriptcdnpro/frontend/cdnpages/index.html.erb
|
463
|
+
- app/views/phcscriptcdnpro/frontend/cdnpages/show.html.erb
|
464
464
|
- app/views/phcscriptcdnpro/scriptcdn/authors/_form.html.erb
|
465
465
|
- app/views/phcscriptcdnpro/scriptcdn/authors/_formpatch.html.erb
|
466
466
|
- app/views/phcscriptcdnpro/scriptcdn/authors/edit.html.erb
|
File without changes
|