-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (72 loc) · 3.02 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Javascript Paint App" />
<meta name="author" content="Isaac Dozier">
<meta itemprop="name" content="Javascript Paint App">
<meta itemprop="image" content="">
<meta name="mobile-web-app-capable" content="yes">
<meta id="theme-color" name="theme-color" content="#000000">
<base target="_blank">
<!-- custom styles -->
<link rel="stylesheet" type="text/css" href="style.css">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous">
<!-- Add icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet">
<title>Javascript Paint App</title>
</head>
<body onload="init()">
<div id="Content" class="container">
<div class="row">
<div id="colors" class="col-lg-12">
<div class="color">Colors: <span id="color"></span></div>
</div>
<div id="canvas" class="col-lg-9 draw">
<canvas onmousemove="refresh(event)" id="draw"></canvas>
</div>
<div class="row col-lg-3 tools">
<div class=" col-lg-12">
<div id="tool"></div>
<div id="details"></div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 file">
<input placeholder=" filename (optional)" type="text" id="fileName" />
<a href="#" id="download" title="Download Drawing">
<i class="fa fa-download"></i>
</a>
</div>
</div>
<div class="row">
<div class="col info">
<p><br />
Built by <a href="http://isaacdozier.com">Isaac Dozier</a> <br />
Github <a href="https://github.com/isaacdozier/drawing-app">repo</a><br />
<br />
<span class="mini-text">
Works best on Chrome<br />
</span>
</p>
</div>
</div>
<div class="row">
<div class="col foot">
<p>v1.0.1-beta</p>
</div>
</div>
</div>
<script async src="src.js"></script>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/js/bootstrap.min.js" integrity="sha384-a5N7Y/aK3qNeh15eJKGWxsqtnX/wWdSZSKp+81YjTmS15nvnvxKHuzaWwXHDli+4" crossorigin="anonymous"></script>
</body>
</html>