-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
30 lines (30 loc) · 1.22 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<meta name="viewport" content="width=device-width">
<title>(S)ELF Patcher</title>
<link rel="icon" type="image/png" href="./assets/icon.png">
<link rel="stylesheet" href="css/style.css">
<script type="module" src="js/main.mjs"></script>
</head>
<body>
<div id="loading" class="page-centre">Loading...</div>
<div id="file-picker" class="page-centre" style="display: none">
<input type="file" accept=".elf,.self,.bin" onchange="load(this.files[0])">
</div>
<div id="patch-container" class="page-centre patch-container" style="display: none">
<div id="filename">?</div>
<div id="details">
<div>Console: <span id="console">Unknown</span></div>
<div>Game: <span id="game">Unknown</span></div>
</div>
<textarea id="patch-script" placeholder="Paste your patching script here..." spellcheck="false"></textarea>
<div class="buttons-container">
<button class="big-button" onclick="execute(this)">Execute!</button>
<button class="big-button" onclick="downloadElf()">Download ELF</button>
<button id="download-self-button" class="big-button" onclick="downloadSelf()" style="display: none">Download SELF</button>
</div>
</div>
</body>
</html>