1
+ <!doctype html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport "
6
+ content ="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 ">
7
+ < meta http-equiv ="X-UA-Compatible " content ="ie=edge ">
8
+ < title > Patch Roulette</ title >
9
+ < script src ="https://unpkg.com/@tailwindcss/browser@4 "> </ script >
10
+ < script src ="index.js " defer > </ script >
11
+ < link rel ="icon " href ="/favicon.ico ">
12
+ </ head >
13
+ < body class ="bg-blue-500 ">
14
+ < div id ="login-container " class ="flex items-center justify-center min-h-screen p-4 ">
15
+ < form id ="login-form " class ="w-full max-w-md bg-white p-6 rounded-lg shadow-md ">
16
+ < div class ="mb-4 ">
17
+ < label for ="username " class ="block text-gray-700 text-sm font-bold mb-2 "> Username</ label >
18
+ < input type ="text " id ="username " name ="username "
19
+ class ="w-full px-3 py-2 border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 ">
20
+ </ div >
21
+ < div class ="mb-6 ">
22
+ < label for ="password " class ="block text-gray-700 text-sm font-bold mb-2 "> Password</ label >
23
+ < input type ="password " id ="password " name ="password "
24
+ class ="w-full px-3 py-2 border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 ">
25
+ </ div >
26
+ < button type ="submit "
27
+ class ="w-full bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline ">
28
+ Login
29
+ </ button >
30
+ </ form >
31
+ </ div >
32
+ < div id ="content-container " class ="flex items-center justify-center min-h-screen p-4 " style ="display: none; ">
33
+ < div class ="w-full max-w-md bg-white p-6 rounded-lg shadow-md ">
34
+ < h2 class ="text-2xl font-bold mb-4 text-gray-800 "> Patch Roulette</ h2 >
35
+ < p id ="user-info " class ="mb-4 text-sm text-gray-600 "> Logged in as: < span id ="logged-user " class ="font-medium "> </ span > </ p >
36
+
37
+ < div class ="mb-4 ">
38
+ < label for ="mcVersion " class ="block text-gray-700 text-sm font-bold mb-2 "> Minecraft Version</ label >
39
+ < div class ="flex space-x-2 ">
40
+ < input type ="text " id ="mcVersion " placeholder ="Enter Minecraft version "
41
+ class ="flex-grow px-3 py-2 border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 ">
42
+ < button id ="select-version " type ="button "
43
+ class ="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline ">
44
+ Select
45
+ </ button >
46
+ </ div >
47
+ </ div >
48
+
49
+ < div id ="patches-container " class ="mt-6 hidden ">
50
+ < h3 class ="text-xl font-semibold mb-3 text-gray-800 "> Available Patches</ h3 >
51
+ < div id ="patches-list " class ="border border-gray-200 rounded max-h-60 overflow-y-auto p-2 ">
52
+ <!-- Patches will be loaded here -->
53
+ < p class ="text-gray-500 italic text-center py-4 "> Select a version to view available patches</ p >
54
+ </ div >
55
+ </ div >
56
+
57
+ < div class ="mt-6 flex justify-end ">
58
+ < button id ="logout-button " type ="button "
59
+ class ="bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline ">
60
+ Logout
61
+ </ button >
62
+ </ div >
63
+ </ div >
64
+ </ div >
65
+ </ body >
66
+ </ html >
0 commit comments