detected device bug fix
Former-commit-id: f56ddf18a7db16ef07874aceb1d49b7aa4b1bcdd
This commit is contained in:
parent
3343ad83db
commit
09d59635c3
3 changed files with 22 additions and 16 deletions
|
|
@ -61,14 +61,14 @@
|
|||
</thead>
|
||||
{{#detectedEvents}}
|
||||
<tr>
|
||||
<td>{{.getClass().getName()}}</td>
|
||||
<td>{{.getTimestamp()}}</td>
|
||||
<td>{{.getType()}}</td>
|
||||
<td>{{.getDeviceData().getTimestamp()}}</td>
|
||||
<td>{{.}}</td>
|
||||
<td>
|
||||
<div class="btn-toolbar pull-right">
|
||||
<button type="button" class="btn btn-default btn-xs" data-toggle="modal"
|
||||
data-target="#eventModal"
|
||||
data-type="{{.getClass().getName()}}"
|
||||
data-type="{{.getType()}}"
|
||||
{{#.getDeviceConfig().getConfiguration()}}
|
||||
data-{{.getName()}}="{{.getString()}}"
|
||||
{{/.getDeviceConfig().getConfiguration()}}
|
||||
|
|
|
|||
|
|
@ -64,14 +64,14 @@
|
|||
</thead>
|
||||
{{#detectedSensors}}
|
||||
<tr>
|
||||
<td>{{.getClass().getName()}}</td>
|
||||
<td>{{.getTimestamp()}}</td>
|
||||
<td>{{.getType()}}</td>
|
||||
<td>{{.getDeviceData().getTimestamp()}}</td>
|
||||
<td>{{.}}</td>
|
||||
<td>
|
||||
<div class="btn-toolbar pull-right">
|
||||
<button type="button" class="btn btn-default btn-xs" data-toggle="modal"
|
||||
data-target="#sensorModal"
|
||||
data-type="{{.getClass().getName()}"
|
||||
data-type="{{.getType()}}"
|
||||
{{#.getDeviceConfig().getConfiguration()}}
|
||||
data-{{.getName()}}="{{.getString()}}"
|
||||
{{/.getDeviceConfig().getConfiguration()}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue