summaryrefslogtreecommitdiffstats
path: root/gui/views/rcparam.tpl
diff options
context:
space:
mode:
authorRobin ALEXANDER <colisee@hotmail.com>2022-01-31 11:38:30 +0100
committerRobin ALEXANDER <colisee@hotmail.com>2022-01-31 11:38:30 +0100
commit062066075c8da6e095f87db5521071500a044860 (patch)
tree307f04f4d956f5ce6fb255864ac917b7412fd89d /gui/views/rcparam.tpl
parent24565a44ae5f89d3519b0d908f29bb58a3beb808 (diff)
downloaddabmux-062066075c8da6e095f87db5521071500a044860.tar.gz
dabmux-062066075c8da6e095f87db5521071500a044860.tar.bz2
dabmux-062066075c8da6e095f87db5521071500a044860.zip
web design review
Switching from static/style.css to W3.CSS for templates: + index.tpl + rcparam.tpl
Diffstat (limited to 'gui/views/rcparam.tpl')
-rw-r--r--gui/views/rcparam.tpl31
1 files changed, 17 insertions, 14 deletions
diff --git a/gui/views/rcparam.tpl b/gui/views/rcparam.tpl
index 5ae0e9e..3bf3e5c 100644
--- a/gui/views/rcparam.tpl
+++ b/gui/views/rcparam.tpl
@@ -1,22 +1,25 @@
<!DOCTYPE html>
-<html><head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<html>
+ <head>
<title>ODR-DabMux Configuration</title>
- <link rel="stylesheet" href="/static/style.css" type="text/css" media="screen" charset="utf-8"/>
+ <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/intercooler-1.0.1.min.js"></script>
-</head>
-<body>
- <h1>Remote-Control of module {{module}}</h1>
+ </head>
- <form ic-on-error="alert(str)" ic-post-to="/rc/{{module}}/{{param}}">
- <div class="form-group">
- <label>Parameter <i>{{param}}</i> value: </label>
- <input class="form-control" name="newvalue" type="text" value="{{value}}">
+ <body>
+ <h1 class="w3-container w3-blue-grey">Remote-Control of module {{module}}</h1>
+ <div class="w3-container">
+ <form class="w3-container w3-card-4" ic-on-error="alert(str)" ic-post-to="/rc/{{module}}/{{param}}">
+ <p />
+ <label>Parameter <b>{{param}}</b></label>
+ <input name="newvalue" type="text" value="{{value}}">
+ <p />
+ <button class="w3-button w3-blue-grey">Update</button>
+ </form>
</div>
- <button class="btn btn-default">Update value</button>
- </form>
+ </body>
-</body>
</html>
-