Initial Commit
This commit is contained in:
14
templates/index.html
Normal file
14
templates/index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>pastebin</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>Enter your text here:</p>
|
||||
<form method="POST" action="">
|
||||
<textarea name="blob" cols=80 rows=24></textarea>
|
||||
<input type="submit">
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
10
templates/view.html
Normal file
10
templates/view.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>pastebin</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<pre>{{.Blob}}</pre>
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user