phcdevworks_accounts_stripe 0.2.0 → 1.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 +20 -20
- data/README.md +46 -1
- data/Rakefile +8 -8
- data/app/assets/config/phcdevworks_accounts_stripe_manifest.js +2 -3
- data/app/assets/stylesheets/phcdevworks_accounts_stripe/application.css +15 -15
- data/app/controllers/phcdevworks_accounts_stripe/admin/customers_controller.rb +0 -0
- data/app/controllers/phcdevworks_accounts_stripe/admin/invoices_controller.rb +0 -0
- data/app/controllers/phcdevworks_accounts_stripe/admin/products_controller.rb +0 -0
- data/app/controllers/phcdevworks_accounts_stripe/admin/subscriptions_controller.rb +0 -0
- data/app/controllers/phcdevworks_accounts_stripe/application_controller.rb +0 -0
- data/app/controllers/phcdevworks_accounts_stripe/user/invoices_controller.rb +0 -0
- data/app/controllers/phcdevworks_accounts_stripe/user/product_controller.rb +0 -0
- data/app/controllers/phcdevworks_accounts_stripe/user/subscription_controller.rb +0 -0
- data/app/helpers/phcdevworks_accounts_stripe/admin/customers_helper.rb +0 -0
- data/app/helpers/phcdevworks_accounts_stripe/admin/invoices_helper.rb +0 -0
- data/app/helpers/phcdevworks_accounts_stripe/admin/plans_helper.rb +0 -0
- data/app/helpers/phcdevworks_accounts_stripe/admin/subscriptions_helper.rb +0 -0
- data/app/helpers/phcdevworks_accounts_stripe/application_helper.rb +0 -0
- data/app/helpers/phcdevworks_accounts_stripe/user/invoices_helper.rb +0 -0
- data/app/helpers/phcdevworks_accounts_stripe/user/plan_helper.rb +0 -0
- data/app/helpers/phcdevworks_accounts_stripe/user/subscription_helper.rb +0 -0
- data/app/jobs/phcdevworks_accounts_stripe/application_job.rb +4 -4
- data/app/mailers/phcdevworks_accounts_stripe/application_mailer.rb +6 -6
- data/app/models/phcdevworks_accounts_stripe/application_record.rb +0 -0
- data/app/views/layouts/phcdevworks_accounts_stripe/application.html.erb +73 -66
- data/app/views/layouts/phcdevworks_accounts_stripe/components/backend/footer/_footer.html.erb +9 -7
- data/app/views/layouts/phcdevworks_accounts_stripe/components/backend/navigation/_top_menu.html.erb +22 -21
- data/app/views/layouts/phcdevworks_accounts_stripe/components/backend/sidebars/_side_menu.html.erb +491 -349
- data/app/views/phcdevworks_accounts_stripe/admin/customers/admin_customer_list.html.erb +44 -52
- data/app/views/phcdevworks_accounts_stripe/admin/invoices/admin_invoice_list.html.erb +61 -69
- data/app/views/phcdevworks_accounts_stripe/admin/products/admin_products_list.html.erb +46 -54
- data/app/views/phcdevworks_accounts_stripe/admin/subscriptions/admin_subscription_list.html.erb +48 -56
- data/app/views/phcdevworks_accounts_stripe/user/invoices/user_invoice_item.html.erb +0 -0
- data/app/views/phcdevworks_accounts_stripe/user/invoices/user_invoice_list.html.erb +0 -0
- data/app/views/phcdevworks_accounts_stripe/user/products/user_product_list.html.erb +0 -0
- data/app/views/phcdevworks_accounts_stripe/user/subscription/user_subscription_cancel.html.erb +0 -0
- data/app/views/phcdevworks_accounts_stripe/user/subscription/user_subscription_item.html.erb +0 -0
- data/config/initializers/stripe.rb +0 -0
- data/config/routes.rb +14 -17
- data/lib/phcdevworks_accounts_stripe/engine.rb +44 -47
- data/lib/phcdevworks_accounts_stripe/version.rb +3 -3
- data/lib/phcdevworks_accounts_stripe.rb +6 -6
- data/lib/tasks/phcdevworks_accounts_stripe_tasks.rake +4 -4
- metadata +39 -47
- data/app/assets/javascripts/phcdevworks_accounts_stripe/admin/invoices.coffee +0 -3
- data/app/assets/stylesheets/phcdevworks_accounts_stripe/admin/customers.css +0 -4
- data/app/assets/stylesheets/phcdevworks_accounts_stripe/admin/invoices.scss +0 -3
- data/app/assets/stylesheets/phcdevworks_accounts_stripe/admin/plans.css +0 -4
- data/app/assets/stylesheets/phcdevworks_accounts_stripe/admin/subscriptions.css +0 -4
- data/app/assets/stylesheets/phcdevworks_accounts_stripe/user/invoices.css +0 -4
- data/app/assets/stylesheets/phcdevworks_accounts_stripe/user/plan.css +0 -4
- data/app/assets/stylesheets/phcdevworks_accounts_stripe/user/subscription.css +0 -4
data/app/views/layouts/phcdevworks_accounts_stripe/components/backend/sidebars/_side_menu.html.erb
CHANGED
@@ -1,387 +1,529 @@
|
|
1
|
-
<!-- -
|
2
|
-
<div data-scrollbar="true" data-height="100%">
|
1
|
+
<!-- -PHCDev- Page Container - Sidebar -->
|
2
|
+
<div class="app-sidebar-content" data-scrollbar="true" data-height="100%">
|
3
|
+
<div class="menu">
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
<div class="
|
10
|
-
<div class="image">
|
5
|
+
<!-- -PHCDev- Page Container - Sidebar - Profile -->
|
6
|
+
<div class="menu-profile">
|
7
|
+
<% if current_user %>
|
8
|
+
<a href="javascript:;" class="menu-profile-link" data-toggle="app-sidebar-profile" data-target="#appSidebarProfileMenu">
|
9
|
+
<div class="menu-profile-cover with-shadow"></div>
|
10
|
+
<div class="menu-profile-image">
|
11
11
|
<%= image_tag current_user.gravatar_url %>
|
12
12
|
</div>
|
13
|
-
<div class="info">
|
14
|
-
<
|
15
|
-
|
13
|
+
<div class="menu-profile-info">
|
14
|
+
<div class="d-flex align-items-center">
|
15
|
+
<div class="flex-grow-1">
|
16
|
+
<%= current_user.firstname + " " + current_user.lastname %>
|
17
|
+
</div>
|
18
|
+
<div class="menu-caret ms-auto"></div>
|
19
|
+
</div>
|
16
20
|
<small><%= current_user.username %></small>
|
17
21
|
</div>
|
18
22
|
</a>
|
19
|
-
|
20
|
-
|
21
|
-
|
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, method: :delete do %>
|
29
|
-
<i class="fad fa-sign-out-alt"></i> Logout
|
30
|
-
<% end %>
|
31
|
-
</li>
|
32
|
-
</ul>
|
33
|
-
</li>
|
34
|
-
<% end %>
|
35
|
-
</ul>
|
36
|
-
<!-- -PHC- Sidebar - User Profile Menu -->
|
37
|
-
|
38
|
-
<!-- -PHC- Sidebar - Sidebar Navigation -->
|
39
|
-
<ul class="nav">
|
23
|
+
<% end %>
|
24
|
+
</div>
|
25
|
+
<!-- -PHCDev- Page Container - Sidebar - Profile -->
|
40
26
|
|
41
|
-
|
42
|
-
|
43
|
-
<
|
44
|
-
|
45
|
-
|
46
|
-
<
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
<a href="javascript:;">
|
57
|
-
<b class="caret"></b>
|
58
|
-
<i class="fad fa-star-half"></i>
|
59
|
-
<span>Review Articles</span>
|
60
|
-
</a>
|
61
|
-
<ul class="sub-menu">
|
62
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_press/review/posts") %>"><%= link_to("Reviews Index", phcdevworks_press.review_posts_path) %></li>
|
63
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_press/review/posts#new") %>"><%= link_to("Add a New Review", phcdevworks_press.new_review_post_path) %></li>
|
64
|
-
</ul>
|
65
|
-
</li>
|
66
|
-
<li class="has-sub">
|
67
|
-
<a href="javascript:;">
|
68
|
-
<b class="caret"></b>
|
69
|
-
<i class="fad fa-th-list"></i>
|
70
|
-
<span>List Articles</span>
|
71
|
-
</a>
|
72
|
-
<ul class="sub-menu">
|
73
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_press/list/posts") %>"><%= link_to("Lists Index", phcdevworks_press.list_posts_path) %></li>
|
74
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_press/list/posts#new") %>"><%= link_to("Add a New List", phcdevworks_press.new_list_post_path) %></li>
|
75
|
-
</ul>
|
76
|
-
</li>
|
77
|
-
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Press -->
|
78
|
-
<% end %>
|
27
|
+
<!-- -PHCDev- Page Container - Sidebar - Profile - Menu -->
|
28
|
+
<div id="appSidebarProfileMenu" class="collapse">
|
29
|
+
<div class="menu-item pt-5px">
|
30
|
+
<%= link_to phcdevworks_accounts_devise.edit_user_registration_path, class: "menu-link" do %>
|
31
|
+
<div class="menu-icon"><i class="fad fa-cogs"></i></div>
|
32
|
+
<div class="menu-text">Account Settings</div>
|
33
|
+
<% end %>
|
34
|
+
<%= link_to phcdevworks_accounts_devise.destroy_user_session_path, method: :delete, class: "menu-link" do %>
|
35
|
+
<div class="menu-icon"><i class="fad fa-sign-out-alt"></i></div>
|
36
|
+
<div class="menu-text">Logout</div>
|
37
|
+
<% end %>
|
38
|
+
</div>
|
39
|
+
<div class="menu-divider m-0"></div>
|
40
|
+
</div>
|
41
|
+
<!-- -PHCDev- Page Container - Sidebar - Profile - Menu -->
|
79
42
|
|
80
|
-
|
81
|
-
|
82
|
-
<
|
83
|
-
<
|
84
|
-
<a href="javascript:;">
|
85
|
-
<
|
86
|
-
<
|
87
|
-
<
|
88
|
-
</a>
|
89
|
-
<ul class="sub-menu">
|
90
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts") %>"><%= link_to("Project Index", phcdevworks_portfolio.project_posts_path) %></li>
|
91
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_portfolio/project/posts#new") %>"><%= link_to("New Project", phcdevworks_portfolio.new_project_post_path) %></li>
|
92
|
-
</ul>
|
93
|
-
</li>
|
94
|
-
<li class="has-sub">
|
95
|
-
<a href="javascript:;">
|
96
|
-
<b class="caret"></b>
|
97
|
-
<i class="fad fa-folders"></i>
|
98
|
-
<span>Project Types</span>
|
43
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCMembers -->
|
44
|
+
<% if defined?phcdevworks_members %>
|
45
|
+
<div class="menu-header">PHCMembers</div>
|
46
|
+
<div class="menu-item has-sub">
|
47
|
+
<a href="javascript:;" class="menu-link">
|
48
|
+
<div class="menu-icon"><i class="material-icons">people</i></div>
|
49
|
+
<div class="menu-text">Membership Manager</div>
|
50
|
+
<div class="menu-caret"></div>
|
99
51
|
</a>
|
100
|
-
<
|
101
|
-
<
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
52
|
+
<div class="menu-submenu">
|
53
|
+
<div class="menu-item has-sub">
|
54
|
+
<a href="javascript:;" class="menu-link">
|
55
|
+
<div class="menu-text">Member's Data</div>
|
56
|
+
<div class="menu-caret"></div>
|
57
|
+
</a>
|
58
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_members/member/profiles") %>">
|
59
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_members/member/profiles", "Index") %>">
|
60
|
+
<%= link_to phcdevworks_members.member_profiles_path, class: "menu-link" do %>
|
61
|
+
<div class="menu-text">Member Index</div>
|
62
|
+
<% end %>
|
63
|
+
</div>
|
64
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_members/member/profiles", "New") %>">
|
65
|
+
<%= link_to phcdevworks_members.new_member_profile_path, class: "menu-link" do %>
|
66
|
+
<div class="menu-text">Add a New Member</div>
|
67
|
+
<% end %>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
<div class="menu-item has-sub">
|
72
|
+
<a href="javascript:;" class="menu-link">
|
73
|
+
<div class="menu-text">Member's Directory</div>
|
74
|
+
<div class="menu-caret"></div>
|
75
|
+
</a>
|
76
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_members/modules/categories") %>">
|
77
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_members/modules/categories", "Index") %>">
|
78
|
+
<%= link_to phcdevworks_members.directory_categories_path, class: "menu-link" do %>
|
79
|
+
<div class="menu-text">Category Index</div>
|
80
|
+
<% end %>
|
81
|
+
</div>
|
82
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_members/modules/categories", "New") %>">
|
83
|
+
<%= link_to phcdevworks_members.new_directory_category_path, class: "menu-link" do %>
|
84
|
+
<div class="menu-text">Add a New Category</div>
|
85
|
+
<% end %>
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
</div>
|
106
91
|
<% end %>
|
92
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCMembers -->
|
107
93
|
|
108
|
-
|
109
|
-
|
110
|
-
<
|
111
|
-
<
|
112
|
-
<a href="javascript:;">
|
113
|
-
<
|
114
|
-
<
|
115
|
-
<
|
116
|
-
</a>
|
117
|
-
<ul class="sub-menu">
|
118
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_tutorials/tutorials/posts") %>"><%= link_to "Tutorial Index", phcdevworks_tutorials.tutorial_posts_path %></li>
|
119
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_tutorials/tutorials/posts#new") %>"><%= link_to "New Tutorial", phcdevworks_tutorials.new_tutorial_post_path %></li>
|
120
|
-
</ul>
|
121
|
-
</li>
|
122
|
-
<li class="nav-header">Command Lists & Items</li>
|
123
|
-
<li class="has-sub">
|
124
|
-
<a href="javascript:;">
|
125
|
-
<b class="caret"></b>
|
126
|
-
<i class="fad fa-terminal"></i>
|
127
|
-
<span>Command Lists</span>
|
94
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCPress -->
|
95
|
+
<% if defined?phcdevworks_press %>
|
96
|
+
<div class="menu-header">PHCPress</div>
|
97
|
+
<div class="menu-item has-sub">
|
98
|
+
<a href="javascript:;" class="menu-link">
|
99
|
+
<div class="menu-icon"><i class="material-icons">newspaper</i></div>
|
100
|
+
<div class="menu-text">Blogging</div>
|
101
|
+
<div class="menu-caret"></div>
|
128
102
|
</a>
|
129
|
-
<
|
130
|
-
<
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
103
|
+
<div class="menu-submenu">
|
104
|
+
<div class="menu-item has-sub">
|
105
|
+
<a href="javascript:;" class="menu-link">
|
106
|
+
<div class="menu-text">Article Posts</div>
|
107
|
+
<div class="menu-caret"></div>
|
108
|
+
</a>
|
109
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_press/article/posts") %>">
|
110
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_press/article/posts", "Index") %>">
|
111
|
+
<%= link_to phcdevworks_press.article_posts_path, class: "menu-link" do %>
|
112
|
+
<div class="menu-text">All Articles</div>
|
113
|
+
<% end %>
|
114
|
+
</div>
|
115
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_press/article/posts", "New") %>">
|
116
|
+
<%= link_to phcdevworks_press.new_article_post_path, class: "menu-link" do %>
|
117
|
+
<div class="menu-text">Add a New Article</div>
|
118
|
+
<% end %>
|
119
|
+
</div>
|
120
|
+
</div>
|
121
|
+
</div>
|
122
|
+
</div>
|
123
|
+
</div>
|
135
124
|
<% end %>
|
125
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCPress -->
|
136
126
|
|
137
|
-
|
138
|
-
|
139
|
-
<
|
140
|
-
<
|
141
|
-
<a href="javascript:;">
|
142
|
-
<
|
143
|
-
<
|
144
|
-
<
|
145
|
-
</a>
|
146
|
-
<ul class="sub-menu">
|
147
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_members/member/profiles") %>"><%= link_to("Profile Index", phcdevworks_members.member_profiles_path) %></li>
|
148
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_members/member/profiles#new") %>"><%= link_to("New Member Profile", phcdevworks_members.new_member_profile_path) %></li>
|
149
|
-
</ul>
|
150
|
-
</li>
|
151
|
-
<li class="nav-header">Member"s Directory</li>
|
152
|
-
<li class="has-sub">
|
153
|
-
<a href="javascript:;">
|
154
|
-
<b class="caret"></b>
|
155
|
-
<i class="fad fa-list-alt"></i>
|
156
|
-
<span>Member"s Directory</span>
|
127
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCPortfolio -->
|
128
|
+
<% if defined?phcdevworks_portfolio %>
|
129
|
+
<div class="menu-header">PHCPortfolio</div>
|
130
|
+
<div class="menu-item has-sub">
|
131
|
+
<a href="javascript:;" class="menu-link">
|
132
|
+
<div class="menu-icon"><i class="material-icons">business_center</i></div>
|
133
|
+
<div class="menu-text">Portfolio & Projects</div>
|
134
|
+
<div class="menu-caret"></div>
|
157
135
|
</a>
|
158
|
-
<
|
159
|
-
<
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
136
|
+
<div class="menu-submenu">
|
137
|
+
<div class="menu-item has-sub">
|
138
|
+
<a href="javascript:;" class="menu-link">
|
139
|
+
<div class="menu-text">Project Portfolio</div>
|
140
|
+
<div class="menu-caret"></div>
|
141
|
+
</a>
|
142
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_portfolio/project/posts") %>">
|
143
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_portfolio/project/posts", "Index") %>">
|
144
|
+
<%= link_to phcdevworks_portfolio.project_posts_path, class: "menu-link" do %>
|
145
|
+
<div class="menu-text">Project Index</div>
|
146
|
+
<% end %>
|
147
|
+
</div>
|
148
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_portfolio/project/posts", "New") %>">
|
149
|
+
<%= link_to phcdevworks_portfolio.new_project_post_path, class: "menu-link" do %>
|
150
|
+
<div class="menu-text">Add a New Project</div>
|
151
|
+
<% end %>
|
152
|
+
</div>
|
153
|
+
</div>
|
154
|
+
</div>
|
155
|
+
<div class="menu-item has-sub">
|
156
|
+
<a href="javascript:;" class="menu-link">
|
157
|
+
<div class="menu-text">Project Types</div>
|
158
|
+
<div class="menu-caret"></div>
|
159
|
+
</a>
|
160
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_portfolio/project/types") %>">
|
161
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_portfolio/project/types", "Index") %>">
|
162
|
+
<%= link_to phcdevworks_portfolio.project_types_path, class: "menu-link" do %>
|
163
|
+
<div class="menu-text">Project Types</div>
|
164
|
+
<% end %>
|
165
|
+
</div>
|
166
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_portfolio/project/types", "New") %>">
|
167
|
+
<%= link_to phcdevworks_tutorials.new_project_type_path, class: "menu-link" do %>
|
168
|
+
<div class="menu-text">Add a New Project Type</div>
|
169
|
+
<% end %>
|
170
|
+
</div>
|
171
|
+
</div>
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
</div>
|
164
175
|
<% end %>
|
176
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCPortfolio -->
|
165
177
|
|
166
|
-
|
167
|
-
|
168
|
-
<
|
169
|
-
<
|
170
|
-
<a href="javascript:;">
|
171
|
-
<
|
172
|
-
<
|
173
|
-
<
|
174
|
-
</a>
|
175
|
-
<ul class="sub-menu">
|
176
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/listings") %>"><%= link_to "All Script Listings", phcdevworks_scripts.script_listings_path %></li>
|
177
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/listings#new") %>"><%= link_to "Add a New Listing", phcdevworks_scripts.new_script_listing_path %></li>
|
178
|
-
</ul>
|
179
|
-
</li>
|
180
|
-
<li class="has-sub">
|
181
|
-
<a href="javascript:;">
|
182
|
-
<b class="caret"></b>
|
183
|
-
<i class="fad fa-sitemap"></i>
|
184
|
-
<span>Script Extras</span>
|
185
|
-
</a>
|
186
|
-
<ul class="sub-menu">
|
187
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/authors") %>"><%= link_to "Script Authors", phcdevworks_scripts.script_authors_path %></li>
|
188
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/extensions") %>"><%= link_to "Script Extensions", phcdevworks_scripts.script_extensions_path %></li>
|
189
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_scripts/script/versions") %>"><%= link_to "Script Versions", phcdevworks_scripts.script_versions_path %></li>
|
190
|
-
</ul>
|
191
|
-
</li>
|
192
|
-
<li class="nav-header">Code Snippets</li>
|
193
|
-
<li class="has-sub">
|
194
|
-
<a href="javascript:;">
|
195
|
-
<b class="caret"></b>
|
196
|
-
<i class="fad fa-code"></i>
|
197
|
-
<span>Code Snippets</span>
|
178
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCRealEstate -->
|
179
|
+
<% if defined?phcdevworks_real_estate %>
|
180
|
+
<div class="menu-header">PHCRealEstate</div>
|
181
|
+
<div class="menu-item has-sub">
|
182
|
+
<a href="javascript:;" class="menu-link">
|
183
|
+
<div class="menu-icon"><i class="material-icons">holiday_village</i></div>
|
184
|
+
<div class="menu-text">Property Listings</div>
|
185
|
+
<div class="menu-caret"></div>
|
198
186
|
</a>
|
199
|
-
<
|
200
|
-
<
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
187
|
+
<div class="menu-submenu">
|
188
|
+
<div class="menu-item has-sub">
|
189
|
+
<a href="javascript:;" class="menu-link">
|
190
|
+
<div class="menu-text">Property Listings</div>
|
191
|
+
<div class="menu-caret"></div>
|
192
|
+
</a>
|
193
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_real_estate/property/listings") %>">
|
194
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_real_estate/property/listings", "Index") %>">
|
195
|
+
<%= link_to phcdevworks_real_estate.property_listings_path, class: "menu-link" do %>
|
196
|
+
<div class="menu-text">Property Listings</div>
|
197
|
+
<% end %>
|
198
|
+
</div>
|
199
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_real_estate/property/listings", "New") %>">
|
200
|
+
<%= link_to phcdevworks_real_estate.new_property_listing_path, class: "menu-link" do %>
|
201
|
+
<div class="menu-text">Add a New Listing</div>
|
202
|
+
<% end %>
|
203
|
+
</div>
|
204
|
+
</div>
|
205
|
+
</div>
|
206
|
+
<div class="menu-item has-sub">
|
207
|
+
<a href="javascript:;" class="menu-link">
|
208
|
+
<div class="menu-text">Project Types</div>
|
209
|
+
<div class="menu-caret"></div>
|
210
|
+
</a>
|
211
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_real_estate/property/features") %>">
|
212
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_real_estate/property/features", "Index") %>">
|
213
|
+
<%= link_to phcdevworks_real_estate.property_features_path, class: "menu-link" do %>
|
214
|
+
<div class="menu-text">Property Features List</div>
|
215
|
+
<% end %>
|
216
|
+
</div>
|
217
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_real_estate/property/features", "New") %>">
|
218
|
+
<%= link_to phcdevworks_real_estate.new_property_feature_path, class: "menu-link" do %>
|
219
|
+
<div class="menu-text">Add a New Property Feature</div>
|
220
|
+
<% end %>
|
221
|
+
</div>
|
222
|
+
</div>
|
223
|
+
</div>
|
224
|
+
</div>
|
225
|
+
</div>
|
205
226
|
<% end %>
|
227
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCRealEstate -->
|
206
228
|
|
207
|
-
|
208
|
-
|
209
|
-
<
|
210
|
-
<
|
211
|
-
<a href="javascript:;">
|
212
|
-
<
|
213
|
-
<
|
214
|
-
<
|
215
|
-
</a>
|
216
|
-
<ul class="sub-menu">
|
217
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_real_estate/property/listings") %>"><%= link_to "Listing Index", phcdevworks_real_estate.property_listings_path %></li>
|
218
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_real_estate/property/listings#new") %>"><%= link_to "New Listing", phcdevworks_real_estate.new_property_listing_path %></li>
|
219
|
-
</ul>
|
220
|
-
</li>
|
221
|
-
<li class="has-sub">
|
222
|
-
<a href="javascript:;">
|
223
|
-
<b class="caret"></b>
|
224
|
-
<i class="fad fa-list-alt"></i>
|
225
|
-
<span>Listing Features</span>
|
229
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCScripts -->
|
230
|
+
<% if defined?phcdevworks_scripts %>
|
231
|
+
<div class="menu-header">PHCScripts</div>
|
232
|
+
<div class="menu-item has-sub">
|
233
|
+
<a href="javascript:;" class="menu-link">
|
234
|
+
<div class="menu-icon"><i class="material-icons">code</i></div>
|
235
|
+
<div class="menu-text">Script CDN Listing</div>
|
236
|
+
<div class="menu-caret"></div>
|
226
237
|
</a>
|
227
|
-
<
|
228
|
-
<
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
238
|
+
<div class="menu-submenu">
|
239
|
+
<div class="menu-item has-sub">
|
240
|
+
<a href="javascript:;" class="menu-link">
|
241
|
+
<div class="menu-text">Script Listing</div>
|
242
|
+
<div class="menu-caret"></div>
|
243
|
+
</a>
|
244
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_scripts/script/listings") %>">
|
245
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/script/listings", "Index") %>">
|
246
|
+
<%= link_to phcdevworks_scripts.script_listings_path, class: "menu-link" do %>
|
247
|
+
<div class="menu-text">Script Listings</div>
|
248
|
+
<% end %>
|
249
|
+
</div>
|
250
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/script/listings", "New") %>">
|
251
|
+
<%= link_to phcdevworks_scripts.new_script_listing_path, class: "menu-link" do %>
|
252
|
+
<div class="menu-text">Add a New Listing</div>
|
253
|
+
<% end %>
|
254
|
+
</div>
|
255
|
+
</div>
|
256
|
+
</div>
|
257
|
+
<div class="menu-item has-sub">
|
258
|
+
<a href="javascript:;" class="menu-link">
|
259
|
+
<div class="menu-text">Script Listing Extras</div>
|
260
|
+
<div class="menu-caret"></div>
|
261
|
+
</a>
|
262
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_scripts/script/authors") %>">
|
263
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/script/authors", "Index") %>">
|
264
|
+
<%= link_to phcdevworks_scripts.script_authors_path, class: "menu-link" do %>
|
265
|
+
<div class="menu-text">Script Authors</div>
|
266
|
+
<% end %>
|
267
|
+
</div>
|
268
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/script/extensions", "Index") %>">
|
269
|
+
<%= link_to phcdevworks_scripts.script_extensions_path, class: "menu-link" do %>
|
270
|
+
<div class="menu-text">Script Extensions</div>
|
271
|
+
<% end %>
|
272
|
+
</div>
|
273
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/script/versions", "Index") %>">
|
274
|
+
<%= link_to phcdevworks_scripts.script_versions_path, class: "menu-link" do %>
|
275
|
+
<div class="menu-text">Script Versions</div>
|
276
|
+
<% end %>
|
277
|
+
</div>
|
278
|
+
</div>
|
279
|
+
</div>
|
280
|
+
<div class="menu-item has-sub">
|
281
|
+
<a href="javascript:;" class="menu-link">
|
282
|
+
<div class="menu-text">Code Snippets</div>
|
283
|
+
<div class="menu-caret"></div>
|
284
|
+
</a>
|
285
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_scripts/snippet/posts") %>">
|
286
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/snippet/posts", "Index") %>">
|
287
|
+
<%= link_to phcdevworks_scripts.snippet_posts_path, class: "menu-link" do %>
|
288
|
+
<div class="menu-text">Code Snippets</div>
|
289
|
+
<% end %>
|
290
|
+
</div>
|
291
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_scripts/snippet/posts", "New") %>">
|
292
|
+
<%= link_to phcdevworks_scripts.new_snippet_post_path, class: "menu-link" do %>
|
293
|
+
<div class="menu-text">Add a New Code Snippet</div>
|
294
|
+
<% end %>
|
295
|
+
</div>
|
296
|
+
</div>
|
297
|
+
</div>
|
298
|
+
</div>
|
299
|
+
</div>
|
233
300
|
<% end %>
|
301
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCScripts -->
|
234
302
|
|
235
|
-
|
236
|
-
|
237
|
-
<
|
238
|
-
<
|
239
|
-
<a href="javascript:;">
|
240
|
-
<
|
241
|
-
<
|
242
|
-
<
|
303
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCTutorials -->
|
304
|
+
<% if defined?phcdevworks_tutorials %>
|
305
|
+
<div class="menu-header">PHCTutorials</div>
|
306
|
+
<div class="menu-item has-sub">
|
307
|
+
<a href="javascript:;" class="menu-link">
|
308
|
+
<div class="menu-icon"><i class="material-icons">school</i></div>
|
309
|
+
<div class="menu-text">Tutorials</div>
|
310
|
+
<div class="menu-caret"></div>
|
243
311
|
</a>
|
244
|
-
<
|
245
|
-
<
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
312
|
+
<div class="menu-submenu">
|
313
|
+
<div class="menu-item has-sub">
|
314
|
+
<a href="javascript:;" class="menu-link">
|
315
|
+
<div class="menu-text">Tutorials</div>
|
316
|
+
<div class="menu-caret"></div>
|
317
|
+
</a>
|
318
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_tutorials/tutorials/posts") %>">
|
319
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_tutorials/tutorials/posts", "Index") %>">
|
320
|
+
<%= link_to phcdevworks_tutorials.tutorial_posts_path, class: "menu-link" do %>
|
321
|
+
<div class="menu-text">Tutorial Index</div>
|
322
|
+
<% end %>
|
323
|
+
</div>
|
324
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_tutorials/tutorials/posts", "New") %>">
|
325
|
+
<%= link_to phcdevworks_tutorials.new_tutorial_post_path, class: "menu-link" do %>
|
326
|
+
<div class="menu-text">Add a New Tutorial</div>
|
327
|
+
<% end %>
|
328
|
+
</div>
|
329
|
+
</div>
|
330
|
+
</div>
|
331
|
+
<div class="menu-item has-sub">
|
332
|
+
<a href="javascript:;" class="menu-link">
|
333
|
+
<div class="menu-text">Command Lists</div>
|
334
|
+
<div class="menu-caret"></div>
|
335
|
+
</a>
|
336
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_tutorials/command/posts") %>">
|
337
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_tutorials/command/posts", "Index") %>">
|
338
|
+
<%= link_to phcdevworks_tutorials.command_posts_path, class: "menu-link" do %>
|
339
|
+
<div class="menu-text">Command List Index</div>
|
340
|
+
<% end %>
|
341
|
+
</div>
|
342
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_tutorials/command/posts", "New") %>">
|
343
|
+
<%= link_to phcdevworks_tutorials.new_command_post_path, class: "menu-link" do %>
|
344
|
+
<div class="menu-text">Add a New Command List</div>
|
345
|
+
<% end %>
|
346
|
+
</div>
|
347
|
+
</div>
|
348
|
+
</div>
|
349
|
+
</div>
|
350
|
+
</div>
|
250
351
|
<% end %>
|
352
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCTutorials -->
|
251
353
|
|
354
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCCoreModules -->
|
252
355
|
<% if defined?phcdevworks_core_modules %>
|
253
|
-
|
254
|
-
<
|
255
|
-
|
256
|
-
|
257
|
-
<
|
258
|
-
<
|
259
|
-
<span>Affiliate Links</span>
|
356
|
+
<div class="menu-header">Categories</div>
|
357
|
+
<div class="menu-item has-sub">
|
358
|
+
<a href="javascript:;" class="menu-link">
|
359
|
+
<div class="menu-icon"><i class="material-icons">view_list</i></div>
|
360
|
+
<div class="menu-text">Categories</div>
|
361
|
+
<div class="menu-caret"></div>
|
260
362
|
</a>
|
261
|
-
<
|
262
|
-
<
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
363
|
+
<div class="menu-submenu">
|
364
|
+
<div class="menu-item has-sub">
|
365
|
+
<a href="javascript:;" class="menu-link">
|
366
|
+
<div class="menu-text">Categories</div>
|
367
|
+
<div class="menu-caret"></div>
|
368
|
+
</a>
|
369
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_core_modules/post/categories") %>">
|
370
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/post/categories", "Index") %>">
|
371
|
+
<%= link_to phcdevworks_core_modules.post_categories_path, class: "menu-link" do %>
|
372
|
+
<div class="menu-text">Category Index</div>
|
373
|
+
<% end %>
|
374
|
+
</div>
|
375
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/post/categories", "New") %>">
|
376
|
+
<%= link_to phcdevworks_core_modules.new_post_category_path, class: "menu-link" do %>
|
377
|
+
<div class="menu-text">Add a New Category</div>
|
378
|
+
<% end %>
|
379
|
+
</div>
|
380
|
+
</div>
|
381
|
+
</div>
|
382
|
+
</div>
|
383
|
+
</div>
|
384
|
+
<div class="menu-header">Marketing</div>
|
385
|
+
<div class="menu-item has-sub">
|
386
|
+
<a href="javascript:;" class="menu-link">
|
387
|
+
<div class="menu-icon"><i class="material-icons">query_stats</i></div>
|
388
|
+
<div class="menu-text">Search Optimization</div>
|
389
|
+
<div class="menu-caret"></div>
|
271
390
|
</a>
|
272
|
-
<
|
273
|
-
<
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
<
|
297
|
-
|
298
|
-
<i class="fad fa-money-check-alt"></i>
|
299
|
-
<span>Services</span>
|
300
|
-
</a>
|
301
|
-
<ul class="sub-menu">
|
302
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/products#admin_products_list") %>"><%= link_to("Product List", phcdevworks_accounts_stripe.admin_products_path) %></li>
|
303
|
-
</ul>
|
304
|
-
</li>
|
305
|
-
<li class="has-sub">
|
306
|
-
<a href="javascript:;">
|
307
|
-
<b class="caret"></b>
|
308
|
-
<i class="fad fa-users"></i>
|
309
|
-
<span>Customers</span>
|
310
|
-
</a>
|
311
|
-
<ul class="sub-menu">
|
312
|
-
<li class="<%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/customers#admin_customer_list") %>"><%= link_to("Customer List", phcdevworks_accounts_stripe.admin_customers_path) %></li>
|
313
|
-
</ul>
|
314
|
-
</li>
|
315
|
-
<!-- -PHC- Sidebar - Sidebar Navigation - PHCDevworks Accounts Stripe -->
|
316
|
-
<% end %>
|
317
|
-
<!-- -PHC- Sidebar - Sidebar Navigation - PHCAccounts Admin Options -->
|
318
|
-
<li class="has-sub">
|
319
|
-
<a href="javascript:;">
|
320
|
-
<b class="caret"></b>
|
321
|
-
<i class="fad fa-user-lock"></i>
|
322
|
-
<span>User Logins</span>
|
391
|
+
<div class="menu-submenu">
|
392
|
+
<div class="menu-item has-sub">
|
393
|
+
<a href="javascript:;" class="menu-link">
|
394
|
+
<div class="menu-text">SEO Data</div>
|
395
|
+
<div class="menu-caret"></div>
|
396
|
+
</a>
|
397
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_core_modules/post/categories") %>">
|
398
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/marketing/optimizations", "Index") %>">
|
399
|
+
<%= link_to phcdevworks_core_modules.marketing_optimizations_path, class: "menu-link" do %>
|
400
|
+
<div class="menu-text">SEO Data Index</div>
|
401
|
+
<% end %>
|
402
|
+
</div>
|
403
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/marketing/optimizations", "New") %>">
|
404
|
+
<%= link_to phcdevworks_core_modules.new_marketing_optimization_path, class: "menu-link" do %>
|
405
|
+
<div class="menu-text">Add New SEO Data</div>
|
406
|
+
<% end %>
|
407
|
+
</div>
|
408
|
+
</div>
|
409
|
+
</div>
|
410
|
+
</div>
|
411
|
+
</div>
|
412
|
+
<div class="menu-item has-sub">
|
413
|
+
<a href="javascript:;" class="menu-link">
|
414
|
+
<div class="menu-icon"><i class="material-icons">link</i></div>
|
415
|
+
<div class="menu-text">Affiliate Linking</div>
|
416
|
+
<div class="menu-caret"></div>
|
323
417
|
</a>
|
324
|
-
<
|
325
|
-
<
|
326
|
-
|
327
|
-
|
328
|
-
|
418
|
+
<div class="menu-submenu">
|
419
|
+
<div class="menu-item has-sub">
|
420
|
+
<a href="javascript:;" class="menu-link">
|
421
|
+
<div class="menu-text">Affiliate Links</div>
|
422
|
+
<div class="menu-caret"></div>
|
423
|
+
</a>
|
424
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_core_modules/affiliate/links") %>">
|
425
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/affiliate/links", "Index") %>">
|
426
|
+
<%= link_to phcdevworks_core_modules.affiliate_links_path, class: "menu-link" do %>
|
427
|
+
<div class="menu-text">Affiliate Link Index</div>
|
428
|
+
<% end %>
|
429
|
+
</div>
|
430
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_core_modules/affiliate/links", "New") %>">
|
431
|
+
<%= link_to phcdevworks_core_modules.new_affiliate_link_path, class: "menu-link" do %>
|
432
|
+
<div class="menu-text">Add a New Affiliate Link</div>
|
433
|
+
<% end %>
|
434
|
+
</div>
|
435
|
+
</div>
|
436
|
+
</div>
|
437
|
+
</div>
|
438
|
+
</div>
|
329
439
|
<% end %>
|
440
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCCoreModules -->
|
330
441
|
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
<
|
335
|
-
|
336
|
-
|
337
|
-
<i class="
|
338
|
-
<
|
442
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCAccounts -->
|
443
|
+
|
444
|
+
<% if defined?phcdevworks_accounts_stripe and current_user.admin? %>
|
445
|
+
<div class="menu-header">Subscription Administration</div>
|
446
|
+
<div class="menu-item has-sub">
|
447
|
+
<a href="javascript:;" class="menu-link">
|
448
|
+
<div class="menu-icon"><i class="material-icons">payments</i></div>
|
449
|
+
<div class="menu-text">Stripe</div>
|
450
|
+
<div class="menu-caret"></div>
|
339
451
|
</a>
|
340
|
-
<
|
341
|
-
<
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
452
|
+
<div class="menu-submenu">
|
453
|
+
<div class="menu-item has-sub">
|
454
|
+
<a href="javascript:;" class="menu-link">
|
455
|
+
<div class="menu-text">Accounting</div>
|
456
|
+
<div class="menu-caret"></div>
|
457
|
+
</a>
|
458
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/subscriptions") %>">
|
459
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_accounts_stripe/admin/subscriptions", "admin_subscription_list") %>">
|
460
|
+
<%= link_to phcdevworks_accounts_stripe.admin_invoices_path, class: "menu-link" do %>
|
461
|
+
<div class="menu-text">Invoices</div>
|
462
|
+
<% end %>
|
463
|
+
</div>
|
464
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_accounts_stripe/admin/subscriptions", "admin_subscription_list") %>">
|
465
|
+
<%= link_to phcdevworks_accounts_stripe.admin_subscriptions_path, class: "menu-link" do %>
|
466
|
+
<div class="menu-text">Subscriptions</div>
|
467
|
+
<% end %>
|
468
|
+
</div>
|
469
|
+
</div>
|
470
|
+
</div>
|
471
|
+
<div class="menu-item has-sub">
|
472
|
+
<a href="javascript:;" class="menu-link">
|
473
|
+
<div class="menu-text">Services & Products</div>
|
474
|
+
<div class="menu-caret"></div>
|
475
|
+
</a>
|
476
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/products") %>">
|
477
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_accounts_stripe/admin/products", "admin_products_list") %>">
|
478
|
+
<%= link_to phcdevworks_accounts_stripe.admin_products_path, class: "menu-link" do %>
|
479
|
+
<div class="menu-text">Product List</div>
|
480
|
+
<% end %>
|
481
|
+
</div>
|
482
|
+
</div>
|
483
|
+
</div>
|
484
|
+
<div class="menu-item has-sub">
|
485
|
+
<a href="javascript:;" class="menu-link">
|
486
|
+
<div class="menu-text">Subscribers</div>
|
487
|
+
<div class="menu-caret"></div>
|
488
|
+
</a>
|
489
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_accounts_stripe/admin/customers") %>">
|
490
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_accounts_stripe/admin/customers", "admin_customer_list") %>">
|
491
|
+
<%= link_to phcdevworks_accounts_stripe.admin_customers_path, class: "menu-link" do %>
|
492
|
+
<div class="menu-text">Subscriber List</div>
|
493
|
+
<% end %>
|
494
|
+
</div>
|
495
|
+
</div>
|
496
|
+
</div>
|
497
|
+
</div>
|
498
|
+
</div>
|
357
499
|
<% end %>
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
<
|
364
|
-
<
|
365
|
-
<span>Login Settings</span>
|
500
|
+
<% if current_user and current_user.admin? %>
|
501
|
+
<div class="menu-header">Login Administration</div>
|
502
|
+
<div class="menu-item has-sub">
|
503
|
+
<a href="javascript:;" class="menu-link">
|
504
|
+
<div class="menu-icon"><i class="material-icons">admin_panel_settings</i></div>
|
505
|
+
<div class="menu-text">Auth Administration</div>
|
506
|
+
<div class="menu-caret"></div>
|
366
507
|
</a>
|
367
|
-
<
|
368
|
-
<
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
508
|
+
<div class="menu-submenu">
|
509
|
+
<div class="menu-item has-sub">
|
510
|
+
<a href="javascript:;" class="menu-link">
|
511
|
+
<div class="menu-text">Users</div>
|
512
|
+
<div class="menu-caret"></div>
|
513
|
+
</a>
|
514
|
+
<div class="menu-submenu <%= phc_menu_active_controller("phcdevworks_accounts_devise/admin/users") %>">
|
515
|
+
<div class="menu-item <%= phc_menu_active_action_controller("phcdevworks_accounts_devise/admin/users", "admin_subscription_list") %>">
|
516
|
+
<%= link_to phcdevworks_accounts_devise.admin_users_all_path, class: "menu-link" do %>
|
517
|
+
<div class="menu-text">User List</div>
|
518
|
+
<% end %>
|
519
|
+
</div>
|
520
|
+
</div>
|
521
|
+
</div>
|
522
|
+
</div>
|
523
|
+
</div>
|
373
524
|
<% end %>
|
525
|
+
<!-- -PHCDev- Page Container - Sidebar - Navigation - PHCAccounts -->
|
374
526
|
|
375
|
-
|
376
|
-
<li>
|
377
|
-
<a href="javascript:;" class="sidebar-minify-btn" data-click="sidebar-minify">
|
378
|
-
<i class="fa fa-angle-double-left"></i>
|
379
|
-
</a>
|
380
|
-
</li>
|
381
|
-
<!-- -PHC- Sidebar - Sidebar Minifier -->
|
382
|
-
|
383
|
-
</ul>
|
384
|
-
<!-- -PHC- Sidebar - Sidebar Navigation -->
|
385
|
-
|
527
|
+
</div>
|
386
528
|
</div>
|
387
|
-
<!-- -
|
529
|
+
<!-- -PHCDev- Page Container - Sidebar -->
|