This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
show.html
56 lines (55 loc) · 2.28 KB
/
show.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{% extends "layout.html" %}
{% block content %}
<div class="container-fluid">
<div class="row" id="order-index-header">
<div class="col-md-4 col-xs-4">
<a href="{{ url_for('order_index') }}"><i class="fa fa-caret-left order-index-title"></i><span class="order-index-title">BACK</span></a>
</div>
<div class="col-md-4 col-xs-4 text-center">
<img id="order-index-icon" src="/static/img/small-logo.png"/>
</div>
</div>
<div class="row">
<div id="house-image" class="col-md-7 col-xs-7 no-padding">
<p id="customer-name-p">{{ order.customer_name }}</p>
</div>
<div id="location-image" class="col-md-5 col-xs-5 no-padding"></div>
</div>
<div id="show-info-row" class="row">
<div class="col-xs-6 no-padding">
Status: <span class="index-status text-uppercase">{{ order.status }}</span>
</div>
<div class="col-xs-6 no-padding">
Notification: <span class="index-status text-uppercase">{{ order.notification_status }}</span>
</div>
</div>
<div class="row show-button-row">
<div class="col-xs-12 text-center">
<form method="POST" action="{{ url_for('order_pickup', order_id=order.id) }}" accept-charset="UTF-8">
<button type="submit" class="btn show-button">
<div class="col-xs-3 text-center">
<img id="order-index-icon" src="/static/img/small-logo.png"/>
</div>
<div class="col-xs-6 text-center">
PICK-UP
</div>
</button>
</form>
</div>
</div>
<div class="row show-button-row">
<div class="col-xs-12 text-center">
<form method="POST" action="{{ url_for('order_deliver', order_id=order.id) }}" accept-charset="UTF-8">
<button type="submit" class="btn show-button">
<div class="col-xs-6 col-xs-offset-3 text-center">
DELIVER
</div>
<div class="col-xs-3 text-center">
<i class="fa fa-bicycle"></i>
</div>
</button>
</form>
</div>
</div>
</div>
{% endblock %}