Make the index page a bit prettier

master
Nick Krichevsky 2019-03-16 16:45:14 -04:00
parent dcf4846111
commit 3a666483e2
1 changed files with 21 additions and 7 deletions

View File

@ -1,11 +1,25 @@
<html>
<head>
<link href="/static/css/dist/bootstrap/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<!--TODO: Implement CSRF protection-->
<form action="/paste" method="POST">
<label for="title">Title</label>
<input name="title" type="text" placeholder="My Amazing Thing">
<textarea name="body"></textarea>
<input type="submit" value="Send it up!">
</form>
<div class="container">
<!--TODO: Implement CSRF protection-->
<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>
<input class="form-control" name="title" type="text" placeholder="My Amazing Thing">
</div>
<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>
<div class="col-2"></div>
</div>
</div>
</body>
</html>