spree_admin 5.2.0 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +18 -1
- data/app/assets/stylesheets/spree/admin/components/_dialogs.scss +2 -3
- data/app/views/spree/admin/orders/_line_item.html.erb +1 -1
- data/app/views/spree/admin/page_builder/_add_block.html.erb +2 -2
- data/app/views/spree/admin/promotion_actions/_promotion_action.html.erb +1 -1
- data/app/views/spree/admin/promotion_rules/_promotion_rule.html.erb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4fbe916123c69564e83e4b3943d25188e326f1712ed7ca7501a4e7e81ce30ac1
|
|
4
|
+
data.tar.gz: 7f0f900204efffa95aaede9f07c57df78e4a1dff7eb880edcad84ba654e5493d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e075a5a762975bcd3ff53ee9638e54cc0c9ba677802775a990b330c97f696d369d80757e99ba3f51dc09d91f4906e89854c95eb36614edef03c7902a4d490ec
|
|
7
|
+
data.tar.gz: 70608538f458e741c268e4f95e913b33d4b5cf75220782efb7bc9a689d4898469df1cd586fba0224f616a31de1117f02a442c06b6db2ba8b5e32322cd5d9a448
|
data/README.md
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
# Spree Admin Dashboard
|
|
2
2
|
|
|
3
|
-
Welcome to the Spree Admin Dashboard repository. This is a new, shiny admin dashboard for Spree Commerce
|
|
3
|
+
Welcome to the Spree Admin Dashboard repository. This is a new, shiny admin dashboard for Spree Commerce 5.
|
|
4
4
|
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
To install the Spree Admin Dashboard, run the following command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
bundle add spree_admin
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Run the install generator:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
bin/rails g spree:admin:install
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
This will create the necessary files for the admin dashboard.
|
|
20
|
+
|
|
21
|
+
You will need to restart your web server and run `bin/dev` to start the development server for the admin dashboard.
|
|
@@ -80,7 +80,7 @@ dialog:open {
|
|
|
80
80
|
|
|
81
81
|
.alerts-container {
|
|
82
82
|
position: absolute;
|
|
83
|
-
}
|
|
83
|
+
}
|
|
84
84
|
|
|
85
85
|
@media (max-width: 991.98px) {
|
|
86
86
|
max-width: 100vw;
|
|
@@ -93,6 +93,7 @@ dialog:open {
|
|
|
93
93
|
height: 100%;
|
|
94
94
|
flex-direction: column;
|
|
95
95
|
justify-content: space-between;
|
|
96
|
+
overflow: hidden;
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
.drawer-header {
|
|
@@ -110,8 +111,6 @@ dialog:open {
|
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
.drawer-footer {
|
|
113
|
-
position: sticky;
|
|
114
|
-
bottom: 0;
|
|
115
114
|
padding: $modal-inner-padding;
|
|
116
115
|
display: flex;
|
|
117
116
|
justify-content: space-between;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<%= form_for section.blocks.new, url: spree.admin_page_section_blocks_path(section), html: { class: 'list-group-item sidebar-page-block px-0 py-1 border-0 rounded'}, data: { controller: 'block-form', block_form_target: :form } do |f| %>
|
|
2
2
|
<%= f.hidden_field :type, data: { block_form_target: 'type' } %>
|
|
3
3
|
|
|
4
|
-
<%= dropdown do %>
|
|
4
|
+
<%= dropdown portal: false do %>
|
|
5
5
|
<%= dropdown_toggle class: 'btn-sm btn-secondary d-flex-inline' do %>
|
|
6
6
|
<%= icon("circle-plus") %>
|
|
7
|
-
|
|
7
|
+
<%= Spree.t(:add_page_block) %>
|
|
8
8
|
<% end %>
|
|
9
9
|
<%= dropdown_menu do %>
|
|
10
10
|
<% section.available_blocks_to_add.each do |block_class| %>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<h5 class="card-title"><%= promotion_action.human_name %></h5>
|
|
5
5
|
|
|
6
6
|
<% if can?(:update, promotion_action) || can?(:destroy, promotion_action) %>
|
|
7
|
-
<%= dropdown do %>
|
|
7
|
+
<%= dropdown portal: false do %>
|
|
8
8
|
<%= dropdown_toggle class: 'btn-light btn-sm px-1' do %>
|
|
9
9
|
<%= icon('dots-vertical', class: 'mr-0') %>
|
|
10
10
|
<% end %>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<h5 class="card-title"><%= promotion_rule.human_name %></h5>
|
|
5
5
|
|
|
6
6
|
<% if can?(:update, promotion_rule) || can?(:destroy, promotion_rule) %>
|
|
7
|
-
<%= dropdown do %>
|
|
7
|
+
<%= dropdown portal: false do %>
|
|
8
8
|
<%= dropdown_toggle class: 'btn-light btn-sm px-1' do %>
|
|
9
9
|
<%= icon('dots-vertical', class: 'mr-0') %>
|
|
10
10
|
<% end %>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spree_admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.2.
|
|
4
|
+
version: 5.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vendo Connect Inc.
|
|
@@ -15,28 +15,28 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 5.2.
|
|
18
|
+
version: 5.2.1
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - ">="
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 5.2.
|
|
25
|
+
version: 5.2.1
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: spree_api
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 5.2.
|
|
32
|
+
version: 5.2.1
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - ">="
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 5.2.
|
|
39
|
+
version: 5.2.1
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: active_link_to
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -1271,9 +1271,9 @@ licenses:
|
|
|
1271
1271
|
- AGPL-3.0-or-later
|
|
1272
1272
|
metadata:
|
|
1273
1273
|
bug_tracker_uri: https://github.com/spree/spree/issues
|
|
1274
|
-
changelog_uri: https://github.com/spree/spree/releases/tag/v5.2.
|
|
1274
|
+
changelog_uri: https://github.com/spree/spree/releases/tag/v5.2.1
|
|
1275
1275
|
documentation_uri: https://docs.spreecommerce.org/
|
|
1276
|
-
source_code_uri: https://github.com/spree/spree/tree/v5.2.
|
|
1276
|
+
source_code_uri: https://github.com/spree/spree/tree/v5.2.1
|
|
1277
1277
|
rdoc_options: []
|
|
1278
1278
|
require_paths:
|
|
1279
1279
|
- lib
|