Files
minibin/templates/home.html
T

23 lines
703 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{.Title}}</title>
</head>
<body>
<h1>{{.Title}}</h1>
<p>{{.Description}}</p>
<form action="/upload?redirect=true" method="post">
<label for="content">paste content</label>
<textarea id="content" name="content" rows="10" required></textarea>
<button type="submit">upload paste</button>
</form>
<form action="/upload?redirect=true" method="post" enctype="multipart/form-data">
<input type="file" required name="file"/>
<button type="submit">upload File</button>
</form>
</body>
</html>