-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMandala2.html
256 lines (245 loc) · 12.9 KB
/
Mandala2.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
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<!DOCTYPE html>
<html>
<head>
<title>Mandala Creator</title>
<!--<script src="//localdev.mandalacreator.com/assets/jquery.js?body=1"></script>-->
<!--<script src="//localdev.mandalacreator.com/assets/jquery_ujs.js?body=1"></script>-->
<script src="//localdev.mandalacreator.com/assets/application.js?body=1"></script>
<meta content="authenticity_token" name="csrf-param" />
<meta content="Sc545P0VeptUX5e81FsJyICtQnwME2j5QagBSPDM1nk=" name="csrf-token" />
<meta name="description" content="Become a Mandala Creator, create and share Mandalas." />
<link href="http://fonts.googleapis.com/css?family=Alegreya+Sans:100,300,400,500,700|Raleway:400,100,200,300,500,600,700" rel="stylesheet" type="text/css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="//mandalacreator.com/css/semantic.css">
<link type="text/css" rel="stylesheet" href="//mandalacreator.com/css/mandala.css">
<link type="text/css" rel="stylesheet" href="//mandalacreator.com/css/spectrum.css">
</head>
<body data-is-logged-in="true">
<div id="top-menu" class="ui inverted small menu">
<div class="item" style="color:#E74C3C">Beta</div>
<div id="top-menu-info-dropdown" class="ui dropdown link item">
<i class="info icon"></i>About<i class="dropdown icon"></i>
<div class="menu">
<a class="item" data-text="dart">Made with dart</a>
<a class="item" data-text="github">View on Github</a>
</div>
</div>
<!-- Add facebook button, remove padding so it's giant iframe doesn't push the menu down -->
<div class="item" style="padding: 0 0.95em;">
<div class="fb-share-button" data-href="http://mandalacreator.com" data-type="button"></div>
</div>
<!-- Add twitter button, remove padding so it's giant iframe doesn't push the menu down -->
<div class="item" style="padding: 0 0.95em;">
<a href="https://twitter.com/share" class="twitter-share-button" data-via="1dayitwillmake" data-related="1dayitwillmake" data-count="none" data-hashtags="MandalaDraweer"></a>
</div>
<div class="right menu">
<div class="item"><i class="user icon"></i>1dayitwillmake</div>
<a class="item" href="/signout">Sign Out</a>
</div>
</div>
<div id="main-container" class="ui grid">
<div id="drawingtool-container" class="row">
<div id="title" class="top-toolbar row">
<span style="display:block">Mandala Creator</span>
<span id="byline"><a href="https://twitter.com/1dayitwillmake">by Mario Gonzalez</a></span>
</div>
<div id="drawingtool" class="twelve wide column">
<div class="top-toolbar row">
<div class="ui small inverted menu">
<a id="nu-interface-publish" class="item">
<i class="cloud icon"></i>
Publish
</a>
<a id="nu-interface-save-image" class="item">
<i class="save icon"></i>
Save Image
</a>
<a id="nu-interface-save-svg" class="item">
<i class="save icon"></i>
Save SVG
</a>
<div class="right menu">
<a class="item" data-edit-action="undo">
<i class="undo icon"></i>
Undo
</a>
<a class="item" data-edit-action="clear">
<i class="trash icon"></i>
Clear
</a>
</div>
</div>
</div>
<div id="canvas-container" class="row">
<div id="help-flash" class="ui small label">Piece</div>
<!--Press Enter to end path-->
<div id="submission-form">
<div class="ui inverted form">
<div class="ui info message">
<div class="header">We had some issues</div>
<ul class="list">
</ul>
</div>
<div class="field">
<label>Name your creation:</label>
<input id="submission-form-title" placeholder="Untitled" type="text">
</div>
<div class="ui blue submit button">Submit</div>
</div>
</div>
<canvas id="canvas" width="650" height="650" class="center"></canvas>
</div>
</div>
<div id="right-panel" class="four wide column">
<div class="nu-interface ui two column grid">
<div class="row">
<div id="label-drawing-mode-menu" class="ui small label">Drawing Mode</div>
</div>
<div class="menu row">
<div class="left action column">
<div class="left action ui vertical small icon menu">
<a class="teal item" data-drawingmode="RegularStroke">
<i class="pencil icon"></i>
RegularLine
</a>
<a class="teal item" data-drawingmode="SmoothStroke">
<i class="pencil icon"></i>
SmoothLine
</a>
<a class="teal item" data-drawingmode="PolygonalStroke">
<i class="star empty icon"></i>
PolyLine
</a>
</div>
</div>
<div class="right action column">
<div class="right action ui vertical small icon menu">
<a class="teal item" data-drawingmode="RegularFill">
<i class="edit icon"></i>
RegularFill
</a>
<a class="teal item" data-drawingmode="SmoothFill">
<i class="edit icon"></i>
SmoothFill
</a>
<a class="teal item" data-drawingmode="PolygonalFill">
<i class="star icon"></i>
PolyFill
</a>
</div>
</div>
</div>
<!-- PIECE MENU -->
<div class="row">
<div id="label-piece-menu" class="ui small label">Piece</div>
</div>
<div class="menu row">
<div class="sixteen wide column">
<div class="settings ui vertical small menu">
<!-- MIRROR MODE TOGGLE -->
<div class="item">
<div class="ui toggle checkbox">
<input type="checkbox" name="toggle-mirroring" checked>
<label>Mirror Mode</label>
</div>
</div>
<!-- SIDE SLIDER -->
<a class="item">
<input id="interface-sidecount-slider" class="" type="range" min="1" max="28" step="1" value="14">
<span class="slider-label" id="interface-sidecount-slider-text">Sides: 6</span>
</a>
</div>
</div>
</div>
<div id="advanced-toggle" data-is-showing="true" class="row">
Advanced<span id="advanced-toggle-chevron" class="fa chevron up"></span>
</div>
<!-- TOOL MENU -->
<div class="row">
<div id="label-tool-menu" class="ui small label">Tool</div>
</div>
<div class="menu row">
<div class="sixteen wide column">
<div class="settings ui vertical small icon menu">
<a class="item">
<input id="interface-line-width-slider" class="" type="range" min="0.1" max="3" step="0.1" value="0.5">
<span class="slider-label" id="interface-line-width-slider-text">Width: 1.0</span>
</a>
<!--OPACITY SLIDER-->
<a class="item">
<input id="interface-opacity-slider" class="interface-opacity-slider" type="range" min="15" max="75" step="1" value="60">
<span class="slider-label" id="interface-opacity-slider-text">Alpha: 0.25</span>
</a>
</div>
</div>
</div>
<!-- EDITOR MENU -->
<div class="row">
<div id="label-editor-menu" class="ui small label">Editor</div>
</div>
<div class="menu row">
<div class="sixteen wide column">
<div class="settings ui vertical small menu">
<!-- DrawPoints MODE TOGGLE -->
<div class="item">
<div class="ui toggle checkbox">
<input type="checkbox" name="toggle-draw-points">
<label>Draw Points</label>
</div>
</div>
<!-- SCALE SLIDER -->
<a class="item">
<input id="interface-scale-slider" class="" type="range" min="100" max="300" step="1" value="100">
<span class="slider-label" id="interface-scale-slider-text">Zoom: 1.0</span>
</a>
</div>
</div>
</div>
<!-- COLOR MENU -->
<div class="row">
<div id="label-color-menu" class="ui small label">Color</div>
</div>
<div class="menu row">
<div class="sixteen wide column">
<div class="settings ui vertical small menu">
<a class="item">
<input id="interface-color-line-slider" type="text" class="basic" value="white" style="display: none;">
<span class="slider-label" id="interface-color-line-text">Line Color</span>
</a>
<a class="item">
<input id="interface-color-gradient-start-slider" type="text" class="basic" value="#383245" style="display: none;">
<span class="slider-label" id="interface-color-gradient-start-text">Gradient (disabled)</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div id="ones-created-container">
<div id="ones-created-container-divider" class="ui horizontal divider">
Ones Created
</div>
</div>
</div>
</div>
<script src="//localdev.mandalacreator.com/js/TweenMax.min.js"></script>
<script src="//localdev.mandalacreator.com/js/ColorPropsPlugin.min.js"></script>
<script src="//localdev.mandalacreator.com/js/CSSRulePlugin.min.js"></script>
<script src="//localdev.mandalacreator.com/js/ScrollToPlugin.min.js"></script>
<script src="//code.jquery.com/jquery-2.0.3.js"></script>
<script src="//localdev.mandalacreator.com/js/semantic.js"></script>
<script src="//localdev.mandalacreator.com/js/spectrum.js"></script>
<script type="application/dart" src="web/dart/mandala.dart"></script>
<script src="/build/web/packages/browser/lib/dart.js"></script>
<script src="/build/web/packages/browser/lib/interop.js"></script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=568347866591817";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</body>
</html>