-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
199 lines (191 loc) · 10.2 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
<!doctype html>
<html>
<head>
<!-- META -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=0"/>
<meta charset="UTF-8"/>
<title>WolfenSheep</title>
<!-- CSS -->
<link rel="stylesheet" href="style/normalize.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="style/material.light_blue-orange.min.css" />
<link href="//fonts.googleapis.com/css?family=Roboto:400,100,500,300italic,500italic,700italic,900,300">
<link rel="stylesheet" href="./style/main.css" />
<!-- JS -->
<script defer src="scripts/lib/material.min.js"></script>
<script data-main="app" src="scripts/lib/require.js"></script>
<!-- icons -->
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="icon/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="icon/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="icon/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="icon/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="icon/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="icon/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="icon/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="icon/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="icon/favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="icon/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="icon/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="icon/favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="icon/favicon-128.png" sizes="128x128" />
<meta name="application-name" content=" "/>
<meta name="msapplication-TileColor" content="#FFFFFF" />
<meta name="msapplication-TileImage" content="icon/mstile-144x144.png" />
<meta name="msapplication-square70x70logo" content="icon/mstile-70x70.png" />
<meta name="msapplication-square150x150logo" content="icon/mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="icon/mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="icon/mstile-310x310.png" />
</head>
<body scroll="no" style="overflow: hidden">
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<div class="mdl-layout-spacer"></div>
<span class="mdl-layout-title">
Cycle: <span class="cycle_counter">0</span>
</span>
|
<span class="mdl-layout-title">
Agents: <span class="agent_quantity">0</span>
</span>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">WolfenSheep</span>
<!-- Navigation -->
<nav class="mdl-navigation">
<!-- TODO -->
<button class="
mdl-button
mdl-js-button
mdl-button--raised
mdl-js-ripple-effect
mdl-button--colored
mdl-button--full
input-button-cancel-worker
" disabled>
Cancel World Creation
</button>
<button class="
mdl-button
mdl-js-button
mdl-button--raised
mdl-js-ripple-effect
mdl-button--accent
mdl-button--full
input-button-add-agent
" disabled>
Add Agent
</button>
</nav>
</div>
<main class="mdl-layout__content" style="height: 100%">
<div class="page-content" style="height: 100%">
<div class="mdl-grid world-creation-form">
<div class="mdl-layout-spacer"></div>
<div class="mdl-cell mdl-cell--4-col">
<div class="mdl-grid mdl-grid--bleed">
<div class="
mdl-textfield
mdl-js-textfield
mdl-textfield--floating-label
mdl-cell mdl-cell--12-col
">
<input class="mdl-textfield__input input-world-seed" type="text">
<label class="mdl-textfield__label" for="sample2">Seed</label>
</div>
</div>
<div class="mdl-grid mdl-grid--bleed">
<div class="
mdl-textfield
mdl-js-textfield
mdl-textfield--floating-label
mdl-cell mdl-cell--6-col
">
<input class="mdl-textfield__input input-world-width"
type="number"
step="1"
min="1"
max="1000">
<label class="mdl-textfield__label" for="sample2">Width</label>
<span class="mdl-textfield__error">Input is not a number!</span>
</div>
<div class="
mdl-textfield
mdl-js-textfield
mdl-textfield--floating-label
mdl-cell mdl-cell--6-col
">
<input class="mdl-textfield__input input-world-height"
type="number"
step="1"
min="1"
max="1000">
<label class="mdl-textfield__label" for="sample2">Height</label>
<span class="mdl-textfield__error">Input is not a number!</span>
</div>
</div>
<div class="mdl-grid mdl-grid--bleed">
<button class="
mdl-button
mdl-js-button
mdl-button--raised
mdl-js-ripple-effect
mdl-button--accent
mdl-button--full
mdl-cell mdl-cell--12-col
input-world-generate
">
Generate
</button>
</div>
</div>
<div class="mdl-layout-spacer"></div>
</div>
<div class="mdl-grid world-generation-progress is-hidden">
<div class="mdl-layout-spacer"></div>
<div class="mdl-cell mdl-cell--10-col">
<div class="mdl-grid mdl-grid--bleed container">
<img class="loading-animation" src="./assets/loading.gif" />
</div>
</div>
<div class="mdl-layout-spacer"></div>
</div>
<div class="CanvasArea is-hidden" style="width:100%; height:100%">
<canvas id="canvas" style="width:100%; height:100%"></canvas>
<div id="infobox"
style="
position: absolute;
width:100%;
height: 100px;
bottom: 0;
text-align: center;
overflow: hidden;
">
<div style="
position: absolute;
z-index: 1;
background-color: white;
opacity: .8;
width: 100%;
height: 100%;
margin-bottom: -100%;
"></div>
<div id="infospace"
style="
position: absolute;
z-index: 2;
width: 100%;
height: 100%;
font-size: 8px;
line-height: 10px;
">
</div>
</div>
</div>
</div>
</main>
</div>
</body>
</html>