-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (67 loc) · 2.02 KB
/
index.html
File metadata and controls
75 lines (67 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>iSwitch Emulator UI</title>
<style>
body {
background-color: black;
color: white;
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
flex-direction: column;
}
#logo {
margin-bottom: 20px;
}
.container {
text-align: center;
}
input, button {
display: block;
margin: 10px auto;
padding: 10px;
width: 80%;
max-width: 400px;
}
button {
background-color: white;
color: black;
border: none;
font-size: 1em;
cursor: pointer;
}
button:hover {
opacity: 0.9;
}
</style>
</head>
<body>
<div id="logo">
<h1>iSwitch Emulator</h1> <!-- Placeholder for your logo -->
<img src="IMG_6276.png" alt="">
</div>
<div class="container">
<input type="text" placeholder="Enter Keys" id="keysInput">
<input type="text" placeholder="Enter Switch Firmware Path" id="firmwareInput">
<input type="text" placeholder="Enter ROM Path" id="romInput">
<button id="runButton">Run</button>
</div>
<script>
document.getElementById('runButton').addEventListener('click', function() {
const keys = document.getElementById('keysInput').value;
const firmware = document.getElementById('firmwareInput').value;
const rom = document.getElementById('romInput').value;
console.log("Keys:", keys);
console.log("Firmware:", firmware);
console.log("ROM:", rom);
alert("Emulator is running (This is a placeholder action)");
});
</script>
</body>
</html>