reuploading levels

This commit is contained in:
Reid 2023-09-20 18:46:37 -07:00
parent fd88a4e374
commit 4d8a41ba47
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8
20 changed files with 604 additions and 22 deletions

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/style.css" />
<title>Level Reupload</title>
</head>
<body style="max-width: 800px; margin: auto; padding-top: 1em;">
<h1>Level Reupload</h1>
{{#if error}}
<div>Error while uploading: {{ error }}</div><br />
{{/if}}
{{#if level_id}}
<div>Uploaded successfully! Level ID: <b>{{ level_id }}</b></div><br />
{{/if}}
{{#if disabled}}
<b>Reuploading levels has been disabled.</b><br><br>
{{/if}}
<form action="/tools/reupload" method="post">
ID: <input type="text" id="level_id" name="level_id" {{#if disabled}}disabled{{/if}}>
<input type="submit" value="Submit" {{#if disabled}}disabled{{/if}}>
</form>
<br>
<i>Only vanilla servers are supported.</i>
</body>
</html>