-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (54 loc) · 1.43 KB
/
index.html
File metadata and controls
54 lines (54 loc) · 1.43 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
51
52
53
54
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mantela Claimer</title>
<script src="./mantela-fetcher/fetch.js" defer></script>
<script src="./index.js" defer></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
<style>
.fill-inline {
box-sizing: border-box;
width: 100%;
}
</style>
</head>
<body>
<header>
<h1>Mantela Claimer</h1>
<p>各局によって予約されている推奨プレフィックス番号 (<code>preferredPrefix</code>) を一覧します</p>
</header>
<main>
<form id="formMantela">
<fieldset>
<legend>初期設定</legend>
<div>
<label for="urlMantela">mantela.json の URL:</label>
<input type="url" id="urlMantela" name="first" required class="fill-inline" style="font-family: monospace">
</div>
<div>
<label for="checkNest">交換局のホップ数を制限する:</label>
<input type="checkbox" id="checkNest">
</div>
<div>
<label for="numNest">最大ホップ数:</label>
<input type="number" id="numNest" min="0" step="1" class="fill-inline">
</div>
<hr>
<div>
<input type="submit" id="btnGenerate" value="取得..." class="fill-inline">
</div>
<div>
<output id="outputStatus"></output>
</div>
</fieldset>
</form>
<section>
<h3>取得結果</h3>
<p>推奨プレフィックス番号が存在しない局は表示されません</p>
<div id="table-container"></div>
</section>
</main>
</body>
</html>