summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin ALEXANDER <colisee@hotmail.com>2022-02-11 17:29:32 +0100
committerRobin ALEXANDER <colisee@hotmail.com>2022-02-11 17:29:32 +0100
commitdaf36c1ec9a705a9920e75dba7937b8b083ca298 (patch)
tree9300aadbc14bfc1df428a052eba24440e05369f7
parentcf59334d138a7d751ea081581fef27bc82551f42 (diff)
downloaddabmux-daf36c1ec9a705a9920e75dba7937b8b083ca298.tar.gz
dabmux-daf36c1ec9a705a9920e75dba7937b8b083ca298.tar.bz2
dabmux-daf36c1ec9a705a9920e75dba7937b8b083ca298.zip
Remove links to javascripts when not needed
-rw-r--r--gui/views/configeditor.tpl1
-rw-r--r--gui/views/index.tpl2
-rw-r--r--gui/views/rcparam.tpl6
3 files changed, 2 insertions, 7 deletions
diff --git a/gui/views/configeditor.tpl b/gui/views/configeditor.tpl
index dcf012e..d302498 100644
--- a/gui/views/configeditor.tpl
+++ b/gui/views/configeditor.tpl
@@ -5,7 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ODR-DabMux Configuration Editor</title>
<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 class="w3-container">
<h1>Configuration for {{version}}</h1>
diff --git a/gui/views/index.tpl b/gui/views/index.tpl
index 7d7f886..ce60533 100644
--- a/gui/views/index.tpl
+++ b/gui/views/index.tpl
@@ -5,8 +5,6 @@
<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/script.js"></script>
</head>
<body class="w3-container">
<div class="w3-top w3-bar w3-blue-grey">
diff --git a/gui/views/rcparam.tpl b/gui/views/rcparam.tpl
index 369e8c9..edac5b7 100644
--- a/gui/views/rcparam.tpl
+++ b/gui/views/rcparam.tpl
@@ -5,14 +5,12 @@
<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 class="w3-container">
<h1 class="w3-blue-grey">Remote-Control: module {{module}}</h1>
<div class="w3-card-4">
- <form class="w3-container" ic-on-error="alert(str)" ic-post-to="/rc/{{module}}/{{param}}">
+ <form class="w3-container" method="post">
<p />
{% if not list %}
<label>{{param}}:</label>
@@ -30,7 +28,7 @@
</select>
{% endif %}
<p />
- <button class="w3-button w3-blue-grey">Update</button>
+ <button class="w3-button w3-blue-grey" type="submit">Update</button>
<p />
</form>
</div>