30 lines
985 B
Plaintext
30 lines
985 B
Plaintext
html
|
|
head
|
|
title #{(title ? title+' | DevBug' : 'DevBug Dashboard')}
|
|
link(rel='stylesheet' href='/assets/dash_v1.css')
|
|
script(src='/assets/dash_v1.js')
|
|
block head
|
|
body
|
|
- var e_project = (user && project && devbug.permission.project.sync_edit(project, user))
|
|
.page-header
|
|
.devbug-header DevBug | v#{devbug.version} #{(user ? " | User: "+user.username : "")} #{(e_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
|
|
li.navli
|
|
a.nava(href='/dash/v1') Home
|
|
li.navli
|
|
a.nava(href='/dash/v1/using_devbug/main') Using DevBug
|
|
li.navli
|
|
a.nava(href='/auth/logout') Logout
|
|
if show_back
|
|
li.navli
|
|
a.nava(href='javascript:window.history.back()') Back
|
|
.spacer
|
|
.content
|
|
block content
|
|
block scripts
|
|
//- .spacer
|