From a9aadb35bdc03875b0f90e18fd2190aa19f8f58f Mon Sep 17 00:00:00 2001 From: Robin ALEXANDER Date: Sun, 6 Feb 2022 09:12:58 +0100 Subject: Extend W3.CSS and Jinja2 to secondary templates --- gui/views/configeditor.tpl | 35 +++++++++++++++--------------- gui/views/services.tpl | 54 +++++++++++++++++++++++++--------------------- gui/views/stats.tpl | 23 ++++++++++---------- 3 files changed, 59 insertions(+), 53 deletions(-) (limited to 'gui') diff --git a/gui/views/configeditor.tpl b/gui/views/configeditor.tpl index 114dcdb..ff7094d 100644 --- a/gui/views/configeditor.tpl +++ b/gui/views/configeditor.tpl @@ -1,29 +1,30 @@ - + + + ODR-DabMux Configuration Editor - + - - -

Configuration for {{version}}

+ + +

Configuration for {{version}}

-

Reload

+

Reload

- % if message: + {% if message %}

{{message}}

- % end + {% endif %} -
-

- -

+ +

+ +

-

+

-

+

- - - + + \ No newline at end of file diff --git a/gui/views/services.tpl b/gui/views/services.tpl index 7af383f..42438a8 100644 --- a/gui/views/services.tpl +++ b/gui/views/services.tpl @@ -1,27 +1,31 @@ - -ODR-DabMux Services - - - + + + ODR-DabMux Services + + + +

Services for {{version}}

- - - - - - - - - % for s in services: - - - - - - - % end - - - - +
nameidlabelptylanguage
{{s.name}}{{s.id}}{{s.label}} ({{s.shortlabel}}){{s.pty}}{{s.language}}
+ + + + + + + + + {% for s in services %} + + + + + + + + + {% endfor %} +
ServiceIdLabelShort labelProgram typeLanguage
{{s.name}}{{s.id}}{{s.label}}{{s.shortlabel}}{{s.pty}}{{s.language}}
+ + \ No newline at end of file diff --git a/gui/views/stats.tpl b/gui/views/stats.tpl index a582d5f..4bb089f 100644 --- a/gui/views/stats.tpl +++ b/gui/views/stats.tpl @@ -1,20 +1,21 @@ - - + + ODR-DabMux Statistics - + + + - - + + +

Subchannel stats for {{version}}

Update
-

Subchannels

-
+

Subchannels

+
- - - - + + \ No newline at end of file -- cgit v1.2.3