Fixing incorrect position of UI button
This commit is contained in:
parent
425012517c
commit
aff64c354c
1 changed files with 16 additions and 14 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue