32 lines
1.5 KiB
HTML
32 lines
1.5 KiB
HTML
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>gobin</title>
|
||
|
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="container mt-5">
|
||
|
<h1 class="text-center">gobin</h1>
|
||
|
<p class="text-center">A minimal and speedy markdown pastebin software, written in Go.</p>
|
||
|
<p class="text-center glowy"><a href="about.html">about</a></p>
|
||
|
|
||
|
<div id="posts" class="my-5"></div>
|
||
|
|
||
|
<h2>add a new post</h2>
|
||
|
<form id="postform">
|
||
|
<div class="mb-3">
|
||
|
<label for="title" class="form-label">post title</label>
|
||
|
<input type="text" class="form-control" id="title" placeholder="sunshine, lollypops, and rainbows everything" required>
|
||
|
</div>
|
||
|
<div class="mb-3">
|
||
|
<label for="content" class="form-label">post content</label>
|
||
|
<textarea class="form-control" id="content" rows="5" placeholder="my cat fluffy just had his best day ever. we took him to get a pup cup.." required></textarea>
|
||
|
</div>
|
||
|
<button type="submit" class="btn btn-primary">submit post</button>
|
||
|
</form>
|
||
|
</div>
|
||
|
<script src="node_modules/bootstrap/dist/js/bootstrap.bundle.js"></script>
|
||
|
<script src="js/main.js"></script>
|
||
|
</body>
|
||
|
</html>
|