phcdevworks_accounts_stripe 0.1.6 → 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 +1 -1
- data/README.md +39 -21
- data/app/assets/config/phcdevworks_accounts_stripe_manifest.js +2 -3
- data/app/controllers/phcdevworks_accounts_stripe/admin/customers_controller.rb +17 -17
- data/app/controllers/phcdevworks_accounts_stripe/admin/invoices_controller.rb +17 -17
- data/app/controllers/phcdevworks_accounts_stripe/admin/products_controller.rb +16 -16
- data/app/controllers/phcdevworks_accounts_stripe/admin/subscriptions_controller.rb +16 -16
- data/app/controllers/phcdevworks_accounts_stripe/application_controller.rb +10 -10
- data/app/controllers/phcdevworks_accounts_stripe/user/invoices_controller.rb +19 -19
- data/app/controllers/phcdevworks_accounts_stripe/user/product_controller.rb +13 -13
- data/app/controllers/phcdevworks_accounts_stripe/user/subscription_controller.rb +18 -18
- data/app/helpers/phcdevworks_accounts_stripe/admin/customers_helper.rb +4 -4
- data/app/helpers/phcdevworks_accounts_stripe/admin/invoices_helper.rb +4 -4
- data/app/helpers/phcdevworks_accounts_stripe/admin/plans_helper.rb +4 -4
- data/app/helpers/phcdevworks_accounts_stripe/admin/subscriptions_helper.rb +4 -4
- data/app/helpers/phcdevworks_accounts_stripe/application_helper.rb +18 -18
- data/app/helpers/phcdevworks_accounts_stripe/user/invoices_helper.rb +4 -4
- data/app/helpers/phcdevworks_accounts_stripe/user/plan_helper.rb +4 -4
- data/app/helpers/phcdevworks_accounts_stripe/user/subscription_helper.rb +4 -4
- data/app/mailers/phcdevworks_accounts_stripe/application_mailer.rb +2 -2
- data/app/models/phcdevworks_accounts_stripe/application_record.rb +5 -5
- data/app/views/layouts/phcdevworks_accounts_stripe/application.html.erb +34 -27
- 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 +59 -67
- data/app/views/phcdevworks_accounts_stripe/admin/invoices/admin_invoice_list.html.erb +81 -89
- data/app/views/phcdevworks_accounts_stripe/admin/products/admin_products_list.html.erb +61 -69
- data/app/views/phcdevworks_accounts_stripe/admin/subscriptions/admin_subscription_list.html.erb +67 -75
- data/app/views/phcdevworks_accounts_stripe/user/invoices/user_invoice_list.html.erb +88 -88
- data/app/views/phcdevworks_accounts_stripe/user/products/user_product_list.html.erb +66 -66
- data/app/views/phcdevworks_accounts_stripe/user/subscription/user_subscription_cancel.html.erb +66 -66
- data/app/views/phcdevworks_accounts_stripe/user/subscription/user_subscription_item.html.erb +70 -70
- data/config/initializers/stripe.rb +8 -8
- data/config/routes.rb +0 -3
- data/lib/phcdevworks_accounts_stripe/engine.rb +1 -4
- data/lib/phcdevworks_accounts_stripe/version.rb +1 -1
- metadata +47 -55
- 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/navigation/_top_menu.html.erb
CHANGED
@@ -1,40 +1,41 @@
|
|
1
1
|
<!-- -PHC- Topbar - Navigation Header -->
|
2
2
|
<div class="navbar-header">
|
3
3
|
|
4
|
-
|
4
|
+
<button type="button" class="navbar-mobile-toggler" data-toggle="app-sidebar-mobile">
|
5
|
+
<span class="icon-bar"></span>
|
6
|
+
<span class="icon-bar"></span>
|
7
|
+
<span class="icon-bar"></span>
|
8
|
+
</button>
|
9
|
+
|
10
|
+
<%= link_to phcdevworks_accounts_devise.user_path, class: "navbar-brand" do %>
|
5
11
|
<strong>PHCDevworks</strong>Accounts
|
6
12
|
<% end %>
|
7
13
|
|
8
|
-
<button type="button" class="navbar-toggle" data-click="sidebar-toggled">
|
9
|
-
<span class="icon-bar"></span>
|
10
|
-
<span class="icon-bar"></span>
|
11
|
-
<span class="icon-bar"></span>
|
12
|
-
</button>
|
13
|
-
|
14
14
|
</div>
|
15
15
|
<!-- -PHC- Topbar - Navigation Header -->
|
16
16
|
|
17
17
|
<!-- -PHC- Topbar - Navigation Main -->
|
18
18
|
<% if current_user %>
|
19
|
-
<
|
20
|
-
|
21
|
-
|
22
|
-
<li class="dropdown navbar-user">
|
23
|
-
<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
|
19
|
+
<div class="navbar-nav">
|
20
|
+
<div class="navbar-item navbar-user dropdown">
|
21
|
+
<a href="#" class="navbar-link dropdown-toggle d-flex align-items-center" data-bs-toggle="dropdown">
|
24
22
|
<%= image_tag current_user.gravatar_url %>
|
25
|
-
<span
|
23
|
+
<span>
|
24
|
+
<span class="d-none d-md-inline"><%= current_user.firstname + " " + current_user.lastname %></span>
|
25
|
+
<b class="caret"></b>
|
26
|
+
</span>
|
26
27
|
</a>
|
27
|
-
<div class="dropdown-menu dropdown-menu-
|
28
|
-
<%= link_to
|
28
|
+
<div class="dropdown-menu dropdown-menu-end me-1">
|
29
|
+
<%= link_to phcdevworks_accounts_devise.edit_user_registration_path, class: "dropdown-item" do %>
|
29
30
|
<i class="fad fa-cogs"></i> Account Settings
|
30
31
|
<% end %>
|
31
|
-
<%= link_to
|
32
|
+
<%= link_to phcdevworks_accounts_devise.destroy_user_session_path, method: :delete, class: "dropdown-item" do %>
|
32
33
|
<i class="fad fa-sign-out-alt"></i> Logout
|
33
34
|
<% end %>
|
34
35
|
</div>
|
35
|
-
</
|
36
|
-
|
37
|
-
|
38
|
-
</ul>
|
36
|
+
</div>
|
37
|
+
</div>
|
39
38
|
<% end %>
|
40
|
-
|
39
|
+
|
40
|
+
</div>
|
41
|
+
<!-- -PHC- Topbar - Navigation Main -->
|