diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-06-05 11:51:56 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-06-05 11:52:39 +0200 |
commit | 2bd1bf389d9ffc1e79722c70023b4b3e067e1523 (patch) | |
tree | ccd7d34448674c5544c6411f2bd6d25c2ff1f9d2 /gui/templates/body-nav.html | |
parent | 91d3ea135ec27934a9b7f1c47b4ff3431a400ea3 (diff) | |
download | dabmod-2bd1bf389d9ffc1e79722c70023b4b3e067e1523.tar.gz dabmod-2bd1bf389d9ffc1e79722c70023b4b3e067e1523.tar.bz2 dabmod-2bd1bf389d9ffc1e79722c70023b4b3e067e1523.zip |
Add web UI
Diffstat (limited to 'gui/templates/body-nav.html')
-rw-r--r-- | gui/templates/body-nav.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gui/templates/body-nav.html b/gui/templates/body-nav.html new file mode 100644 index 0000000..064bc5b --- /dev/null +++ b/gui/templates/body-nav.html @@ -0,0 +1,38 @@ + <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 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> |