-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
121 lines (99 loc) · 3.65 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
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<title>Manufractoria</title>
<!-- bower:css -->
<!-- endbower -->
<link rel="stylesheet" href="css/build.css" />
<script type="text/javascript" src="libs/browser-polyfill.min.js"></script>
<script type="text/javascript" src="libs/system.js"></script>
<script type="text/javascript">
if ('addEventListener' in document) {
document.addEventListener(
'DOMContentLoaded',
function() {
FastClick.attach(document.body);
var allSvg = document.querySelectorAll("svg");
Array.prototype.forEach.call(allSvg, function(svg) {
FastClick.attach(svg);
})
}, false);
}
</script>
<script type="text/javascript" src="all.js"></script>
</head>
<body>
<div class="row hide-fullscreen">
<div class="small-12 medium-6 small-only-text-center columns">
<h1>Manufractoria</h1>
</div>
</div>
<div class="row">
<div class="game-container">
<svg id="main-svg"></svg>
</div>
</div>
<div class="row hide-fullscreen">
<div class="columns"><p></p></div>
</div>
<div class="row large-center hide-for-touch hide-fullscreen">
<!-- <div class="medium-4 small-only-text-center columns">
<ul class="button-group radius" id="controls">
<li><button class="button small success icon ion-play" data-action="run"></button></li>
<li><button class="button small secondary icon ion-pause" data-action="pause"></button></li>
<li><button class="button small alert icon ion-stop" data-action="stop"></button></li>
</ul>
</div> -->
<div class="medium-5 columns end">
<ul class="controls-desc">
<li><kbd>1-9</kbd> select tile</li>
<li><kbd>w</kbd> up <kbd>s</kbd> down <kbd>a</kbd> left <kbd>d</kbd> right</li>
<li><kbd>r</kbd> rotate</li>
<li><kbd>m</kbd> mirror</li>
<li><kbd>x</kbd> clear/delete</li>
</ul>
</div>
</div>
<form>
<div class="row form hide-fullscreen">
<div class="medium-9 large-9 columns">
<div class="row collapse prefix-radius" id="link-form">
<label>Make a link to your program</label>
<div class="small-3 medium-2 columns">
<button type="button" class="button prefix">Generate</button>
</div>
<div class="small-9 medium-10 columns">
<input type="text"></input>
</div>
</div>
</div>
</div>
</form>
<form>
<div class="row form hide-fullscreen">
<div class="medium-9 large-9 columns">
<div class="row collapse prefix-radius" id="load-form">
<label class="secondary">Load a level string</label>
<div class="small-3 medium-2 columns">
<button type="button" class="button prefix">Load</button>
</div>
<div class="small-9 medium-10 columns">
<input type="text"></input>
</div>
</div>
</div>
</div>
</form>
<!-- bower:js -->
<!-- endbower -->
<script>
$(document).foundation();
</script>
<script type="text/javascript" src="main.js"></script>
</body>
</html>