aboutsummaryrefslogtreecommitdiffstats
path: root/gui/views
diff options
context:
space:
mode:
Diffstat (limited to 'gui/views')
-rw-r--r--gui/views/index.tpl32
1 files changed, 32 insertions, 0 deletions
diff --git a/gui/views/index.tpl b/gui/views/index.tpl
new file mode 100644
index 0000000..c847402
--- /dev/null
+++ b/gui/views/index.tpl
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html><head>
+<title>ODR-DabMux Configuration Dump</title>
+<style>
+body {
+ font-family: sans;
+}
+</style>
+</head>
+<body>
+ <h1>Configuration for {{version}}</h1>
+ <h2>Services</h2>
+ <ul>
+ % for s in services:
+ <li>{{s.name}}: <i>{{s.label}} ({{s.shortlabel}})</i> &mdash; id = {{s.srvid}}</li>
+ % end
+ </ul>
+ <h2>Subchannels</h2>
+ <ul>
+ % for s in subchannels:
+ <li>{{s.name}}: <i>{{s.type}}</i> &mdash; {{s.inputfile}}; {{s.bitrate}}kbps</li>
+ % end
+ </ul>
+ <h2>Components</h2>
+ <ul>
+ % for s in components:
+ <li>{{s.name}}: <i>{{s.label}} ({{s.shortlabel}})</i> &mdash; service {{s.service}}; subchannel {{s.subchannel}}; figtype {{s.figtype}}</li>
+ % end
+ </ul>
+</body>
+</html>
+