forked from PedalPlayground/pedalplayground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
443 lines (393 loc) · 15.3 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
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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
<!DOCTYPE html>
<html lang="en">
<head>
<title>Pedal Playground</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"
/>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css" rel="stylesheet">
<link rel="stylesheet" href="public/stylesheets/styles.css" />
<!-- HTML in your document's head -->
<link rel="preconnect" href="https://rsms.me/">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<!-- meta info -->
<meta
name="description"
content="PedalPlayground.com is an interactive planning tool for planning your guitar effects pedalboard."
/>
<meta
name="keywords"
content="pedalboard, effects, fx, guitar, stompboxes, planner, pedalboard planner, pedalboard builder"
/>
<!-- favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png" />
<link rel="manifest" href="site.webmanifest" />
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#8576f7" />
<meta name="msapplication-TileColor" content="#2d89ef" />
<meta name="theme-color" content="#ffffff" />
<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://pedalplayground.com">
<meta property="og:type" content="website">
<meta property="og:title" content="Pedal Playground">
<meta property="og:description" content="PedalPlayground.com is an interactive planning tool for planning your guitar effects pedalboard.">
<meta property="og:image" content="https://pedalplayground.com/public/images/social.jpg">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="pedalplayground.com">
<meta property="twitter:url" content="https://pedalplayground.com">
<meta name="twitter:title" content="Pedal Playground">
<meta name="twitter:description" content="PedalPlayground.com is an interactive planning tool for planning your guitar effects pedalboard.">
<meta name="twitter:image" content="https://pedalplayground.com/public/images/social.jpg">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8665257118994115" crossorigin="anonymous"></script>
</head>
<body>
<header class="site-header">
<h1><b>Pedal</b>Playground</h1>
<nav>
<!-- <a href="https://github.com/PedalPlayground/PedalPlayground.github.io/">Change Log</a>
<a href="https://www.paypal.me/travlehman" target="_blank">Donate</a> -->
<a style="vertical-align: middle; display: inline-flex" class="settings-trigger" href="#" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="27" height="18" fill="none">
<rect width="27" height="2" y="3" fill="#2F2F31" rx="1"/>
<circle class="top" cx="10" cy="4" r="3" fill="#fff" stroke="#2F2F31" stroke-width="2"/>
<rect width="27" height="2" y="13" fill="#2F2F31" rx="1"/>
<circle class="bottom" cx="18" cy="14" r="3" fill="#fff" stroke="#2F2F31" stroke-width="2"/>
</svg>
</a>
</nav>
</header>
<div class="site-body is-slid_">
<div class="sidebar">
<a href="" class="sidebar-close">
<span class="text">Toggle Sidebar</span>
<span class="glyphicon glyphicon-chevron-down"></span>
</a>
<div class="sidebar__inner">
<div class="sidebar__scroll">
<div class="sidebar__section">
<label class="h4" for="select-a-pedalboard">Add a Pedalboard</label>
<form id="add-pedalboard">
<p><select id="select-a-pedalboard" class="pedalboard-list form-control"></select></p>
<button
id="add-selected-pedalboard"
class="btn btn-primary btn-block"
>
Add Pedalboard
</button>
</form>
</div>
<div class="sidebar__section">
<label class="h4" for="select-a-pedal">Add a Pedal</label>
<form id="add-pedal">
<p><select id="select-a-pedal" class="pedal-list form-control"></select></p>
<button id="add-selected-pedal" class="btn btn-primary btn-block">
Add Pedal
</button>
</form>
</div>
<div class="sidebar__section" id="custom-items">
<h2 class="h4">Add Custom Item</h2>
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active">
<a
href="#custom-pedalboard"
aria-controls="home"
role="tab"
data-toggle="tab"
>Pedalboard
</a>
</li>
<li role="presentation">
<a
href="#custom-pedal"
aria-controls="profile"
role="tab"
data-toggle="tab"
>Pedal</a
>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="custom-pedalboard">
<form id="add-custom-pedalboard">
<div class="form-element left">
<label for="custom-pb-width">Width <em class="units">(inches)</em></label>
<input
id="custom-pb-width"
type="number"
class="custom-width form-control"
placeholder="24"
value=""
required
/>
</div>
<div class="form-element left">
<label for="custom-pb-height">Height <em class="units">(inches)</em></label>
<input
id="custom-pb-height"
type="number"
class="custom-height form-control"
placeholder="12"
value=""
required
/>
</div>
<input
class="btn btn-primary btn-block"
type="submit"
name=""
value="Add Custom Pedalboard"
/>
</form>
</div>
<div role="tabpanel" class="tab-pane" id="custom-pedal">
<form id="add-custom-pedal">
<div class="form-element">
<label for="custom-pedal-name">Name <em>(optional)</em></label>
<input
id="custom-pedal-name"
class="custom-name form-control"
type="type"
name="custom-pedal-name"
value=""
placeholder="Bozz FM-2 Face Melter"
/>
</div>
<div class="form-element left">
<label for="custom-p-width">Width <em class="units">(inches)</em></label>
<input
id="custom-p-width"
type="number"
class="custom-width form-control"
placeholder="2.75"
value=""
required
/>
</div>
<div class="form-element left">
<label for="custom-p-height">Height <em class="units">(inches)</em></label>
<input
id="custom-p-height"
type="number"
class="custom-height form-control"
placeholder="4.25"
value=""
required
/>
</div>
<div class="form-element">
<label for="custom-pedal-color">Color</label>
<div class="input-group custom-color-block">
<input
id="custom-pedal-color"
class="custom-color form-control"
type="type"
name="favcolor"
value="#AC203B"
/>
<span class="input-group-addon">
<i class="color-swatch"></i>
</span>
</div>
</div>
<input
class="btn btn-primary btn-block"
type="submit"
name=""
value="Add Custom Pedal"
/>
</form>
</div>
</div>
</div>
<!-- <div id="canvas-scale-form" class="sidebar__section form-inline">
<h4>Canvas Scale</h4>
<div class="input-group">
<div class="input-group-addon input-sm">Resolution</div>
<input
class="form-control input-sm"
id="canvas-scale"
type="number"
value="25"
/>
<div class="input-group-addon input-sm">PPI</div>
</div>
<a
href="#"
class="btn btn-sm"
data-toggle="modal"
data-target="#canvas-scale-modal"
>
<span
class="glyphicon glyphicon-info-sign"
aria-hidden="true"
></span>
</a>
</div> -->
<div class="sidebar__section">
<button id="clear-canvas" class="btn-reset text-danger" data-toggle="modal" data-target="#clear-canvas-modal">
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
Reset Playground
</button>
</div>
</div>
<!-- sidebar__scroll -->
</div>
<!-- <div class="sense">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8665257118994115"
crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8665257118994115"
data-ad-slot="3536246057"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div> -->
<div class="author">
Made with love, by <a target="_blank" href="https://www.threads.net/@tehtrav">@tehtrav</a>
</div>
<!-- sidebar__inner -->
</div>
<!-- sidebar -->
<a href="" class="sidebar-open">Toggle Sidebar</a>
<div class="canvas">
<input id="multiplier" type="hidden" value="32" />
</div>
<div class="settings-popover panel hide">
<h4>Settings</h4>
<div class="panel__action">
<label for="convert-units" class="convert-units">Use mm for units</label>
<input id="convert-units" type="checkbox">
</div>
<div class="panel__action">
<label for="canvas-scale">Canvas scale</label>
<input class="form-control input-sm" id="canvas-scale" type="number" value="25" />
</div>
<div id="export-canvas-controls" class="panel__action" style="flex-direction: column;">
<p>Save & Load Playground (experimental)</p>
<button id="save-canvas" class="btn btn-default btn-block">
Save to File
</button>
<button id="load-canvas" class="btn btn-default btn-block">
Load from File
</button>
</div>
</div>
</div>
<button id="clear-canvas" class="halp" data-toggle="modal" data-target="#halp-modal">
🚧 Help me pay for Pedal Playground's new server!
</button>
<div id="clear-canvas-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Clear Playground</h4>
</div>
<div class="modal-body">
<div>This will remove all items and start from a clean slate.</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">
Cancel
</button>
<button type="button" class="btn btn-danger" id="clear-canvas-confirmation">
Reset
</button>
</div>
</div>
</div>
</div>
<div id="canvas-scale-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Adjust screen resolution</h4>
</div>
<div class="modal-body">
<p>
Enter your <a href="http://whatismyscreenresolution.net/" target="_blank">screen resolution</a> to more accurately scale your layout.
</p>
<p>
<strong>Note:</strong> Modifying this will change the appearance and scale of
all of the components (pedals, pedalboards, etc.) on your canvas. Therefore,
you may need to adjust your layout accordingly.
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">
Close
</button>
</div>
</div>
</div>
</div>
<div id="halp-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body">
<p>
You may have noticed that updates slowed to a halt over the last few months. This is because Pedal Playground exceeded the file storage allowed from GitHub Pages where the site was hosted since it's creation.
</p>
<p>I have since moved Pedal Playground to a paid dedicated server that can keep up with storage demands, but server resources are not cheap. If you find Pedal Playground useful and would think about donating what you think it's worth to you, I would be extremely grateful! </p>
<p>Thank you for your support and thank you for using Pedal Playground.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">
Close
</button>
<a href="https://www.paypal.me/travlehman" target="_blank" class="btn btn-primary">
Donate
</a>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha512-bnIvzh6FU75ZKxp0GXLH9bewza/OIw6dLVh9ICg0gogclmYGguQJWl8U30WpbsGTqbIiAwxTsbe76DErLq5EDQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/draggabilly/2.2.0/draggabilly.pkgd.min.js" integrity="sha512-zBAct6t0RFMOkOv9I+sMKzp4rHVqt/5PJBp5tUpO0y/zV9Ret0qh2nQP0+7AehWwRF5M0pLWefnBAZeCB7J3xw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha512-oBTprMeNEKCnqfuqKd6sbvFzmFQtlXS3e0C/RGFV0hD6QzhHV+ODfaQbAlmY6/q0ubbwlAM/nCJjkrgA3waLzg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.5.2/js/bootstrap-colorpicker.min.js" integrity="sha512-Inb8rvDBBswSGp+fMJmR7y+HgWACE/2m1pj2h1ItXBGt7NbI0llkYIqp7bgzibqom5rSqTt84Cqug9UQV1+e8w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.7/js/select2.min.js" integrity="sha512-Y1UCb35/WpQMj8SlTwW43Q+vaROlBiuJ3BBpdF646G4WjXYp417N7OzlmOVWTxOTaiFIZt1CWnby8G9J6u2EoQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="text/javascript" src="public/scripts/scripts.js"></script>
<script>
(
function (i, s, o, g, r, a, m) {
i["GoogleAnalyticsObject"] = r;
(
i[r] =
i[r] ||
function () {
(i[r].q = i[r].q || []).push(arguments);
}
),
(i[r].l = 1 * new Date());
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m);
}
)(window, document, "script", "https://www.google-analytics.com/analytics.js", "ga");
ga("create", "UA-92858206-1", "auto");
ga("send", "pageview");
</script>
</body>
</html>