-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
114 lines (110 loc) · 3.43 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>最寄海岸線検索</title>
<script src="./main.js" defer></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body class="section">
<noscript class="section">
<div class="message is-danger">
<p class="message-header">このページの動作にはJavaScriptが必要です</p>
<figure class="message-body">
<blockquote
cite="https://stackoverflow.com/questions/121203/how-to-detect-if-javascript-is-disabled#comment14518676_121241"
>
Life's too short. It's 2012 - Enable javascript or go home
</blockquote>
<figcaption>
—Yarin,
<cite
><a
href="https://stackoverflow.com/questions/121203/how-to-detect-if-javascript-is-disabled#comment14518676_121241"
>Stack Overflow</a
></cite
>
</figcaption>
</figure>
</div>
</noscript>
<header class="block">
<h1 class="title">
最寄海岸線検索(日本国内) by
<a href="https://github.com/equal-l2/nearest-ocean">equal-l2</a>
</h1>
<h2 class="subtitle">
現在地の緯度・経度から最も近い海岸線への経路URLを生成します。
</h2>
</header>
<main class="block">
<button
id="get-current"
class="block button is-primary is-loading"
disabled
>
現在地から計算</button
><br />
<details class="block container">
<summary>手動入力</summary>
<div class="block">
<label class="label">Google形式</label>
<input
class="input is-half"
type="text"
id="googlian"
autocomplete="off"
placeholder='"緯度,経度" or "緯度 経度"'
/>
</div>
<div class="block">
<div class="field is-horizontal">
<div class="field-label">
<label class="label" style="white-space: nowrap">緯度</label>
</div>
<input
class="input"
type="text"
id="lat"
autocomplete="off"
placeholder="0.0 ~ 90.0"
/>
</div>
<div class="field is-horizontal">
<div class="field-label">
<label class="label" style="white-space: nowrap">経度</label>
</div>
<input
class="input"
type="text"
id="lon"
autocomplete="off"
placeholder="0.0 ~ 180.0"
/>
</div>
</div>
<button class="block button is-loading" id="run" disabled>
計算実行
</button>
</details>
<article class="block message" id="result-mesg">
<div class="message-header">経路URL</div>
<div class="message-body">
<span id="error"></span>
<a id="result" href=""></a>
</div>
</article>
</main>
<footer class="footer">
使用データ:
<a href="https://nlftp.mlit.go.jp/ksj/gml/datalist/KsjTmplt-C23.html"
>国土数値情報 海岸線データ</a
>
</footer>
<style></style>
</body>
</html>