summaryrefslogtreecommitdiffstats
path: root/gui/views/index.tpl
blob: c38d8272c36be5c7517e271d7ca153931a9dc5b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html><head>
	<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.10.2.min.js"></script>
    <script type="text/javascript" src="static/script.js"></script>
</head>
<body>
    <h1>Configuration for {{version}}</h1>

    <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> &mdash; 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> &mdash; {{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> &mdash; service {{s.service}}; subchannel {{s.subchannel}}; figtype {{s.figtype}}</li>
                % end
            </ul>
        </div>
    </div>
</body>
</html>