ztncui/views/controller_layout.pug
2017-12-13 22:05:07 +08:00

37 lines
1.2 KiB
Plaintext

//-
ztncui - ZeroTier network controller UI
Copyright (C) 2017 Key Networks (https://key-networks.com)
Licensed under GPLv3 - see LICENSE for details.
extends head_layout
block body_content
nav.navbar.navbar-inverse.navbar-fixed-top
.container-fluid
.navbar-header
button.navbar-toggle(type='button' data-toggle='collapse' data-target='#BarNav')
span.icon-bar
span.icon-bar
span.icon-bar
a.navbar-brand(href='https://key-networks.com' target='_blank') Key Networks
.collapse.navbar-collapse(id='BarNav')
ul.nav.navbar-nav
li(class=(page === 'controller_home'? 'active' : ''))
a(href='/controller') Home
li(class=(page === 'users'? 'active' : ''))
a(href='/users') Users
li(class=(page === 'networks'? 'active' : ''))
a(href='/controller/networks') Networks
li(class=(page === 'add_network'? 'active' : ''))
a(href='/controller/network/create') Add network
ul.nav.navbar-nav.navbar-right
li
a(href='/logout')
span.glyphicon.glyphicon-log-out
| Logout
.container(style='margin-top:50px')
.row
.col-sm-12
block content