aboutsummaryrefslogtreecommitdiffstats
path: root/gui/templates
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-06-18 16:00:16 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-06-18 16:00:16 +0200
commit9df483045b5622af8902c07b54c7f985e12b1671 (patch)
tree33ea77312758ddc19911e211a41d1eddb85d6177 /gui/templates
parentb76ebdb856b20a8078c6386bc20e79aa0d8db741 (diff)
downloaddabmod-9df483045b5622af8902c07b54c7f985e12b1671.tar.gz
dabmod-9df483045b5622af8902c07b54c7f985e12b1671.tar.bz2
dabmod-9df483045b5622af8902c07b54c7f985e12b1671.zip
Add DPD page to web gui
Diffstat (limited to 'gui/templates')
-rw-r--r--gui/templates/body-nav.html1
-rw-r--r--gui/templates/predistortion.html44
2 files changed, 45 insertions, 0 deletions
diff --git a/gui/templates/body-nav.html b/gui/templates/body-nav.html
index 064bc5b..f403619 100644
--- a/gui/templates/body-nav.html
+++ b/gui/templates/body-nav.html
@@ -9,6 +9,7 @@
<li{% if tab == 'home' %} class="active"{% endif %}><a href="/">Home</a></li>
<li{% if tab == 'rcvalues' %} class="active"{% endif %}><a href="/rcvalues">RC values</a></li>
<li{% if tab == 'modulator' %} class="active"{% endif %}><a href="/modulator">Modulator</a></li>
+ <li{% if tab == 'predistortion' %} class="active"{% endif %}><a href="/predistortion">Predistortion</a></li>
<li class="dropdown{% if tab == 'help' or tab == 'about' %} active"{% endif %}">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Help
<span class="caret"></span></a>
diff --git a/gui/templates/predistortion.html b/gui/templates/predistortion.html
new file mode 100644
index 0000000..6828f14
--- /dev/null
+++ b/gui/templates/predistortion.html
@@ -0,0 +1,44 @@
+<!--
+ Copyright (C) 2018
+ Matthias P. Braendli, matthias.braendli@mpb.li
+
+This file is part of ODR-DabMod.
+
+ODR-DabMod is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+ODR-DabMod is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with ODR-DabMod. If not, see <http://www.gnu.org/licenses/>.
+-->
+
+<!DOCTYPE html>
+<html lang="en">
+
+{% include 'head.html' %}
+
+<body>
+ {% include 'body-nav.html' %}
+
+ <div class="container-fluid">
+ <div class="panel-group">
+ <div class="panel panel-default">
+ <div class="panel-body">
+ <h3>Capture</h3>
+ <div class="form-group">
+ <label for="capturestatus">Capture status:</label>
+ <input type="text" class="form-control" id="capturestatus">
+ <button type="button" class="btn btn-sm btn-info" id="capturebutton">Capture</button>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>