phcdevworks_accounts_stripe 0.1.7 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +39 -21
  4. data/app/assets/config/phcdevworks_accounts_stripe_manifest.js +2 -3
  5. data/app/controllers/phcdevworks_accounts_stripe/admin/customers_controller.rb +17 -17
  6. data/app/controllers/phcdevworks_accounts_stripe/admin/invoices_controller.rb +17 -17
  7. data/app/controllers/phcdevworks_accounts_stripe/admin/products_controller.rb +16 -16
  8. data/app/controllers/phcdevworks_accounts_stripe/admin/subscriptions_controller.rb +16 -16
  9. data/app/controllers/phcdevworks_accounts_stripe/application_controller.rb +10 -10
  10. data/app/controllers/phcdevworks_accounts_stripe/user/invoices_controller.rb +19 -19
  11. data/app/controllers/phcdevworks_accounts_stripe/user/product_controller.rb +13 -13
  12. data/app/controllers/phcdevworks_accounts_stripe/user/subscription_controller.rb +18 -18
  13. data/app/helpers/phcdevworks_accounts_stripe/admin/customers_helper.rb +4 -4
  14. data/app/helpers/phcdevworks_accounts_stripe/admin/invoices_helper.rb +4 -4
  15. data/app/helpers/phcdevworks_accounts_stripe/admin/plans_helper.rb +4 -4
  16. data/app/helpers/phcdevworks_accounts_stripe/admin/subscriptions_helper.rb +4 -4
  17. data/app/helpers/phcdevworks_accounts_stripe/application_helper.rb +18 -18
  18. data/app/helpers/phcdevworks_accounts_stripe/user/invoices_helper.rb +4 -4
  19. data/app/helpers/phcdevworks_accounts_stripe/user/plan_helper.rb +4 -4
  20. data/app/helpers/phcdevworks_accounts_stripe/user/subscription_helper.rb +4 -4
  21. data/app/mailers/phcdevworks_accounts_stripe/application_mailer.rb +2 -2
  22. data/app/models/phcdevworks_accounts_stripe/application_record.rb +5 -5
  23. data/app/views/layouts/phcdevworks_accounts_stripe/application.html.erb +34 -27
  24. data/app/views/layouts/phcdevworks_accounts_stripe/components/backend/footer/_footer.html.erb +9 -7
  25. data/app/views/layouts/phcdevworks_accounts_stripe/components/backend/navigation/_top_menu.html.erb +22 -21
  26. data/app/views/layouts/phcdevworks_accounts_stripe/components/backend/sidebars/_side_menu.html.erb +491 -349
  27. data/app/views/phcdevworks_accounts_stripe/admin/customers/admin_customer_list.html.erb +59 -67
  28. data/app/views/phcdevworks_accounts_stripe/admin/invoices/admin_invoice_list.html.erb +81 -89
  29. data/app/views/phcdevworks_accounts_stripe/admin/products/admin_products_list.html.erb +61 -69
  30. data/app/views/phcdevworks_accounts_stripe/admin/subscriptions/admin_subscription_list.html.erb +67 -75
  31. data/app/views/phcdevworks_accounts_stripe/user/invoices/user_invoice_list.html.erb +88 -88
  32. data/app/views/phcdevworks_accounts_stripe/user/products/user_product_list.html.erb +66 -66
  33. data/app/views/phcdevworks_accounts_stripe/user/subscription/user_subscription_cancel.html.erb +66 -66
  34. data/app/views/phcdevworks_accounts_stripe/user/subscription/user_subscription_item.html.erb +70 -70
  35. data/config/initializers/stripe.rb +8 -8
  36. data/config/routes.rb +0 -3
  37. data/lib/phcdevworks_accounts_stripe/engine.rb +1 -4
  38. data/lib/phcdevworks_accounts_stripe/version.rb +1 -1
  39. metadata +49 -58
  40. data/app/assets/javascripts/phcdevworks_accounts_stripe/admin/invoices.coffee +0 -3
  41. data/app/assets/stylesheets/phcdevworks_accounts_stripe/admin/customers.css +0 -4
  42. data/app/assets/stylesheets/phcdevworks_accounts_stripe/admin/invoices.scss +0 -3
  43. data/app/assets/stylesheets/phcdevworks_accounts_stripe/admin/plans.css +0 -4
  44. data/app/assets/stylesheets/phcdevworks_accounts_stripe/admin/subscriptions.css +0 -4
  45. data/app/assets/stylesheets/phcdevworks_accounts_stripe/user/invoices.css +0 -4
  46. data/app/assets/stylesheets/phcdevworks_accounts_stripe/user/plan.css +0 -4
  47. data/app/assets/stylesheets/phcdevworks_accounts_stripe/user/subscription.css +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f09f1de338c64e97fad3b933365f6479845d926764c1a81ca926696b920ec99e
4
- data.tar.gz: 7ee0e98d7a1bbb152824c33fb29f83c06d8746d3f40b8d0e89f9427a21ede63d
3
+ metadata.gz: 944c95538991f9356bffac4f945eecd622f42ac6bf979ff64555e92f699aed57
4
+ data.tar.gz: 82e98e1dafed3b7a0ed28822a0bc39edc3dc4089b3675ba657abeadd1b579feb
5
5
  SHA512:
6
- metadata.gz: 3b208b87bc489c7ba044c32cabf24b71a84e53a5c5f0090f47ab7bb500589b991dfa5c77b7a2d19bc807998390021f0541ca35cad28bf02c5782361e507c7e1d
7
- data.tar.gz: d1ce3cfbbc12a8cb40b4ae14d6b0c4af871e33e0622dcdcb3fd741851e847600e53cd9cdf2cd03c9145e5d82a6efb07160b7f74a05934509f3c31442c11ebbe0
6
+ metadata.gz: 84b5568cbbb9b97a46dd73464fec8c76b102ffa0487ddbb3d9162e0693033ebf9bd81282ac712b581a983ab37d2440d02a7cf6cab6025cf94eb6a91b744f9191
7
+ data.tar.gz: d112b52b6ec312e14322ca67c986e2ca75cd3cd87b431ec2d62c78026a08f59fa7fc68b616e049a3ef6c254d98d05c7f66a3354f5ef4f60d64f5979e6ca9d5b9
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2021 BradPotts
1
+ Copyright 2022 PHCDevworks
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,28 +1,46 @@
1
- # PhcdevworksAccountsStripe
2
- Short description and motivation.
1
+ ### PHCDevworks Accounts Stripe Addon
2
+
3
+ Rails Stripe Management System add-on for PHCDevworks Accounts engines.
3
4
 
4
- ## Usage
5
- How to use my plugin.
5
+ ### Administrative Views
6
+ * View invoices
7
+ * View subscribers
8
+ * View customers
6
9
 
7
- ## Installation
8
- Add this line to your application's Gemfile:
10
+ #### Step 1 - Add PHCDevworks Accounts Devise & PHCDevworks Accounts Stripe to your gemfile run command
11
+
12
+ gem 'phcdevworks_accounts_devise'
13
+ gem 'phcdevworks_accounts_stripe'
14
+ bundle install
9
15
 
10
- ```ruby
11
- gem 'phcdevworks_accounts_stripe'
12
- ```
16
+ #### Step 2 - Copy Phcdevworks Account's Database Tables
17
+ To copy requried database migrations, copy each command individually to your terminal's command line.
13
18
 
14
- And then execute:
15
- ```bash
16
- $ bundle
17
- ```
19
+ rails phcdevworks_accounts_devise:install:migrations
20
+ rails db:migrate
18
21
 
19
- Or install it yourself as:
20
- ```bash
21
- $ gem install phcdevworks_accounts_stripe
22
- ```
22
+ #### Step 3 - Mount Phcdevworks Account Devise & PHCDevworks Account Stripe to Add Routes
23
+ Mount Phcdevworks Press by adding code below to your routes file.
24
+
25
+ mount PhcdevworksAccountsDevise::Engine, :at => '/'
26
+ mount PhcdevworksAccountsStripe::Engine => "/"
27
+
28
+ #### Step 4 - Recompile Assets
29
+ To properly function re-compile your application's assets to copy over required files.
23
30
 
24
- ## Contributing
25
- Contribution directions go here.
31
+ rails assets:clobber
32
+ rails assets:precompile
26
33
 
27
- ## License
28
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
34
+ #### Step 5 - Add ENV Variables
35
+
36
+ Secret Key = ENV['PHCDEV_STRIPE_SK']
37
+ Publishable Key = ENV['PHCDEV_STRIPE_PK']
38
+
39
+ #### Customizations - Generate Contact Form View (Customization)
40
+ All Phcdevworks Stripe views and layouts can be overwritten by copying files to your application.
41
+
42
+ rails generate phcdevworks_accounts_stripe:views
43
+
44
+ ### Status
45
+
46
+ [![Gem Version](https://badge.fury.io/rb/phcdevworks_accounts_stripe.svg)](https://badge.fury.io/rb/phcdevworks_accounts_stripe) [![Publish to Github.com](https://github.com/phcdevworks/phcdevworks_accounts_stripe/actions/workflows/publish_gem_github_com.yml/badge.svg)](https://github.com/phcdevworks/phcdevworks_accounts_stripe/actions/workflows/publish_gem_github_com.yml) [![Publish to Rubygems.org](https://github.com/phcdevworks/phcdevworks_accounts_stripe/actions/workflows/publish_gem_rubygems_org.yml/badge.svg)](https://github.com/phcdevworks/phcdevworks_accounts_stripe/actions/workflows/publish_gem_rubygems_org.yml)
@@ -1,3 +1,2 @@
1
- //= link_directory ../stylesheets/phcdevworks_accounts_stripe .scss
2
- //= link phcthemes_admin_panel_pack_coloradmin.css
3
- //= link phcthemes_admin_panel_pack_coloradmin.js
1
+ //= link coloradmin/default/phcthemes_admin_panel_pack_coloradmin.css
2
+ //= link coloradmin/phcthemes_admin_panel_pack_coloradmin.js
@@ -1,17 +1,17 @@
1
- require_dependency "phcdevworks_accounts_stripe/application_controller"
2
-
3
- module PhcdevworksAccountsStripe
4
- class Admin::CustomersController < ApplicationController
5
-
6
- # Filters
7
- before_action :authenticate_user!
8
- include PhcdevworksCore::PhcdevworksPluginsHelper
9
- before_action :phcdevworks_accounts_admin_only
10
-
11
- # Customers - List
12
- def admin_customer_list
13
- @admin_customer_list = Stripe::Customer.list({limit: 100})
14
- end
15
-
16
- end
17
- end
1
+ require_dependency "phcdevworks_accounts_stripe/application_controller"
2
+
3
+ module PhcdevworksAccountsStripe
4
+ class Admin::CustomersController < ApplicationController
5
+
6
+ # Filters
7
+ before_action :authenticate_user!
8
+ include PhcdevworksCore::PhcdevworksPluginsHelper
9
+ before_action :phcdevworks_accounts_admin_only
10
+
11
+ # Customers - List
12
+ def admin_customer_list
13
+ @admin_customer_list = Stripe::Customer.list({limit: 100})
14
+ end
15
+
16
+ end
17
+ end
@@ -1,17 +1,17 @@
1
- require_dependency "phcdevworks_accounts_stripe/application_controller"
2
-
3
- module PhcdevworksAccountsStripe
4
- class Admin::InvoicesController < ApplicationController
5
-
6
- # Filters
7
- before_action :authenticate_user!
8
- include PhcdevworksCore::PhcdevworksPluginsHelper
9
- before_action :phcdevworks_accounts_admin_only
10
-
11
- # Customers - List
12
- def admin_invoice_list
13
- @admin_invoice_list = Stripe::Invoice.list({limit: 100})
14
- end
15
-
16
- end
17
- end
1
+ require_dependency "phcdevworks_accounts_stripe/application_controller"
2
+
3
+ module PhcdevworksAccountsStripe
4
+ class Admin::InvoicesController < ApplicationController
5
+
6
+ # Filters
7
+ before_action :authenticate_user!
8
+ include PhcdevworksCore::PhcdevworksPluginsHelper
9
+ before_action :phcdevworks_accounts_admin_only
10
+
11
+ # Customers - List
12
+ def admin_invoice_list
13
+ @admin_invoice_list = Stripe::Invoice.list({limit: 100})
14
+ end
15
+
16
+ end
17
+ end
@@ -1,16 +1,16 @@
1
- require_dependency "phcdevworks_accounts_stripe/application_controller"
2
-
3
- module PhcdevworksAccountsStripe
4
- class Admin::ProductsController < ApplicationController
5
-
6
- # Filters
7
- before_action :authenticate_user!
8
- include PhcdevworksCore::PhcdevworksPluginsHelper
9
- before_action :phcdevworks_accounts_admin_only
10
-
11
- def admin_products_list
12
- @admin_products_list = Stripe::Product.list
13
- end
14
-
15
- end
16
- end
1
+ require_dependency "phcdevworks_accounts_stripe/application_controller"
2
+
3
+ module PhcdevworksAccountsStripe
4
+ class Admin::ProductsController < ApplicationController
5
+
6
+ # Filters
7
+ before_action :authenticate_user!
8
+ include PhcdevworksCore::PhcdevworksPluginsHelper
9
+ before_action :phcdevworks_accounts_admin_only
10
+
11
+ def admin_products_list
12
+ @admin_products_list = Stripe::Product.list
13
+ end
14
+
15
+ end
16
+ end
@@ -1,16 +1,16 @@
1
- require_dependency "phcdevworks_accounts_stripe/application_controller"
2
-
3
- module PhcdevworksAccountsStripe
4
- class Admin::SubscriptionsController < ApplicationController
5
-
6
- # Filters
7
- before_action :authenticate_user!
8
- include PhcdevworksCore::PhcdevworksPluginsHelper
9
- before_action :phcdevworks_accounts_admin_only
10
-
11
- def admin_subscription_list
12
- @admin_subscription_list = Stripe::Subscription.list({limit: 100})
13
- end
14
-
15
- end
16
- end
1
+ require_dependency "phcdevworks_accounts_stripe/application_controller"
2
+
3
+ module PhcdevworksAccountsStripe
4
+ class Admin::SubscriptionsController < ApplicationController
5
+
6
+ # Filters
7
+ before_action :authenticate_user!
8
+ include PhcdevworksCore::PhcdevworksPluginsHelper
9
+ before_action :phcdevworks_accounts_admin_only
10
+
11
+ def admin_subscription_list
12
+ @admin_subscription_list = Stripe::Subscription.list({limit: 100})
13
+ end
14
+
15
+ end
16
+ end
@@ -1,10 +1,10 @@
1
- module PhcdevworksAccountsStripe
2
- class ApplicationController < ActionController::Base
3
-
4
- # Load Requried Helper Files
5
- helper PhcdevworksActiveMenus::Engine.helpers
6
- helper PhcdevworksNotifications::Engine.helpers
7
- helper PhcdevworksTitleseo::Engine.helpers
8
-
9
- end
10
- end
1
+ module PhcdevworksAccountsStripe
2
+ class ApplicationController < ActionController::Base
3
+
4
+ # Load Requried Helper Files
5
+ helper PhcdevworksActiveMenus::Engine.helpers
6
+ helper PhcdevworksNotifications::Engine.helpers
7
+ helper PhcdevworksTitleseo::Engine.helpers
8
+
9
+ end
10
+ end
@@ -1,19 +1,19 @@
1
- require_dependency "phcdevworks_accounts_stripe/application_controller"
2
-
3
- module PhcdevworksAccountsStripe
4
- class User::InvoicesController < ApplicationController
5
-
6
- # Security Filters
7
- before_action :authenticate_user!
8
-
9
- def user_invoice_list
10
- @user_invoice_list = Stripe::Invoice.list({customer: current_user.payments_customer_id})
11
- end
12
-
13
- def user_invoice_item
14
-
15
-
16
- end
17
-
18
- end
19
- end
1
+ require_dependency "phcdevworks_accounts_stripe/application_controller"
2
+
3
+ module PhcdevworksAccountsStripe
4
+ class User::InvoicesController < ApplicationController
5
+
6
+ # Security Filters
7
+ before_action :authenticate_user!
8
+
9
+ def user_invoice_list
10
+ @user_invoice_list = Stripe::Invoice.list({customer: current_user.payments_customer_id})
11
+ end
12
+
13
+ def user_invoice_item
14
+
15
+
16
+ end
17
+
18
+ end
19
+ end
@@ -1,13 +1,13 @@
1
- require_dependency "phcdevworks_accounts_stripe/application_controller"
2
-
3
- module PhcdevworksAccountsStripe
4
- class User::ProductController < ApplicationController
5
-
6
- # Security Filters
7
- before_action :authenticate_user!
8
-
9
- def user_product_list
10
- end
11
-
12
- end
13
- end
1
+ require_dependency "phcdevworks_accounts_stripe/application_controller"
2
+
3
+ module PhcdevworksAccountsStripe
4
+ class User::ProductController < ApplicationController
5
+
6
+ # Security Filters
7
+ before_action :authenticate_user!
8
+
9
+ def user_product_list
10
+ end
11
+
12
+ end
13
+ end
@@ -1,18 +1,18 @@
1
- require_dependency "phcdevworks_accounts_stripe/application_controller"
2
-
3
- module PhcdevworksAccountsStripe
4
- class User::SubscriptionController < ApplicationController
5
-
6
- # Security Filters
7
- before_action :authenticate_user!
8
-
9
- def user_subscription_item
10
- @user_subscription_item = Stripe::Subscription.list({customer: current_user.payments_customer_id})
11
-
12
- end
13
-
14
- def user_subscription_cancel
15
- end
16
-
17
- end
18
- end
1
+ require_dependency "phcdevworks_accounts_stripe/application_controller"
2
+
3
+ module PhcdevworksAccountsStripe
4
+ class User::SubscriptionController < ApplicationController
5
+
6
+ # Security Filters
7
+ before_action :authenticate_user!
8
+
9
+ def user_subscription_item
10
+ @user_subscription_item = Stripe::Subscription.list({customer: current_user.payments_customer_id})
11
+
12
+ end
13
+
14
+ def user_subscription_cancel
15
+ end
16
+
17
+ end
18
+ end
@@ -1,4 +1,4 @@
1
- module PhcdevworksAccountsStripe
2
- module Admin::CustomersHelper
3
- end
4
- end
1
+ module PhcdevworksAccountsStripe
2
+ module Admin::CustomersHelper
3
+ end
4
+ end
@@ -1,4 +1,4 @@
1
- module PhcdevworksAccountsStripe
2
- module Admin::InvoicesHelper
3
- end
4
- end
1
+ module PhcdevworksAccountsStripe
2
+ module Admin::InvoicesHelper
3
+ end
4
+ end
@@ -1,4 +1,4 @@
1
- module PhcdevworksAccountsStripe
2
- module Admin::PlansHelper
3
- end
4
- end
1
+ module PhcdevworksAccountsStripe
2
+ module Admin::PlansHelper
3
+ end
4
+ end
@@ -1,4 +1,4 @@
1
- module PhcdevworksAccountsStripe
2
- module Admin::SubscriptionsHelper
3
- end
4
- end
1
+ module PhcdevworksAccountsStripe
2
+ module Admin::SubscriptionsHelper
3
+ end
4
+ end
@@ -1,18 +1,18 @@
1
- module PhcdevworksAccountsStripe
2
- module ApplicationHelper
3
-
4
- # PHCAccountsStripe - Invoice Status
5
- def phcdev_invoice_status(status)
6
- colors = {
7
- 'draft' => 'badge badge-secondary',
8
- 'open' => 'badge-success',
9
- 'paid' => 'badge-green',
10
- 'uncollectible' => 'badge-danger',
11
- 'void' => 'badge-dark'
12
- }
13
- content_tag(:span, class: "badge #{colors[status]} badge-square") do
14
- end
15
- end
16
-
17
- end
18
- end
1
+ module PhcdevworksAccountsStripe
2
+ module ApplicationHelper
3
+
4
+ # PHCAccountsStripe - Invoice Status
5
+ def phcdev_invoice_status(status)
6
+ colors = {
7
+ 'draft' => 'badge badge-secondary',
8
+ 'open' => 'badge-success',
9
+ 'paid' => 'badge-green',
10
+ 'uncollectible' => 'badge-danger',
11
+ 'void' => 'badge-dark'
12
+ }
13
+ content_tag(:span, class: "badge #{colors[status]} badge-square") do
14
+ end
15
+ end
16
+
17
+ end
18
+ end
@@ -1,4 +1,4 @@
1
- module PhcdevworksAccountsStripe
2
- module User::InvoicesHelper
3
- end
4
- end
1
+ module PhcdevworksAccountsStripe
2
+ module User::InvoicesHelper
3
+ end
4
+ end
@@ -1,4 +1,4 @@
1
- module PhcdevworksAccountsStripe
2
- module User::PlanHelper
3
- end
4
- end
1
+ module PhcdevworksAccountsStripe
2
+ module User::PlanHelper
3
+ end
4
+ end
@@ -1,4 +1,4 @@
1
- module PhcdevworksAccountsStripe
2
- module User::SubscriptionHelper
3
- end
4
- end
1
+ module PhcdevworksAccountsStripe
2
+ module User::SubscriptionHelper
3
+ end
4
+ end
@@ -1,6 +1,6 @@
1
1
  module PhcdevworksAccountsStripe
2
2
  class ApplicationMailer < ActionMailer::Base
3
- default from: 'from@example.com'
4
- layout 'mailer'
3
+ default from: "from@example.com"
4
+ layout "mailer"
5
5
  end
6
6
  end
@@ -1,5 +1,5 @@
1
- module PhcdevworksAccountsStripe
2
- class ApplicationRecord < ActiveRecord::Base
3
- self.abstract_class = true
4
- end
5
- end
1
+ module PhcdevworksAccountsStripe
2
+ class ApplicationRecord < ActiveRecord::Base
3
+ self.abstract_class = true
4
+ end
5
+ end
@@ -10,7 +10,7 @@
10
10
  <!-- SEO and Site Description -->
11
11
  <meta charset="utf-8">
12
12
  <title><%= yield(:phc_seo_title) %></title>
13
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
13
+ <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
14
14
  <meta name="description" content="<%= yield(:phc_seo_description) %>">
15
15
  <!-- SEO and Site Description -->
16
16
 
@@ -20,47 +20,54 @@
20
20
  <!-- Rails Security Tags -->
21
21
 
22
22
  <!-- CSS Styles -->
23
- <%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
23
+ <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
24
+ <%= stylesheet_link_tag "coloradmin/default/phcthemes_admin_panel_pack_coloradmin", media: "all" %>
24
25
  <!-- CSS Styles -->
25
26
 
26
- <!-- JavaScript -->
27
- <%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
28
- <!-- JavaScript -->
29
-
30
27
  </head>
31
28
  <body>
32
29
 
33
- <!-- Page Container -->
34
- <div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
30
+ <!-- -PHCDev- Page Container -->
31
+ <div id="app" class="app app-header-fixed app-sidebar-fixed app-with-wide-sidebar">
35
32
 
36
- <!-- Page Header -->
37
- <div id="header" class="header navbar-default">
33
+ <!-- -PHCDev- Page Container - Header -->
34
+ <div id="header" class="app-header">
38
35
  <%= render "layouts/phcdevworks_accounts_stripe/components/backend/navigation/top_menu" %>
39
36
  </div>
40
- <!-- Page Header -->
37
+ <!-- -PHCDev- Page Container - Header -->
41
38
 
42
- <!-- Page Sidebar -->
43
- <div id="sidebar" class="sidebar">
39
+ <!-- -PHCDev- Page Container - Sidebar -->
40
+ <div id="sidebar" class="app-sidebar" data-disable-slide-animation="true">
44
41
  <%= render "layouts/phcdevworks_accounts_stripe/components/backend/sidebars/side_menu" %>
45
42
  </div>
46
- <div class="sidebar-bg"></div>
47
- <!-- Page Sidebar -->
48
-
49
- <!-- Page Content -->
50
- <div id="content" class="content">
51
- <%= render "phcdevworks_notifications/bootstrap/notifications" %>
52
- <%= yield %>
53
- </div>
54
- <!-- Page Content -->
43
+ <div class="app-sidebar-bg"></div>
44
+ <div class="app-sidebar-mobile-backdrop"><a href="#" data-dismiss="app-sidebar-mobile" class="stretched-link"></a></div>
45
+ <!-- -PHCDev- Page Container - Sidebar -->
55
46
 
56
- <!-- Footer Content -->
57
- <div id="footer" class="footer mb-4">
58
- <%= render "layouts/phcdevworks_accounts_stripe/components/backend/footer/footer" %>
47
+ <!-- -PHCDev- Page Container - Content -->
48
+ <div id="app" class="app app-content-full-height">
49
+ <div id="content" class="app-content d-flex flex-column p-0">
50
+ <!-- -PHCDev- Page Container - Main -->
51
+ <div class="app-content-padding flex-grow-1 overflow-hidden" data-scrollbar="true" data-height="100%">
52
+ <%= render "phcdevworks_notifications/bootstrap/notifications" %>
53
+ <%= yield %>
54
+ </div>
55
+ <!-- -PHCDev- Page Container - Main -->
56
+ <!-- -PHCDev- Page Container - Footer -->
57
+ <div id="footer" class="app-footer m-0">
58
+ <%= render "layouts/phcdevworks_accounts_stripe/components/backend/footer/footer" %>
59
+ </div>
60
+ <!-- -PHCDev- Page Container - Footer -->
61
+ </div>
59
62
  </div>
60
- <!-- Footer Content -->
63
+ <!-- -PHCDev- Page Container - Content -->
61
64
 
62
65
  </div>
63
- <!-- Page Container -->
66
+ <!-- -PHCDev- Page Container -->
67
+
68
+ <!-- JavaScript -->
69
+ <%= javascript_include_tag "coloradmin/phcthemes_admin_panel_pack_coloradmin" %>
70
+ <!-- JavaScript -->
64
71
 
65
72
  </body>
66
73
  </html>
@@ -1,15 +1,17 @@
1
- <!-- -PHC- Footer Content - Left -->
1
+ <!-- -PHCDev- Page Container - Footer - Left -->
2
2
  <span>
3
- <!-- -PHC- Footer Content - Left - Time in Production -->
3
+ <!-- -PHCDev- Page Container - Footer - Left - Copyright -->
4
4
  <i class="fab fa-osi font-weight-bolder"></i> 2012-<%= Time.now.year %> -
5
- <span class="font-weight-bold">PHC</span>Devworks Accounts Stripe - Engine v<%= Gem.loaded_specs["phcdevworks_accounts_stripe"].version.to_s %>
6
- <!-- -PHC- Footer Content - Left - Time in Production -->
5
+ <span class="font-weight-bold">PHC</span>Devworks Accounts (Devise) - Engine v<%= Gem.loaded_specs["phcdevworks_accounts_stripe"].version.to_s %>
6
+ <!-- -PHCDev- Page Container - Footer - Left - Copyright -->
7
7
  </span>
8
- <!-- -PHC- Footer Content - Left -->
8
+ <!-- -PHCDev- Page Container - Footer - Left -->
9
9
 
10
- <!-- -PHC- Footer Content - Right -->
10
+ <!-- -PHCDev- Page Container - Footer - Right -->
11
11
  <span class="float-right">
12
+ <!-- -PHCDev- Page Container - Footer - Right - Developed -->
12
13
  Developed with <i class="fas fa-heart hanna_hearts"></i> by
13
14
  <a class="phcnet_copyright text-dark" href="https://phcdevworks.com/"><u><span class="font-weight-bold">PHC</span>Devworks</u></a>
15
+ <!-- -PHCDev- Page Container - Footer - Right - Developed -->
14
16
  </span>
15
- <!-- -PHC- Footer Content - Right -->
17
+ <!-- -PHCDev- Page Container - Footer - Right -->