detected device bug fix

Former-commit-id: f56ddf18a7db16ef07874aceb1d49b7aa4b1bcdd
This commit is contained in:
Ziver Koc 2016-01-22 20:28:05 +01:00
parent 3343ad83db
commit 09d59635c3
3 changed files with 22 additions and 16 deletions

View file

@ -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()}}

View file

@ -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()}}