Anand Doshi | 330dae9 | 2013-09-10 13:46:15 +0530 | [diff] [blame] | 1 | {% extends base_template %} |
Anand Doshi | ab69029 | 2013-06-13 11:21:35 +0530 | [diff] [blame] | 2 | |
| 3 | {% block javascript %} |
Anand Doshi | b0d996f | 2013-09-10 18:29:39 +0530 | [diff] [blame] | 4 | <script>{% include "app/portal/templates/includes/cart.js" %}</script> |
Anand Doshi | ab69029 | 2013-06-13 11:21:35 +0530 | [diff] [blame] | 5 | {% endblock %} |
| 6 | |
| 7 | {% set title="Shopping Cart" %} |
| 8 | |
| 9 | {% block content %} |
Anand Doshi | 0c8fd34 | 2013-11-21 14:55:45 +0530 | [diff] [blame^] | 10 | <div class="container content"> |
Anand Doshi | edbf3e1 | 2013-07-02 11:40:16 +0530 | [diff] [blame] | 11 | <h2><i class="icon-shopping-cart"></i> {{ title }}</h2> |
Anand Doshi | 3dceb84 | 2013-06-19 14:57:14 +0530 | [diff] [blame] | 12 | <div class="progress progress-striped active"> |
| 13 | <div class="progress-bar progress-bar-info" style="width: 100%;"></div> |
| 14 | </div> |
| 15 | <div id="cart-container" class="hide"> |
Anand Doshi | 0748cb7 | 2013-09-11 15:31:58 +0530 | [diff] [blame] | 16 | <p class="pull-right"><button class="btn btn-success btn-place-order" type="button">Place Order</button></p> |
Anand Doshi | 3dceb84 | 2013-06-19 14:57:14 +0530 | [diff] [blame] | 17 | <div class="clearfix"></div> |
Anand Doshi | 2ac0a83 | 2013-07-10 20:49:44 +0530 | [diff] [blame] | 18 | <div id="cart-error" class="alert alert-danger" style="display: none;"></div> |
Anand Doshi | 3dceb84 | 2013-06-19 14:57:14 +0530 | [diff] [blame] | 19 | <hr> |
Anand Doshi | c2a3527 | 2013-06-19 17:19:20 +0530 | [diff] [blame] | 20 | <div class="row"> |
Rushabh Mehta | cce21d1 | 2013-08-21 17:48:08 +0530 | [diff] [blame] | 21 | <div class="col-md-9 col-sm-9"> |
Anand Doshi | c2a3527 | 2013-06-19 17:19:20 +0530 | [diff] [blame] | 22 | <div class="row"> |
Rushabh Mehta | cce21d1 | 2013-08-21 17:48:08 +0530 | [diff] [blame] | 23 | <div class="col-md-9 col-md-offset-3"><h4>Item Details</h4></div> |
Anand Doshi | c2a3527 | 2013-06-19 17:19:20 +0530 | [diff] [blame] | 24 | </div> |
| 25 | </div> |
Rushabh Mehta | cce21d1 | 2013-08-21 17:48:08 +0530 | [diff] [blame] | 26 | <div class="col-md-3 col-sm-3 text-right"><h4>Qty, Amount</h4></div> |
Anand Doshi | c2a3527 | 2013-06-19 17:19:20 +0530 | [diff] [blame] | 27 | </div><hr> |
Anand Doshi | 3dceb84 | 2013-06-19 14:57:14 +0530 | [diff] [blame] | 28 | <div id="cart-items"> |
| 29 | </div> |
Anand Doshi | 3dceb84 | 2013-06-19 14:57:14 +0530 | [diff] [blame] | 30 | <div id="cart-taxes"> |
| 31 | </div> |
Anand Doshi | 0b4943c | 2013-07-04 23:45:22 +0530 | [diff] [blame] | 32 | <div id="cart-totals"> |
| 33 | </div> |
Anand Doshi | edbf3e1 | 2013-07-02 11:40:16 +0530 | [diff] [blame] | 34 | <hr> |
Anand Doshi | 3dceb84 | 2013-06-19 14:57:14 +0530 | [diff] [blame] | 35 | <div id="cart-addresses"> |
Anand Doshi | edbf3e1 | 2013-07-02 11:40:16 +0530 | [diff] [blame] | 36 | <div class="row"> |
Rushabh Mehta | cce21d1 | 2013-08-21 17:48:08 +0530 | [diff] [blame] | 37 | <div class="col-md-6"> |
Anand Doshi | edbf3e1 | 2013-07-02 11:40:16 +0530 | [diff] [blame] | 38 | <h4>Shipping Address</h4> |
Anand Doshi | 65f5c58 | 2013-08-21 19:36:23 +0530 | [diff] [blame] | 39 | <div id="cart-shipping-address" class="panel-group" |
Anand Doshi | edbf3e1 | 2013-07-02 11:40:16 +0530 | [diff] [blame] | 40 | data-fieldname="shipping_address_name"></div> |
| 41 | <button class="btn btn-default" type="button" id="cart-add-shipping-address"> |
Anand Doshi | 0b4943c | 2013-07-04 23:45:22 +0530 | [diff] [blame] | 42 | <span class="icon icon-plus"></span> New Shipping Address</button> |
Anand Doshi | edbf3e1 | 2013-07-02 11:40:16 +0530 | [diff] [blame] | 43 | </div> |
Rushabh Mehta | cce21d1 | 2013-08-21 17:48:08 +0530 | [diff] [blame] | 44 | <div class="col-md-6"> |
Anand Doshi | edbf3e1 | 2013-07-02 11:40:16 +0530 | [diff] [blame] | 45 | <h4>Billing Address</h4> |
Anand Doshi | 65f5c58 | 2013-08-21 19:36:23 +0530 | [diff] [blame] | 46 | <div id="cart-billing-address" class="panel-group" |
Anand Doshi | edbf3e1 | 2013-07-02 11:40:16 +0530 | [diff] [blame] | 47 | data-fieldname="customer_address"></div> |
| 48 | <button class="btn btn-default" type="button" id="cart-add-billing-address"> |
Anand Doshi | 0b4943c | 2013-07-04 23:45:22 +0530 | [diff] [blame] | 49 | <span class="icon icon-plus"></span> New Billing Address</button> |
Anand Doshi | edbf3e1 | 2013-07-02 11:40:16 +0530 | [diff] [blame] | 50 | </div> |
Anand Doshi | edbf3e1 | 2013-07-02 11:40:16 +0530 | [diff] [blame] | 51 | </div> |
| 52 | <hr> |
Anand Doshi | 3dceb84 | 2013-06-19 14:57:14 +0530 | [diff] [blame] | 53 | </div> |
Anand Doshi | 0748cb7 | 2013-09-11 15:31:58 +0530 | [diff] [blame] | 54 | <p class="pull-right"><button class="btn btn-success btn-place-order" type="button">Place Order</button></p> |
Anand Doshi | ab69029 | 2013-06-13 11:21:35 +0530 | [diff] [blame] | 55 | </div> |
| 56 | </div> |
| 57 | {% endblock %} |