Make the index page a bit prettier

This commit is contained in:
Nick Krichevsky 2019-03-16 16:45:14 -04:00
parent dcf4846111
commit 3a666483e2

View file

@ -1,11 +1,25 @@
<html> <html>
<head>
<link href="/static/css/dist/bootstrap/bootstrap.min.css" rel="stylesheet">
</head>
<body> <body>
<div class="container">
<!--TODO: Implement CSRF protection--> <!--TODO: Implement CSRF protection-->
<form action="/paste" method="POST"> <div class="row">
<div class="col-2"></div>
<form class="col-8" action="/paste" method="POST">
<div class="form-group">
<label for="title">Title</label> <label for="title">Title</label>
<input name="title" type="text" placeholder="My Amazing Thing"> <input class="form-control" name="title" type="text" placeholder="My Amazing Thing">
<textarea name="body"></textarea> </div>
<input type="submit" value="Send it up!"> <div class="form-group">
<label for="body">Body</label>
<textarea class="form-control" name="body" placeholder=":(){ :|: & };:"></textarea>
</div>
<input class="btn btn-outline-primary" type="submit" value="Send it up!">
</form> </form>
<div class="col-2"></div>
</div>
</div>
</body> </body>
</html> </html>