|
|
@ -59,12 +59,28 @@
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<a href="#" class="download-link btn-operations">
|
|
|
|
<a href="#" class="download-link btn-operations">
|
|
|
|
<i class="fw fw-download"></i>Download Agent</a>
|
|
|
|
<i class="fw fw-download"></i>Download Agent</a>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="download-device-modal-content" class="hide">
|
|
|
|
<div id="download-device-modal-content" class="hide">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<div class="row">
|
|
|
|
<h4 class="pull-left modal-title">
|
|
|
|
<div class="col-md-7 center-container">
|
|
|
|
<span class="fw-stack">
|
|
|
|
|
|
|
|
<i class="fw fw-raspberry fw-stack-2x"></i>
|
|
|
|
|
|
|
|
<span class="fw-stack fw-move-right fw-move-bottom">
|
|
|
|
|
|
|
|
<i class="fw fw-ring fw-stack-2x"></i>
|
|
|
|
|
|
|
|
<i class="fw fw-circle fw-stack-2x fw-stroke text-info"></i>
|
|
|
|
|
|
|
|
<i class="fw fw-add fw-stack-1x fw-inverse"></i>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
Add your new firealarm device to {{@app.conf.appName}}
|
|
|
|
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="fw fw-cancel"></i>
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<div class="modal-body add-margin-top-2x add-margin-bottom-2x">
|
|
|
|
|
|
|
|
<div class="panel-body col-centered text-center">
|
|
|
|
<h3>Name your device and download the agent from following link.</h3>
|
|
|
|
<h3>Name your device and download the agent from following link.</h3>
|
|
|
|
<br/>
|
|
|
|
<br />
|
|
|
|
<form id="downloadForm" method="GET"
|
|
|
|
<form id="downloadForm" method="GET"
|
|
|
|
action="{{@app.context}}/api/devices/sketch/download">
|
|
|
|
action="{{@app.context}}/api/devices/sketch/download">
|
|
|
|
<div id="invalid-username-error-msg" class="alert alert-danger hidden"
|
|
|
|
<div id="invalid-username-error-msg" class="alert alert-danger hidden"
|
|
|
@ -77,9 +93,9 @@
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
placeholder="Ex. Lobby_Firealarm"
|
|
|
|
placeholder="Ex. Lobby_Firealarm"
|
|
|
|
name="deviceName" size="60" required>
|
|
|
|
name="deviceName" size="60" required>
|
|
|
|
<br/><br/>
|
|
|
|
<br /><br />
|
|
|
|
<input type="hidden" class="deviceType" name="deviceType"
|
|
|
|
<input type="hidden" class="deviceType" name="deviceType"
|
|
|
|
value="{{@uriParams.deviceType}}"/>
|
|
|
|
value="{{@uriParams.deviceType}}" />
|
|
|
|
<input type="radio" name="sketchType" value="virtual_firealarm"
|
|
|
|
<input type="radio" name="sketchType" value="virtual_firealarm"
|
|
|
|
id="virtual_firealarm"
|
|
|
|
id="virtual_firealarm"
|
|
|
|
checked>
|
|
|
|
checked>
|
|
|
@ -90,12 +106,14 @@
|
|
|
|
<label for="advanced_agent">Advanced Agent</label>
|
|
|
|
<label for="advanced_agent">Advanced Agent</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="buttons" style="padding-bottom: 0px">
|
|
|
|
|
|
|
|
<a class="btn btn-operations" onclick="downloadAgent()">Download Now</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
|
|
|
<div class="buttons" style="padding-bottom: 0px">
|
|
|
|
|
|
|
|
<a class="btn btn-operations" onclick="downloadAgent()">Download Now</a>
|
|
|
|
|
|
|
|
<a href="javascript:hidePopup()" class="btn-operations btn-default">Cancel</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="device-agent-downloading-content" class="hide">
|
|
|
|
<div id="device-agent-downloading-content" class="hide">
|
|
|
@ -125,7 +143,7 @@
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-7 col-centered center-container">
|
|
|
|
<div class="col-md-7 col-centered center-container">
|
|
|
|
<h3>You have to log in first.</h3><br/>
|
|
|
|
<h3>You have to log in first.</h3><br />
|
|
|
|
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<div class="buttons">
|
|
|
|
<a href="#" id="device-401-link" class="blue-button">
|
|
|
|
<a href="#" id="device-401-link" class="blue-button">
|
|
|
@ -143,7 +161,7 @@
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-7 col-centered center-container">
|
|
|
|
<div class="col-md-7 col-centered center-container">
|
|
|
|
<h3>Action not permitted.</h3><br/>
|
|
|
|
<h3>Action not permitted.</h3><br />
|
|
|
|
<div class="buttons">
|
|
|
|
<div class="buttons">
|
|
|
|
<a href="#" id="device-403-link" class="btn-operations">
|
|
|
|
<a href="#" id="device-403-link" class="btn-operations">
|
|
|
|
OK
|
|
|
|
OK
|
|
|
@ -157,7 +175,7 @@
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-7 col-centered center-container">
|
|
|
|
<div class="col-md-7 col-centered center-container">
|
|
|
|
<h3>Device Sketch does not exist.</h3><br/>
|
|
|
|
<h3>Device Sketch does not exist.</h3><br />
|
|
|
|
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<div class="buttons">
|
|
|
|
<a href="#" id="device-409-link" class="btn-operations">
|
|
|
|
<a href="#" id="device-409-link" class="btn-operations">
|
|
|
@ -172,7 +190,7 @@
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-7 col-centered center-container">
|
|
|
|
<div class="col-md-7 col-centered center-container">
|
|
|
|
<h3>Unexpected error.</h3><br/>
|
|
|
|
<h3>Unexpected error.</h3><br />
|
|
|
|
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<div class="buttons">
|
|
|
|
<a href="#" id="device-unexpected-error-link" class="btn-operations">
|
|
|
|
<a href="#" id="device-unexpected-error-link" class="btn-operations">
|
|
|
@ -183,7 +201,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br/><br/>
|
|
|
|
<br /><br />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 padding-double grey-bg">
|
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 padding-double grey-bg">
|
|
|
|
<h3 class="uppercase">Prepare</h3>
|
|
|
|
<h3 class="uppercase">Prepare</h3>
|
|
|
@ -218,7 +236,7 @@
|
|
|
|
<img src="{{@unit.publicUri}}/images/schematicsGuide.png" class="img-responsive">
|
|
|
|
<img src="{{@unit.publicUri}}/images/schematicsGuide.png" class="img-responsive">
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</center>
|
|
|
|
</center>
|
|
|
|
<br/>
|
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 padding-double">
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 padding-double">
|
|
|
|
<h3 class="uppercase">Try Out</h3>
|
|
|
|
<h3 class="uppercase">Try Out</h3>
|
|
|
@ -240,7 +258,7 @@
|
|
|
|
navigating to Device Analytics page.
|
|
|
|
navigating to Device Analytics page.
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<br/>
|
|
|
|
<br />
|
|
|
|
<p class="grey margin-top">Click on the image to zoom</p>
|
|
|
|
<p class="grey margin-top">Click on the image to zoom</p>
|
|
|
|
<center>
|
|
|
|
<center>
|
|
|
|
<a href="{{@unit.publicUri}}/images/myDevices_analytics.png" target="_blank">
|
|
|
|
<a href="{{@unit.publicUri}}/images/myDevices_analytics.png" target="_blank">
|
|
|
|