37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
html
|
|
head
|
|
title #{(title ? title+' | DevBug' : 'DevBug Dashboard')}
|
|
link(rel='stylesheet' href='/assets/dash_v1.css')
|
|
block head
|
|
body
|
|
.editor-content
|
|
.isection
|
|
.iheader
|
|
#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" : "" )} | <i>Editor Mode</i>
|
|
#title-header
|
|
#title-header-content-sm #{title ? title : 'DevBug Dashboard'}
|
|
.iheader
|
|
block header
|
|
.idiv
|
|
block content
|
|
.ifooter
|
|
block footer
|
|
.ifooter
|
|
ul#navbar
|
|
li
|
|
a#navbar-home(href='/dash/v1') Home
|
|
li
|
|
a#navbar-usage(href='/dash/v1/using_devbug/main') Using DevBug
|
|
li.navbar-right
|
|
a#navbar-logout(href='/auth/logout') Logout
|
|
if show_back && (!project || window_back)
|
|
li.navbar-right
|
|
a#navbar-back(href='javascript:window.history.back()') Back
|
|
else if show_back && project
|
|
li.navbar-right
|
|
a#navbar-back(href='/dash/v1/project/view/'+project.id) Back to Project
|
|
script(src="/assets/dash_v1.js")
|
|
block scripts
|