50 lines
1.9 KiB
Django/Jinja
50 lines
1.9 KiB
Django/Jinja
{% extends "layout.jinja2" %}
|
|
|
|
{% block content %}
|
|
<div class="content">
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<h2>Well Tests</h2>
|
|
{% if data|length > 0 %}
|
|
<div class="table-responsive">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Test Start</th>
|
|
<th>Test Hours</th>
|
|
<th>Total BBL</th>
|
|
<th>Oil BBL</th>
|
|
<th>Water BBL</th>
|
|
<th>Gas MCF</th>
|
|
<th>kFactor</th>
|
|
<th>Oil Ratio</th>
|
|
<th>Water Ratio</th>
|
|
<th>Gas Ratio</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for d in data %}
|
|
<tr>
|
|
<td>{{d.testStartTime | datetime('medium')}}</td>
|
|
<td>{{d.testHours}}</td>
|
|
<td>{{d.testTotalBBL | round(3)}}</td>
|
|
<td>{{d.testOilBBL | round(3)}}</td>
|
|
<td>{{d.testWaterBBL | round(3)}}</td>
|
|
<td>{{d.testGasMCF | round(3)}}</td>
|
|
<td>{{d.kFactor | round(3)}}</td>
|
|
<td>{{d.oilRatio | round(3)}}</td>
|
|
<td>{{d.waterRatio | round(3)}}</td>
|
|
<td>{{d.gasMCFRatio | round(3)}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% else %}
|
|
<h3>No Well Tests yet...</h3>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|