small fixes
This commit is contained in:
parent
72bd17569d
commit
3cb72a1d17
3 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="?id={{.getId()}}">{{.getName()}}</a></td>
|
<td><a href="?id={{.getId()}}">{{.getName()}}</a></td>
|
||||||
<td>{{.getDeviceData().getClass().getSimpleName()}}</td>
|
<td>{{.getDeviceData().getClass().getSimpleName()}}</td>
|
||||||
<td>{{.getDeviceData().getData()}}</td>
|
<td>{{.getDeviceData()}}</td>
|
||||||
<td><span class="timestamp">{{.getDeviceData().getTimestamp()}}</span></td>
|
<td><span class="timestamp">{{.getDeviceData().getTimestamp()}}</span></td>
|
||||||
<td>
|
<td>
|
||||||
<form method="POST">
|
<form method="POST">
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="?id={{.getId()}}">{{.getName()}}</a></td>
|
<td><a href="?id={{.getId()}}">{{.getName()}}</a></td>
|
||||||
<td>{{.getDeviceData().getClass().getSimpleName()}}</td>
|
<td>{{.getDeviceData().getClass().getSimpleName()}}</td>
|
||||||
<td>{{.getDeviceData().getData()}}</td>
|
<td>{{.getDeviceData()}}</td>
|
||||||
<td><span class="timestamp">{{.getDeviceData().getTimestamp()}}</span></td>
|
<td><span class="timestamp">{{.getDeviceData().getTimestamp()}}</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/sensors}}
|
{{/sensors}}
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ public class NutUpsDevice implements HalSensorConfig{
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString(){
|
public String toString(){
|
||||||
return "id: "+ upsId;
|
return "upsId: "+ upsId;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue