phcdevworks_tutorials 1.2.5 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -27
- data/app/assets/config/phcdevworks_tutorials_manifest.js +1 -1
- data/app/assets/stylesheets/phcdevworks_tutorials/category/posts.css +4 -0
- data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/posts.css +4 -0
- data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/steps.css +4 -0
- data/app/controllers/phcdevworks_tutorials/tutorial/categories_controller.rb +1 -2
- data/app/controllers/phcdevworks_tutorials/tutorial/posts_controller.rb +5 -6
- data/app/controllers/phcdevworks_tutorials/tutorial/steps_controller.rb +6 -12
- data/app/models/phcdevworks_tutorials/category.rb +7 -0
- data/app/models/phcdevworks_tutorials/tutorial/category.rb +1 -1
- data/app/models/phcdevworks_tutorials/tutorial/post.rb +2 -2
- data/app/models/phcdevworks_tutorials/tutorial/step.rb +1 -1
- data/app/views/layouts/phcdevworks_tutorials/application.html.erb +62 -77
- data/app/views/layouts/phcdevworks_tutorials/components/backend/footer/_footer.html.erb +7 -7
- data/app/views/layouts/phcdevworks_tutorials/components/backend/navigation/_top_menu.html.erb +37 -37
- data/app/views/layouts/phcdevworks_tutorials/components/backend/sidebars/_side_menu.html.erb +257 -239
- data/app/views/layouts/phcdevworks_tutorials/frontend.html.erb +0 -5
- data/app/views/phcdevworks_tutorials/tutorial/categories/_form.html.erb +16 -14
- data/app/views/phcdevworks_tutorials/tutorial/categories/edit.html.erb +31 -23
- data/app/views/phcdevworks_tutorials/tutorial/categories/index.html.erb +63 -52
- data/app/views/phcdevworks_tutorials/tutorial/categories/new.html.erb +31 -23
- data/app/views/phcdevworks_tutorials/tutorial/posts/_form.html.erb +46 -46
- data/app/views/phcdevworks_tutorials/tutorial/posts/edit.html.erb +31 -23
- data/app/views/phcdevworks_tutorials/tutorial/posts/index.html.erb +68 -56
- data/app/views/phcdevworks_tutorials/tutorial/posts/new.html.erb +31 -23
- data/app/views/phcdevworks_tutorials/tutorial/steps/_form.html.erb +36 -48
- data/app/views/phcdevworks_tutorials/tutorial/steps/edit.html.erb +31 -23
- data/app/views/phcdevworks_tutorials/tutorial/steps/index.html.erb +57 -52
- data/app/views/phcdevworks_tutorials/tutorial/steps/new.html.erb +31 -23
- data/config/routes.rb +3 -3
- data/db/migrate/{20190911225813_create_phcdevworks_tutorials_tutorial_posts.rb → 20191017235259_create_phcdevworks_tutorials_tutorial_posts.rb} +3 -0
- data/db/migrate/{20190923113101_create_phcdevworks_tutorials_tutorial_steps.rb → 20191017235421_create_phcdevworks_tutorials_tutorial_steps.rb} +4 -2
- data/db/migrate/{20190911225925_create_phcdevworks_tutorials_tutorial_categories.rb → 20191018124910_create_phcdevworks_tutorials_tutorial_categories.rb} +0 -0
- data/db/migrate/20191024232406_create_phcdevworks_tutorials_categories_posts.rb +8 -0
- data/lib/phcdevworks_tutorials/engine.rb +6 -8
- data/lib/phcdevworks_tutorials/version.rb +1 -1
- metadata +36 -22
- data/app/assets/javascripts/phcdevworks_tutorials/tutorial/posts.coffee +0 -3
- data/app/assets/javascripts/phcdevworks_tutorials/tutorial/steps.coffee +0 -3
- data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/posts.scss +0 -3
- data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/steps.scss +0 -3
- data/app/assets/stylesheets/scaffolds.scss +0 -65
- data/config/initializers/friendly_id.rb +0 -107
- data/db/migrate/20190929044403_add_info_to_phcdevworks_tutorials_tutorial_posts.rb +0 -9
- data/db/migrate/20190929044505_add_info_to_phcdevworks_tutorials_tutorial_steps.rb +0 -7
- data/db/migrate/20191002093451_add_image_to_phcdevworks_tutorials_tutorial_posts.rb +0 -8
- data/db/migrate/20191003235303_create_join_table_categories_posts.rb +0 -10
- data/db/migrate/20191006054657_add_tittle_to_phcdevworks_tutorials_tutorial_steps.rb +0 -7
data/app/views/layouts/phcdevworks_tutorials/components/backend/sidebars/_side_menu.html.erb
CHANGED
@@ -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 -->
|