-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
187 lines (161 loc) · 6.1 KB
/
Copy pathindex.html
File metadata and controls
187 lines (161 loc) · 6.1 KB
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>mineConics</title>
<meta name="description" content="A web app to serve as guide for creating circles, ellipses, and other shapes for games like Minecraft and Dwarf Fortress"/>
<meta name="title" content="Create circles, ellipses, and other shapes for Minecraft and Dwarf Fortress"/>
<link type="text/css" href="css/mineConics.css" rel="stylesheet">
</head>
<body>
<div id="adPane">
<img src="myAd.png"/>
</div>
<div id="container">
<div id="header">
<!-- <div id="plusOne"><g:plusone size="small"></g:plusone></div> -->
<div id="menuBar"><a id="blogLink" href="http://blog.mineconics.net">blog</a></div>
<div id="headingWrapper">
<h1 id="heading"><a id="homeLink" href="http://www.mineconics.net" title="circles and ellipses for minecraft">mineConics</a></h1>
<br/>
<h3 id="subheading">minecraft circles and ellipses</h3>
</div>
</div>
<div id="content">
<div id="controlPane">
<div id="graphPane">
</div>
<div id="shapesPane">
</div>
</div>
<div id="canvasPane">
<canvas id="canvas"></canvas>
<div id="canvasFooter">
<div id="mouseLocation">
<span id="mouseX" class="mouseLocation"></span>
<span id="mouseY" class="mouseLocation"></span>
</div>
<div id="zoomHelp">scroll to zoom</div>
</div>
</div>
</div>
</div>
<!-- Templates -->
<script type="text/template" id="graphControlTemplate">
<div id="graphControl" class="control">
<ul id="graphMenu">
<li id="save" class="graphOption">[save]</li>
<li id="clear" class="graphOption">[clear]</li>
</ul>
</div>
</script>
<script type="text/template" id="shapesPaneTemplate">
<div id="addShapes" class="control">
<ul id="addShapeList">
<div class="addShapeRow">
<li id="addLine" class="addShape">[add line]</li>
<li id="addRectangle" class="addShape">[add rectangle]</li>
</div>
<br/>
<div class="addShapeRow">
<li id="addCircle" class="addShape">[add circle]</li>
<li id="addEllipse" class="addShape">[add ellipse]</li>
</div>
</ul>
</div>
<ul id="shapes"></ul>
</script>
<script type="text/template" id="shapeTemplate">
<div class="titleBar">
<span class="close">[X]</span>
<span class="titleWrapper">
<span class="title"><%= title %></span>
</span>
<span class="hide">[-]</span>
</div>
<div class="shapeControls">
<div class="colorControl">
<form class="field">
<span class="field">rgb</span>
<input type="checkbox" name="color" class="color red">
<input type="checkbox" name="color" class="color green">
<input type="checkbox" name="color" class="color blue">
</form>
<div class="field">
<span class="field">hex</span>
<input type="text" class="hexColor" value="<%= hexColor %>">
</div>
</div>
</div>
</script>
<script type="text/template" id="lineTemplate">
<div class="shapeControl line">
<div class="field">
<span class="field">start</span>
<input type="text" class="field startX" value="<%= startX %>"></input>
<input type="text" class="field startY" value="<%= startY %>"></input>
</div>
<div class="field">
<span class="field">end</span>
<input type="text" class="field endX" value="<%= endX %>"></input>
<input type="text" class="field endY" value="<%= endY %>"></input>
</div>
</div>
</script>
<script type="text/template" id="rectangleTemplate">
<div class="shapeControl rectangle">
<div class="field">
<span class="field">start</span>
<input type="text" class="field startX" value="<%= startX %>"></input>
<input type="text" class="field startY" value="<%= startY %>"></input>
</div>
<div class="field">
<span class="field">end</span>
<input type="text" class="field endX" value="<%= endX %>"></input>
<input type="text" class="field endY" value="<%= endY %>"></input>
</div>
</div>
</script>
<script type="text/template" id="circleTemplate">
<div class="shapeControl circle">
<div class="field">
<span class="field">center</span>
<input type="text" class="field centerX" value="<%= centerX %>"></input>
<input type="text" class="field centerY" value="<%= centerY %>"></input>
</div>
<div class="field">
<span class="field">radius</span>
<input type="text" class="field radius" value="<%= radius %>"></input>
</div>
</div>
</script>
<script type="text/template" id="ellipseTemplate">
<div class="shapeControl ellipse">
<div class="field">
<span class="field">center</span>
<input type="text" class="field centerX" value="<%= centerX %>"></input>
<input type="text" class="field centerY" value="<%= centerY %>"></input>
</div>
<div class="field">
<span class="field">radius</span>
<input type="text" class="field radiusX" value="<%= radiusX %>"></input>
<input type="text" class="field radiusY" value="<%= radiusY %>"></input>
</div>
</div>
</script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/json2/20110223/json2.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.1.7/underscore-min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.5.1/backbone-min.js"></script>
<script type="text/javascript" src="scripts/backbone-localstorage.js"></script>
<script type="text/javascript" src="scripts/jquery.mousewheel.js"></script>
<script type="text/javascript" src="scripts/mineConics.js"></script>
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</body>
</html>