This repository has been archived by the owner on May 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
55 lines (55 loc) · 2.2 KB
/
index.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
<!DOCTYPE html>
{% autoescape true %}
<html lang="en">
<head>
<title>KNEES contracting</title>
<link rel="stylesheet" href="/css/bootstrap.min.css" />
</head>
<body>
<div class="container">
<h1>KNEES Contract Queue</h1>
<h3><a href="{{ calc_url }}">Knees Calculator</a> | <a href="{{ doc_url }}">Docs</a></h3>
<div class="row">
<div class="span12">
<table class="table">
<thead>
<tr>
<td>For</td>
<td>Type</td>
<td>From</td>
<td>To</td>
<td>Accepted By</td>
<td>Volume</td>
<td>Date Issued</td>
<td>Time Remaining</td>
</tr>
</thead>
<tbody>
{% for contract in pending %}
<tr class="{{ contract.class }}">
<td>{{ contract.issuer }}</td>
<td>{{ contract.type }}</td>
<td>{{ contract.from }}</td>
<td>{{ contract.to }}</td>
<td>{{ contract.accepted }}</td>
<td style="text-align: right">{{ contract.volume }}</td>
<td>{{ contract.dateissued }}</td>
<td>{{ contract.remaining }}</td>
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<td style="text-align: right" colspan="5">Total Volume:</td>
<td style="text-align: right">{{ total_volume }}</td>
<td colspan="2"> </td>
</tr>
</tfoot>
</table>
</div>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.js"></script>
</body>
</html>
{% endautoescape %}