49 lines
1.4 KiB
Handlebars
49 lines
1.4 KiB
Handlebars
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{{ title }}</title>
|
|
<link rel="stylesheet" href="{{ css }}">
|
|
</head>
|
|
|
|
<body class="{{ theme }}">
|
|
<header>
|
|
<h1>{{ header }}</h1>
|
|
<h3>Upload Skin</h3>
|
|
</header>
|
|
|
|
<div class="content" id="upload">
|
|
<p class="message"></p>
|
|
|
|
<div class="left">
|
|
<img src="" class="skin" id="flat" alt="Current Skin" style="display: none;">
|
|
<div id="mesh" style="display: inline;"></div>
|
|
<button id="switch" style="display: none;">Switch to 2D</button>
|
|
</div>
|
|
|
|
<div class="right">
|
|
<button id="remote">Fetch from URL</button>
|
|
<button id="local">Upload file</button>
|
|
<form action="#" id="remote" style="display: none;">
|
|
<input type="text" id="url" placeholder="URL">
|
|
<button type="submit">Submit</button>
|
|
</form>
|
|
<form action="#" id="local" style="display: none;">
|
|
<input type="file" id="skin">
|
|
<button type="submit">Submit</button>
|
|
</form>
|
|
|
|
<button id="main">Back</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="../src/skin.js"></script>
|
|
|
|
<footer>
|
|
{{ footer }}
|
|
</footer>
|
|
</body>
|
|
|
|
</html> |