diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-12-04 10:18:33 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-12-04 10:18:33 +0100 |
commit | d5cbe10c0e2298b0e40161607a3da158249bdb82 (patch) | |
tree | 5f6a0ff40ce5b3dd39d0df1c348557b183b48a7e /python/gui/templates/body-nav.html | |
parent | 594cb2691debaa7562fd7d76d3b224701ec087ea (diff) | |
download | dabmod-d5cbe10c0e2298b0e40161607a3da158249bdb82.tar.gz dabmod-d5cbe10c0e2298b0e40161607a3da158249bdb82.tar.bz2 dabmod-d5cbe10c0e2298b0e40161607a3da158249bdb82.zip |
Move python stuff to folder
Diffstat (limited to 'python/gui/templates/body-nav.html')
-rw-r--r-- | python/gui/templates/body-nav.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/python/gui/templates/body-nav.html b/python/gui/templates/body-nav.html new file mode 100644 index 0000000..f403619 --- /dev/null +++ b/python/gui/templates/body-nav.html @@ -0,0 +1,39 @@ + <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> |