removing sample devices

merge-requests/1/head
Rasika 10 years ago
parent 16590ba5b0
commit 7cbcf3892e

@ -20,70 +20,33 @@
</thead> </thead>
<tbody> <tbody>
<form method="GET" action="{{myDevicePath}}"> <form method="GET" action="{{myDevicePath}}">
<tr class="border-top"> {{#if devices.device}}
<th scope="row">001</th> {{#each devices.device}}
<td>John's Raspberry Pi</td> <tr class="border-top">
<td class="float-right border-top "> <th scope="row">{{deviceIdentifier}}</th>
<button class="btn-black-action" name="deviceId" <td>{{name}}</td>
value="{{deviceIdentifier}}"> <td class="float-right border-top ">
<i class="fw fw-view padding-right"></i>View <button class="btn-black-action" name="deviceId"
</button> value="{{deviceIdentifier}}">
<button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}"> <i class="fw fw-view padding-right"></i>View
<i class="fw fw-edit padding-right"></i>Edit </button>
</button> <button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}">
<button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}"> <i class="fw fw-edit padding-right"></i>Edit
<i class="fw fw-delete padding-right"></i>Remove </button>
</button> <button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}">
</td> <i class="fw fw-delete padding-right"></i>Remove
</tr> </button>
<tr class="border-top"> </td>
<th scope="row">002</th> </tr>
<td>John's Arduino</td> {{/each}}
<td class="float-right border-top "> {{else}}
<button class="btn-black-action" name="deviceId" <tr class="border-top">
value="{{deviceIdentifier}}"> <th scope="row"></th>
<i class="fw fw-view padding-right"></i>View <td colspan="2">
</button> No Devices available.
<button class="btn-black-action" name="deviceId" value="{{deviceIdentifier}}"> </td>
<i class="fw fw-edit padding-right"></i>Edit </tr>
</button> {{/if}}
<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>
</tr>
</form> </form>
</tbody> </tbody>
</table> </table>

Loading…
Cancel
Save