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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2596062e01c240b83372a490f8c40d4ef1697f56
4
- data.tar.gz: ef50c361bda0582a36f61bc0303925be60a9f069
3
+ metadata.gz: 24be70df3c08080ab7239a88b92a2412ea426fc0
4
+ data.tar.gz: d67c9001045a1c6f20850512e95726aeb99eaa21
5
5
  SHA512:
6
- metadata.gz: c0bc34b578d403240603cfc64a08adabe95a51bdf12d9fb2d50db6cb9459b0b24564b8371ad8e22277a30f62889dcbdd3a9aa780c5ed397c1e17edcbd555c259
7
- data.tar.gz: a1c9384ce47031d93160590b88a6815aa244aa4c47219a16c0859605ddb21d60a8e45a2ce4be6b7e3effa33e8d9f0d609ee545f4b1989442c2b8044fb6896467
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
- # Directory Category API
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
- # Frontend Index/List
10
- def list
9
+ # Script List FrontEnd
10
+ def index
11
11
  @scriptcdn_mains = Scriptcdn::Main.all
12
12
  end
13
-
14
- # Frontend Show/Listing
15
- def listing
16
- @scriptcdn_main = Scriptcdn::Main.all
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 |scriptcdn_mains| %>
10
+ <% @scriptcdn_mains.each do |scriptcdn_main| %>
11
11
  <a href="#" class="list-group-item">
12
- <h4 class="list-group-item-heading"><%= scriptcdn_mains.scrptname %></h4>
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, placeholder: "Script Information Initial Release", class: "form-control" %>
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, placeholder: "Script Information Initial Release", class: "form-control" %>
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" %>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.11.7"
2
+ VERSION = "1.11.8"
3
3
  end
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.7
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-29 00:00:00.000000000 Z
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/list.html.erb
463
- - app/views/phcscriptcdnpro/frontend/cdnpages/listing.html.erb
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