-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
240 lines (224 loc) · 8.16 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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!-- css -->
<link rel="stylesheet" type="text/css" href="style.css" />
<!-- google font -->
<link
href="https://fonts.googleapis.com/css?family=Poppins&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css?family=Gugi&display=swap"
rel="stylesheet"
/>
<!-- jquery -->
<script src="jquery/jquery-3.4.1.js"></script>
<!-- bootstrap -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<script src="bootstrap/bootstrap.bundle.js"></script>
<title>Canvas</title>
</head>
<body>
<div class="container-fluid">
<!-- toast -->
<div
aria-live="polite"
aria-atomic="true"
style="position: absolute; min-width: 300px; min-height: 100px; margin-top: 10px;"
>
<div class="toast" aria-live="polite" aria-atomic="true">
<div class="toast-header">
<img
src="./images/smallLogo.png"
class="rounded mr-2"
alt="Canvas"
/>
<strong class="mr-auto">Canvas</strong>
<button
type="button"
class="ml-2 mb-1 close"
data-dismiss="toast"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">
Hello, world! This is a toast message.
</div>
</div>
</div>
<!-- Logo -->
<div id="logoContainer">
<div id="logoTitle">Canvas</div>
<img id="logoImage" src="images/appLogo.png" alt="Canvas" />
</div>
<!-- info button -->
<div class="dropdown">
<button
type="button"
class="btn btn-secondary"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
style="display: flex; border-radius: 50%; width: 20px; height: 24px; margin-left: auto; margin-right: 10px;"
>
<div
style="font-weight: bold; margin-left: -1.7px; margin-top: -6px;"
>
i
</div>
</button>
<!-- dropdown menus -->
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<div
class="dropdown-item"
style="font-weight: bold; font-size: 14px; font-family: 'Gugi', cursive;"
>
[단축키]
</div>
<div
class="dropdown-item"
style="font-weight: bold; font-size:13px; font-family: 'Gugi', cursive;"
>
Canvas 확장앱 열기:
</div>
<div class="dropdown-item" style="font-size: 11px;">
Alt + Shift + O (Window, linux)
</div>
<div class="dropdown-item" style="font-size: 11px;">
Command + Shift + O (Mac)
</div>
<div class="dropdown-item"></div>
<div
class="dropdown-item"
style="font-weight: bold; font-size:13px; font-family: 'Gugi', cursive;"
>
캡쳐(확장앱이 열린상태에서):
</div>
<div class="dropdown-item" style="font-size: 11px; ">
Alt + Shift + S (Window, Linux)
</div>
<div class="dropdown-item" style="font-size: 11px;">
Command + Shift + S (Mac)
</div>
<div
class="dropdown-item"
style="font-weight: bold; font-size:13px; font-family: 'Gugi', cursive;"
>
색상 추출(확장앱이 열린상태에서):
</div>
<div class="dropdown-item" style="font-size: 11px;">
Alt + Shift + C (Window, Linux)
</div>
<div class="dropdown-item" style="font-size: 11px;">
Command + Shift + X (Mac)
</div>
<div class="dropdown-item"></div>
<div
class="dropdown-item"
style="font-weight: bold; font-size:13px; font-family: 'Gugi', cursive;"
>
그리기(확장앱이 열린상태에서):
</div>
<div class="dropdown-item" style="font-size: 11px;">
Alt + Shift + D (Window, Linux)
</div>
<div class="dropdown-item" style="font-size: 11px;">
Command + Shift + A (Mac)
</div>
<div class="dropdown-item"></div>
</div>
</div>
<!-- capture button -->
<button type="button" class="btn btn-light" id="captureButton">
<img id="captureIcon" src="images/capture.png" alt="Capture" />
<div id="captureButtonTitle">Capture</div>
</button>
<!-- capture javascript -->
<script type="text/javascript" src="javascript/capture.js"></script>
<!-- color picker button -->
<div id="colorPickerButton">
<img id="spoidIcon" src="images/spoid.png" alt="Spoid" />
<div id="colorPickerButtonTitle">Color Picker</div>
<button id="paletteColor1"></button>
<button id="paletteColor2"></button>
<button id="paletteColor3"></button>
<button id="paletteColor4"></button>
<button id="paletteColor5"></button>
<button id="paletteColor6"></button>
<button id="paletteColor7"></button>
<button id="paletteColor8"></button>
</div>
<!-- color picker javascript -->
<script type="text/javascript" src="javascript/colorPicker.js"></script>
<!-- paint button -->
<button type="button" class="btn btn-light" id="paintButton">
<img id="penIcon" src="images/pen.png" alt="Pen" />
<div id="paintButtonTitle">Paint</div>
</button>
<div id="paintComponentContainer">
<button
id="paintColor"
type="button"
class="btn btn-secondary"
data-container="body"
data-toggle="popover"
data-toggle="toolip"
data-html="true"
data-trigger="focus"
data-placement="bottom"
data-content="<div type=button id=paintColorOption1></div>
<div type=button id=paintColorOption2></div>
<div type=button id=paintColorOption3></div>
<div type=button id=paintColorOption4></div>
<div type=button id=paintColorOption5></div>
<div type=button id=paintColorOption6></div>
<div type=button id=paintColorOption7></div>
<div type=button id=paintColorOption8></div>"
></button>
<button
id="eraserButton"
data-toggle="tooltip"
data-placement="bottom"
title="Eraser"
>
<img id="eraserIcon" src="images/eraser.png" alt="Eraser" />
</button>
<button
id="refreshButton"
data-toggle="tooltip"
data-placement="bottom"
title="Refresh"
>
<img id="refreshIcon" src="images/refresh.png" alt="Refresh" />
</button>
</div>
<!-- End Button -->
<button id="endButton" type="button" class="btn btn-danger">
<div id="endTitle">End Canvas</div>
</button>
<!-- paint javascript -->
<script type="text/javascript" src="javascript/constants.js"></script>
<script type="text/javascript" src="javascript/paint.js"></script>
<script type="text/javascript" src="javascript/paint_color.js"></script>
<script type="text/javascript" src="javascript/paint_eraser.js"></script>
<script type="text/javascript" src="javascript/paint_reset.js"></script>
<!-- End Canvas javascript -->
<script type="text/javascript" src="javascript/endCanvas.js"></script>
<!-- footer -->
<!-- <footer>
<div>Created by Eddie Sunny</div>
</footer> -->
</div>
</body>
</html>