dark mode
This commit is contained in:
parent
cd66ea36f3
commit
e95b57b552
35
index.html
35
index.html
@ -11,30 +11,25 @@
|
|||||||
<body>
|
<body>
|
||||||
<!-- Centered div, vertial and horizontal -->
|
<!-- Centered div, vertial and horizontal -->
|
||||||
<!-- uploads file to upload.php, shows map id after upload -->
|
<!-- uploads file to upload.php, shows map id after upload -->
|
||||||
<!-- Modern design -->
|
<!-- Modern design, dark mode -->
|
||||||
<div class="flex items-center justify-center h-screen">
|
<div class="flex items-center justify-center h-screen bg-gray-900">
|
||||||
<div class="w-1/2">
|
<div class="w-1/2">
|
||||||
<div class="bg-white shadow-md rounded px-8 pt-6 pb-8 mb-4">
|
<div class="bg-gray-800 rounded-lg shadow-xl p-10">
|
||||||
<p class="text-gray-700 text-2xl font-bold mb-4">WIP Map Uploader</p>
|
<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">
|
<form action="upload.php" method="post" enctype="multipart/form-data">
|
||||||
<div class="mb-4">
|
<div class="flex items-center justify-center">
|
||||||
<label
|
<input
|
||||||
class="block text-gray-700 text-sm font-bold mb-2"
|
type="file"
|
||||||
for="file"
|
name="file"
|
||||||
>
|
class="bg-gray-700 text-white font-bold py-2 px-4 rounded"
|
||||||
Select a file to upload
|
/>
|
||||||
</label>
|
<div class="flex items-center justify-center">
|
||||||
<input
|
|
||||||
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
|
|
||||||
id="file"
|
|
||||||
name="file"
|
|
||||||
type="file"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="flex items-center justify-between">
|
|
||||||
<button
|
<button
|
||||||
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline"
|
|
||||||
type="submit"
|
type="submit"
|
||||||
|
name="submit"
|
||||||
|
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"
|
||||||
>
|
>
|
||||||
Upload
|
Upload
|
||||||
</button>
|
</button>
|
||||||
|
Reference in New Issue
Block a user