2016-01-22 10:52:28 +01:00
|
|
|
<h1 class="page-header">Details for <a href="#">{{event.getName()}}</a></h1>
|
|
|
|
|
|
2016-01-22 16:38:17 +01:00
|
|
|
<div class="col-md-5">
|
|
|
|
|
<div class="panel panel-default drop-shadow">
|
|
|
|
|
<div class="panel-heading">Configuration</div>
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
<table class="table table-hover table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="text-right">Name:</th>
|
|
|
|
|
<td>{{event.getName()}}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="text-right">Type:</th>
|
|
|
|
|
<td>{{event.getDeviceData().getClass().getSimpleName()}}</td>
|
|
|
|
|
</tr>
|
2016-01-22 17:32:26 +01:00
|
|
|
<tr>
|
|
|
|
|
<th class="text-right">Owner:</th>
|
|
|
|
|
<td>{{event.getUser().getUsername()}}</td>
|
|
|
|
|
</tr>
|
2016-01-22 16:38:17 +01:00
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-7">
|
2016-01-22 10:52:28 +01:00
|
|
|
<div class="panel panel-default drop-shadow">
|
|
|
|
|
<div class="panel-heading">History data</div>
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
|
|
|
|
|
<table class="table table-hover table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<th class="col-md-6">Timestamp</th>
|
|
|
|
|
<th class="col-md-2">Data</th>
|
|
|
|
|
</thead>
|
|
|
|
|
{{#history}}
|
|
|
|
|
<tr>
|
2016-01-24 17:37:32 +01:00
|
|
|
<td><span class="timestamp">{{.timestamp}}</span></td>
|
2016-01-22 16:38:17 +01:00
|
|
|
<td>{{.data}}</td>
|
2016-01-22 10:52:28 +01:00
|
|
|
</tr>
|
|
|
|
|
{{/history}}
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|