-
Notifications
You must be signed in to change notification settings - Fork 0
/
paint_95.html
79 lines (73 loc) · 3.23 KB
/
paint_95.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Spicy+Rice" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./css/paint_95.css">
<!-- Your page title-->
<title>Paint 95</title>
</head>
<body>
<div id="controls">
<div id="pallet">
<button class="button black active-button"></button>
<button class="button tomato"></button>
<button class="button lightgreen"></button>
<button class="button deepskyblue"></button>
<button class="button orange"></button>
<button class="button darkmagenta"></button>
<button class="button mediumslateblue"></button>
<button class="button yellow"></button>
</div>
<div id="color-picker">
<label for="color-input">Color Picker:</label>
<input type="color" id="color-input" name="color-input" value="#ff1493">
</div>
<div id="stamp">
<img class="circle shape active-shape">
<img class="square shape">
<img class="line shape">
</div>
<div id="size">
<label for="brush-size">Brush Size:</label>
<select name="brush-size">
<option value="0">Extra Small</option>
<option value="5" selected='selected'>Small</option>
<option value="15">Medium</option>
<option value="25">Large</option>
</select>
</div>
<div id="canvas-size">
<form id="size-form">
<label for="user-canvas-width">Canvas Width:</label>
<input type="number" id="user-canvas-width" min="200" max="1080" value="500" required/><br>
<label for="user-canvas-height">Canvas Height:</label>
<input type="number" id="user-canvas-height" min="200" max="798" value="500" required /><br><br>
<input type="submit"/>
</form>
</div>
<div id="eraser-container">
<img id="eraser-image" src="media/non-active-eraser.png" alt="eraser"/>
</div>
<div id="clear">
<input id="clear-button" type="button" value="clear"/>
</div>
<div id="storage-div">
<input type="button" class="storage-button" name="save-button" id="save-button" value="SAVE">
<input type="button" class="storage-button" name="load-button" id="load-button" value="LOAD">
</div>
</div>
<div id="canvas-container">
<div id="canvas"></div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="./js/paint_95.js"></script>
</body>
</html>