-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
165 lines (165 loc) · 5.34 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="./index.css" />
<link rel="icon" href="./res/logo.svg" />
<script src="./index.js"></script>
<script src="./left-hud-animation.js"></script>
<title>Satadia</title>
<link
rel="stylesheet"
as="style"
crossorigin
href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-jp.min.css"
/>
<link
rel="stylesheet"
as="style"
crossorigin
href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css"
/>
</head>
<body>
<canvas class="canvas" id="canvas"> </canvas>
<div class="hud-left" id="hud-left">
<div>
<i class="bi bi-x hud-left-button" id="hud-left--close-button"></i>
</div>
<h3 class="mb-2">도구</h3>
<div class="mb-2">
<div>
<div onclick="undo()" class="import--button">
<i class="bi bi-alarm"></i> 실행 취소
</div>
</div>
<div>
<div onclick="removeUnusedPoints()" class="import--button">
<i class="bi bi-trash"></i> 사용하지 않는 점 삭제
</div>
</div>
</div>
<div id="tool-select-panel" class="mb-2">
<p>
<input type="radio" name="tool" id="tool-hand" checked />
<label for="tool-hand">보기</label>
</p>
<p>
<input type="radio" name="tool" id="tool-point-make" />
<label for="tool-point-make">점 생성</label>
</p>
<p>
<input type="radio" name="tool" id="tool-point-select" />
<label for="tool-point-select">점 이동</label>
</p>
<p>
<input type="radio" name="tool" id="tool-point-delete" />
<label for="tool-point-delete">점 삭제</label>
</p>
<p>
<input type="radio" name="tool" id="tool-place-make" />
<label for="tool-place-make">거점 생성</label>
</p>
<p>
<input type="radio" name="tool" id="tool-place-delete" />
<label for="tool-place-delete">거점 제거</label>
</p>
<p>
<input type="radio" name="tool" id="tool-path-make" />
<label for="tool-path-make">길 생성</label>
</p>
<p>
<input type="radio" name="tool" id="tool-path-insert" />
<label for="tool-path-insert">길에 점 삽입</label>
</p>
<p>
<input type="radio" name="tool" id="tool-path-remove" />
<label for="tool-path-remove">길에서 점 제거</label>
</p>
<p>
<input type="radio" name="tool" id="tool-path-delete" />
<label for="tool-path-delete">길 제거</label>
</p>
<p>
<input type="radio" name="tool" id="tool-region-make" />
<label for="tool-region-make">영역 생성</label>
</p>
<p>
<input type="radio" name="tool" id="tool-region-insert" />
<label for="tool-region-insert">영역에 점 삽입</label>
</p>
<p>
<input type="radio" name="tool" id="tool-region-remove" />
<label for="tool-region-remove">영역에서 점 제거</label>
</p>
<p>
<input type="radio" name="tool" id="tool-region-delete" />
<label for="tool-region-delete">영역 제거</label>
</p>
<p>
<input type="radio" name="tool" id="tool-region-config" />
<label for="tool-region-config">영역 편집</label>
</p>
<p>
<input type="radio" name="tool" id="tool-region-duplicate" />
<label for="tool-region-duplicate">영역 선택 복제</label>
</p>
</div>
<h3 class="mb-2">조작</h3>
<div class="mb-2">
<div>
<div>
영역 레이블 크기 (<span id="region-label-size-span">32</span>)
</div>
<input
type="range"
min="4"
max="32"
value="32"
id="region-label-size-range"
/>
</div>
</div>
<h3 class="mb-2">작업</h3>
<div>
<div class="import--button" onclick="emptyProject()">
<i class="bi bi-file-earmark-plus"></i>
새 파일
</div>
<div class="import--button">
<label for="import">
<i class="bi bi-folder2-open"></i>
파일 열기
</label>
<input
type="file"
name="import"
id="import"
accept=".json"
style="display: none"
/>
</div>
<div class="import--button" onclick="save()">
<i class="bi bi-save"></i>
저장
</div>
</div>
</div>
<div
class="hud-left hud-left-button hud-left-hidden"
id="hud-left--open-button"
>
<i class="bi bi-list"></i>
</div>
</body>
</html>