63 lines
2.3 KiB
Plaintext
63 lines
2.3 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(ui-view="menu")
|
|
ui.nav.navbar-nav.navbar-right(ng-if="session.login.active")
|
|
li.dropdown(ng-if="modules.length>0")
|
|
a.dropdown-toggle(data-toggle="dropdown",role="button",aria-haspopup="true",aria-expanded="false")
|
|
span.glyphicon.glyphicon-th-large
|
|
| Apps
|
|
span.caret
|
|
ul.dropdown-menu
|
|
li(ng-if="modules.indexOf('web')>-1")
|
|
a(ui-sref="app.web.index") Websites
|
|
li(ng-if="modules.indexOf('host')>-1")
|
|
a(ui-sref="app.host.index") Hosting
|
|
li(ng-if="modules.indexOf('test')>-1")
|
|
a Testing
|
|
li.dropdown
|
|
a.dropdown-toggle(data-toggle="dropdown",role="button",aria-haspopup="true",aria-expanded="false")
|
|
span.glyphicon.glyphicon-user
|
|
| {{session.login.username}}
|
|
span.caret
|
|
ul.dropdown-menu
|
|
li
|
|
a(ui-sref="app.L.invite",ui-sref-active="active")
|
|
span.glyphicon.glyphicon-send
|
|
| Invites
|
|
li(ng-if="session.login.superadmin")
|
|
a(ui-sref="app.A.user",ui-sref-active="active")
|
|
span.glyphicon.glyphicon-tasks
|
|
| User Managment
|
|
li
|
|
a(ui-sref="app.L.setting",ui-sref-active="active")
|
|
span.glyphicon.glyphicon-cog
|
|
| Settings
|
|
li
|
|
a(href="",ng-click="logout()")
|
|
span.glyphicon.glyphicon-log-out
|
|
| Logout
|
|
form.navbar-form.navbar-right(ng-if="!session.login.active",ng-submit="login()")
|
|
.form-group(ng-class="{'has-error': (error.fields.indexOf('username') >= 0)}")
|
|
input.form-control(ng-model="obj.username",placeholder="Username",pattern=".{3,}")
|
|
.form-group(ng-class="{'has-error': (error.fields.indexOf('password') >= 0)}")
|
|
.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(style="margin-top:53px;")
|
|
.container(ng-if="error.msg")
|
|
.alert.alert-danger(style="margin-top:20px;")
|
|
{{error.msg}}
|
|
div(ui-view="")
|