-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (65 loc) · 2.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Paint Clone</title>
<link rel="icon" type="image/png" href="assets/favicon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.min.css"/>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- Tool Bar -->
<div class="top-bar">
<!-- Active Tool -->
<div class="active-tool">
<span id="active-tool" title="Active Tool">Brush</span>
</div>
<!-- Brush -->
<div class="brush tool">
<i class="fas fa-brush" id="brush" title="Brush"></i>
<input class="jscolor" value="a51dab" id="brush-color">
<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>
<!-- Bucket -->
<div class="bucket tool">
<i class="fas fa-fill-drip" title="Background Color"></i>
<input class="jscolor" value="ffffff" id="bucket-color">
</div>
<!-- Eraser -->
<div class="tool">
<i class="fas fa-eraser" id="eraser" title="Eraser"></i>
</div>
<!-- Clear Canvas -->
<div class="tool">
<i class="fas fa-undo-alt" id="clear-canvas" title="Clear"></i>
</div>
<!-- Save Local Storage -->
<div class="tool">
<i class="fas fa-download" id="save-storage" title="Save Local Storage"></i>
</div>
<!-- Load Local Storage -->
<div class="tool">
<i class="fas fa-upload" id="load-storage" title="Load Local Storage"></i>
</div>
<!-- Clear Local Storage -->
<div class="tool">
<i class="fas fa-trash-alt" id="clear-storage" title="Clear Local Storage"></i>
</div>
<!-- Download Image -->
<div class="tool">
<a id="download">
<i class="far fa-save" title="Save Image File"></i>
</a>
</div>
</div>
<!-- Mobile Message -->
<div class="mobile-message">
<h2>Please use application on larger screen</h2>
</div>
<!-- Script -->
<script src="js/jscolor.js"></script>
<script src="js/script.js"></script>
</body>
</html>