<table id="table" class="table" style="display: inline; position: relative" >
<thead class="thead-dark" >
<tr>
<th scope="col"> Object Name </th>
<th scope="col"> Type </th>
<th scope="col"> IP/Network </th>
</tr>
</thead>
<tbody>
{% for device in devices %}
<tr>
<td>{{device.checkpointName}}</td>
<td>{{device.deviceName}}</td>
<td id="deviceId" >{{device.deviceId}}</td>
<td>Waiting</td>
<td>{{device.lastSuccessfulBackupDate}}</td>
<td>Waiting</td>
<td> <button id={{ device.deviceId }} class="btn btn-primary btn-lg" onclick="runBackup(this.id)" > Run </button> </td>
</tr>
{% endfor %}
</tbody>
</table>