aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/dashboard.html6
-rw-r--r--templates/head.html3
-rw-r--r--templates/settings.html7
-rw-r--r--templates/settings_applied.html12
4 files changed, 9 insertions, 19 deletions
diff --git a/templates/dashboard.html b/templates/dashboard.html
index 040538c..a60d6a1 100644
--- a/templates/dashboard.html
+++ b/templates/dashboard.html
@@ -1,10 +1,6 @@
{% include "head.html" %}
<div class="content">
- <h1>Dashboard</h1>
- <div class="section">
- <h2>ODR-DabMux</h2>
- <p>www.opendigitalradio.org</p>
- </div>
+ <h1>ODR-DabMux Dashboard</h1>
<div class="section">
<h2>Remote control</h2>
diff --git a/templates/head.html b/templates/head.html
index 7a2e5bb..c835d6e 100644
--- a/templates/head.html
+++ b/templates/head.html
@@ -16,7 +16,8 @@
<div class="head-nav-topdiv">
<div class="nav-title">
<p class="text-lg">ODR-DabMux</p>
- <p class="text-lg"><b>{{ conf.instance_name }}</b></p>
+ <p><a href="https://www.opendigitalradio.org">www.opendigitalradio.org</a></p>
+ <p class="text-lg">Instance name:<br>{{ conf.instance_name }}</p>
</div>
<div class="div-menu">
diff --git a/templates/settings.html b/templates/settings.html
index 74843fb..713947f 100644
--- a/templates/settings.html
+++ b/templates/settings.html
@@ -4,7 +4,12 @@
<div class="section">
<h2>General</h2>
<div class="setting-entry">
- <label for="instance_name">Name of this instance:</label><input class="textinput" type="text" id="instance_name" value="{{ conf.instance_name }}">
+ <label for="instance_name">Name of this instance:</label>
+ <input class="textinput" type="text" id="instance_name" value="{{ conf.instance_name }}">
+ </div>
+ <div class="setting-entry">
+ <label for="dabmux_config_location">ODR-DabMux JSON config to write:</label>
+ <input class="textinput" type="text" id="dabmux_config_location" value="{{ conf.dabmux_config_location }}">
</div>
<div class="setting-entry">
<label for="tist">Enable TIST:</label>
diff --git a/templates/settings_applied.html b/templates/settings_applied.html
deleted file mode 100644
index 214b8fd..0000000
--- a/templates/settings_applied.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% include "head.html" %}
-<div class="content">
- {% if ok %}
- <h1>Configuration updated</h1>
- {% else %}
- <h1>Configuration update failed</h1>
- <p>{{ error_message }}:</p>
- <p>{{ error_reason }}:</p>
- {% endif %}
-</div>
-{% include "foot.html" %}
-{# vi:set et sw=2 ts=2: #}