-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (78 loc) · 3.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Just Paint</title>
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="css/snackbarlight.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- Top Bar -->
<div class="top-bar">
<div class="active-tool">
<a href="https://github.com/Sarwar-Md/just-paint"><img src="icons/logo.png" alt="logo"></a>
</div>
<!-- Brush tool -->
<div class="tool">
<button id="brush" class="fas" title="Brush"><img src="icons/brush.png"></button>
</div>
<!-- Background Color -->
<div class="tool">
<button id="bucket" class="fas" title="Background Color"><img src="icons/fill-drip.png"></button>
</div>
<!-- Eraser -->
<div class="tool">
<button id="eraser" class="fas" title="Eraser"><img src="icons/eraser.png"></button>
</div>
<!-- Change Brush Or eraser size -->
<div class="brush tool">
<span class="size" id="brush-size" title="Brush Size">10</span>
<input type="range" min="1" max="50" value="10" class="slider" id="brush-slider">
</div>
<!-- Color Picker -->
<div class="bucket tool">
<input class="jscolor" value="ffffff" id="bucket-color">
</div>
<!-- Eraser -->
<!-- Clear Canvas -->
<div class="tool">
<button class="fas" id="clear-canvas" title="Clear Canvas"><img src="icons/trash.png"></button>
</div>
<!-- Save Local Storage -->
<div class="tool">
<button class="fas" id="save-storage" title="Save Local Storage"><img src="icons/upload.png"></button>
</div>
<!-- Load Local Storage -->
<div class="tool">
<button class="fas" id="load-storage" title="Load Local Storage"><img src="icons/download.png"></button>
</div>
<!-- Clear Local Storage -->
<div class="tool">
<button class="fas" id="clear-storage" title="Clear Local Storage"><img src="icons/clear.png"></button>
</div>
<!-- Undo Button -->
<div class="tool">
<button id="undo" title="undo" class="fas"><img src="icons/undo.png"></button>
</div>
<!-- Redo Button -->
<div class="tool">
<button id="redo" title="redo" class="fas"><img src="icons/redo.png"></button>
</div>
<!-- Download Image -->
<!-- <div class="tool">
<button id="download" class="fas" title="Save Image File"><img src="icons/save.png"></button>
</div> -->
<div class="tool">
<a id="download">
<button id="download" class="fas" title="Save Image File"><img src="icons/save.png"></button>
</a>
</div>
</div>
<!-- Script -->
<script src="js/jscolor.js"></script>
<script src="js/snackbarlight.js"></script>
<script src="js/script.js"></script>
</body>
</html>