aboutsummaryrefslogtreecommitdiffstats
path: root/gui/views/configeditor.tpl
blob: d302498bf7bdeecace0cf7f39e45de7e86c15df2 (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
<!DOCTYPE html>
<html>
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>ODR-DabMux Configuration Editor</title>
    <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> 
  </head>
<body class="w3-container">
  <h1>Configuration for {{version}}</h1>

  <p><a href="/config">Reload</a></p>

  {% if message %}
    <p>{{message}}</p>
  {% endif %}

  <form action="/config" method="post">
      <p>
      <textarea name="config" cols="60" rows="30">{{config}}</textarea>
      </p>

      <p>
        <input type="submit" value="Update ODR-DabMux configuration"></input>
      </p>
    </form>

  </body>
</html>