blob: 7d7f88629773a1505c515ac379cf065b84ce2521 (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
<!DOCTYPE html>
<html>
<head>
<title>ODR-DabMux Configuration</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<script type="text/javascript" src="static/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="static/script.js"></script>
</head>
<body class="w3-container">
<div class="w3-top w3-bar w3-blue-grey">
<a href="#general" class="w3-bar-item w3-button">General Options</a>
<a href="#servicelist" class="w3-bar-item w3-button">Services</a>
<a href="#subchannels" class="w3-bar-item w3-button">Subchannels</a>
<a href="#components" class="w3-bar-item w3-button">Components</a>
<a href="#rcmodules" class="w3-bar-item w3-button">RC Modules</a>
</div>
<div id="general" class="w3-responsive w3-card-4">
<br /><br />
<table class="w3-table w3-striped w3-bordered">
<tr class="w3-blue-grey">
<th>General multiplex options</th>
<th></th>
</tr>
<tr>
<td>Number of frames to encode</td>
<td>{{g.nbframes}}</td>
</tr>
<tr>
<td>Statistics server port</td>
<td>{{g.statsserverport}}</td>
</tr>
<tr>
<td>Write SCCA field</td>
<td>{{g.writescca}}</td>
</tr>
<tr>
<td>Write TIST timestamp</td>
<td>{{g.tist}}</td>
</tr>
<tr>
<td>DAB mode</td>
<td>{{g.dabmode}}</td>
</tr>
<tr>
<td>Log to syslog</td>
<td>{{g.syslog}}</td>
</tr>
</table>
</div>
<div id="servicelist" class="w3-responsive w3-card-4">
<br /><br />
<table class="w3-table w3-striped w3-bordered">
<tr class="w3-blue-grey">
<th>Service</th>
<th>Id</th>
<th>Label</th>
<th>Short label</th>
</tr>
{% for s in services %}
<tr>
<td>{{s.name}}</td>
<td>{{s.id}}</td>
<td>{{s.label}}</td>
<td>{{s.shortlabel}}</td>
</tr>
{% endfor %}
</table>
</div>
<div id="subchannels" class="w3-responsive w3-card-4">
<br /><br />
<table class="w3-table w3-striped w3-bordered">
<tr class="w3-blue-grey">
<th>Sub channel</th>
<th>Type</th>
<th>Input file</th>
<th>Bit rate (Kbps)</th>
</tr>
{% for s in subchannels %}
<tr>
<td>{{s.name}}</td>
<td>{{s.type}}</td>
<td>{{s.inputfile}}</td>
<td>{{s.bitrate}}</td>
</tr>
{% endfor %}
</table>
</div>
<div id="components" class="w3-responsive w3-card-4">
<br /><br />
<table class="w3-table w3-striped w3-bordered">
<tr class="w3-blue-grey">
<th>Component</th>
<th>Label</th>
<th>Short label</th>
<th>Service</th>
<th>Sub-channel</th>
<th>Fig type</th>
</tr>
{% for s in components %}
<tr>
<td>{{s.name}}</td>
<td>{{s.label}}</td>
<td>{{s.shortlabel}}</td>
<td>{{s.service}}</td>
<td>{{s.subchannel}}</td>
<td>{{s.figtype}}</td>
</tr>
{% endfor %}
</table>
</div>
<div id="rcmodules" class="w3-responsive w3-card-4">
<br /><br />
<ul class="w3-ul">
<li class="w3-blue-grey"><b>RC Modules</b></li>
{% for m in rcmodules %}
<li class="w3-light-grey"><b>{{m.name}}</b>
<ul class="w3-ul">
{% for p in m.parameters %}
<li class="w3-white"><a href="/rc/{{m.name}}/{{p.param.decode()}}" class="w3-hover-blue-grey">{{p.param.decode()}}</a> : {{p.value.decode()}}</li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
</div>
</div>
</body>
</html>
|