mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-11 18:32:50 +00:00
Added all files
This commit is contained in:
6
views/error.jade
Normal file
6
views/error.jade
Normal file
@@ -0,0 +1,6 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
h1= message
|
||||
h2= error.status
|
||||
pre #{error.stack}
|
||||
29
views/index.jade
Normal file
29
views/index.jade
Normal file
@@ -0,0 +1,29 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
div.header
|
||||
div.centerDiv
|
||||
h1.headerText.textCenter mitchellG.me
|
||||
|
||||
div.container
|
||||
div.row
|
||||
div.col-lg-4
|
||||
h1 Submit Form
|
||||
form(action="/", method="post")
|
||||
div.form-group
|
||||
Span Phone Number:
|
||||
br
|
||||
input.form-control(type="text", name="number", placeholder="555-555-5555")
|
||||
br
|
||||
Span Date:
|
||||
br
|
||||
input.form-control(type="text", name="date", placeholder="mm/dd/yy")
|
||||
br
|
||||
Span Time:
|
||||
br
|
||||
input.form-control(type="text", name="time", placeholder="12:00 am")
|
||||
br
|
||||
Span Message:
|
||||
input.form-control(type="textarea", name="message")
|
||||
br
|
||||
input(type="submit", value="submit").btn
|
||||
10
views/layout.jade
Normal file
10
views/layout.jade
Normal file
@@ -0,0 +1,10 @@
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
title= "Mithell's Node.js Project"
|
||||
link(rel='stylesheet', href='bootstrap/css/bootstrap.css')
|
||||
link(rel='stylesheet', href='/stylesheets/style.css')
|
||||
body
|
||||
block content
|
||||
script(src="http://code.jquery.com/jquery-latest.min.js")
|
||||
script(src="bootstrap/js/bootstrap.js")
|
||||
Reference in New Issue
Block a user