removing sample devices

application-manager-new
Rasika 10 years ago
parent 16590ba5b0
commit 7cbcf3892e

@ -20,9 +20,11 @@
</thead> </thead>
<tbody> <tbody>
<form method="GET" action="{{myDevicePath}}"> <form method="GET" action="{{myDevicePath}}">
{{#if devices.device}}
{{#each devices.device}}
<tr class="border-top"> <tr class="border-top">
<th scope="row">001</th> <th scope="row">{{deviceIdentifier}}</th>
<td>John's Raspberry Pi</td> <td>{{name}}</td>
<td class="float-right border-top "> <td class="float-right border-top ">
<button class="btn-black-action" name="deviceId" <button class="btn-black-action" name="deviceId"
value="{{deviceIdentifier}}"> value="{{deviceIdentifier}}">
@ -36,54 +38,15 @@
</button> </button>
</td> </td>
</tr> </tr>
{{/each}}
{{else}}
<tr class="border-top"> <tr class="border-top">
<th scope="row">002</th> <th scope="row"></th>
<td>John's Arduino</td> <td colspan="2">
<td class="float-right border-top "> No Devices available.
<button class="btn-black-action" name="deviceId"
value="{{deviceIdentifier}}">
<i class="fw fw-view padding-right"></i>View
</button>
<button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}">
<i class="fw fw-edit padding-right"></i>Edit
</button>
<button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}">
<i class="fw fw-delete padding-right"></i>Remove
</button>
</td>
</tr>
<tr class="border-top">
<th scope="row">003</th>
<td>John's BeagleBone</td>
<td class="float-right border-top ">
<button class="btn-black-action" name="deviceId"
value="{{deviceIdentifier}}">
<i class="fw fw-view padding-right"></i>View
</button>
<button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}">
<i class="fw fw-edit padding-right"></i>Edit
</button>
<button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}">
<i class="fw fw-delete padding-right"></i>Remove
</button>
</td>
</tr>
<tr class="border-top">
<th scope="row">004</th>
<td>John's Firealarm</td>
<td class="float-right border-top ">
<button class="btn-black-action" name="deviceId"
value="{{deviceIdentifier}}">
<i class="fw fw-view padding-right"></i>View
</button>
<button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}">
<i class="fw fw-edit padding-right"></i>Edit
</button>
<button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}">
<i class="fw fw-delete padding-right"></i>Remove
</button>
</td> </td>
</tr> </tr>
{{/if}}
</form> </form>
</tbody> </tbody>
</table> </table>

Loading…
Cancel
Save