-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (40 loc) · 1.76 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
<link rel="stylesheet" href="/photoscenery-manager/style.css" />
</head>
<body>
<div id="map"></div>
<div class="legend-container">
<div class="legend">
<div class="legend-color" style="background-color: #ff7800;"></div>
<div class="legend-text">4096×2048</div>
</div>
<div class="legend">
<div class="legend-color" style="background-color: #0f78ff;"></div>
<div class="legend-text">8192×4096</div>
</div>
</div>
</div>
<div id="overlay" class="overlay">
<div class="tooltip-text">Here you can generate code for <a
href="https://github.com/nathanielwarner/flightgear-photoscenery">nathanielwarner's
flightgear-photoscenery</a><br>One click for default resolution, two clicks for 2x resolution, 3 clicks to
clear.</div>
<button class="close-btn" onclick="hide_overlay()">close</button>
<div class="input-tooltip">Your scenery folder:</div>
<input class="scenery-folder-input" id="scnery-folder" type="text" placeholder="/home/user/fg/sceneries/my_scenery">
<button class="to-clipboard-button" onclick="to_clipboard()">copy to clipboard</button>
<textarea id="output-text" class="text-field"></textarea>
<button class="generate-btn" onclick="generate_codes()">generate</button>
</div>
<button class="open-overlay-btn" onclick="show_overlay();generate_codes()">
generate
</button>
<script src='/photoscenery-manager/script.js'></script>
</body>
</html>