pogo/assets/admin.html
gmemstr 973ad0e72e Custom CSS support
Admins can now set custom CSS in the admin interface - next up is to add classes to all elements for easier theming.
2017-09-03 09:53:17 -07:00

37 lines
1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>WR Publish</title>
<link rel="stylesheet" href="/assets/styles.css">
</head>
<body>
<div class="admin">
<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>
<form action="/admin/css" method="post" enctype="multipart/form-data">
<label for="css">Custom CSS</label>
<textarea name="css" id="css" cols="30" rows="10"></textarea>
<input type="submit">
</form>
<footer>
<p>White Rabbit licensed under the GPLv3</p>
</footer>
</div>
</body>
</html>