diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-07 18:19:48 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-07 18:19:48 +0200 |
commit | f02e4b97c487c980bc823f467e078a966f747bee (patch) | |
tree | 8b4d84eed3df78560e50576c762420ff35e777b4 /gui/views/rcparam.tpl | |
parent | 77b399804d0b7f3bdabcf8c1adcd95beafd9c8ad (diff) | |
download | dabmux-f02e4b97c487c980bc823f467e078a966f747bee.tar.gz dabmux-f02e4b97c487c980bc823f467e078a966f747bee.tar.bz2 dabmux-f02e4b97c487c980bc823f467e078a966f747bee.zip |
Add ability to change RC settings from gui
Diffstat (limited to 'gui/views/rcparam.tpl')
-rw-r--r-- | gui/views/rcparam.tpl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gui/views/rcparam.tpl b/gui/views/rcparam.tpl new file mode 100644 index 0000000..955086b --- /dev/null +++ b/gui/views/rcparam.tpl @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> + <title>ODR-DabMux Configuration</title> + <link rel="stylesheet" href="/static/style.css" type="text/css" media="screen" charset="utf-8"/> + <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> + + <form 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}}"> + </div> + <button class="btn btn-default">Update value</button> + </form> + +</body> +</html> + |