-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (72 loc) · 2.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/style.css">
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="css/materialize.min.css" >
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<title>My Paint</title>
</head>
<body>
<nav>
<div class="nav-wrapper">
<ul id="nav-mobile" class="left hide-on-med-and-down">
<li><i id="brush" data-type="brush" class="material-icons icons type">edit</i></li>
<li><i id="row" data-type="row" class="material-icons icons type">clear_all</i></li>
<li><i id="rectangle" data-type="rectangle" class="material-icons icons type">aspect_ratio</i></li>
<li><i id="cercle" data-type="cercle" class="material-icons icons type">track_changes</i></li>
<li><i id="erase" data-type="erase" class="material-icons icons type">delete</i></li>
</ul>
<input id="color" data-type="color" type="color">
<ul id="test" class="right hide-on-med-and-down">
<li><input class="waves-effect waves-light btn" type="reset" id="reset" value="Recommencer"></li>
<li><a class="dropdown-button" href="#!" data-activates="dropdown1">Options<i class="material-icons right">arrow_drop_down</i></a></li>
<li></li>
</ul>
</div>
</nav>
<ul id="dropdown1" class="dropdown-content">
<li><form id="largeurs_pinceau">
<label for="largeur_pinceau">Largeur du pinceau :</label>
<input id="largeur_pinceau" type="range" min="2" max="50" value="5">
<output id="output">2 pixels</output>
</form>
<hr>
<div class="switch">
<label>
Non-Rempli
<input type="checkbox" id="mycheckbox">
<span class="lever"></span>
Rempli
</label>
</div>
<div class="switch">
<label>
Simple
<input type="checkbox" id="symetric">
<span class="lever"></span>
Symétrique
</label>
</div>
<div class="switch">
<label>
horizontale
<input type="checkbox" id="style_symetric">
<span class="lever"></span>
verticale
</label>
</div>
</li>
</ul>
<div id="all"></div>
<div id="sketch">
<canvas id="paint"></canvas>
</div>
<a href="#" class="button" id="btn-download" download="sans-titre.png">Sauvegarder</a>
<input type="file" id="imageLoader" name="imageLoader"/>
<script src="js/jquery.js"></script>
<script src="js/my_paint.js"></script>
<script type="text/javascript" src="js/materialize.min.js"></script>
</body>
</html>