mirror of
https://github.com/gmemstr/pogo.git
synced 2024-09-20 01:31:09 +01:00
565f0c3948
File uploads working via /admin route, currently working on fixing generate_rss.go function as only one episode is actually added (contents of feed.Items is replaced instead of added to ):).
29 lines
828 B
HTML
29 lines
828 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>WR Publish</title>
|
|
<link rel="stylesheet" href="/assets/styles.css">
|
|
|
|
</head>
|
|
<body>
|
|
<h1>White Rabbit Publish</h1>
|
|
|
|
<form enctype="multipart/form-data" action="/admin/publish" method="post">
|
|
<label for="title">Episode Title</label>
|
|
<input type="text" id="title" name="title">
|
|
<label for="description">Episode Description</label>
|
|
<textarea name="description" id="description" cols="50" rows="10" style="resize: none;"></textarea>
|
|
<label for="file">Media File</label>
|
|
<input type="file" id="file" name="file">
|
|
<label for="date">Publish Date</label>
|
|
<input type="date" id="date" name="date">
|
|
<input type="submit" value="Publish">
|
|
</form>
|
|
|
|
|
|
<footer>
|
|
<p>White Rabbit licensed under the GPLv3</p>
|
|
</footer>
|
|
</body>
|
|
</html> |