Skip to content
Permalink
0d3c54f5c4
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
89 lines (65 sloc) 2.03 KB
{% 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>