-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (49 loc) · 2.34 KB
/
index.html
File metadata and controls
51 lines (49 loc) · 2.34 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CA2Minimap</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
</head>
<body data-bs-theme="dark">
<h1>Extract CaptureAge minimaps</h1>
<div class="container-fluid">
<div class="row">
<div class="col">
<h2>Settings</h2>
<label for="screenshot">Choose a screenshot</label>
<div class="input-group mb-2">
<input class="form-control" type="file" id="screenshot" name="screenshot" accept="image/png" />
</div>
<div class="input-group mb-2">
<div class="input-group-text">
<input class="form-check-input mt-0" type="checkbox" id="centered" checked aria-label="Centered minimap">
</div>
<label class="form-control" for="centered">Minimap is in the center</label>
</div>
<div class="input-group mb-2">
<div class="input-group-text">
<input class="form-check-input mt-0" type="checkbox" id="squared" checked aria-label="Squared output">
</div>
<label class="form-control" for="squared">Square output</label>
</div>
</div>
<div class="col">
<h2>Input preview</h2>
<img id="preview" src="" height="400" alt="Input preview" />
</div>
<div class="col">
<h2>Output</h2>
<canvas id="output" alt="Output preview"></canvas>
<div class="input-group">
<button class="btn btn-secondary" id="export">Download minimap</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
<script src="main.js"></script>
</body>
</html>