Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Equal-Distribution-maintenance-system/EDMS/shoppingCart/templates/shoppingCart/store_dashBoard.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
89 lines (65 sloc)
2.03 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load static %} | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Limit Items bought per Week</title> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> | |
<link href="{% static '/css/main.css' %}" rel="stylesheet" type="text/css"> | |
</head> | |
<body> | |
{% include 'shoppingCart/navbar.html' %} | |
<div class="container-fluid"> | |
{% block content %} | |
{% include 'shoppingCart/status_row.html' %} | |
<div class="card text-center"> | |
<div class="row"> | |
<div class="col-md-4"> | |
<div class="card card-body"> | |
<a class="card text-white bg-dark mb-3" href="#">Create Store</a> | |
<table class="table table-striped table-hover table-condensed table-sm"> | |
<tr> | |
<th></th> | |
<th>Name</th> | |
<th>Location</th> | |
</tr> | |
{% for store in store %} | |
<tr> | |
<td></td> | |
<td><small><p class="text-sm-left">{{store}}</p></small></td> | |
<td><small><p class="text-sm-left">{{store.location}}</small></h6></td> | |
</tr> | |
{% endfor %} | |
</table> | |
</div> | |
</div> | |
<div class="col-md-8"> | |
<div class="card card-body"> | |
<a class="card text-white bg-success mb-3"href="{% url 'allocate' %}">Allocate Orders</a> | |
<table id="dtVerticalScrollExample" class="table table-condensed table-striped table-bordered table-sm" cellspacing="0" | |
width="10%"> | |
<tr> | |
<th>STORE ORDER</th> | |
<th>STORE</th> | |
<th>QUANTITY</th> | |
<th>DATE</th> | |
<th>STATUS</th> | |
</tr> | |
{% for i in storeorder %} | |
<tr> | |
<td><p class="text-sm-left">{{i}}</p></td> | |
<td><p class="text-sm-left">{{i.store}}</p></td> | |
<td><p class="text-sm-left">{{i.quantity}}</p></td> | |
<td><p class="text-sm-left">{{i.date}}</p></td> | |
<td><p class="text-sm-left">{{i.status}}</p></td> | |
<td><p class="text-sm-left">{{i.date_created}}</p></td> | |
</tr> | |
{% endfor %} | |
</table> | |
</div> | |
</div> | |
</div> | |
</div> | |
{% endblock content %} | |
</div> | |
</body> | |
</html> |