Fixing incorrect position of UI button

This commit is contained in:
Ziver Koc 2023-02-27 23:34:20 +01:00
parent 425012517c
commit aff64c354c

View file

@ -124,6 +124,7 @@
<th>Name</th> <th>Name</th>
<th>Last Value</th> <th>Last Value</th>
<th>Last Report Time</th> <th>Last Report Time</th>
<th></th>
</thead> </thead>
{{#.getAttributes()}} {{#.getAttributes()}}
<tr> <tr>
@ -131,6 +132,20 @@
<td>{{.getName()}}</td> <td>{{.getName()}}</td>
<td>{{.getLastValue()}}</td> <td>{{.getLastValue()}}</td>
<td><span class="timestamp">{{.getLastReportTime().getTimeInMillis()}}</span></td> <td><span class="timestamp">{{.getLastReportTime().getTimeInMillis()}}</span></td>
<td>
<form method="POST">
<input type="hidden" name="nodeAddress" value="{{.cluster.zigbeeEndpoint.node.getIeeeAddress()}}">
<input type="hidden" name="endpointId" value="{{.cluster.zigbeeEndpoint.getEndpointId()}}">
<input type="hidden" name="clusterId" value="{{.cluster.getClusterId()}}">
<input type="hidden" name="attributeId" value="{{.getId()}}">
<div class="btn-toolbar pull-right">
<button type="submit" class="btn btn-primary btn-xs" name="action" value="refresh">
<span class="glyphicon glyphicon-refresh"></span>
</button>
</div>
</form>
</td>
</tr> </tr>
{{/.getAttributes()}} {{/.getAttributes()}}
</table> </table>
@ -163,20 +178,7 @@
<td>{{.getName()}}</td> <td>{{.getName()}}</td>
<td>{{.getLastValue()}}</td> <td>{{.getLastValue()}}</td>
<td><span class="timestamp">{{.getLastReportTime().getTimeInMillis()}}</span></td> <td><span class="timestamp">{{.getLastReportTime().getTimeInMillis()}}</span></td>
<td> <td></td>
<form method="POST">
<input type="hidden" name="nodeAddress" value="{{.cluster.zigbeeEndpoint.node.getIeeeAddress()}}">
<input type="hidden" name="endpointId" value="{{.cluster.zigbeeEndpoint.getEndpointId()}}">
<input type="hidden" name="clusterId" value="{{.cluster.getClusterId()}}">
<input type="hidden" name="attributeId" value="{{.getId()}}">
<div class="btn-toolbar pull-right">
<button type="submit" class="btn btn-primary btn-xs" name="action" value="refresh">
<span class="glyphicon glyphicon-refresh"></span>
</button>
</div>
</form>
</td>
</tr> </tr>
{{/.getAttributes()}} {{/.getAttributes()}}
</table> </table>