0x0a/templates/index.html

47 行
1.4 KiB
HTML

<!DOCTYPE HTML "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>media.chaotic.ninja</title>
</head>
<body bgcolor="#000000">
<br><br><table border="2" cellpadding="12" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td border="0" align="center">
<pre>
__ _ __ _ _
/ /_| | _____ __/ / __ _ _| | |
/ / _` |/ _ \ \ / / / '_ \| | | | | |
/ / (_| | __/\ V / /| | | | |_| | | |
/_/ \__,_|\___| \_/_/ |_| |_|\__,_|_|_|
</pre>
</td>
<td align="center">
<h1>The Chaotic Pointer</h1>
</td>
<td>
<center>
<p>
{% set fhost_url = url_for("fhost", _external=True).rstrip("/") %}
{% set max_size = config["MAX_CONTENT_LENGTH"]|filesizeformat(True) %}
<br>
<form action="{{ fhost_url }}" method="POST" enctype="multipart/form-data">
<input type="file" name="file">
<input type="submit" value="Submit">
</form>
Maximum file size: {{ max_size }} <br>
Not allowed: {{ config["FHOST_MIME_BLACKLIST"] }} <br>
Uploaded files expire after 15 days, no exceptions.
<hr>
<form action="{{ fhost_url}}" method="POST">
<input type="text" name="url">
<input type="submit" value="Submit">
</form>
</p>
</center>
</td>
</tr>
</table>
</body>
</html>