2016-12-27 03:43:38 +00:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block body %}
|
|
|
|
|
|
|
|
<form method="POST" action="{{ url_for('add_time') }}" class=add-time>
|
|
|
|
<div class="form group">
|
2016-12-27 14:30:20 +00:00
|
|
|
<!-- <div class="row">
|
2016-12-27 03:43:38 +00:00
|
|
|
<div class="col-xs-4">
|
|
|
|
<label for="db">Database:</label>
|
|
|
|
<input type=text name="db" class="form-control" placeholder="Ex: Gas">
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<label for="table">Table:</label>
|
|
|
|
<input type=text name="table" class="form-control" placeholder="Ex: Odyssey">
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-12-27 14:30:20 +00:00
|
|
|
-->
|
2016-12-27 03:43:38 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<label for="date">Date:</label>
|
2017-04-04 06:01:06 +00:00
|
|
|
<input type=date name="date" class="form-control" placeholder="Ex: 2009-11-10">
|
2016-12-27 03:43:38 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<label for="time">Time:</label>
|
2017-04-04 06:01:06 +00:00
|
|
|
<input type=time name="time" class="form-control" placeholder="Ex: 17:59:03">
|
2016-12-27 03:43:38 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<label for="odometer">Odometer:</label>
|
2017-02-03 05:32:23 +00:00
|
|
|
<input type=number name="odometer" class="form-control" placeholder="Ex: 3008">
|
2016-12-27 03:43:38 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<label for="oilhealth">Oil Health:</label>
|
2017-02-03 05:32:23 +00:00
|
|
|
<input type=number name="oilhealth" class="form-control" placeholder="Ex: 80">
|
2016-12-27 03:43:38 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<label for="fuel">Fuel (L):</label>
|
2017-02-12 06:55:22 +00:00
|
|
|
<input type=number step="0.001" name="fuel" class="form-control" placeholder="Ex: 70.175">
|
2016-12-27 03:43:38 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<label for="fuelcost">Fuel Cost ($/L):</label>
|
2017-02-12 06:55:22 +00:00
|
|
|
<input type=number step="0.001" name="fuelcost" class="form-control" placeholder="Ex: 1.059">
|
2016-12-27 03:43:38 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<label for="winter">Winter Tires:</label>
|
2017-04-09 22:36:01 +00:00
|
|
|
<select name="winter" class="form-control" default="false">
|
|
|
|
<option value="TRUE">True</option>
|
|
|
|
<option value="FALSE" selected>False</option>
|
2016-12-27 03:43:38 +00:00
|
|
|
</select>
|
|
|
|
</div>
|
2017-02-03 05:32:23 +00:00
|
|
|
</div><br>
|
2016-12-20 06:50:26 +00:00
|
|
|
<input type="submit" value="Go">
|
2016-12-27 03:43:38 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
2017-02-03 05:32:23 +00:00
|
|
|
<br>
|
|
|
|
Last Mileage
|
|
|
|
<ul>
|
|
|
|
{% for point in data %}
|
|
|
|
{% for item in point %}
|
|
|
|
<li>
|
|
|
|
{{ item['top'] }}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
2016-12-27 03:43:38 +00:00
|
|
|
{% endblock %}
|
2017-02-03 05:32:23 +00:00
|
|
|
</ul>
|