2024-01-19 02:44:55 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>MaoTube</title>
|
|
|
|
<link rel="stylesheet" href="/style.css">
|
2024-02-12 23:07:28 +00:00
|
|
|
<script defer src="/header.js"></script>
|
2024-02-12 23:05:22 +00:00
|
|
|
<script defer src="/helpers.js"></script>
|
2024-02-12 23:07:28 +00:00
|
|
|
<script defer src="script.js"></script>
|
2024-01-19 02:44:55 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-01-19 02:59:53 +00:00
|
|
|
<h1>MaoTube</h1>
|
2024-02-12 23:07:28 +00:00
|
|
|
<form id="upload-form" method="POST" action="/api/upload-video" enctype="multipart/form-data">
|
|
|
|
<label for="title"><p>Title</p></label>
|
|
|
|
<input type="text" name="title" id="title" required autofocus>
|
2024-02-12 23:05:22 +00:00
|
|
|
<label for="description"><p>Description</p></label>
|
|
|
|
<textarea name="description" id="description"></textarea>
|
2024-02-12 23:07:28 +00:00
|
|
|
<label for="video"><p>Video</p></label>
|
|
|
|
<input type="file" name="video" id="video" required>
|
|
|
|
<br><br>
|
2024-01-19 02:44:55 +00:00
|
|
|
<input type="submit" id="submit" value="Upload">
|
2024-02-12 23:07:28 +00:00
|
|
|
<br><br>
|
|
|
|
<a href="/queue">View upload queue</a>
|
2024-01-19 02:44:55 +00:00
|
|
|
</form>
|
2024-02-12 23:05:22 +00:00
|
|
|
|
|
|
|
<noscript>
|
|
|
|
<div class="mao-error">
|
|
|
|
<p>javascript not enabled</p>
|
|
|
|
<p>bottom text</p>
|
|
|
|
</div>
|
|
|
|
</noscript>
|
|
|
|
|
|
|
|
<div id="mao-error" class="mao-error hidden">
|
|
|
|
<p id="mao-error-message"></p>
|
|
|
|
<p>bottom text</p>
|
|
|
|
</div>
|
2024-01-19 02:44:55 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|