aboutsummaryrefslogtreecommitdiffstats
path: root/gui/templates
diff options
context:
space:
mode:
Diffstat (limited to 'gui/templates')
-rw-r--r--gui/templates/about.html65
-rw-r--r--gui/templates/body-nav.html39
-rw-r--r--gui/templates/head.html25
-rw-r--r--gui/templates/home.html35
-rw-r--r--gui/templates/modulator.html73
-rw-r--r--gui/templates/predistortion.html88
-rw-r--r--gui/templates/rcvalues.html48
7 files changed, 0 insertions, 373 deletions
diff --git a/gui/templates/about.html b/gui/templates/about.html
deleted file mode 100644
index 3a05230..0000000
--- a/gui/templates/about.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<!--
- 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="jumbotron">
- <h2>About</h2>
- <p>ODR-DabMod by <a href="http://opendigitalradio.org">Opendigitalradio</a></p>
- <h2>Authors</h2>
- <ul>
- <li>Pascal Charest</li>
- <li>Matthias P. Braendli</li>
- <li>Jörgen Scott</li>
- <li>Sergiy</li>
- <li>Andreas Steger</li>
- </ul>
- <p>Web interface by Matthias P. Braendli and Yoann Queret.</p>
- <p>Please see TODOs in the README.md</p>
- </div>
- <div class="container">
- <h2>Contributions</h2>
- <p>Please get in touch with the developers of this web interface
- through the crc-mmbTools google group or through
- <a href="https://github.com/Opendigitalradio/ODR-DabMod">the GitHub repository</a>.
- </p>
- <hr />
- <h2>Licence</h2>
- <p>
- 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.<br />
- <br />
- 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.<br />
- <br />
- You should have received a copy of the GNU General Public License along with ODR-DabMod. If not, see http://www.gnu.org/licenses/<br />
- </p>
- </div>
- </div>
-</body>
-
-</html>
-
diff --git a/gui/templates/body-nav.html b/gui/templates/body-nav.html
deleted file mode 100644
index f403619..0000000
--- a/gui/templates/body-nav.html
+++ /dev/null
@@ -1,39 +0,0 @@
- <div class="container-fluid">
- <nav class="navbar navbar-inverse">
- <div class="container-fluid">
- <div class="navbar-header">
- <a class="navbar-brand" href="/">ODR-DabMod UI</a>
- </div>
- <div>
- <ul class="nav navbar-nav">
- <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>
- <ul class="dropdown-menu">
- <li class="dropdown-header">Open Digital Radio</li>
- <li><a href="http://www.opendigitalradio.org/">Website</a></li>
- <li><a href="http://wiki.opendigitalradio.org/">Documentation</a></li>
- <li><a href="https://github.com/Opendigitalradio/">GitHub</a></li>
- <li class="divider"></li>
- <li class="dropdown-header">ODR-DabMod</li>
- <li><a href="/about">About</a></li>
- </ul>
- </li>
- </ul>
- <ul class="nav navbar-nav navbar-right">
- <!--
- {% if is_login is sameas true %}
- <li><a href="/auth/logout"><span class="glyphicon glyphicon-log-in"></span> Logout</a></li>
- {% else %}
- <li><a href="/auth/login"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
- {% endif %}
- -->
- </ul>
- </div>
- </div>
- </nav>
- </div>
diff --git a/gui/templates/head.html b/gui/templates/head.html
deleted file mode 100644
index cdf1654..0000000
--- a/gui/templates/head.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>ODR-DabMod</title>
-
- <!-- jquery -->
- <script type="text/javascript" src="/js/jquery.js"></script>
-
- <!-- Bootstrap -->
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <script type="text/javascript" src="/js/bootstrap.min.js"></script>
-
- <!-- ODR -->
- {% for jsurl in js %}
- <script type="text/javascript" src="{{ jsurl }}"></script>
- {% endfor %}
- {% for cssurl in css %}
- <link href="{{ cssurl }}" rel="stylesheet">
- {% endfor %}
-
- <!-- gritter -->
- <link rel="stylesheet" type="text/css" href="/css/jquery.gritter.css" />
- <script type="text/javascript" src="/js/jquery.gritter.js"></script>
-</head>
diff --git a/gui/templates/home.html b/gui/templates/home.html
deleted file mode 100644
index 5cb29f8..0000000
--- a/gui/templates/home.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!--
- 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="jumbotron">
- <h1>Opendigitalradio</h1><h2>ODR-DabMod Interface</h2>
- </div>
- </div>
-</body>
-</html>
diff --git a/gui/templates/modulator.html b/gui/templates/modulator.html
deleted file mode 100644
index 6deffb1..0000000
--- a/gui/templates/modulator.html
+++ /dev/null
@@ -1,73 +0,0 @@
-<!--
- 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>Gain</h3>
- <div class="form-group">
- <label for="digitalgain">Digital Gain:</label>
- <input type="text" class="form-control" id="digitalgain">
- <button type="button" class="btn btn-sm btn-info" id="setdigitalgain">Set</button>
- </div>
- </div>
- <div class="panel-body">
- <h3>OFDM Windowing</h3>
- <div class="form-group">
- <label for="windowlength">Window length:</label>
- <input type="text" class="form-control" id="windowlength">
- <button type="button" class="btn btn-sm btn-info" id="setwindowlength">Set</button>
- </div>
- </div>
- <div class="panel-body">
- <h3>CFR</h3>
- <div class="form-group">
- <div class="checkbox">
- <label><input type="checkbox" value="1" id="cfrenable">Enable</label>
- </div>
-
- <label for="cfrclip">clip:</label>
- <input type="text" class="form-control" id="cfrclip">
-
- <label for="errorclip">error clip:</label>
- <input type="text" class="form-control" id="cfrerrorclip">
- <input type="text" readonly class="form-control" id="cfrstats">
- <input type="text" readonly class="form-control" id="paprstats">
- <button type="button" class="btn btn-sm btn-info" id="setclip">
- Set
- </button>
- </div>
- </div>
- </div>
-
- </div>
- <button type="button" class="btn btn-sm btn-info" id="refresh">Refresh</button>
- </div>
-</body>
-</html>
diff --git a/gui/templates/predistortion.html b/gui/templates/predistortion.html
deleted file mode 100644
index 2ebf7ea..0000000
--- a/gui/templates/predistortion.html
+++ /dev/null
@@ -1,88 +0,0 @@
-<!--
- 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-heading">Calibration</div>
- <div class="panel-body">
- <div>Calibration needs to be done once before the PA model
- can be trained. Every time calibration is changed, the predistortion
- parameters are invalidated!</div>
- <button type="button" class="btn btn-sm btn-info" id="calibratebtn">
- Calibrate</button>
- <button type="button" class="btn btn-sm btn-info" id="calibraterefreshbtn">
- Refresh results</button>
- <div>Calibration results:<span id="calibrationresults">N/A<span></div>
- </div>
- </div>
- <div class="panel panel-default">
- <div class="panel-heading">Capture TX and RX frames</div>
- <div class="panel-body">
- <div>
- <img id="txframeimg" src="dpd/txframe.png" width="320" height="240" />
- <img id="rxframeimg" src="dpd/rxframe.png" width="320" height="240" />
- </div>
- <div>
- <button type="button" class="btn btn-sm btn-info" id="refreshframesbtn">
- Refresh</button>
- </div>
- </div>
- </div>
-
- <!--
- <div class="panel panel-default">
- <div class="panel-heading">Capture</div>
- <div class="panel-body">
- <div>On pressing this button,
- the DPDCE will trigger a capture and a quick data
- analysis, without updating any DPD models.</div>
- <button type="button" class="btn btn-sm btn-info" id="capturebutton">
- Capture</button>
- </div>
- </div>
- <div class="panel panel-default">
- <div class="panel-heading">Status</div>
- <div class="panel-body">
- <button type="button" class="btn btn-sm btn-info" id="dpdstatusbutton">
- Update</button>
- <div>Histogram: <span id="histogram">N/A</span></div>
- <div>Capture status
- <span id="capturestatus">N/A</span></div>
- <div>Number of samples captured:
- <span id="capturelength">None</span></div>
- <div>TX median: <span id="tx_median">N/A</span></div>
- <div>RX median: <span id="rx_median">N/A</span></div>
- <div>Point cloud: <img id="dpd_pointcloud" /></div>
- </div>
- </div>
- -->
- </div>
- </div>
-</body>
-</html>
diff --git a/gui/templates/rcvalues.html b/gui/templates/rcvalues.html
deleted file mode 100644
index c1786bc..0000000
--- a/gui/templates/rcvalues.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!--
- 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="container">
- <h1>RC Values</h1>
- <table id="rctable" class="table">
- <thead>
- <tr>
- <th scope="col">RC entry</th>
- <th scope="col">Value</th>
- <th scope="col">Help</th>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- </div>
-
- <button type="button" class="btn btn-sm btn-info" id="refresh">Refresh</button>
- </div>
-</body>
-</html>