-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
68 lines (67 loc) · 2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Jaydip Dey">
<link rel="icon" type="image/png" href="./NewIcons/logo.png"/>
<meta name="description" content="Free online whiteboard">
<title>WhiteBoard</title>
<link rel="stylesheet" href="style.css" />
<script src = "html2canvas.js"></script>
</head>
<body>
<div class="tools-container">
<div class="tools-content">
<div class="tool active-tool" id="pen">
<img src="./NewIcons/Black_Pencil.svg" alt="" />
<div class="tool-options hide">
<div class="pen-size">
<input type="range" id="pensize" value="1" min="1" max="40" />
</div>
<div class="pen-colors">
<div class="black"></div>
<div class="purple"></div>
<div class="blue"></div>
<div class="green"></div>
<div class="red"></div>
</div>
</div>
</div>
<div class="tool fade" id="eraser">
<img src="./NewIcons/Eraser.svg" alt="" />
<div class="tool-options hide">
<div class="eraser-size">
<input type="range" id="erasersize" value="1" min="1" max="40" />
</div>
</div>
</div>
<div class="tool" id="undo">
<img src="./NewIcons/Undo.svg" alt="" />
</div>
<div class="tool" id="redo">
<img src="./NewIcons/Redo.svg" alt="" />
</div>
<div class="tool" id="sticky">
<img src="./NewIcons/StickyNote.svg" alt="" />
</div>
<div class="tool" id="photo">
<img src="./NewIcons/Photo.svg" alt="" />
<input type="file" class="hide" name="" id="photo-upload" />
</div>
<div class="tool" id="download">
<img src="./NewIcons/Download.svg" alt="" />
</div>
</div>
</div>
<div class="drawing-container">
<canvas id="canvas"></canvas>
</div>
<script src="./script.js"></script>
<script src="./tools.js"></script>
<script src="./sticky.js"></script>
<script src="./img.js"></script>
<script src="./drawingTool.js"></script>
</body>
</html>