emojiquest/templates/index.html
2023-12-18 16:04:25 +01:00

44 lines
1 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Submit - Emoji Request</title>
<style>
main {
max-width: 70ch;
padding: 2rem;
margin: auto;
}
nav>a {
margin: 1ch;
}
</style>
</head>
<body>
<nav>
<a href="/">submit</a>
<a href="/requested">requested</a>
</nav>
<main>
{{- if .Success }}
<h1>emoji requested successfully</h1>
{{- end }}
<h1>Submit An Emoji Request</h1>
<form method="POST">
<div>
<label for="shortcode">Emoji shortcode</label>
<input type="text" id="shortcode" name="shortcode" placeholder="blobcatNotLikeThis">
</div>
<div>
<label for="url">Emoji URL</label>
<input type="text" id="url" name="url" placeholder="https://...">
</div>
<input type="submit">
</form>
</main>
</body>
</html>