This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
beatsaber-wip-uploader/index.html
2023-04-15 14:17:43 +01:00

43 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>WIP Uploader</title>
<script src="https://cdn.fascinated.cc/assets/tailwindcss/3.2.4.js"></script>
</head>
<body>
<!-- Centered div, vertial and horizontal -->
<!-- uploads file to upload.php, shows map id after upload -->
<!-- Modern design, dark mode -->
<div class="flex items-center justify-center h-screen bg-gray-900">
<div class="w-1/2">
<div class="bg-gray-800 rounded-lg shadow-xl p-10">
<h2 class="text-4xl font-bold text-center text-white mb-10">
WIP Map Uploader
</h2>
<form action="upload.php" method="post" enctype="multipart/form-data">
<div class="flex items-center justify-center">
<input
type="file"
name="file"
class="bg-gray-700 text-white font-bold py-2 px-4 rounded"
/>
<div class="flex items-center justify-center">
<button
type="submit"
name="submit"
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"
>
Upload
</button>
</div>
</form>
</div>
</div>
</div>
</body>
</html>