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