freifunkmanager/public/app/main.jade

30 lines
1.2 KiB
Plaintext
Raw Normal View History

2016-07-06 22:52:31 +02:00
.navbar.navbar-default.navbar-fixed-top
.container-fluid
.navbar-header
2016-07-09 10:15:03 +02:00
button.navbar-toggle.collapsed(ng-click="toggleOpen()")
span.sr-only Toggle navigation
span.icon-bar
span.icon-bar
span.icon-bar
2016-07-06 22:52:31 +02:00
a.navbar-brand(ui-sref="app")
img(src="/favicon.ico")
2016-07-09 10:15:03 +02:00
.navbar-collapse.collapse(uib-collapse="!isOpen")
2016-07-06 22:52:31 +02:00
ui.nav.navbar-nav
li(ui-sref="app.nodes.sort",ng-class="{ active: $state.includes('app.nodes') }")
a(nav navbar-nav) Nodes
li(ui-sref="app.changes",ui-sref-active="active")
a(nav navbar-nav) Changes
2016-07-09 10:15:03 +02:00
li(ui-sref="app.map",ui-sref-active="active")
2016-07-06 22:52:31 +02:00
a(nav navbar-nav) Map
ui.nav.navbar-nav.navbar-right
li
a.bt.btn-link(ng-click="autorefreshUpdate()")
span.glyphicon(ng-class="{'glyphicon-ok':autorefresh,'glyphicon-remove':!autorefresh}")
2016-07-06 22:52:31 +02:00
li
a.btn.btn-link(ng-click="refresh()")
span.glyphicon.glyphicon-refresh(aria-hidden="true")
| {{timeRefresh}} Sec
2016-07-11 16:24:51 +02:00
form.navbar-form.navbar-right(ng-class="{'has-warning':globals.currentUser.authdata}")
2016-07-06 22:52:31 +02:00
input.form-control(type="password",ng-change="passphraseUpdate()",ng-model="passphrase",placeholder="Passphrase")
div(ui-view="",style="margin-top:53px;")