0x0a/templates/index.html

39 行
1.1 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>0x0a 「null:ポインタ」</title>
</head>
<body bgcolor="#000000">
<br><br><table border="2" cellpadding="12" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td align="center">
<h1>「null:ポインタ」</h1>
</td>
<td>
<h2>File upload</h2>
<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>
<hr>
<h2>URL shortening</h2>
<form action="{{ fhost_url}}" method="POST">
<input type="text" name="shorten">
<input type="submit" value="Submit">
</form>
</p>
</center>
</td>
</tr>
</table>
</body>
</html>