summaryrefslogtreecommitdiffstats
path: root/gui/views/configeditor.tpl
diff options
context:
space:
mode:
authorRobin ALEXANDER <colisee@hotmail.com>2022-02-06 09:12:58 +0100
committerRobin ALEXANDER <colisee@hotmail.com>2022-02-06 09:12:58 +0100
commita9aadb35bdc03875b0f90e18fd2190aa19f8f58f (patch)
tree43f0210cc0649565828fe207ae00f8246527e351 /gui/views/configeditor.tpl
parentb6376fb8f1379bebd3241f29e356eb0076adfcbd (diff)
downloaddabmux-a9aadb35bdc03875b0f90e18fd2190aa19f8f58f.tar.gz
dabmux-a9aadb35bdc03875b0f90e18fd2190aa19f8f58f.tar.bz2
dabmux-a9aadb35bdc03875b0f90e18fd2190aa19f8f58f.zip
Extend W3.CSS and Jinja2 to secondary templates
Diffstat (limited to 'gui/views/configeditor.tpl')
-rw-r--r--gui/views/configeditor.tpl35
1 files changed, 18 insertions, 17 deletions
diff --git a/gui/views/configeditor.tpl b/gui/views/configeditor.tpl
index 114dcdb..ff7094d 100644
--- a/gui/views/configeditor.tpl
+++ b/gui/views/configeditor.tpl
@@ -1,29 +1,30 @@
<!DOCTYPE html>
-<html><head>
+<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="static/style.css" type="text/css" media="screen" charset="utf-8"/>
+ <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>
- <h1>Configuration for {{version}}</h1>
+ </head>
+<body class="w3-container">
+ <h1>Configuration for {{version}}</h1>
- <p><a href="/config">Reload</a></p>
+ <p><a href="/config">Reload</a></p>
- % if message:
+ {% if message %}
<p>{{message}}</p>
- % end
+ {% endif %}
- <form action="/config" method="post">
- <p>
- <textarea name="config" cols="60" rows="50">{{config}}</textarea>
- </p>
+ <form action="/config" method="post">
+ <p>
+ <textarea name="config" cols="60" rows="50">{{config}}</textarea>
+ </p>
- <p>
+ <p>
<input type="submit" value="Update ODR-DabMux configuration"></input>
- </p>
+ </p>
</form>
-</body>
-</html>
-
+ </body>
+</html> \ No newline at end of file