diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-03-07 18:59:39 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-03-07 18:59:39 +0100 |
commit | e5dd6e1775da4f6f1f4933fc8b8fe4dc0b5dc2bd (patch) | |
tree | 15213abe598989f9d8aef462bbf16accf2d17c31 /gui/views | |
parent | 3f4214227e993305bb320b299245f466b9b22233 (diff) | |
download | dabmux-e5dd6e1775da4f6f1f4933fc8b8fe4dc0b5dc2bd.tar.gz dabmux-e5dd6e1775da4f6f1f4933fc8b8fe4dc0b5dc2bd.tar.bz2 dabmux-e5dd6e1775da4f6f1f4933fc8b8fe4dc0b5dc2bd.zip |
Add web gui work in progress
Diffstat (limited to 'gui/views')
-rw-r--r-- | gui/views/index.tpl | 32 |
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> — id = {{s.srvid}}</li> + % end + </ul> + <h2>Subchannels</h2> + <ul> + % for s in subchannels: + <li>{{s.name}}: <i>{{s.type}}</i> — {{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> — service {{s.service}}; subchannel {{s.subchannel}}; figtype {{s.figtype}}</li> + % end + </ul> +</body> +</html> + |