Driver now creates database automatically if it does not exist
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
<h3><%= node.vanityname %></h3>
|
||||
<h4>
|
||||
<span data-updatevalue="run_status">
|
||||
<% if(channels["flowmonitor.run_status"].value === 1) {%>
|
||||
Running
|
||||
<% } else { %>
|
||||
<% if(channels["flowmonitor.run_status"].value === "0") {%>
|
||||
Stopped
|
||||
<% } else { %>
|
||||
Running
|
||||
<% } %>
|
||||
</span>
|
||||
</h4>
|
||||
|
||||
@@ -31,11 +31,17 @@
|
||||
|
||||
<div class="col-xs-3">
|
||||
<h2>Flow Rate</h2>
|
||||
<p><span data-valueupdate="gpm_flow"><%= round(channels["flowmonitor.gpm_flow"].value * 100) / 100 %></span> GPM</p>
|
||||
<p><span data-valueupdate="gpm_flow"><%= Math.round(channels["flowmonitor.gpm_flow"].value * 100) / 100 %></span> GPM</p>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-3">
|
||||
<h2>Run Status</h2>
|
||||
<p><span data-valueupdate="run_status"><%= channels["flowmonitor.run_status"].value %></span></p>
|
||||
<p><span data-valueupdate="run_status">
|
||||
<% if(channels["flowmonitor.run_status"].value === "0") {%>
|
||||
Stopped
|
||||
<% } else { %>
|
||||
Running
|
||||
<% } %>
|
||||
</span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user