summaryrefslogtreecommitdiffstats
path: root/gui/views/index.tpl
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-03-07 18:59:39 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-03-07 18:59:39 +0100
commite5dd6e1775da4f6f1f4933fc8b8fe4dc0b5dc2bd (patch)
tree15213abe598989f9d8aef462bbf16accf2d17c31 /gui/views/index.tpl
parent3f4214227e993305bb320b299245f466b9b22233 (diff)
downloaddabmux-e5dd6e1775da4f6f1f4933fc8b8fe4dc0b5dc2bd.tar.gz
dabmux-e5dd6e1775da4f6f1f4933fc8b8fe4dc0b5dc2bd.tar.bz2
dabmux-e5dd6e1775da4f6f1f4933fc8b8fe4dc0b5dc2bd.zip
Add web gui work in progress
Diffstat (limited to 'gui/views/index.tpl')
-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>
+