diff options
Diffstat (limited to 'gui/views/configeditor.tpl')
-rw-r--r-- | gui/views/configeditor.tpl | 35 |
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 |