-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (66 loc) · 2.63 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
<!DOCTYPE html>
<html>
<head>
<title>Sketchpad</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="css/spectrum.css"/>
<link rel="stylesheet" type="text/css" href="css/sketchpad.css"/>
<link href="https://fonts.googleapis.com/css?family=Marck+Script" rel="stylesheet">
<script src='https://code.jquery.com/jquery-3.1.0.min.js'></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="js/html2canvas.min.js"></script>
<script src="js/spectrum.js"></script>
<script src="js/sketchpad.js"></script>
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span> </button>
<a class="navbar-brand" href="index.html">Sketchpad</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class="clear"><a>Clear</a></li>
<li class="dropdown"><a class="dropdown-toggle resize" data-toggle="dropdown">Resize <span class="caret"></span></a>
<ul class="dropdown-menu sizes">
<li id="10"><a>10x10</a></li>
<li id="25"><a>25x25</a></li>
<li id="40"><a>40x40</a></li>
<li id="50"><a>50x50</a></li>
<li id="60"><a>60x60</a></li>
<li id="70"><a>70x70</a></li>
<li id="80"><a>80x80</a></li>
<li id="90"><a>90x90</a></li>
<li id="100"><a>100x100</a></li>
</ul>
</li>
<li id="download"><a>Download</a></li>
<li id="erase"><a>Erase</a></li>
<li id="opener"><a>Help</a></li>
<li><input type="text" id="colors"/></li>
</ul>
</div>
</div>
</nav>
<!---End Navbar Section-->
<div class="main">
<!--jQuery dialog UI-->
<div id="dialog" title="Help">
<ul>
<li>Click anywhere to begin sketching.</li>
<li>The bottom border color of the navigation bar tells you whether you are currently sketching (green) or not (red).</li>
<li>Resizing will reset your current drawing</li>
</div>
<!---End dialog-->
<div id="container"></div>
</div>
</body>
</html>