parent
15087ca30f
commit
1bd6ad1830
@ -0,0 +1,5 @@
|
||||
extends ./template
|
||||
block content
|
||||
p #{text}
|
||||
form(method='post' action=destination)
|
||||
button(type='submit') Yes, I'm sure.
|
@ -1,16 +1,5 @@
|
||||
html
|
||||
head
|
||||
title #{out.brief}
|
||||
link(rel='stylesheet' href='/assets/dash_v1.css')
|
||||
body
|
||||
h2 #{out.brief}
|
||||
ul.navul
|
||||
li.navli
|
||||
a.nava(href='/dash/v1') Dashboard
|
||||
li.navli
|
||||
a.nava(href='javascript:window.history.back()') Back
|
||||
li.navli
|
||||
a.nava(href='/auth/logout') Logout
|
||||
extends ./template
|
||||
block content
|
||||
pre
|
||||
code
|
||||
div #{prettyd}
|
@ -1,15 +1,11 @@
|
||||
html
|
||||
head
|
||||
title #{(update ? 'Update Project' : 'Create New Project')} | DevBug
|
||||
link(rel='stylesheet' href='/assets/dash_v1.css')
|
||||
body
|
||||
h2 #{(update ? 'Update Project' : 'Create New Project')}
|
||||
extends ./template
|
||||
block content
|
||||
if errors
|
||||
each error in errors
|
||||
p(style='color: red; font-weight: bold;') #{error}
|
||||
form(method='post', enctype='multipart/form-data')
|
||||
label(for='project_name') Project Name:
|
||||
input#project_name(type='text', name='name' required autofocus)
|
||||
input#project_name(type='text', name='name' value=(project_name ? project_name : '') required autofocus)
|
||||
br
|
||||
br
|
||||
button(type='submit') Create Project
|
||||
button(type='submit') #{project_name ? 'Update Project' : 'Create Project'}
|
@ -0,0 +1,18 @@
|
||||
html
|
||||
head
|
||||
title #{(title ? title+' | DevBug' : 'DevBug Dashboard')}
|
||||
link(rel='stylesheet' href='/assets/dash_v1.css')
|
||||
body
|
||||
if title_small
|
||||
h3 #{(title ? title+' | DevBug' : 'DevBug Dashboard')}
|
||||
else
|
||||
h1 #{(title ? title+' | DevBug' : 'DevBug Dashboard')}
|
||||
ul.navul
|
||||
li.navli
|
||||
a.nava(href='/dash/v1') Home
|
||||
li.navli
|
||||
a.nava(href='/auth/logout') Logout
|
||||
if show_back
|
||||
li.navli
|
||||
a.nava(href='javascript:window.history.back()') Back
|
||||
block content
|
Loading…
Reference in new issue