MAXH20-44 complete. Increments version to 8
This commit is contained in:
@@ -32,6 +32,39 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 box-me entry-top-level" id="cost_per_bbl">
|
||||
<div style="margin-left:15px;">
|
||||
<h2>Cost per BBL</h2>
|
||||
<form class="form-inline">
|
||||
<div class="form-group" style="margin-bottom:15px;">
|
||||
<label
|
||||
class="sr-only"
|
||||
for="<%= channels["flowmonitor.cost_per_bbl"].channelId %>">Cost Per BBL ($)</label>
|
||||
<div class="input-group">
|
||||
<input
|
||||
class="form-control channel_value"
|
||||
type="number"
|
||||
step="any"
|
||||
value="<%=channels['flowmonitor.cost_per_bbl'].value %>">
|
||||
<div class="input-group-addon">$</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a
|
||||
href="#"
|
||||
data-confirm-message="Are you sure you want to do this?"
|
||||
data-refreshpause="1"
|
||||
data-command=""
|
||||
data-staticsend=1.0
|
||||
data-channelId="<%= channels["flowmonitor.cost_per_bbl"].channelId %>"
|
||||
data-techname="<%=channels["flowmonitor.cost_per_bbl"].techName %>"
|
||||
data-name="<%= channels["flowmonitor.cost_per_bbl"].name%>"
|
||||
data-nodechannelcurrentId="<%= channels["flowmonitor.cost_per_bbl"].nodechannelcurrentId %>"
|
||||
id="<%= channels["flowmonitor.cost_per_bbl"].channelId %>"
|
||||
class="btn btn-large btn-theme animated setstatic material-icons">send</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -154,6 +154,66 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='col-xs-3 text-center box-me'>
|
||||
<h2>Gallons This Month</h2>
|
||||
|
||||
<h4 data-updatevalue="gal_total_thismonth">
|
||||
<%= Math.round(channels["flowmonitor.gal_total_thismonth"].value * 100) / 100 %>
|
||||
</h4>
|
||||
|
||||
<p data-timeupdate="gal_total_thismonth">
|
||||
<%= channels["flowmonitor.gal_total_thismonth"].timestamp %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class='col-xs-3 text-center box-me'>
|
||||
<h2>Gallons Last Month</h2>
|
||||
|
||||
<h4 data-updatevalue="gal_total_lastmonth">
|
||||
<%= Math.round(channels["flowmonitor.gal_total_lastmonth"].value * 100) / 100 %>
|
||||
</h4>
|
||||
|
||||
<p data-timeupdate="gal_total_lastmonth">
|
||||
<%= channels["flowmonitor.gal_total_lastmonth"].timestamp %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class='col-xs-3 text-center box-me'>
|
||||
<h2>BBL This Month</h2>
|
||||
|
||||
<h4 data-updatevalue="bbl_total_thismonth">
|
||||
<%= Math.round(channels["flowmonitor.bbl_total_thismonth"].value * 100) / 100 %>
|
||||
</h4>
|
||||
|
||||
<% if (channels["flowmonitor.cost_per_bbl"].value > 0.0){ %>
|
||||
<h4 data-updatevalue="bbl_total_thismonth">
|
||||
$<%= Math.round(channels["flowmonitor.bbl_total_thismonth"].value * channels["flowmonitor.cost_per_bbl"].value * 100) / 100 %>
|
||||
</h4>
|
||||
<% } %>
|
||||
|
||||
<p data-timeupdate="bbl_total_thismonth">
|
||||
<%= channels["flowmonitor.bbl_total_thismonth"].timestamp %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class='col-xs-3 text-center box-me'>
|
||||
<h2>BBL Last Month</h2>
|
||||
|
||||
<h4 data-updatevalue="bbl_total_lastmonth">
|
||||
<%= Math.round(channels["flowmonitor.bbl_total_lastmonth"].value * 100) / 100 %>
|
||||
</h4>
|
||||
|
||||
<% if (channels["flowmonitor.cost_per_bbl"].value > 0.0){ %>
|
||||
<h4 data-updatevalue="bbl_total_lastmonth">
|
||||
$<%= Math.round(channels["flowmonitor.bbl_total_lastmonth"].value * channels["flowmonitor.cost_per_bbl"].value * 100) / 100 %>
|
||||
</h4>
|
||||
<% } %>
|
||||
|
||||
<p data-timeupdate="bbl_total_lastmonth">
|
||||
<%= channels["flowmonitor.bbl_total_lastmonth"].timestamp %>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row box-me">
|
||||
<div class='col-xs-12'>
|
||||
|
||||
Reference in New Issue
Block a user