diff options
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> + |