47 lines
1.7 KiB
HTML
47 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'" />
|
|
<title>Fractured Launcher</title>
|
|
<link rel="stylesheet" href="styles.css" />
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1>Fractured Launcher</h1>
|
|
<p class="sub">Point at your 3.3.5a client, download patches, then play.</p>
|
|
</header>
|
|
|
|
<section class="card">
|
|
<label class="lbl">World of Warcraft folder (contains <span id="wowExeName">Wow.exe</span>)</label>
|
|
<div class="row">
|
|
<input type="text" id="gameDir" placeholder="Browse… or paste the folder that contains Wow.exe" />
|
|
<button type="button" id="btnBrowse">Browse…</button>
|
|
<button type="button" id="btnSaveFolder" class="primary">Save folder</button>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="card hidden" id="authCard">
|
|
<label class="lbl">Account</label>
|
|
<div class="row stack">
|
|
<input type="text" id="username" autocomplete="username" placeholder="Username" />
|
|
<input type="password" id="password" autocomplete="current-password" placeholder="Password" />
|
|
<button type="button" id="btnAuth" class="primary">Sign in</button>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="card row-actions">
|
|
<button type="button" id="btnCheckLauncher" class="ghost">Check launcher updates</button>
|
|
</section>
|
|
|
|
<section class="card">
|
|
<button type="button" id="btnSync" class="primary wide" disabled>Download updates</button>
|
|
<button type="button" id="btnPlay" class="success wide hidden" disabled>Play</button>
|
|
</section>
|
|
|
|
<pre id="log" class="log" aria-live="polite"></pre>
|
|
|
|
<script src="renderer.js"></script>
|
|
</body>
|
|
</html>
|