|
|
@ -9,12 +9,6 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{{#each devices.devices}}
|
|
|
|
|
|
|
|
{{name}}<br/>
|
|
|
|
|
|
|
|
{{id}}<br/><br/>
|
|
|
|
|
|
|
|
{{/each}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row margin-double padding-double">
|
|
|
|
<div class="row margin-double padding-double">
|
|
|
|
<table class="table table-hover border">
|
|
|
|
<table class="table table-hover border">
|
|
|
|
<thead>
|
|
|
|
<thead>
|
|
|
@ -25,76 +19,26 @@
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr class="border-top">
|
|
|
|
|
|
|
|
<th scope="row">001</th>
|
|
|
|
|
|
|
|
<td>RaspberryPi</td>
|
|
|
|
|
|
|
|
<td class="float-right border-top ">
|
|
|
|
|
|
|
|
<form method="GET" action="{{myDevicePath}}">
|
|
|
|
<form method="GET" action="{{myDevicePath}}">
|
|
|
|
<button class="btn-black-action" name="view" value="">
|
|
|
|
{{#each devices.device}}
|
|
|
|
<i class="fw fw-view padding-right"></i>View
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button class="btn-black-action" name="edit" value="">
|
|
|
|
|
|
|
|
<i class="fw fw-edit padding-right"></i>Edit
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button class="btn-black-action" name="remove" value="">
|
|
|
|
|
|
|
|
<i class="fw fw-delete padding-right"></i>Remove
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="border-top">
|
|
|
|
<tr class="border-top">
|
|
|
|
<th scope="row">002</th>
|
|
|
|
<th scope="row">{{deviceIdentifier}}</th>
|
|
|
|
<td>ArduinoUno</td>
|
|
|
|
<td>{{name}}</td>
|
|
|
|
<td class="float-right border-top">
|
|
|
|
<td class="float-right border-top ">
|
|
|
|
<form method="GET" action="{{myDevicePath}}">
|
|
|
|
<button class="btn-black-action" name="deviceId"
|
|
|
|
<button class="btn-black-action" name="view" value="">
|
|
|
|
value="{{deviceIdentifier}}">
|
|
|
|
<i class="fw fw-view padding-right"></i>View
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button class="btn-black-action" name="edit" value="">
|
|
|
|
|
|
|
|
<i class="fw fw-edit padding-right"></i>Edit
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button class="btn-black-action" name="remove" value="">
|
|
|
|
|
|
|
|
<i class="fw fw-delete padding-right"></i>Remove
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="border-top">
|
|
|
|
|
|
|
|
<th scope="row">003</th>
|
|
|
|
|
|
|
|
<td>BeagleBone</td>
|
|
|
|
|
|
|
|
<td class=" float-right border-top">
|
|
|
|
|
|
|
|
<form method="GET" action="{{myDevicePath}}">
|
|
|
|
|
|
|
|
<button class="btn-black-action" name="view" value="">
|
|
|
|
|
|
|
|
<i class="fw fw-view padding-right"></i>View
|
|
|
|
<i class="fw fw-view padding-right"></i>View
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button class="btn-black-action" name="edit" value="">
|
|
|
|
<button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}">
|
|
|
|
<i class="fw fw-edit padding-right"></i>Edit
|
|
|
|
<i class="fw fw-edit padding-right"></i>Edit
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button class="btn-black-action" name="remove" value="">
|
|
|
|
<button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}">
|
|
|
|
<i class="fw fw-delete padding-right"></i>Remove
|
|
|
|
<i class="fw fw-delete padding-right"></i>Remove
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr class="border-top">
|
|
|
|
{{/each}}
|
|
|
|
<th scope="row">003</th>
|
|
|
|
|
|
|
|
<td>Fire Alarm</td>
|
|
|
|
|
|
|
|
<td class="float-right border-top">
|
|
|
|
|
|
|
|
<form method="GET" action="{{myDevicePath}}">
|
|
|
|
|
|
|
|
<button class="btn-black-action" name="view" value="">
|
|
|
|
|
|
|
|
<i class="fw fw-view padding-right"></i>View
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button class="btn-black-action" name="edit" value="">
|
|
|
|
|
|
|
|
<i class="fw fw-edit padding-right"></i>Edit
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button class="btn-black-action" name="remove" value="">
|
|
|
|
|
|
|
|
<i class="fw fw-delete padding-right"></i>Remove
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|