summaryrefslogtreecommitdiffstats
path: root/gui/views/configeditor.tpl
blob: ff7094d28136fe8f2b51d0b4585b46e56a4c33af (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
<!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"> 
    <script type="text/javascript" src="static/jquery-1.10.2.min.js"></script>
  </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="50">{{config}}</textarea>
      </p>

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

  </body>
</html>