deleted: src/www/loading_screen.html
deleted: src/www/logged_in.html
This commit is contained in:
parent
9ae2c8b859
commit
5501f57c6e
@ -1,54 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Loading Minecraft</title>
|
|
||||||
<script src="https://cdn.tailwindcss.com"></script>
|
|
||||||
</head>
|
|
||||||
<body class="bg-gray-100 flex justify-center items-center h-screen">
|
|
||||||
|
|
||||||
<div class="bg-white shadow-lg rounded-xl p-6 w-96 text-center">
|
|
||||||
<h2 class="text-2xl font-semibold text-gray-700">Launching Minecraft</h2>
|
|
||||||
|
|
||||||
<!-- Loading Status -->
|
|
||||||
<p id="loading-text" class="mt-2 text-gray-500">Preparing...</p>
|
|
||||||
|
|
||||||
<!-- Progress Bar -->
|
|
||||||
<div class="mt-4 w-full bg-gray-200 rounded-full">
|
|
||||||
<div id="progress-bar" class="h-4 bg-green-500 rounded-full transition-all" style="width: 0%;"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Cancel Button -->
|
|
||||||
<button onclick="cancelLaunch()"
|
|
||||||
class="mt-4 w-full bg-red-500 hover:bg-red-600 text-white font-bold py-2 px-4 rounded transition">
|
|
||||||
❌ Cancel
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<p class="mt-4 text-sm text-gray-500">Minecraft Launcher v1.0</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
let progress = 0;
|
|
||||||
function updateProgress() {
|
|
||||||
progress += 10;
|
|
||||||
document.getElementById("progress-bar").style.width = progress + "%";
|
|
||||||
document.getElementById("loading-text").innerText = Loading... ${progress}%;
|
|
||||||
|
|
||||||
if (progress < 100) {
|
|
||||||
setTimeout(updateProgress, 500);
|
|
||||||
} else {
|
|
||||||
window.location.href = "logs.html"; // Redirect to logs screen when done
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function cancelLaunch() {
|
|
||||||
alert("Minecraft launch canceled.");
|
|
||||||
window.location.href = "index.html"; // Go back to launcher
|
|
||||||
}
|
|
||||||
|
|
||||||
setTimeout(updateProgress, 1000);
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,34 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Elegant Minecraft Launcher</title>
|
|
||||||
<script src="https://cdn.tailwindcss.com"></script>
|
|
||||||
</head>
|
|
||||||
<body class="bg-gray-100 flex justify-center items-center h-screen">
|
|
||||||
|
|
||||||
<div class="bg-white shadow-lg rounded-xl p-6 w-96 text-center">
|
|
||||||
<!-- User Avatar -->
|
|
||||||
<div class="flex flex-col items-center">
|
|
||||||
<img src="https://www.minecraft.net/etc.clientlibs/minecraft/clientlibs/main/resources/img/minecraft-creeper-face.jpg"
|
|
||||||
alt="User Avatar" class="w-16 h-16 rounded-full border-4 border-gray-300">
|
|
||||||
<h2 class="text-lg font-semibold mt-2 text-gray-700">Steve</h2>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Play Button -->
|
|
||||||
<button class="mt-6 w-full bg-green-500 hover:bg-green-600 text-white font-bold py-2 px-4 rounded transition">
|
|
||||||
▶️ Play Minecraft
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<!-- Settings Button -->
|
|
||||||
<button class="mt-3 w-full bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded transition">
|
|
||||||
⚙️ Settings
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<!-- Footer -->
|
|
||||||
<p class="mt-4 text-sm text-gray-500">Minecraft Launcher v1.0</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
x
Reference in New Issue
Block a user