42 lines
1.7 KiB
Plaintext
42 lines
1.7 KiB
Plaintext
|
.navbar.navbar-default.navbar-fixed-top
|
||
|
.container-fluid
|
||
|
.navbar-header
|
||
|
a.navbar-brand(ui-sref="app.index")
|
||
|
img(src="/favicon.ico")
|
||
|
| Warehost
|
||
|
button.navbar-toggle.collapsed(ng-click="toggleOpen()")
|
||
|
span.sr-only Toggle navigation
|
||
|
span.icon-bar
|
||
|
span.icon-bar
|
||
|
span.icon-bar
|
||
|
.navbar-collapse.collapse(uib-collapse="!isOpen")
|
||
|
ui.nav.navbar-nav
|
||
|
li(ng-if="session.profil.shift",ui-sref="app.shift.index",ng-class="{ active: $state.includes('app.shift') }")
|
||
|
a(nav navbar-nav) Shift
|
||
|
li(ng-if="session.profil.host",ui-sref="app.host.index",ng-class="{ active: $state.includes('app.host') }")
|
||
|
a(nav navbar-nav) Hosting
|
||
|
ui.nav.navbar-nav.navbar-right(ng-if="session.login.active")
|
||
|
li
|
||
|
a(ui-sref="app.L.invites",ui-sref-active="active")
|
||
|
span.glyphicon.glyphicon-send
|
||
|
| Invites
|
||
|
li(ng-if="session.login.superadmin")
|
||
|
a(ui-sref="app.A.admin",ui-sref-active="active")
|
||
|
span.glyphicon.glyphicon-cog
|
||
|
| Admin
|
||
|
.navbar-text(ng-class="{ 'active': $state.includes('app.L.settings') }")
|
||
|
| Welcome
|
||
|
a(ui-sref="app.L.settings",ui-sref-active="active") {{session.login.username}}
|
||
|
|
|
||
|
span.glyphicon.glyphicon-user
|
||
|
.navbar-text
|
||
|
span.glyphicon.glyphicon-log-out(ng-click="logout()")
|
||
|
form.navbar-form.navbar-right(ng-if="!session.login.active",ng-class="{'has-warning':globals.currentUser.authdata}",ng-submit="login()")
|
||
|
input.form-control(ng-model="obj.username",placeholder="Username")
|
||
|
.input-group
|
||
|
input.form-control(type="password",ng-model="obj.password",placeholder="Password")
|
||
|
.input-group-btn
|
||
|
button.btn.btn-default(type="submit")
|
||
|
span.glyphicon.glyphicon-log-in
|
||
|
div(ui-view="",style="margin-top:53px;")
|