.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.navbar-right(ng-if="session.login.active") 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(ui-view="menu",ng-controller="MenuHostCtrl") ui.nav.navbar-nav .navbar-text Hosting li a(ui-sref="app.host.index",ui-sref-active="active") Home li(ng-if='!profil.ID') a(ui-sref="app.host.signup",ui-sref-active="active") Signup li(ng-if='profil.ID') a(ui-sref="app.host.domain",ui-sref-active="active") Domains li(ng-if='profil.ID') a(ui-sref="app.host.database",ui-sref-active="active") Databases ui.nav.navbar-nav.navbar-right li.dropdown(ng-if="session.login.superadmin") a.dropdown-toggle(data-toggle="dropdown",role="button",aria-haspopup="true",aria-expanded="false") span.glyphicon.glyphicon-console | Admin span.caret ul.dropdown-menu li a(ui-sref="app.host.A.profil") Profiles li a(ui-sref="app.host.A.domain") Domains li a(ui-sref="app.host.A.database") Databases div(style="margin-top:53px;") .container(ng-if="error.msg") .alert.alert-danger(style="margin-top:20px;") {{error.msg}} div(ui-view="")