phcscriptcdnpro 65.0.0 → 66.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/app/assets/stylesheets/phcscriptcdnpro/application.scss +1 -1
- data/app/controllers/phcscriptcdnpro/application_controller.rb +1 -1
- data/app/views/layouts/phcscriptcdnpro/application.html.erb +14 -9
- data/app/views/layouts/phcscriptcdnpro/components/backend/navigation/_top_menu.html.erb +1 -2
- data/app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_side_menu.html.erb +124 -63
- data/config/routes.rb +3 -3
- data/lib/phcscriptcdnpro/engine.rb +1 -0
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09c8decc13ec44812f3ba08da4a130dbf55ac546cd46f8bbeb343f5abc593c4f'
|
4
|
+
data.tar.gz: 7dd8b56ee20b56056330b911b6685589309835da059a549ffe5d23a6fe4dfc84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87871349588850503c72f5eb1dc96e4f35d7d0c8120425baaa497ace6dab1084474b1b614f9393d9385db3b6c8ac0dff81c640ae289292e00b376f5bfe3d80ba
|
7
|
+
data.tar.gz: 769d9795daea9b233ecce5da2df84cf7849d3af65f93bab03fde86b145648b27183df44c0f069eb5c27f0887fb8edf511d91ad6e3adc9361e2b29e57b75a0185
|
data/MIT-LICENSE
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Load Admin Theme
|
2
|
-
@import "phc_admin_theme_styles_four";
|
2
|
+
@import "phc_admin_theme_styles_four";
|
@@ -2,24 +2,29 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
|
5
|
-
<% phc_seo_title "PHCScriptCDN(Pro)
|
6
|
-
<% phc_seo_description "
|
5
|
+
<% phc_seo_title "PHCScriptCDN(Pro) CDNMS" %>
|
6
|
+
<% phc_seo_description "Script CDN Listings Management System by PHCDevworks" %>
|
7
7
|
|
8
|
+
<!-- -PHC- SEO and Site Description -->
|
8
9
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
9
10
|
<title><%= yield(:phc_seo_title) %></title>
|
10
11
|
<meta name="description" content="<%= yield(:phc_seo_description) %>">
|
11
|
-
|
12
12
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
|
13
13
|
<link rel="canonical" href="http://phcmembers.com">
|
14
|
+
<!-- -PHC- SEO and Site Description -->
|
15
|
+
|
16
|
+
<!-- -PHC- Security -->
|
17
|
+
<%= csrf_meta_tags %>
|
18
|
+
<%= csp_meta_tag %>
|
19
|
+
<!-- -PHC- Security -->
|
20
|
+
|
21
|
+
<!-- -PHC- CSS -->
|
22
|
+
<%= stylesheet_link_tag 'phcscriptcdnpro/application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
23
|
+
<!-- -PHC- CSS -->
|
14
24
|
|
15
25
|
<!-- Font -->
|
16
26
|
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700"/>
|
17
|
-
|
18
|
-
<!-- Requried Style Sheets -->
|
19
|
-
<%= stylesheet_link_tag "phcscriptcdnpro/application", media: "all", 'data-turbolinks-track': 'reload' %>
|
20
|
-
|
21
|
-
<!-- Security -->
|
22
|
-
<%= csrf_meta_tags %>
|
27
|
+
<!-- Font -->
|
23
28
|
|
24
29
|
</head>
|
25
30
|
<body>
|
@@ -1,7 +1,6 @@
|
|
1
|
-
<!-- Topbar - Navigation -->
|
2
1
|
<!-- Topbar - Navigation Header -->
|
3
2
|
<div class="navbar-header">
|
4
|
-
<%= link_to
|
3
|
+
<%= link_to phcscriptcdnpro.script_listings_path, class: "navbar-brand" do %>
|
5
4
|
<!--<span class="navbar-logo"></span>-->
|
6
5
|
<strong>PHC</strong>ScriptCDN(Pro)
|
7
6
|
<% end %>
|
@@ -1,8 +1,9 @@
|
|
1
|
-
<!-- Sidebar -->
|
1
|
+
<!-- Sidebar for Users and Admin -->
|
2
2
|
<div data-scrollbar="true" data-height="100%">
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
|
4
|
+
<!-- Sidebar - User Profile Menu -->
|
5
|
+
<ul class="nav">
|
6
|
+
<% if current_user %>
|
6
7
|
<li class="nav-profile">
|
7
8
|
<a href="javascript:;" data-toggle="nav-profile">
|
8
9
|
<div class="cover with-shadow"></div>
|
@@ -30,12 +31,99 @@
|
|
30
31
|
</li>
|
31
32
|
</ul>
|
32
33
|
</li>
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
34
|
+
<% end %>
|
35
|
+
<% if current_admin %>
|
36
|
+
<li class="nav-profile">
|
37
|
+
<a href="javascript:;" data-toggle="nav-profile">
|
38
|
+
<div class="cover with-shadow"></div>
|
39
|
+
<div class="image">
|
40
|
+
<%= image_tag current_admin.gravatar_url %>
|
41
|
+
</div>
|
42
|
+
<div class="info">
|
43
|
+
<b class="caret pull-right"></b>
|
44
|
+
<%= current_admin.firstname + ' ' + current_admin.lastname %>
|
45
|
+
<small><%= current_admin.username %></small>
|
46
|
+
</div>
|
47
|
+
</a>
|
48
|
+
</li>
|
49
|
+
<li>
|
50
|
+
<ul class="nav nav-profile">
|
51
|
+
<li>
|
52
|
+
<%= link_to phcaccountspro.edit_admin_registration_path do %>
|
53
|
+
<i class="fas fa-cogs"></i> Account Settings
|
54
|
+
<% end %>
|
55
|
+
</li>
|
56
|
+
<li>
|
57
|
+
<%= link_to phcaccountspro.destroy_admin_session_path do %>
|
58
|
+
<i class="fas fa-sign-out-alt"></i> Logout
|
59
|
+
<% end %>
|
60
|
+
</li>
|
61
|
+
</ul>
|
62
|
+
</li>
|
63
|
+
<% end %>
|
64
|
+
</ul>
|
65
|
+
<!-- Sidebar - User Profile Menu -->
|
66
|
+
<!-- Sidebar - Sidebar Navigation -->
|
67
|
+
<ul class="nav">
|
68
|
+
|
69
|
+
<% if defined?phcpresspro %>
|
70
|
+
<!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
|
71
|
+
<li class="nav-header">Article Management</li>
|
72
|
+
<li class="has-sub">
|
73
|
+
<a href="javascript:;">
|
74
|
+
<b class="caret"></b>
|
75
|
+
<i class="fas fa-newspaper"></i>
|
76
|
+
<span>Article Posts</span>
|
77
|
+
</a>
|
78
|
+
<ul class="sub-menu">
|
79
|
+
<li class="<%= is_active_controller('phcpresspro/article/posts') %>"><%= link_to('Article Index', phcpresspro.article_posts_path) %></li>
|
80
|
+
<li class="<%= is_active_controller('phcpresspro/article/posts#new') %>"><%= link_to('New Aritcle', phcpresspro.new_article_post_path) %></li>
|
81
|
+
</ul>
|
82
|
+
</li>
|
83
|
+
<li class="has-sub">
|
84
|
+
<a href="javascript:;">
|
85
|
+
<b class="caret"></b>
|
86
|
+
<i class="fas fa-sitemap"></i>
|
87
|
+
<span>Article Categories</span>
|
88
|
+
</a>
|
89
|
+
<ul class="sub-menu">
|
90
|
+
<li class="<%= is_active_controller('phcpresspro/article/categories') %>"><%= link_to('Category Index', phcpresspro.article_categories_path) %></li>
|
91
|
+
<li class="<%= is_active_controller('phcpresspro/article/categories#new') %>"><%= link_to('New Category', phcpresspro.new_article_category_path) %></li>
|
92
|
+
</ul>
|
93
|
+
</li>
|
94
|
+
<!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
|
95
|
+
<% end %>
|
96
|
+
|
97
|
+
<% if defined?phcmemberspro %>
|
98
|
+
<!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
|
99
|
+
<li class="nav-header">Membership Manager</li>
|
100
|
+
<li class="has-sub">
|
101
|
+
<a href="javascript:;">
|
102
|
+
<b class="caret"></b>
|
103
|
+
<i class="fas fa-users"></i>
|
104
|
+
<span>Member's Data</span>
|
105
|
+
</a>
|
106
|
+
<ul class="sub-menu">
|
107
|
+
<li class="<%= is_active_controller('phcmemberspro/member/profiles') %>"><%= link_to('Profile Index', phcmemberspro.member_profiles_path) %></li>
|
108
|
+
<li class="<%= is_active_controller('phcmemberspro/member/profiles#new') %>"><%= link_to('New Member Profile', phcmemberspro.new_member_profile_path) %></li>
|
109
|
+
</ul>
|
110
|
+
</li>
|
111
|
+
<li class="has-sub">
|
112
|
+
<a href="javascript:;">
|
113
|
+
<b class="caret"></b>
|
114
|
+
<i class="fas fa-list-alt"></i>
|
115
|
+
<span>Member's Directory</span>
|
116
|
+
</a>
|
117
|
+
<ul class="sub-menu">
|
118
|
+
<li class="<%= is_active_controller('phcmemberspro/directory/categories') %>"><%= link_to('Directory Index', phcmemberspro.directory_categories_path) %></li>
|
119
|
+
<li class="<%= is_active_controller('phcmemberspro/directory/categories#new') %>"><%= link_to('New Directory Listing', phcmemberspro.new_directory_category_path) %></li>
|
120
|
+
</ul>
|
121
|
+
</li>
|
122
|
+
<!-- Sidebar - Sidebar Navigation - PHCPress(Pro) -->
|
123
|
+
<% end %>
|
37
124
|
|
38
|
-
|
125
|
+
<% if defined?phcscriptcdnpro %>
|
126
|
+
<!-- Sidebar - Sidebar Navigation - PHCScriptCDN(Pro) -->
|
39
127
|
<li class="nav-header">Script Management</li>
|
40
128
|
<li class="has-sub">
|
41
129
|
<a href="javascript:;">
|
@@ -45,7 +133,7 @@
|
|
45
133
|
</a>
|
46
134
|
<ul class="sub-menu">
|
47
135
|
<li class="<%= is_active_controller('phcscriptcdnpro/script/listings') %>"><%= link_to "All Script Listings", phcscriptcdnpro.script_listings_path %></li>
|
48
|
-
|
136
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/listings#new') %>"><%= link_to "Add a New Listing", phcscriptcdnpro.new_script_listing_path %></li>
|
49
137
|
</ul>
|
50
138
|
</li>
|
51
139
|
<li class="has-sub">
|
@@ -55,24 +143,27 @@
|
|
55
143
|
<span>Script Extras</span>
|
56
144
|
</a>
|
57
145
|
<ul class="sub-menu">
|
58
|
-
|
59
|
-
|
60
|
-
|
146
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/authors') %>"><%= link_to "Script Authors", phcscriptcdnpro.script_authors_path %></li>
|
147
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/licences') %>"><%= link_to "Script Licences", phcscriptcdnpro.script_licences_path %></li>
|
148
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/extensions') %>"><%= link_to "Script Extensions", phcscriptcdnpro.script_extensions_path %></li>
|
61
149
|
<li class="<%= is_active_controller('phcscriptcdnpro/script/versions') %>"><%= link_to "Script Versions", phcscriptcdnpro.script_versions_path %></li>
|
62
150
|
</ul>
|
63
151
|
</li>
|
64
|
-
<!-- Sidebar - Sidebar Navigation -
|
152
|
+
<!-- Sidebar - Sidebar Navigation - PHCScriptCDN(Pro) -->
|
153
|
+
<% end %>
|
154
|
+
|
155
|
+
<% if current_admin %>
|
65
156
|
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
66
|
-
<li class="nav-header">
|
157
|
+
<li class="nav-header">Admin Settings</li>
|
67
158
|
<li class="has-sub">
|
68
159
|
<a href="javascript:;">
|
69
160
|
<b class="caret"></b>
|
70
161
|
<i class="fas fa-user"></i>
|
71
|
-
<span>
|
162
|
+
<span>Admin Dashboard</span>
|
72
163
|
</a>
|
73
164
|
<ul class="sub-menu">
|
74
|
-
<li><%= link_to('Settings', phcaccountspro.
|
75
|
-
<li><%= link_to('Logout', phcaccountspro.
|
165
|
+
<li class="<%= is_active_controller('phcaccountspro/user/edit') %>"><%= link_to('Settings', phcaccountspro.edit_admin_registration_path) %></li>
|
166
|
+
<li class="<%= is_active_controller('phcaccountspro/user/edit') %>"><%= link_to('Logout', phcaccountspro.destroy_admin_session_path, method: :delete) %></li>
|
76
167
|
</ul>
|
77
168
|
</li>
|
78
169
|
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
@@ -83,55 +174,23 @@
|
|
83
174
|
</a>
|
84
175
|
</li>
|
85
176
|
<!-- Sidebar - Sidebar Minifier -->
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
<ul class="nav">
|
92
|
-
<li class="nav-profile">
|
93
|
-
<a href="javascript:;" data-toggle="nav-profile">
|
94
|
-
<div class="cover with-shadow"></div>
|
95
|
-
<div class="image">
|
96
|
-
<%= image_tag current_admin.gravatar_url %>
|
97
|
-
</div>
|
98
|
-
<div class="info">
|
99
|
-
<b class="caret pull-right"></b>
|
100
|
-
<%= current_admin.firstname + ' ' + current_admin.lastname %>
|
101
|
-
<small><%= current_admin.username %></small>
|
102
|
-
</div>
|
103
|
-
</a>
|
104
|
-
</li>
|
105
|
-
<li>
|
106
|
-
<ul class="nav nav-profile">
|
107
|
-
<li>
|
108
|
-
<%= link_to phcaccountspro.edit_admin_registration_path do %>
|
109
|
-
<i class="fas fa-cogs"></i> Account Settings
|
110
|
-
<% end %>
|
111
|
-
</li>
|
112
|
-
<li>
|
113
|
-
<%= link_to phcaccountspro.destroy_admin_session_path do %>
|
114
|
-
<i class="fas fa-sign-out-alt"></i> Logout
|
115
|
-
<% end %>
|
116
|
-
</li>
|
117
|
-
</ul>
|
118
|
-
</li>
|
119
|
-
</ul>
|
120
|
-
<!-- Sidebar - User Profile Menu -->
|
121
|
-
<!-- Sidebar - Sidebar Navigation -->
|
122
|
-
<ul class="nav">
|
123
|
-
<li class="nav-header">Accounts Menu</li>
|
177
|
+
<% end %>
|
178
|
+
|
179
|
+
<% if current_user %>
|
180
|
+
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
181
|
+
<li class="nav-header">Account Settings</li>
|
124
182
|
<li class="has-sub">
|
125
183
|
<a href="javascript:;">
|
126
184
|
<b class="caret"></b>
|
127
|
-
<i class="
|
185
|
+
<i class="fas fa-user"></i>
|
128
186
|
<span>Accounts Dashboard</span>
|
129
187
|
</a>
|
130
188
|
<ul class="sub-menu">
|
131
|
-
<li><%= link_to('Settings', phcaccountspro.
|
132
|
-
<li><%= link_to('Logout', phcaccountspro.
|
189
|
+
<li class="<%= is_active_controller('phcaccountspro/admin/edit') %>"><%= link_to('Settings', phcaccountspro.edit_user_registration_path) %></li>
|
190
|
+
<li class="<%= is_active_controller('phcaccountspro/admin/new') %>"><%= link_to('Logout', phcaccountspro.destroy_user_session_path, method: :delete) %></li>
|
133
191
|
</ul>
|
134
192
|
</li>
|
193
|
+
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
135
194
|
<!-- Sidebar - Sidebar Minifier -->
|
136
195
|
<li>
|
137
196
|
<a href="javascript:;" class="sidebar-minify-btn" data-click="sidebar-minify">
|
@@ -139,8 +198,10 @@
|
|
139
198
|
</a>
|
140
199
|
</li>
|
141
200
|
<!-- Sidebar - Sidebar Minifier -->
|
142
|
-
|
143
|
-
|
144
|
-
|
201
|
+
<% end %>
|
202
|
+
|
203
|
+
</ul>
|
204
|
+
<!-- Sidebar - Sidebar Navigation -->
|
205
|
+
|
145
206
|
</div>
|
146
|
-
<!-- Sidebar -->
|
207
|
+
<!-- Sidebar for Users and Admin -->
|
data/config/routes.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
Phcscriptcdnpro::Engine.routes.draw do
|
2
2
|
|
3
|
-
#
|
4
|
-
mount Phcaccountspro::Engine =>
|
3
|
+
# Mount Accounts Engine
|
4
|
+
mount Phcaccountspro::Engine, :at => '/'
|
5
5
|
|
6
|
-
# Application
|
6
|
+
# Application Scripts
|
7
7
|
namespace :script do
|
8
8
|
# Main Script Module
|
9
9
|
resources :listings, class_name: 'Phcscriptcdnpro::Script::Listing' do
|
@@ -55,6 +55,7 @@ module Phcscriptcdnpro
|
|
55
55
|
|
56
56
|
# Load Requried Helper Files
|
57
57
|
config.to_prepare do
|
58
|
+
Phcaccountspro::ApplicationController.helper(ApplicationHelper)
|
58
59
|
Phcnotifi::ApplicationController.helper(ApplicationHelper)
|
59
60
|
Phctitleseo::ApplicationController.helper(ApplicationHelper)
|
60
61
|
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:
|
4
|
+
version: 66.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -428,14 +428,14 @@ dependencies:
|
|
428
428
|
requirements:
|
429
429
|
- - "~>"
|
430
430
|
- !ruby/object:Gem::Version
|
431
|
-
version: '
|
431
|
+
version: '59.0'
|
432
432
|
type: :runtime
|
433
433
|
prerelease: false
|
434
434
|
version_requirements: !ruby/object:Gem::Requirement
|
435
435
|
requirements:
|
436
436
|
- - "~>"
|
437
437
|
- !ruby/object:Gem::Version
|
438
|
-
version: '
|
438
|
+
version: '59.0'
|
439
439
|
- !ruby/object:Gem::Dependency
|
440
440
|
name: sqlite3
|
441
441
|
requirement: !ruby/object:Gem::Requirement
|