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-07-23 21:44:40 +00:00
|
|
|
block head
|
2019-06-22 17:51:29 +00:00
|
|
|
body
|
2019-07-24 20:59:15 +00:00
|
|
|
#pre-header
|
|
|
|
- var e_project = (user && project && devbug.permission.project.sync_edit(project, user))
|
|
|
|
#pre-header-content DevBug | v#{devbug.version} #{(user ? " | User: "+user.username : "")} #{(e_project ? " | Project: "+project.name+" | API: "+project.uuid : "")} #{((_flitter.config('server.environment') === 'development') ? " | Development" : "" )}
|
|
|
|
#title-header
|
|
|
|
#title-header-content #{title ? title : 'DevBug Dashboard'}
|
|
|
|
ul#navbar
|
|
|
|
li
|
|
|
|
a#navbar-home(href='/dash/v1') Home
|
|
|
|
li
|
|
|
|
a#navbar-usage(href='/dash/v1/using_devbug/main') Using DevBug
|
2019-07-29 19:11:37 +00:00
|
|
|
block navbar-left
|
2019-07-24 20:59:15 +00:00
|
|
|
li.navbar-right
|
|
|
|
a#navbar-logout(href='/auth/logout') Logout
|
2019-08-07 18:01:05 +00:00
|
|
|
if show_back && (!project || window_back)
|
2019-07-24 21:46:17 +00:00
|
|
|
li.navbar-right
|
2019-07-24 20:59:15 +00:00
|
|
|
a#navbar-back(href='javascript:window.history.back()') Back
|
2019-08-07 18:01:05 +00:00
|
|
|
else if show_back && project
|
|
|
|
li.navbar-right
|
|
|
|
a#navbar-back(href='/dash/v1/project/view/'+project.id) Back to Project
|
2019-07-29 19:11:37 +00:00
|
|
|
block navbar-right
|
2019-07-23 21:44:40 +00:00
|
|
|
.content
|
|
|
|
block content
|
|
|
|
block scripts
|
2019-07-24 20:59:15 +00:00
|
|
|
script(src='/assets/dash_v1.js')
|
2019-07-23 21:44:40 +00:00
|
|
|
//- .spacer
|