Completes MAXH2O-73 and MAXH2O-78

Adds scaling and GPM ignore limit.
Increments version in S3 to 9
This commit is contained in:
Patrick McDonagh
2017-12-01 10:59:26 -06:00
parent 17a52d9a0c
commit e4234bc2c3
6 changed files with 172 additions and 49 deletions

View File

@@ -1,3 +1,33 @@
<div class="row row-flex box-me">
<div class="col-md-6 text-center">
<a href="#"
data-confirm-message="Are you sure you want to do this?"
data-refreshpause="1"
data-command=""
data-staticsend=1
data-channelId="<%= channels["flowmonitor.startcmd"].channelId %>"
data-techname="<%=channels["flowmonitor.startcmd"].techName %>"
data-name="<%= channels["flowmonitor.startcmd"].name%>"
data-nodechannelcurrentId="<%= channels["flowmonitor.startcmd"].nodechannelcurrentId %>"
id="<%= channels["flowmonitor.startcmd"].channelId %>"
class="btn btn-large btn-theme animated setstatic">Start</a>
</div>
<div class="col-md-6 text-center">
<a href="#"
data-confirm-message="Are you sure you want to do this?"
data-refreshpause="1"
data-command=""
data-staticsend=1
data-channelId="<%= channels["flowmonitor.stopcmd"].channelId %>"
data-techname="<%=channels["flowmonitor.stopcmd"].techName %>"
data-name="<%= channels["flowmonitor.stopcmd"].name%>"
data-nodechannelcurrentId="<%= channels["flowmonitor.stopcmd"].nodechannelcurrentId %>"
id="<%= channels["flowmonitor.stopcmd"].channelId %>"
class="btn btn-large btn-theme animated setstatic">Stop</a>
</div>
</div>
<div class="row row-flex box-me">
<div class='col-xs-6 text-center box-me'>
<h2>GPM Flow</h2>
@@ -109,3 +139,10 @@
</div>
</div>
<style>
.text-center {
text-align: center;
}
</style>

View File

@@ -134,7 +134,41 @@
</form>
</div>
</div>
<div class="col-md-6 box-me entry-top-level" id="setgpmignorelimit">
<div style="margin-left:15px;">
<h2>GPM Ignore Limit</h2>
<form class="form-inline">
<div class="form-group" style="margin-bottom:15px;">
<label
class="sr-only"
for="<%= channels["flowmonitor.setgpmignorelimit"].channelId %>">GPM Max Value</label>
<div class="input-group">
<input
class="form-control channel_value"
type="number"
step="any"
value="<%=channels['flowmonitor.setgpmignorelimit'].value %>">
<div class="input-group-addon">GPM</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.setgpmignorelimit"].channelId %>"
data-techname="<%=channels["flowmonitor.setgpmignorelimit"].techName %>"
data-name="<%= channels["flowmonitor.setgpmignorelimit"].name%>"
data-nodechannelcurrentId="<%= channels["flowmonitor.setgpmignorelimit"].nodechannelcurrentId %>"
id="<%= channels["flowmonitor.setgpmignorelimit"].channelId %>"
class="btn btn-large btn-theme animated setstatic material-icons">send</a>
</form>
</div>
</div>
</div>
@@ -149,4 +183,4 @@ $('.channel_value').each(function(topLevel){
}
});
});
</script>
</script>