Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
ecommerce
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
ecommerce
Commits
19805962
Commit
19805962
authored
Jan 05, 2017
by
Vedran Karacic
Committed by
Vedran Karačić
Jan 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix basket quantity update element design.
parent
1ddc8877
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
5 deletions
+33
-5
ecommerce/static/sass/partials/views/_basket.scss
+29
-1
ecommerce/templates/oscar/basket/partials/client_side_checkout_basket.html
+4
-4
No files found.
ecommerce/static/sass/partials/views/_basket.scss
View file @
19805962
...
@@ -409,6 +409,30 @@
...
@@ -409,6 +409,30 @@
margin
:
0
;
margin
:
0
;
}
}
.quantity-group
{
padding-left
:
0
;
}
.quantity-label
{
display
:
inline-block
;
padding-right
:
10px
;
}
.checkout-quantity
{
display
:
inline-block
;
}
.spinner
{
width
:
70px
;
float
:
left
;
padding-right
:
10px
;
}
.quantity-update
{
width
:
80px
;
float
:left
;
}
fieldset
>
legend
{
fieldset
>
legend
{
padding-top
:
20px
;
padding-top
:
20px
;
}
}
...
@@ -464,6 +488,8 @@
...
@@ -464,6 +488,8 @@
padding
:
0
;
padding
:
0
;
.product-image
{
.product-image
{
padding-left
:
0
;
img
{
img
{
width
:
100%
;
width
:
100%
;
max-width
:
150px
;
max-width
:
150px
;
...
@@ -472,6 +498,8 @@
...
@@ -472,6 +498,8 @@
}
}
.product-information
{
.product-information
{
padding-left
:
0
;
.product-name
{
.product-name
{
margin-bottom
:
0
;
margin-bottom
:
0
;
font-weight
:
bold
;
font-weight
:
bold
;
...
@@ -548,7 +576,7 @@
...
@@ -548,7 +576,7 @@
border-left
:
none
;
border-left
:
none
;
}
}
#summary
#basket-information
.product
{
#summary
.product
{
.product-image
{
.product-image
{
img
{
img
{
max-width
:
100%
;
max-width
:
100%
;
...
...
ecommerce/templates/oscar/basket/partials/client_side_checkout_basket.html
View file @
19805962
...
@@ -30,13 +30,13 @@
...
@@ -30,13 +30,13 @@
{% endif %}
{% endif %}
</div>
</div>
{% if line_data.enrollment_code %}
{% if line_data.enrollment_code %}
<div
class=
"col-sm-12 col-xs-12 form-inline"
>
<div
class=
"col-sm-12 col-xs-12 form-inline
quantity-group
"
>
<label
class=
"product-price-label text-muted"
>
{% trans 'Quantity' %}
</label>
<label
class=
"product-price-label text-muted
quantity-label
"
>
{% trans 'Quantity' %}
</label>
<div
class=
"checkout-quantity form-group"
>
<div
class=
"checkout-quantity form-group"
>
<div
class=
"input-group spinner
col-sm-3
{% if form.errors %}error{% endif %}"
>
<div
class=
"input-group spinner {% if form.errors %}error{% endif %}"
>
{% render_field form.quantity class+="quantity form-control" min=min_seat_quantity %}
{% render_field form.quantity class+="quantity form-control" min=min_seat_quantity %}
</div>
</div>
<button
class=
"btn btn-primary update-button"
type=
"submit"
<button
class=
"btn btn-primary update-button
quantity-update
"
type=
"submit"
data-loading-text=
"{% trans 'Updating...' %}"
>
{% trans "Update" %}
</button>
data-loading-text=
"{% trans 'Updating...' %}"
>
{% trans "Update" %}
</button>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment