charithag 9 years ago
parent 1a7eb84694
commit 7cc878873c

@ -1,4 +1,4 @@
<div class="col-lg-12 margin-top-double"> <div class="col-lg-12 margin-top-double" xmlns="http://www.w3.org/1999/html">
<h1 class="grey ">Digital Display</h1> <h1 class="grey ">Digital Display</h1>
<hr> <hr>
<p class="margin-bottom-double light-grey ">Connect your Digital Display <p class="margin-bottom-double light-grey ">Connect your Digital Display
@ -48,14 +48,9 @@
value="digital_display"/> value="digital_display"/>
<input type="hidden" class="sketchType" name="sketchType" <input type="hidden" class="sketchType" name="sketchType"
value="digital_display"/> value="digital_display"/>
<div class="sketchTypes" style=" padding-top: 20px; padding-bottom: 5px; font-size: 18px;">
<input type="radio" name="sketchType" id="digital_display"
value="digital_display"><label for="digital_display">digitaldisplay</label>
</div>
</div> </div>
</div> </div>
<br/> <br/>
<div class="buttons"> <div class="buttons">
<a class="btn-operations" onclick="downloadAgent()">Download <a class="btn-operations" onclick="downloadAgent()">Download
Now</a> Now</a>
@ -202,7 +197,7 @@
<br/> <br/>
<ul> <ul>
<p class="padding-top-double"><span class="circle">01</span> <b>Click on the <i>'Create DEB'</i> button above to get the download link for the Digital Display setup files</b></p> <p class="padding-top-double"><span class="circle">01</span> <b>Click on the <i>'Create DEB'</i> button above to get the download link for the Digital Display setup files</b></p>
<p class="padding-top-double"><span class="circle">02</span> <i>(The following commands can be issued by directly typing into the terminal of the device or by an <b>'ssh'<b> login from a remote PC)</i></p> <p class="padding-top-double"><span class="circle">02</span> <i>(The following commands can be issued by directly typing into the terminal of the device or by an <b>'ssh'</b> login from a remote PC)</i></p>
<p class="padding-top-double"><span class="circle">03</span> <b>Download the Digital Display setup files using the following command: 'curl -k < url_link_received_from_the_above_step >> Agent.zip'</b><br/><i>This will download a zip file named 'Agent.zip'</i></p> <p class="padding-top-double"><span class="circle">03</span> <b>Download the Digital Display setup files using the following command: 'curl -k < url_link_received_from_the_above_step >> Agent.zip'</b><br/><i>This will download a zip file named 'Agent.zip'</i></p>
</ul> </ul>
<br> <br>

@ -33,7 +33,7 @@
<div id="map" class="map-wrapper hidden"> <div id="map" class="map-wrapper hidden">
</div> </div>
<a class="padding-left" href="{{@app.context}}/analytics?device.deviceIdentifier={{device.deviceIdentifier}}&device.type={{device.type}}&deviceName={{device.name}}"> <a class="padding-left" href="{{@app.context}}/analytics?deviceId={{device.deviceIdentifier}}&deviceType={{device.type}}&deviceName={{device.name}}">
<span class="fw-stack"> <span class="fw-stack">
<i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-ring fw-stack-2x"></i>
<i class="fw fw-statistics fw-stack-1x"></i> <i class="fw fw-statistics fw-stack-1x"></i>

@ -1,6 +1,6 @@
function onRequest(context) { function onRequest(context) {
var log = new Log("stats.js"); var log = new Log("stats.js");
var operationModule = require("/modules/operation.js").operationModule; var operationModule = require("/app/modules/operation.js").operationModule;
var device = context.unit.params.device; var device = context.unit.params.device;
log.info(device); log.info(device);
var monitor_operations = JSON.stringify(operationModule.getMonitorOperations(device.type)); var monitor_operations = JSON.stringify(operationModule.getMonitorOperations(device.type));

Loading…
Cancel
Save