-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
143 lines (95 loc) · 5.1 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html>
<head lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" />
<link rel="stylesheet" href="static/css/style.css">
<link rel="stylesheet" href="static/css/bootstrap.css">
<title>
Paint Program
</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
<script type="text/javascript">
</script>
<script src="https://cdn.firebase.com/js/client/1.0.15/firebase.js"></script>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js'></script>
<link rel="stylesheet" type="text/css" href=static/css/chat.css>
</head>
<body>
<div class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Draw With Me</a>
</div>
<div class="navbar-collapse collapse navbar-responsive-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="/trending/">Trending</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">ben <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="/ben">My Profile</a></li>
<li><a href="/password_reset/">Reset Password</a></li>
<li class="divider"></li>
<li><a href="/logout/">Logout</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-xs-1">
</div>
<div class="col-xs-10">
<div id="mainCanvas">
<canvas id="DrawCanvas" width="800" height="600" >
Your browser does not support the HTML5 canvas tag.</canvas><br>
</div>
<div id="toolkit">
<div class="colorbox" style="background-color:#ff0000;" data-bcolor="red"></div>
<div class="colorbox" style="background-color:#ffa500;" data-bcolor="orange"></div>
<div class="colorbox" style="background-color:#ffff00;" data-bcolor="yellow"></div>
<div class="colorbox" style="background-color:#008000;" data-bcolor="green"></div>
<div class="colorbox" style="background-color:#0000ff;" data-bcolor="blue"></div>
<div class="colorbox" style="background-color:#1e90ff;" data-bcolor="dodgerblue"></div>
<div class="colorbox" style="background-color:#800080;" data-bcolor="purple"></div>
<div class="colorbox" style="background-color:#ee82ee;" data-bcolor="violet"></div>
<div class="colorbox" style="background-color:#ffffff;" data-bcolor="white"></div>
<div class="colorbox" style="background-color:#000000;" data-bcolor="black"></div>
<div class="colorbox" style="background-color:#808080;" data-bcolor="grey"></div>
<div class="colorbox glyphicon glyphicon-star-empty"
style="background-color:#414149; font-size:28px; color:#58ece4; vertical-align:super;" data-bcolor="stars"></div>
<div id="slider"><br>
Brush Width:
<input type="text" id="brushWidth" value="1" readonly style="width: 50%; border:0; color:#341f07; font-weight:bold; display: inline-block;">
</div>
<br><br>
<div id='canvasImg'></div>
<input type="text" id="imgTitle" placeholder="Your Image Title" />
<a class="btn btn-success" id="bt_saveLocal">Save Image</a>
<a class="btn btn-success" id="bt_saveAs">Save As...</a>
<a class="btn btn-default" id="clearCanvas">Clear Canvas</a>
<a class="btn btn-info" id="bt_download">Download Image</a>
</div>
<div class="col-xs-1">
</div>
</div>
</div>
</div>
<footer>
<div class="container">
A Binnie Production. Copyright 2014.
</div>
</footer>
<script src="static/js/jquery.min.js"></script>
<script src="static/js/custom.js"></script>
<script src="static/js/index.js"></script>
<script src="http://code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</body>
</html>