phcscriptcdnpro 3.5.0 → 3.5.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f40ac2a6df1b871d38af8f25420705aab10510e
|
4
|
+
data.tar.gz: b2043672a30f385b7ebd2889c8b341222982a806
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8683187a68baa24fe4cf933bc42b925da3066445a19a7f861729df27b81b70649081aad3305fdfad263c0e4c7f9650399d0b8785492a88cdd97aaf664b427131
|
7
|
+
data.tar.gz: 569218b30e22714ffe64767de911dc32fca2d7e6c242073cfdc1605dce4adca33ed90b4766f92e77434d4968f45df0502320454753e4b6807cc4cf145d77fe97
|
@@ -8,12 +8,12 @@ module Phcscriptcdnpro
|
|
8
8
|
|
9
9
|
# Script List FrontEnd
|
10
10
|
def index
|
11
|
-
@
|
11
|
+
@script_listings = Script::Listing.all
|
12
12
|
end
|
13
13
|
|
14
14
|
# Script List BackEnd
|
15
15
|
def show
|
16
|
-
@
|
16
|
+
@script_listing = Script::Listing.find(params[:id])
|
17
17
|
end
|
18
18
|
|
19
19
|
end
|
@@ -7,9 +7,9 @@
|
|
7
7
|
<div class="col-md-12">
|
8
8
|
|
9
9
|
<div class="list-group">
|
10
|
-
<% @
|
11
|
-
<%= link_to phcscriptcdnpro.cdnsite_cdnpage_path(
|
12
|
-
<h4 class="list-group-item-heading"><%=
|
10
|
+
<% @script_listings.each do |script_listing| %>
|
11
|
+
<%= link_to phcscriptcdnpro.cdnsite_cdnpage_path(script_listing), class: "list-group-item" do %>
|
12
|
+
<h4 class="list-group-item-heading"><%= script_listing.scripttitle %></h4>
|
13
13
|
<% end %>
|
14
14
|
<% end %>
|
15
15
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<div class="container">
|
7
7
|
|
8
8
|
<div class="row nomargin">
|
9
|
-
<% @
|
9
|
+
<% @script_listing.urls.each do |url| %>
|
10
10
|
<div class="col-md-8 col-sm-8">
|
11
11
|
|
12
12
|
<div class="panel panel-default">
|
@@ -15,57 +15,21 @@
|
|
15
15
|
|
16
16
|
<!-- Start Subtitle -->
|
17
17
|
<div class="heading-title heading-border">
|
18
|
-
<h2><%=
|
18
|
+
<h2><%= url.listing.scripttitle %> <span><%= url.listing.scriptstatus %></span></h2>
|
19
19
|
<ul class="list-inline categories nomargin">
|
20
|
-
<li><%=
|
20
|
+
<li><%= url.listing.scriptstatus %></li>
|
21
21
|
</ul>
|
22
22
|
</div>
|
23
23
|
<!-- End Subtitle -->
|
24
24
|
|
25
25
|
<!-- Start Description -->
|
26
|
-
<p class="font-lato size-18"><%=
|
26
|
+
<p class="font-lato size-18"><%= url.listing.scriptdescription %></p>
|
27
27
|
<!-- End Description -->
|
28
28
|
|
29
29
|
</div>
|
30
30
|
|
31
31
|
<div class="panel-footer">
|
32
|
-
<small><strong>Created:</strong> <%= l(
|
33
|
-
</div>
|
34
|
-
|
35
|
-
</div>
|
36
|
-
|
37
|
-
</div>
|
38
|
-
|
39
|
-
<div class="col-md-4 col-sm-4">
|
40
|
-
|
41
|
-
<div class="panel panel-default">
|
42
|
-
|
43
|
-
<div class="panel-body">
|
44
|
-
|
45
|
-
<ul class="portfolio-detail-list list-unstyled nomargin">
|
46
|
-
<li><span><i class="fa fa-user"></i>Status:</span> <%= information.scriptstatus %></li>
|
47
|
-
<li><span><i class="fa fa-calendar"></i>Released:</span> <%= l(information.scriptinitialrelease, format: :long) %></li>
|
48
|
-
<li><span><i class="fa fa-lightbulb-o"></i>Licence:</span> <%= information.scriptlicence %></li>
|
49
|
-
<li><span><i class="fa fa-link"></i>Website:</span> <a href="<%= information.scriptwebsite %>"><%= information.scriptwebsite %></a></li>
|
50
|
-
</ul>
|
51
|
-
|
52
|
-
</div>
|
53
|
-
|
54
|
-
<div class="panel-footer">
|
55
|
-
|
56
|
-
<!-- Start Social Icons -->
|
57
|
-
<a href="<%= information.scriptgithub %>" class="social-icon social-icon-sm social-icon-transparent social-github" data-toggle="tooltip" data-placement="top" title="GitHub" target="_blank">
|
58
|
-
|
59
|
-
<i class="icon-github"></i>
|
60
|
-
<i class="icon-github"></i>
|
61
|
-
</a>
|
62
|
-
|
63
|
-
<a href="<%= information.scripttwitter %>" class="social-icon social-icon-sm social-icon-transparent social-twitter" data-toggle="tooltip" data-placement="top" title="Twitter" target="_blank">
|
64
|
-
<i class="icon-twitter"></i>
|
65
|
-
<i class="icon-twitter"></i>
|
66
|
-
</a>
|
67
|
-
<!-- End Social Icons -->
|
68
|
-
|
32
|
+
<small><strong>Created:</strong> <%= l(url.created_at, format: :long) %> / <strong>Updated:</strong> <%= l(url.updated_at, format: :long) %></small>
|
69
33
|
</div>
|
70
34
|
|
71
35
|
</div>
|