forgot files

This commit is contained in:
2020-10-04 08:06:00 -05:00
commit 1b90e0d0ee
12 changed files with 2423 additions and 0 deletions

6
views/error.pug Normal file
View File

@@ -0,0 +1,6 @@
extends layout
block content
h1= message
h2= error.status
pre #{error.stack}

8
views/index.pug Normal file
View File

@@ -0,0 +1,8 @@
extends layout
block content
h1= title
p Welcome to #{title}
form(action='/upload' enctype='multipart/form-data' method='POST')
input(type='file' name='photo')
input(type='submit' value='Upload a file')

7
views/layout.pug Normal file
View File

@@ -0,0 +1,7 @@
doctype html
html
head
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
body
block content