editor theme!
This commit is contained in:
28
app/views/dash_v1/editor_template.pug
Normal file
28
app/views/dash_v1/editor_template.pug
Normal file
@@ -0,0 +1,28 @@
|
||||
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'}
|
||||
.idiv
|
||||
block content
|
||||
.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
|
||||
li
|
||||
a#navbar-back(href='javascript:window.history.back()') Back
|
||||
block scripts
|
||||
@@ -1,7 +1,6 @@
|
||||
extends ./template
|
||||
extends ./editor_template
|
||||
block content
|
||||
pre#editor(style="height: 75%;") #{prettyd}
|
||||
script(src='/assets/dash_v1.js')
|
||||
pre#editor #{prettyd}
|
||||
|
||||
block scripts
|
||||
script(src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.5/ace.js")
|
||||
|
||||
Reference in New Issue
Block a user