From eec01c9b72feff9533477014881b982124ca7b6d Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 19 Sep 2024 22:09:20 +0200 Subject: Create project --- templates/dashboard.html | 13 +++++++++++++ templates/foot.html | 5 +++++ templates/head.html | 39 +++++++++++++++++++++++++++++++++++++++ templates/settings.html | 15 +++++++++++++++ templates/settings_applied.html | 12 ++++++++++++ 5 files changed, 84 insertions(+) create mode 100644 templates/dashboard.html create mode 100644 templates/foot.html create mode 100644 templates/head.html create mode 100644 templates/settings.html create mode 100644 templates/settings_applied.html (limited to 'templates') diff --git a/templates/dashboard.html b/templates/dashboard.html new file mode 100644 index 0000000..c8a1693 --- /dev/null +++ b/templates/dashboard.html @@ -0,0 +1,13 @@ +{% include "head.html" %} +
+

Dashboard

+
+

ODR-DabMux

+

www.opendigitalradio.org

+
+
+

Remote control

+
+
+{% include "foot.html" %} +{# vi:set et sw=2 ts=2: #} diff --git a/templates/foot.html b/templates/foot.html new file mode 100644 index 0000000..18992e3 --- /dev/null +++ b/templates/foot.html @@ -0,0 +1,5 @@ + + + + +{# vi:set et sw=2 ts=2: #} diff --git a/templates/head.html b/templates/head.html new file mode 100644 index 0000000..47b314f --- /dev/null +++ b/templates/head.html @@ -0,0 +1,39 @@ + + + + ODR-DabMux - {{ title }} + + + + + {% for js in page.styles() %} + + {% endfor %} + + +
+ +
+{# vi:set et sw=2 ts=2: #} diff --git a/templates/settings.html b/templates/settings.html new file mode 100644 index 0000000..8a7d56e --- /dev/null +++ b/templates/settings.html @@ -0,0 +1,15 @@ +{% include "head.html" %} +
+

ODR-DabMux Settings

+ +
+
+
+ General +
+
+
+
+
+{% include "foot.html" %} +{# vi:set et sw=2 ts=2: #} diff --git a/templates/settings_applied.html b/templates/settings_applied.html new file mode 100644 index 0000000..214b8fd --- /dev/null +++ b/templates/settings_applied.html @@ -0,0 +1,12 @@ +{% include "head.html" %} +
+ {% if ok %} +

Configuration updated

+ {% else %} +

Configuration update failed

+

{{ error_message }}:

+

{{ error_reason }}:

+ {% endif %} +
+{% include "foot.html" %} +{# vi:set et sw=2 ts=2: #} -- cgit v1.2.3