aboutsummaryrefslogtreecommitdiff
path: root/index.tpl
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2021-07-27 00:16:31 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2021-07-27 00:16:31 -0400
commit830f43f467ad4f9dc0aef9335bb2756e57dfed4c (patch)
tree67bcb19b398eb94df467fb125c20dca368f4a043 /index.tpl
downloadpaste-830f43f467ad4f9dc0aef9335bb2756e57dfed4c.tar.gz
paste-830f43f467ad4f9dc0aef9335bb2756e57dfed4c.tar.xz
Initial
Diffstat (limited to 'index.tpl')
-rw-r--r--index.tpl32
1 files changed, 32 insertions, 0 deletions
diff --git a/index.tpl b/index.tpl
new file mode 100644
index 0000000..a117af9
--- /dev/null
+++ b/index.tpl
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <link rel="stylesheet" href="/style.css" defer>
+ <title>Brutally Simple Pastebin</title>
+</head>
+<body>
+<nav>
+ <a href="/">Home</a>
+ <div style="display: block; float: right;">
+ </div>
+</nav>
+
+<container>
+ <h1>Brutally simple pastebin</h1>
+
+ <form action="/new" method="POST" id="postform">
+ <label for="title">Title:</label>
+ <input id="title" name="title" type="text" />
+
+ <label for="content">Paste Content:</label>
+
+ <input type="submit" value="Post">
+ </form>
+
+ <textarea id="content" name="content" cols="80" rows="24" form="postform"></textarea>
+</container>
+
+
+</body>
+</html>