reuploading levels
This commit is contained in:
parent
fd88a4e374
commit
4d8a41ba47
20 changed files with 604 additions and 22 deletions
33
templates/reupload.html.hbs
Normal file
33
templates/reupload.html.hbs
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue