Files
flaskfdx/flaskfdx/templates/dashboard/index.html
T
2021-10-16 12:52:07 -06:00

27 lines
674 B
HTML

{% extends "base.html" %}
{% block title %}Dashboard{% endblock %}
{% block content %}
<h1>Dashboard</h1>
<table id="data" class="table">
<capition>Contract</caption>
<thead>
<tr>
<th>Date</th>
<th>Contract Stops</th>
<th>Terminal Packages</th>
<th>% of Terminal Volume</th>
</tr>
</thead>
<tbody>
{% for row in lastseven %}
<tr>
<td>{{ row['date'] }}</td>
<td>{{ row['constp'] }}</td>
<td>{{ row['termpkg'] }}</td>
<td>{{ row['percent'] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}