* added table to device page

* request devices from js from db
This commit is contained in:
lukas-heiligenbrunner
2020-01-13 21:00:33 +01:00
parent ac02e4bd62
commit 92ef4cc0c6
7 changed files with 74 additions and 49 deletions

View File

@ -186,21 +186,35 @@
<table id="table-pickupdates" class="table table-bordered table-hover">
<thead>
<tr>
<th>City</th>
<th>Device ID</th>
<th>Devicename</th>
<th>Devicelocation</th>
<th>Zone</th>
<th>Waste Type</th>
<th>Date</th>
<th>X</th>
</tr>
</thead>
<tbody id="picupdates-tablebody">
<tr>
<td>42</td>
<td>new Device</td>
<td>
<button type="button" class="btn btn-primary">Configure</button>
</td>
</tr>
<tr>
<td>42</td>
<td>lukis anziges</td>
<td>htl steyr</td>
<td>Steyr/2/Plastic</td>
<td>del</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>City</th>
<th>Device ID</th>
<th>Devicename</th>
<th>Devicelocation</th>
<th>Zone</th>
<th>Waste Type</th>
<th>Date</th>
<th>X</th>
</tr>
</tfoot>