Improved MQTT Broker and added overview page
This commit is contained in:
parent
bda3f270af
commit
926c3e2af2
6 changed files with 103 additions and 18 deletions
23
plugins/hal-mqtt/resources/web/mqtt_overview.tmpl
Normal file
23
plugins/hal-mqtt/resources/web/mqtt_overview.tmpl
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<h1 class="page-header">MQTT Overview</h1>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<div class="panel panel-default drop-shadow">
|
||||
<div class="panel-heading">Published Topic Data</div>
|
||||
<div class="panel-body">
|
||||
<table class="table table-hover table-condensed">
|
||||
<tr>
|
||||
<th>Topic</th>
|
||||
<th>Published Data</th>
|
||||
</tr>
|
||||
{{#topics}}
|
||||
<tr>
|
||||
<td style="font-family:monospace;">{{.getKey()}}</td>
|
||||
<td><pre style="white-space: pre-wrap;">{{.getValue()}}</pre></td>
|
||||
</tr>
|
||||
{{/topics}}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue