phcscriptcdnpro 1.3.7 → 1.3.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/frontend/cdnpages_controller.rb +5 -0
- data/app/controllers/phcscriptcdnpro/scriptcdn/scripts_controller.rb +2 -1
- data/app/controllers/phcscriptcdnpro/scriptcdn/scripturls_controller.rb +2 -1
- data/app/controllers/phcscriptcdnpro/scriptcdn/scriptversions_controller.rb +1 -0
- data/app/views/layouts/phcscriptcdnpro/frontend.html.erb +78 -0
- data/app/views/phcscriptcdnpro/frontend/cdnpages/list.html.erb +8 -6
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efc8f763ec9329f3640b1d086c8fee31b1415386
|
4
|
+
data.tar.gz: 4b8f99c865954fe626f57396b8d84f38c546c013
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9390b8d77a02c1c6596df4372f010467eb5006bf12e4fc9907ea73f6954cad6d64d47e9a3187e2274460f6fa796b086f7812341d882cdaaa3589c750f02af30
|
7
|
+
data.tar.gz: af86d6e712aa72be77f2faf70799e220e2d74fb911747c6962e2b624733e80c4c36fb811af6d98dba59c48c03d3e2b52be8cfc26079a59cc59f3393f4141fd66
|
@@ -3,10 +3,15 @@ require_dependency "phcscriptcdnpro/application_controller"
|
|
3
3
|
module Phcscriptcdnpro
|
4
4
|
class Frontend::CdnpagesController < ApplicationController
|
5
5
|
|
6
|
+
# Security & Action Filters
|
7
|
+
layout '/layouts/phcscriptcdnpro/frontend.html.erb'
|
8
|
+
|
9
|
+
# Frontend Index/List
|
6
10
|
def list
|
7
11
|
@scriptcdn_scripts = Scriptcdn::Script.all
|
8
12
|
end
|
9
13
|
|
14
|
+
# Frontend Show/Listing
|
10
15
|
def listing
|
11
16
|
@scriptcdn_script = Scriptcdn::Script.all
|
12
17
|
end
|
@@ -3,8 +3,9 @@ require_dependency "phcscriptcdnpro/application_controller"
|
|
3
3
|
module Phcscriptcdnpro
|
4
4
|
class Scriptcdn::ScriptsController < ApplicationController
|
5
5
|
|
6
|
-
#
|
6
|
+
# Security & Action Filters
|
7
7
|
before_action :require_user
|
8
|
+
layout '/layouts/phcscriptcdnpro/application.html.erb'
|
8
9
|
before_action :set_scriptcdn_script, only: [:show, :edit, :update, :destroy]
|
9
10
|
|
10
11
|
# Script CDN Index
|
@@ -3,8 +3,9 @@ require_dependency "phcscriptcdnpro/application_controller"
|
|
3
3
|
module Phcscriptcdnpro
|
4
4
|
class Scriptcdn::ScripturlsController < ApplicationController
|
5
5
|
|
6
|
-
#
|
6
|
+
# Security & Action Filters
|
7
7
|
before_action :require_user
|
8
|
+
layout '/layouts/phcscriptcdnpro/application.html.erb'
|
8
9
|
before_action :set_scriptcdn_scripturl, only: [:show, :edit, :update, :destroy]
|
9
10
|
|
10
11
|
# Index for Scriptcdn_script URLs
|
@@ -0,0 +1,78 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title><%= content_for?(:title) ? yield(:title) : "PHCMembers - Membership & Directory Management" %></title>
|
7
|
+
|
8
|
+
<!-- Meta Info -->
|
9
|
+
<%= render 'layouts/components/frontend/elements/all/all_metainfo' %>
|
10
|
+
|
11
|
+
<!-- Font -->
|
12
|
+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700" rel="stylesheet" type="text/css" />
|
13
|
+
|
14
|
+
<%= stylesheet_link_tag "application", media: "all" %>
|
15
|
+
<%= javascript_include_tag "application" %>
|
16
|
+
<%= csrf_meta_tags %>
|
17
|
+
|
18
|
+
</head>
|
19
|
+
<body class="smoothscroll enable-animation">
|
20
|
+
|
21
|
+
<div id="slidetop">
|
22
|
+
<%= render 'layouts/components/frontend/header/slideout' %>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<div id="wrapper">
|
26
|
+
<div id="topBar">
|
27
|
+
<%= render 'layouts/components/frontend/header/topbar' %>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<%= render 'phcnotifi/notifications' %>
|
32
|
+
|
33
|
+
<div id="header" class="sticky header-md dark clearfix">
|
34
|
+
<%= render 'layouts/components/frontend/navigation/navigation' %>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<section class="page-header">
|
38
|
+
<div class="container">
|
39
|
+
|
40
|
+
<h1><%= yield(:phc_title) %></h1>
|
41
|
+
<span class="font-lato size-18 weight-300"><%= yield(:phc_title_tagline) %></span>
|
42
|
+
<ol class="breadcrumb">
|
43
|
+
<li><%= link_to "Home", main_app.root_path %></li>
|
44
|
+
<li class="active" ><%= yield(:phc_title) %></li>
|
45
|
+
</ol>
|
46
|
+
|
47
|
+
</div>
|
48
|
+
</section>
|
49
|
+
|
50
|
+
<%= yield %>
|
51
|
+
|
52
|
+
<footer id="footer">
|
53
|
+
|
54
|
+
<div class="container">
|
55
|
+
<div class="row">
|
56
|
+
<div class="col-md-3">
|
57
|
+
<%= render 'layouts/components/frontend/footer/footer_address' %>
|
58
|
+
</div>
|
59
|
+
<div class="col-md-3">
|
60
|
+
<%= render 'layouts/components/frontend/footer/footer_newspost' %>
|
61
|
+
</div>
|
62
|
+
<div class="col-md-2">
|
63
|
+
<%= render 'layouts/components/frontend/footer/footer_quicklinks' %>
|
64
|
+
</div>
|
65
|
+
<div class="col-md-4">
|
66
|
+
<%= render 'layouts/components/frontend/footer/footer_socialconnect' %>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
<div class="copyright">
|
72
|
+
<%= render 'layouts/components/frontend/footer/footer_copyright' %>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
</footer>
|
76
|
+
|
77
|
+
</body>
|
78
|
+
</html>
|
@@ -1,6 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
<div class="list-group">
|
2
|
+
<% @scriptcdn_scripts.each do |scriptcdn_script| %>
|
3
|
+
<a href="#" class="list-group-item">
|
4
|
+
<h4 class="list-group-item-heading"><%= scriptcdn_script.scrptname %></h4>
|
5
|
+
<p class="list-group-item-text"><%= scriptcdn_script.scrptdescription %></p>
|
6
|
+
</a>
|
7
|
+
<% end %>
|
8
|
+
</div>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdnpro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
@@ -407,6 +407,7 @@ files:
|
|
407
407
|
- app/models/phcscriptcdnpro/scriptcdn/scripturl.rb
|
408
408
|
- app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb
|
409
409
|
- app/views/layouts/phcscriptcdnpro/application.html.erb
|
410
|
+
- app/views/layouts/phcscriptcdnpro/frontend.html.erb
|
410
411
|
- app/views/phcscriptcdnpro/frontend/cdnpages/list.html.erb
|
411
412
|
- app/views/phcscriptcdnpro/frontend/cdnpages/listing.html.erb
|
412
413
|
- app/views/phcscriptcdnpro/scriptcdn/scripts/_form.html.erb
|