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
|
extends ./template
|
||||||
head
|
block content
|
||||||
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
|
|
||||||
pre
|
pre
|
||||||
code
|
code
|
||||||
div #{prettyd}
|
div #{prettyd}
|
@ -1,15 +1,11 @@
|
|||||||
html
|
extends ./template
|
||||||
head
|
block content
|
||||||
title #{(update ? 'Update Project' : 'Create New Project')} | DevBug
|
|
||||||
link(rel='stylesheet' href='/assets/dash_v1.css')
|
|
||||||
body
|
|
||||||
h2 #{(update ? 'Update Project' : 'Create New Project')}
|
|
||||||
if errors
|
if errors
|
||||||
each error in errors
|
each error in errors
|
||||||
p(style='color: red; font-weight: bold;') #{error}
|
p(style='color: red; font-weight: bold;') #{error}
|
||||||
form(method='post', enctype='multipart/form-data')
|
form(method='post', enctype='multipart/form-data')
|
||||||
label(for='project_name') Project Name:
|
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
|
||||||
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