Skip to content

Commit

Permalink
Create prt8_stp3_cart.html
Browse files Browse the repository at this point in the history
  • Loading branch information
divanov11 authored Apr 13, 2020
1 parent a00693a commit 8672b9c
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions prt8_stp3_cart.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{% extends 'store/main.html' %}
{% load static %}
{% block content %}
<div class="row">
<div class="col-lg-12">
<div class="box-element">

<a class="btn btn-outline-dark" href="{% url 'store' %}">&#x2190; Continue Shopping</a>

<br>
<br>
<table class="table">
<tr>
<th><h5>Items: <strong>3</strong></h5></th>
<th><h5>Total:<strong> $42</strong></h5></th>
<th>
<a style="float:right; margin:5px;" class="btn btn-success" href="{% url 'checkout' %}">Checkout</a>
</th>
</tr>
</table>

</div>

<br>
<div class="box-element">
<div class="cart-row">
<div style="flex:2"></div>
<div style="flex:2"><strong>Item</strong></div>
<div style="flex:1"><strong>Price</strong></div>
<div style="flex:1"><strong>Quantity</strong></div>
<div style="flex:1"><strong>Total</strong></div>
</div>

<div class="cart-row">
<div style="flex:2"><img class="row-image" src="{% static 'images/placeholder.png' %}"></div>
<div style="flex:2"><p>Product 1</p></div>
<div style="flex:1"><p>$20</p></div>
<div style="flex:1">
<p class="quantity">2</p>
<div class="quantity">
<img class="chg-quantity" src="{% static 'images/arrow-up.png' %}">

<img class="chg-quantity" src="{% static 'images/arrow-down.png' %}">
</div>
</div>
<div style="flex:1"><p>$32</p></div>
</div>

</div>
</div>
</div>
{% endblock content %}

0 comments on commit 8672b9c

Please sign in to comment.