blob: a60d6a18b16b263f3b36689831f48142c7b69768 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{% include "head.html" %}
<div class="content">
<h1>ODR-DabMux Dashboard</h1>
<div class="section">
<h2>Remote control</h2>
{% if let Some(e) = errors %}
<p>Error!: {{ e }}</p>
{% endif %}
<table>
<tr><th>Module</th><th>Parameter</th><th>Value</th></tr>
{% for p in params %}
<tr><td>{{ p.module }}</td><td>{{ p.param }}</td>
<td>
<input class="textinput" type="text" value="{{ p.value }}">
<button class="btn" type="button" onclick="btn_dash_update(this, '{{ p.module }}', '{{ p.param }}')">Update</button>
</td></tr>
{% endfor %}
</table>
</div>
</div>
{% include "foot.html" %}
{# vi:set et sw=2 ts=2: #}
|