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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6bc82a81b4b29f226052bedec9aade2ed443b4e
4
- data.tar.gz: b046e50b5ad400d1cd95e3bf55a63bf9b0083c7b
3
+ metadata.gz: efc8f763ec9329f3640b1d086c8fee31b1415386
4
+ data.tar.gz: 4b8f99c865954fe626f57396b8d84f38c546c013
5
5
  SHA512:
6
- metadata.gz: 37421a90cd603d5f35e3a5add0fa3690d5902ba8537685101e766394613e7fb486536024705debbc1f692b06a450cdcde3d5569c499e32b82b5c9f2936791814
7
- data.tar.gz: a7133ab56773151551002c4284e73e73760ea1a0f7745647ad30801387f9754a4249ecd4025910d631e3045771df487ca612f5406d4cec88ccf1bd91bce5c275
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
- # Filters and Security
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
- # Filters & Security
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
@@ -5,6 +5,7 @@ module Phcscriptcdnpro
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_scriptversion, only: [:edit, :update, :destroy]
9
10
 
10
11
  # Script Version Index
@@ -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
- <% @scriptcdn_scripts.each do |scriptcdn_script| %>
2
- <tr>
3
- <td><%= scriptcdn_script.scrptname %></td>
4
- <td><%= scriptcdn_script.scrptdescription %></td>
5
- </tr>
6
- <% end %>
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>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.3.7"
2
+ VERSION = "1.3.8"
3
3
  end
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.7
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