-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (82 loc) · 3.48 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!doctype html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<link href="styles.css" rel="stylesheet" />
<link rel="stylesheet" href="node_modules/ol/ol.css">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.bundle.min.js"></script>
<script type="module" src="/main.js"></script>
<title>飯能百名山</title>
</head>
<body>
<div class="app">
<div class="header">
<a href="https://github.com/bsh-git/hannou100-openlayers">
<img loading="lazy" width="80" height="80"
src="https://github.blog/wp-content/uploads/2008/12/forkme_right_red_aa0000.png?resize=80%2C80"
class="attachment-full size-full"
style="position: absolute; top: 0; right: 0; border: 0;"
alt="Fork me on GitHub" data-recalc-dims="1"></a>
<h1>飯能百名山</h1>
</div>
<div class="main">
<div class="sidebar">
<div class="sidebarbutton"></div>
<div class="sidebarlist">
<ul id="mountains">
</ul>
</div>
</div>
<div class="content">
<div class="fixed-content" id="controls">
<span style="float:left"><button id="savetolocal">保存</button>
<span class='tooltipmark' id='hintforsave' data-placement='right'
title='登頂済マークをブラウザのローカルストレージに保存します'>?</span>
</span>
<span style="float:left">
<span><a href='' id="sharelink">シェア用URL</a></span>
<span class='tooltipmark' id='hintforurl' data-placement='right'
title='このURLにアクセスすると、登頂済マークを再現します'>?</span>
</span>
<span id='backtolocal' hidden style="float:left"><a href=''>ローカルデータに戻る</a>
<span class='tooltipmark' id='hintforback' data-placement='right'
title='ローカルストレージに保存された登頂済マークを表示します'>?</span>
</span>
<span style="float:left">登頂済: <span id='visitedcount'>0/112</span></span>
<span id="coordinate" style="float:right;"></span>
<span id="mtname" style="float:right;"></span>
</div>
<div class="flex-content" id="map">
</div>
</div>
</div>
<div class="footer">
<!--サイドバーの高さを 95vhとか指定しているせいで、ウィンドウ
サイズとぴったりにならず、マップの下端が見切れてしまうのを誤魔
化すための物-->
<p></p>
</div>
</div>
<div id="popup"></div>
<!-- dialog -->
<div class="modal fade" id="saveConfirmDialog" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">保存</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"><span>×</span></button>
</div>
<div class="modal-body">
シェア用URLのデータでローカルストレージの登頂済マークを上書きしますか?
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">キャンセル</button>
<button type="button" class="btn btn-primary">保存</button>
</div>
</div>
</div>
</div>
</body>
</html>