diff options
Diffstat (limited to 'gui/views')
-rw-r--r-- | gui/views/index.tpl | 72 | ||||
-rw-r--r-- | gui/views/services.tpl | 6 |
2 files changed, 50 insertions, 28 deletions
diff --git a/gui/views/index.tpl b/gui/views/index.tpl index a73d6d2..b0f5bcc 100644 --- a/gui/views/index.tpl +++ b/gui/views/index.tpl @@ -1,32 +1,58 @@ <!DOCTYPE html> <html><head> -<title>ODR-DabMux Configuration Dump</title> -<style> -body { - font-family: sans; -} -</style> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> + <title>ODR-DabMux Configuration</title> + <link rel="stylesheet" href="static/style.css" type="text/css" media="screen" charset="utf-8"/> + <script type="text/javascript" src="static/jquery-1.7.1.min.js"></script> + <script type="text/javascript" src="static/script.js"></script> </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.id}}</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 id="info-nav"> + <li><a href="#general">General Options</a></li> + <li><a href="#servicelist">Services</a></li> + <li><a href="#subchannels">Subchannels</a></li> + <li><a href="#components">Components</a></li> </ul> + + <div id="info"> + <div id="general"> + <p>General Multiplex Options</p> + <ul> + <li>Number of frames to encode: {{g.nbframes}}</li> + <li>Statistics server port: {{g.statsserverport}}</li> + <li>Write SCCA field: {{g.writescca}}</li> + <li>Write TIST timestamp: {{g.tist}}</li> + <li>DAB Mode: {{g.dabmode}}</li> + <li>Log to syslog: {{g.syslog}}</li> + </ul> + </div> + <div id="servicelist"> + <p>Services</p> + <ul> + % for s in services: + <li>{{s.name}}: <i>{{s.label}} ({{s.shortlabel}})</i> — id = {{s.id}}</li> + % end + </ul> + </div> + <div id="subchannels"> + <p>Subchannels</p> + <ul> + % for s in subchannels: + <li>{{s.name}}: <i>{{s.type}}</i> — {{s.inputfile}}; {{s.bitrate}}kbps</li> + % end + </ul> + </div> + <div id="components"> + <p>Components</p> + <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> + </div> + </div> </body> </html> diff --git a/gui/views/services.tpl b/gui/views/services.tpl index 7ca2f9f..7af383f 100644 --- a/gui/views/services.tpl +++ b/gui/views/services.tpl @@ -1,11 +1,7 @@ <!DOCTYPE html> <html><head> <title>ODR-DabMux Services</title> -<style> -body { - font-family: sans; -} -</style> +<link rel="stylesheet" href="static/style.css" /> </head> <body> <h1>Services for {{version}}</h1> |