-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.html
212 lines (207 loc) · 10.4 KB
/
settings.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript">
var version = new Date().toISOString();
var scripts = [
"common",
"classes",
"common-layer",
"common-reveal",
"common-animation",
"settings"
];
var cssObjects = [
"common"
];
cssObjects.forEach((obj) => {
var script = document.createElement('link');
script.setAttribute('rel', 'stylesheet');
script.setAttribute('href', `css/${obj}.css?${version}`);
document.head.appendChild(script);
});
scripts.forEach((obj) => {
var script = document.createElement('script');
script.setAttribute('type', 'text/javascript');
script.setAttribute('src', `js/${obj}.js?${version}`);
document.head.appendChild(script);
});
</script>
<title></title>
<script type="text/javascript">
$(document).ready(() => {
setTimeout(() => {
ExecuteStart();
}, 800);
});
</script>
<style type="text/css">
.reveal-panel {
width: 100%;
height: calc(100vh - 55px);
overflow-y: scroll;
}
</style>
</head>
<body>
<div>
<ul class="nav nav-tabs" role="tablist">
<li role="presentation"><a onclick="ReloadSettings()">Reload</a></li>
<li role="presentation" class="active"><a href="#tab001" aria-controls="tab001" role="tab" data-toggle="tab">Settings</a></li>
<li role="presentation"><a href="#tab002" aria-controls="tab002" role="tab" data-toggle="tab">Layers</a></li>
<li role="presentation"><a href="#tab003" aria-controls="tab003" role="tab" data-toggle="tab">Map Reveals</a></li>
<li role="presentation"><a href="#tab004" aria-controls="tab004" role="tab" data-toggle="tab">Animations</a></li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="tab001" style="padding: 8px">
<table style="width: 100%;">
<tr>
<td style="width: 50px;vertical-align: top">
<div class="input-group input-group-sm">
<div class="input-group-btn">
<a class="btn btn-default" onclick="ReadLocalSettings()" title="Load Settings">
<i class="glyphicon glyphicon-open"></i> Open
</a>
</div>
</div>
</td>
<td style="width: 8px"> </td>
<td>
<div class="input-group input-group-sm" title="Global Show" style="margin-bottom: 3px">
<span class="input-group-addon" style="font-weight: bold">Fog:</span>
<div class="form-control input-sm">
<input type="range" min="0" max="1" step="0.1" id="numGlobalShow" value="0" oninput="SendChangeFog()" />
</div>
<div class="input-group-btn">
<a class="btn btn-default" onclick="ExecuteShowMap(true)" title="Show Map">
<i class="glyphicon glyphicon-triangle-left"></i>
</a>
<a class="btn btn-default" onclick="ExecuteShowMap(false)" title="Hide Map">
<i class="glyphicon glyphicon-triangle-right"></i>
</a>
</div>
<span class="input-group-addon" style="font-weight: bold">Amt:</span>
<input type="number" class="form-control input-sm" min="0" max="3" step="0.01" id="numGlobalShowStep" value="0.5" />
</div>
</td>
</tr>
</table>
<table style="width: 100%">
<tr>
<td style="width: 175px">
<div id="divShowGrid"></div>
</td>
<td style="width: 175px">
<div id="divShowCoords"></div>
</td>
<td>
<div id="divParallaxAnim"></div>
</td>
</tr>
<tr>
<td><div id="divShowAllLayer"></div></td>
<td><div id="divShowMapRevealNames"></div></td>
<td><div id="divShowAllMapReveal"></div></td>
</tr>
<tr>
<td colspan="2">
<div class="input-group input-group-sm" title="Displacement" style="margin-bottom: 3px">
<span class="input-group-addon" style="font-weight: bold">Move:</span>
<input type="number" class="form-control input-sm" min="0" max="10" step="1" id="numDisplacement" value="1" />
<span class="input-group-addon" style="font-weight: bold">Direction:</span>
<select id="ddlDisplacement" class="form-control input-sm">
<option value="X1">Left</option>
<option value="X2">Right</option>
<option value="Y1">Down</option>
<option value="Y2">Top</option>
</select>
<div class="input-group-btn">
<a class="btn btn-default" onclick="ExecuteCommand(12)" title="Execute">
<i class="glyphicon glyphicon-triangle-right"></i>
</a>
</div>
</div>
</td>
<td style="text-align: right">
<div class="input-group input-group-sm">
<div class="input-group-btn">
<a class="btn btn-default btn-sm" onclick="ExecuteCommand(8)">
<i class="glyphicon glyphicon-arrow-up"></i>
</a>
<a class="btn btn-default" onclick="ExecuteCommand(9)">
<i class="glyphicon glyphicon-arrow-down"></i>
</a>
<a class="btn btn-default" onclick="ExecuteCommand(10)">
<i class="glyphicon glyphicon-arrow-left"></i>
</a>
<a class="btn btn-default" onclick="ExecuteCommand(11)">
<i class="glyphicon glyphicon-arrow-right"></i>
</a>
</div>
</div>
</td>
</tr>
<tr>
<td colspan="3">
</td>
</tr>
</table>
</div>
<div role="tabpanel" class="tab-pane" id="tab002">
<div class="reveal-panel">
<table style="width: calc(100% - 10px);margin: 5px 0 0 5px" border="1">
<thead>
<tr>
<th style="padding-left: 5px">Layer</th>
<th style="width: 65px; text-align: center">Show</th>
<th style="width: 65px;text-align: center">Overlay</th>
<th style="width: 65px;text-align: center"></th>
</tr>
</thead>
<tbody id="tbLayers"></tbody>
</table>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="tab003">
<div class="reveal-panel">
<table style="width: calc(100% - 10px);margin: 5px 0 0 5px" border="1">
<thead>
<tr>
<th style="padding-left: 5px">Reveal</th>
<th style="width: 65px; text-align: center">Show</th>
</tr>
</thead>
<tbody id="tbReveals"></tbody>
</table>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="tab004">
<div class="reveal-panel">
<table style="width: calc(100% - 10px);margin: 5px 0 0 5px" border="1">
<thead>
<tr>
<th style="padding-left: 5px">Animation</th>
<th style="width: 65px; text-align: center">
<label style="margin-bottom: 0 !important;">
<input type="checkbox" style="margin-top: 0px;" onclick="CheckAllAnimations(this)" /> <span>Show</span>
</label>
</th>
<th style="width: 65px; text-align: center"></th>
</tr>
</thead>
<tbody id="tbAnimations"></tbody>
</table>
</div>
</div>
</div>
</div>
</body>
</html>