phcdevworks_scripts 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/phcdevworks_scripts/script/authors.coffee +3 -0
- data/app/assets/javascripts/phcdevworks_scripts/script/extensions.coffee +3 -0
- data/app/assets/javascripts/phcdevworks_scripts/script/listings.coffee +3 -0
- data/app/assets/javascripts/phcdevworks_scripts/script/urls.coffee +3 -0
- data/app/assets/javascripts/phcdevworks_scripts/snippet/posts.coffee +3 -0
- data/app/assets/javascripts/phcdevworks_scripts/snippet/urls.coffee +3 -0
- data/app/assets/stylesheets/phcdevworks_scripts/script/authors.scss +3 -0
- data/app/assets/stylesheets/phcdevworks_scripts/script/extensions.scss +3 -0
- data/app/assets/stylesheets/phcdevworks_scripts/script/listings.scss +3 -0
- data/app/assets/stylesheets/phcdevworks_scripts/script/urls.scss +3 -0
- data/app/assets/stylesheets/phcdevworks_scripts/snippet/posts.scss +3 -0
- data/app/assets/stylesheets/phcdevworks_scripts/snippet/urls.scss +3 -0
- data/app/assets/stylesheets/scaffolds.scss +65 -0
- data/app/views/layouts/phcdevworks_scripts/application.html.erb +62 -77
- data/app/views/layouts/phcdevworks_scripts/components/backend/footer/_footer.html.erb +7 -7
- data/app/views/layouts/phcdevworks_scripts/components/backend/navigation/_top_menu.html.erb +37 -37
- data/app/views/layouts/phcdevworks_scripts/components/backend/sidebars/_side_menu.html.erb +257 -239
- data/app/views/phcdevworks_scripts/script/authors/_form.html.erb +4 -2
- data/app/views/phcdevworks_scripts/script/authors/edit.html.erb +27 -15
- data/app/views/phcdevworks_scripts/script/authors/index.html.erb +61 -46
- data/app/views/phcdevworks_scripts/script/authors/new.html.erb +27 -15
- data/app/views/phcdevworks_scripts/script/extensions/_form.html.erb +6 -2
- data/app/views/phcdevworks_scripts/script/extensions/edit.html.erb +27 -15
- data/app/views/phcdevworks_scripts/script/extensions/index.html.erb +56 -42
- data/app/views/phcdevworks_scripts/script/extensions/new.html.erb +27 -15
- data/app/views/phcdevworks_scripts/script/listings/_form.html.erb +13 -3
- data/app/views/phcdevworks_scripts/script/listings/edit.html.erb +29 -17
- data/app/views/phcdevworks_scripts/script/listings/index.html.erb +60 -46
- data/app/views/phcdevworks_scripts/script/listings/new.html.erb +29 -18
- data/app/views/phcdevworks_scripts/script/urls/_form.html.erb +7 -1
- data/app/views/phcdevworks_scripts/script/urls/edit.html.erb +41 -17
- data/app/views/phcdevworks_scripts/script/urls/index.html.erb +59 -44
- data/app/views/phcdevworks_scripts/script/urls/new.html.erb +27 -15
- data/app/views/phcdevworks_scripts/script/versions/_form.html.erb +2 -0
- data/app/views/phcdevworks_scripts/script/versions/edit.html.erb +27 -15
- data/app/views/phcdevworks_scripts/script/versions/index.html.erb +55 -40
- data/app/views/phcdevworks_scripts/script/versions/new.html.erb +27 -15
- data/app/views/phcdevworks_scripts/snippet/posts/_form.html.erb +1 -0
- data/app/views/phcdevworks_scripts/snippet/posts/edit.html.erb +31 -23
- data/app/views/phcdevworks_scripts/snippet/posts/index.html.erb +68 -54
- data/app/views/phcdevworks_scripts/snippet/posts/new.html.erb +31 -23
- data/app/views/phcdevworks_scripts/snippet/urls/_form.html.erb +2 -2
- data/app/views/phcdevworks_scripts/snippet/urls/edit.html.erb +31 -23
- data/app/views/phcdevworks_scripts/snippet/urls/index.html.erb +66 -52
- data/app/views/phcdevworks_scripts/snippet/urls/new.html.erb +31 -23
- data/config/routes.rb +43 -22
- data/lib/phcdevworks_scripts/engine.rb +6 -8
- data/lib/phcdevworks_scripts/version.rb +1 -1
- metadata +35 -16
- data/app/assets/stylesheets/phcdevworks_scripts/script/authors.css +0 -4
- data/app/assets/stylesheets/phcdevworks_scripts/script/extensions.css +0 -4
- data/app/assets/stylesheets/phcdevworks_scripts/script/listings.css +0 -4
- data/app/assets/stylesheets/phcdevworks_scripts/script/urls.css +0 -4
- data/app/assets/stylesheets/phcdevworks_scripts/snippet/posts.css +0 -4
- data/app/assets/stylesheets/phcdevworks_scripts/snippet/urls.css +0 -4
- data/config/initializers/friendly_id.rb +0 -107
@@ -1,239 +1,257 @@
|
|
1
|
-
<!-- Sidebar for PHCDevworks Engines -->
|
2
|
-
<div data-scrollbar="true" data-height="100%">
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
1
|
+
<!-- Sidebar for PHCDevworks Engines -->
|
2
|
+
<div data-scrollbar="true" data-height="100%">
|
3
|
+
|
4
|
+
<!-- Sidebar - User Profile Menu -->
|
5
|
+
<ul class="nav">
|
6
|
+
<% if current_user %>
|
7
|
+
<li class="nav-profile">
|
8
|
+
<a href="javascript:;" data-toggle="nav-profile">
|
9
|
+
<div class="cover with-shadow"></div>
|
10
|
+
<div class="image">
|
11
|
+
<%= image_tag current_user.gravatar_url %>
|
12
|
+
</div>
|
13
|
+
<div class="info">
|
14
|
+
<b class="caret pull-right"></b>
|
15
|
+
<%= current_user.firstname + " " + current_user.lastname %>
|
16
|
+
<small><%= current_user.username %></small>
|
17
|
+
</div>
|
18
|
+
</a>
|
19
|
+
</li>
|
20
|
+
<li>
|
21
|
+
<ul class="nav nav-profile">
|
22
|
+
<li>
|
23
|
+
<%= link_to phcdevworks_accounts.edit_user_registration_path do %>
|
24
|
+
<i class="fad fa-cogs"></i> Account Settings
|
25
|
+
<% end %>
|
26
|
+
</li>
|
27
|
+
<li>
|
28
|
+
<%= link_to phcdevworks_accounts.destroy_user_session_path do %>
|
29
|
+
<i class="fad fa-sign-out-alt"></i> Logout
|
30
|
+
<% end %>
|
31
|
+
</li>
|
32
|
+
</ul>
|
33
|
+
</li>
|
34
|
+
<% end %>
|
35
|
+
</ul>
|
36
|
+
<!-- Sidebar - User Profile Menu -->
|
37
|
+
|
38
|
+
<!-- Sidebar - Sidebar Navigation -->
|
39
|
+
<ul class="nav">
|
40
|
+
|
41
|
+
<% if defined?phcdevworks_members %>
|
42
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks Members -->
|
43
|
+
<li class="nav-header">Membership Manager</li>
|
44
|
+
<li class="has-sub">
|
45
|
+
<a href="javascript:;">
|
46
|
+
<b class="caret"></b>
|
47
|
+
<i class="fad fa-users"></i>
|
48
|
+
<span>Member"s Data</span>
|
49
|
+
</a>
|
50
|
+
<ul class="sub-menu">
|
51
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_members/member/profiles") %>"><%= link_to("Profile Index", phcdevworks_members.member_profiles_path) %></li>
|
52
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_members/member/profiles#new") %>"><%= link_to("New Member Profile", phcdevworks_members.new_member_profile_path) %></li>
|
53
|
+
</ul>
|
54
|
+
</li>
|
55
|
+
<li class="nav-header">Member"s Directory</li>
|
56
|
+
<li class="has-sub">
|
57
|
+
<a href="javascript:;">
|
58
|
+
<b class="caret"></b>
|
59
|
+
<i class="fad fa-list-alt"></i>
|
60
|
+
<span>Member"s Directory</span>
|
61
|
+
</a>
|
62
|
+
<ul class="sub-menu">
|
63
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_members/directory/categories") %>"><%= link_to("Directory Index", phcdevworks_members.directory_categories_path) %></li>
|
64
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_members/directory/categories#new") %>"><%= link_to("New Directory Listing", phcdevworks_members.new_directory_category_path) %></li>
|
65
|
+
</ul>
|
66
|
+
</li>
|
67
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks Members -->
|
68
|
+
<% end %>
|
69
|
+
|
70
|
+
<% if defined?phcdevworks_portfolio %>
|
71
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks Press -->
|
72
|
+
<li class="nav-header">Portfolio</li>
|
73
|
+
<li class="has-sub">
|
74
|
+
<a href="javascript:;">
|
75
|
+
<b class="caret"></b>
|
76
|
+
<i class="fad fa-briefcase"></i>
|
77
|
+
<span>Project List</span>
|
78
|
+
</a>
|
79
|
+
<ul class="sub-menu">
|
80
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts") %>"><%= link_to("Project Index", phcdevworks_portfolio.project_posts_path) %></li>
|
81
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts#new") %>"><%= link_to("New Project", phcdevworks_portfolio.new_project_post_path) %></li>
|
82
|
+
</ul>
|
83
|
+
</li>
|
84
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks Press -->
|
85
|
+
<% end %>
|
86
|
+
|
87
|
+
<% if defined?phcdevworks_press %>
|
88
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks Press -->
|
89
|
+
<li class="nav-header">Articles & Blogging</li>
|
90
|
+
<li class="has-sub">
|
91
|
+
<a href="javascript:;">
|
92
|
+
<b class="caret"></b>
|
93
|
+
<i class="fad fa-newspaper"></i>
|
94
|
+
<span>Article Posts</span>
|
95
|
+
</a>
|
96
|
+
<ul class="sub-menu">
|
97
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_press/article/posts") %>"><%= link_to("Article Index", phcdevworks_press.article_posts_path) %></li>
|
98
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_press/article/posts#new") %>"><%= link_to("New Aritcle", phcdevworks_press.new_article_post_path) %></li>
|
99
|
+
</ul>
|
100
|
+
</li>
|
101
|
+
<li class="has-sub">
|
102
|
+
<a href="javascript:;">
|
103
|
+
<b class="caret"></b>
|
104
|
+
<i class="fad fa-sitemap"></i>
|
105
|
+
<span>Article Categories</span>
|
106
|
+
</a>
|
107
|
+
<ul class="sub-menu">
|
108
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_press/article/categories") %>"><%= link_to("Category Index", phcdevworks_press.article_categories_path) %></li>
|
109
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_press/article/categories#new") %>"><%= link_to("New Category", phcdevworks_press.new_article_category_path) %></li>
|
110
|
+
</ul>
|
111
|
+
</li>
|
112
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks Press -->
|
113
|
+
<% end %>
|
114
|
+
|
115
|
+
<% if defined?phcdevworks_scripts %>
|
116
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks Scripts -->
|
117
|
+
<li class="nav-header">Script CDN Listings</li>
|
118
|
+
<li class="has-sub">
|
119
|
+
<a href="javascript:;">
|
120
|
+
<b class="caret"></b>
|
121
|
+
<i class="fad fa-laptop-code"></i>
|
122
|
+
<span>Script Posts</span>
|
123
|
+
</a>
|
124
|
+
<ul class="sub-menu">
|
125
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/listings") %>"><%= link_to "All Script Listings", phcdevworks_scripts.script_listings_path %></li>
|
126
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/listings#new") %>"><%= link_to "Add a New Listing", phcdevworks_scripts.new_script_listing_path %></li>
|
127
|
+
</ul>
|
128
|
+
</li>
|
129
|
+
<li class="has-sub">
|
130
|
+
<a href="javascript:;">
|
131
|
+
<b class="caret"></b>
|
132
|
+
<i class="fad fa-sitemap"></i>
|
133
|
+
<span>Script Extras</span>
|
134
|
+
</a>
|
135
|
+
<ul class="sub-menu">
|
136
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/authors") %>"><%= link_to "Script Authors", phcdevworks_scripts.script_authors_path %></li>
|
137
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/extensions") %>"><%= link_to "Script Extensions", phcdevworks_scripts.script_extensions_path %></li>
|
138
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/versions") %>"><%= link_to "Script Versions", phcdevworks_scripts.script_versions_path %></li>
|
139
|
+
</ul>
|
140
|
+
</li>
|
141
|
+
<li class="nav-header">Code Snippets</li>
|
142
|
+
<li class="has-sub">
|
143
|
+
<a href="javascript:;">
|
144
|
+
<b class="caret"></b>
|
145
|
+
<i class="fad fa-code"></i>
|
146
|
+
<span>Code Snippets</span>
|
147
|
+
</a>
|
148
|
+
<ul class="sub-menu">
|
149
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/posts") %>"><%= link_to "Snippet Index", phcdevworks_scripts.snippet_posts_path %></li>
|
150
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/posts#new") %>"><%= link_to "New Snippet", phcdevworks_scripts.new_snippet_post_path %></li>
|
151
|
+
</ul>
|
152
|
+
</li>
|
153
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks Scripts -->
|
154
|
+
<% end %>
|
155
|
+
|
156
|
+
<% if defined?phcdevworks_real_estate %>
|
157
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks RealEstate -->
|
158
|
+
<li class="nav-header">Property Listings</li>
|
159
|
+
<li class="has-sub">
|
160
|
+
<a href="javascript:;">
|
161
|
+
<b class="caret"></b>
|
162
|
+
<i class="fad fa-home-lg"></i>
|
163
|
+
<span>Property Listings</span>
|
164
|
+
</a>
|
165
|
+
<ul class="sub-menu">
|
166
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_real_estate/property/listings") %>"><%= link_to "Listing Index", phcdevworks_real_estate.property_listings_path %></li>
|
167
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_real_estate/property/listings#new") %>"><%= link_to "New Listing", phcdevworks_real_estate.new_property_listing_path %></li>
|
168
|
+
</ul>
|
169
|
+
</li>
|
170
|
+
<li class="has-sub">
|
171
|
+
<a href="javascript:;">
|
172
|
+
<b class="caret"></b>
|
173
|
+
<i class="fad fa-list-alt"></i>
|
174
|
+
<span>Listing Features</span>
|
175
|
+
</a>
|
176
|
+
<ul class="sub-menu">
|
177
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_real_estate/property/listings") %>"><%= link_to "Features Index", phcdevworks_real_estate.property_features_path %></li>
|
178
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_real_estate/property/listings#new") %>"><%= link_to "New Features", phcdevworks_real_estate.new_property_feature_path %></li>
|
179
|
+
</ul>
|
180
|
+
</li>
|
181
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks RealEstate -->
|
182
|
+
<% end %>
|
183
|
+
|
184
|
+
<% if defined?phcdevworks_tutorials %>
|
185
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks RealEstate -->
|
186
|
+
<li class="nav-header">Tutorial Posts</li>
|
187
|
+
<li class="has-sub">
|
188
|
+
<a href="javascript:;">
|
189
|
+
<b class="caret"></b>
|
190
|
+
<i class="fad fa-chalkboard-teacher"></i>
|
191
|
+
<span>Tutorial Posts</span>
|
192
|
+
</a>
|
193
|
+
<ul class="sub-menu">
|
194
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_tutorials/tutorials/posts") %>"><%= link_to "Tutorial Index", phcdevworks_tutorials.tutorial_posts_path %></li>
|
195
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_tutorials/tutorials/posts#new") %>"><%= link_to "New Tutorial", phcdevworks_tutorials.new_tutorial_post_path %></li>
|
196
|
+
</ul>
|
197
|
+
</li>
|
198
|
+
<li class="has-sub">
|
199
|
+
<a href="javascript:;">
|
200
|
+
<b class="caret"></b>
|
201
|
+
<i class="fad fa-sitemap"></i>
|
202
|
+
<span>Tutorial Categories</span>
|
203
|
+
</a>
|
204
|
+
<ul class="sub-menu">
|
205
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_tutorials/tutorials/categories") %>"><%= link_to "Category Index", phcdevworks_tutorials.tutorial_categories_path %></li>
|
206
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_tutorials/tutorials/categories#new") %>"><%= link_to "New Category", phcdevworks_tutorials.new_tutorial_category_path %></li>
|
207
|
+
</ul>
|
208
|
+
</li>
|
209
|
+
<!-- Sidebar - Sidebar Navigation - PHCDevworks RealEstate -->
|
210
|
+
<% end %>
|
211
|
+
|
212
|
+
<% if current_user && current_user.admin? %>
|
213
|
+
<!-- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
|
214
|
+
<li class="nav-header">User Administration</li>
|
215
|
+
<li class="has-sub">
|
216
|
+
<a href="javascript:;">
|
217
|
+
<b class="caret"></b>
|
218
|
+
<i class="fad fa-user"></i>
|
219
|
+
<span>Admin</span>
|
220
|
+
</a>
|
221
|
+
<ul class="sub-menu">
|
222
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts/admin/users") %>"><%= link_to "User List", phcdevworks_accounts.admin_users_index_path %></li>
|
223
|
+
</ul>
|
224
|
+
</li>
|
225
|
+
<!-- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
|
226
|
+
<% end %>
|
227
|
+
|
228
|
+
<% if current_user %>
|
229
|
+
<!-- Sidebar - Sidebar Navigation - PHCAccounts User Options -->
|
230
|
+
<li class="nav-header">Your Account</li>
|
231
|
+
<li class="has-sub">
|
232
|
+
<a href="javascript:;">
|
233
|
+
<b class="caret"></b>
|
234
|
+
<i class="fad fa-user"></i>
|
235
|
+
<span>Accounts Settings</span>
|
236
|
+
</a>
|
237
|
+
<ul class="sub-menu">
|
238
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts/user/edit") %>"><%= link_to "Settings", phcdevworks_accounts.edit_user_registration_path %></li>
|
239
|
+
<li class="<%= phc_menu_active_controller("phcdevworks_accounts/user/new") %>"><%= link_to "Logout", phcdevworks_accounts.destroy_user_session_path, method: :delete %></li>
|
240
|
+
</ul>
|
241
|
+
</li>
|
242
|
+
<!-- Sidebar - Sidebar Navigation - PHCAccounts User Options -->
|
243
|
+
<% end %>
|
244
|
+
|
245
|
+
<!-- Sidebar - Sidebar Minifier -->
|
246
|
+
<li>
|
247
|
+
<a href="javascript:;" class="sidebar-minify-btn" data-click="sidebar-minify">
|
248
|
+
<i class="fa fa-angle-double-left"></i>
|
249
|
+
</a>
|
250
|
+
</li>
|
251
|
+
<!-- Sidebar - Sidebar Minifier -->
|
252
|
+
|
253
|
+
</ul>
|
254
|
+
<!-- Sidebar - Sidebar Navigation -->
|
255
|
+
|
256
|
+
</div>
|
257
|
+
<!-- Sidebar for PHCDevworks Engines -->
|
@@ -1,7 +1,8 @@
|
|
1
|
+
<!-- Form - Script - Authors -->
|
1
2
|
<%= form_with(model: script_author, local: true) do |form| %>
|
2
3
|
|
3
4
|
<!-- PHCNotifi Render Validation -->
|
4
|
-
<%= render
|
5
|
+
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_author %>
|
5
6
|
<!-- PHCNotifi Render Validation -->
|
6
7
|
|
7
8
|
<!-- Form Input Fields -->
|
@@ -25,7 +26,7 @@
|
|
25
26
|
<%= form.text_field :author_github, placeholder: "Author Github Address", class: "form-control" %>
|
26
27
|
</div>
|
27
28
|
<!-- Form Input Fields -->
|
28
|
-
|
29
|
+
|
29
30
|
<!-- Form Submition Button -->
|
30
31
|
<div class="actions">
|
31
32
|
<%= form.submit class: "btn btn-primary" %>
|
@@ -33,3 +34,4 @@
|
|
33
34
|
<!-- For Submition Button -->
|
34
35
|
|
35
36
|
<% end %>
|
37
|
+
<!-- Form - Script - Authors -->
|
@@ -1,10 +1,10 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
2
|
<% phc_title "Script Authors" %>
|
3
3
|
<% phc_title_tagline "Update Author Data" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Script Index", phcdevworks_scripts.script_listings_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Author Index", phcdevworks_scripts.script_authors_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title
|
7
|
+
<!-- PHCTitleSEO Title Variables -->
|
8
8
|
|
9
9
|
<!-- Page Bradcrumbs -->
|
10
10
|
<ol class="breadcrumb pull-right">
|
@@ -15,23 +15,35 @@
|
|
15
15
|
<!-- Page Bradcrumbs -->
|
16
16
|
|
17
17
|
<!-- Page Header -->
|
18
|
-
<
|
18
|
+
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
19
19
|
<!-- Page Header -->
|
20
20
|
|
21
21
|
<!-- Page Content -->
|
22
|
-
<div class="
|
23
|
-
<div class="
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
24
|
+
|
25
|
+
<!-- Panel -->
|
26
|
+
<div class="panel panel-inverse">
|
27
|
+
|
28
|
+
<!-- Panel - Heading -->
|
29
|
+
<div class="panel-heading">
|
30
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
31
|
+
</div>
|
32
|
+
<!-- Panel - Heading -->
|
33
|
+
|
34
|
+
<!-- Panel - Body -->
|
35
|
+
<div class="panel-body">
|
36
|
+
|
37
|
+
<!-- Edit Form -->
|
38
|
+
<%= render "form", script_author: @script_author %>
|
39
|
+
<!-- Edit Form -->
|
40
|
+
|
41
|
+
</div>
|
42
|
+
<!-- Panel - Body -->
|
43
|
+
|
28
44
|
</div>
|
29
|
-
|
30
|
-
|
31
|
-
<div class="panel-body">
|
32
|
-
<!-- Form to Edit Author -->
|
33
|
-
<%= render 'form', script_author: @script_author %>
|
34
|
-
<!-- Form to Edit Author -->
|
45
|
+
<!-- Panel -->
|
46
|
+
|
35
47
|
</div>
|
36
48
|
</div>
|
37
49
|
<!-- Page Content -->
|