2019-06-22 17:51:29 +00:00
|
|
|
html
|
|
|
|
head
|
|
|
|
title #{(title ? title+' | DevBug' : 'DevBug Dashboard')}
|
|
|
|
link(rel='stylesheet' href='/assets/dash_v1.css')
|
2019-06-23 17:17:35 +00:00
|
|
|
script(src='/assets/dash_v1.js')
|
2019-06-22 17:51:29 +00:00
|
|
|
body
|
2019-06-23 17:17:35 +00:00
|
|
|
.page-header
|
|
|
|
.devbug-header DevBug | v#{devbug.version} #{(user ? " | User: "+user.username : "")} #{(project ? " | Project: "+project.name+" | API: "+project.uuid : "")} #{((_flitter.config('server.environment') === 'development') ? " | Development" : "" )}
|
|
|
|
if title_small
|
|
|
|
h3 #{(title ? title : 'Dashboard')}
|
|
|
|
else
|
|
|
|
h1 #{(title ? title : 'Dashboard')}
|
|
|
|
ul.navul
|
2019-06-22 17:51:29 +00:00
|
|
|
li.navli
|
2019-06-23 17:17:35 +00:00
|
|
|
a.nava(href='/dash/v1') Home
|
|
|
|
li.navli
|
2019-06-24 14:35:49 +00:00
|
|
|
a.nava(href='/dash/v1/code') Using DevBug
|
2019-06-23 17:17:35 +00:00
|
|
|
li.navli
|
|
|
|
a.nava(href='/auth/logout') Logout
|
|
|
|
if show_back
|
|
|
|
li.navli
|
|
|
|
a.nava(href='javascript:window.history.back()') Back
|
|
|
|
.spacer
|
|
|
|
block content
|