-
Notifications
You must be signed in to change notification settings - Fork 30
/
index.html
331 lines (288 loc) · 8.05 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
<!doctype html>
<html>
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<title id="page-title">Mahlowat</title>
<script defer src="js/fontawesome-all.min.js"></script>
<style>
html {
height: 100%;
}
body {
margin-top: 1rem;
display: flex;
align-items: center;
justify-content: center;
min-height: 100%;
}
.container {
padding-bottom: 5rem;
}
#pagination {
display: flex;
flex-flow: row wrap;
}
.result-detail-header,
.result-detail-footer {
cursor: pointer;
}
.progress-bar {
text-align: left;
padding-left: 0.5rem;
font-weight: bold;
}
.result-summary-row {
margin-bottom: 0.2rem;
}
.card {
margin-bottom: 0.5rem;
}
.btn,
.badge {
white-space: normal;
}
.btn-select {
margin-bottom: 0.5rem;
}
#thesis-card {
min-height: 14rem;
margin-bottom: 2rem;
}
#thesis-more {
margin-top: 0.5rem;
}
@media (max-width: 767px) {
.left-answer-row {
margin-right: -25px;
}
.right-answer-row {
margin-left: -25px;
}
}
.remaining-progress-bar {
background-color: rgba(255, 255, 255, 0);
}
#mahlowat,
#result {
display: none;
}
#swype-info {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 500;
width: 100%;
height: 100%;
display: none;
}
#swype-info-content {
width: 80%;
height: 50%;
padding: 1rem;
position: relative;
float: left;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#swype-info-message {
width: 80%;
padding: 1rem;
position: relative;
float: left;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
</head>
<body>
<div class="modal fade" id="QAModal" tabindex="-1" role="dialog" aria-labelledby="QAModalTitle" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="qa-modal-title">qa-modal-title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body" id="qa-modal-body">
qa-modal-body
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal" id="btn-qa-modal-close">btn-qa-modal-close</button>
</div>
</div>
</div>
</div>
<div id="swype-info" class="d-md-none">
<div id="swype-info-content" class="bg-light text-light">
<div id="swype-info-message" class="text-center text-info">
<i class="fas fa-arrow-left"></i>
<i class="fas fa-hand-point-up"></i>
<i class="fas fa-arrow-right"></i>
<p id="swype-info-message-text">swype-info-message-text</p>
<button class="btn btn-info" id="btn-swype-info-ok">btn-swype-info-ok</button>
</div>
</div>
</div>
<div id="start" class="container">
<div class="jumbotron">
<h1 class="display-4 text-center">
<img src="img/mahlowat_logo.png" />
</h1>
<p class="lead text-center" id="start-subtitle">start-subtitle</p>
<hr class="my-4">
<div id="start-explanatory-text">
start-explanatory-text
</div>
<p class="lead text-center">
<button class="btn btn-primary btn-lg" id="btn-start">btn-start</button>
</p>
<p class="lead text-center">
<button class="btn btn-secondary" id="btn-start-show-qa">btn-start-show-qa</button>
</p>
<div id="error-msg" class="text-center"></div>
</div>
</div>
<div id="mahlowat" class="container">
<div class="row">
<div class="col">
<nav aria-label="pagination" class="d-none d-sm-block">
<ul class="pagination pagination-sm" id="pagination"></ul>
</nav>
</div>
<div class="col-auto">
<img src="img/mahlowat_logo.png" />
</div>
</div>
<div class="progress" style="height: 0.2rem;">
<div id="overall-progress-bar" class="progress-bar" role="progressbar" style="width:0%"></div>
</div>
<div class="card" id="thesis-card">
<div class="card-body">
<h5 class="card-title" id="thesis-number">thesis-number</h5>
<p class="card-text lead" id="thesis-text">thesis-text</p>
<button class="btn btn-info" id="btn-toggle-thesis-more">
<i class="fas fa-info-circle"></i>
<span id="btn-toggle-thesis-more-text">btn-toggle-thesis-more-text</span>
</button>
<div class="font-italic" id="thesis-more">
thesis-more
</div>
</div>
</div>
<div class="row">
<div class="col-12 text-center">
<button class="btn btn-light btn-select" id="btn-important">
btn-important
</button>
</div>
</div>
<div class="row">
<div class="col-6">
<div class="row left-answer-row">
<div class="col-12 col-md-6">
<button class="btn btn-success btn-block btn-select" id="btn-yes">
<span class="d-md-none d-block">
<i class="fas fa-check fa-2x"></i>
</span>
<span class="d-none d-md-inline">
<i class="fas fa-check"></i>
</span>
<span id="btn-yes-text">btn-yes-text</span>
</button>
</div>
<div class="col-12 col-md-6">
<button class="btn btn-warning btn-block btn-select" id="btn-neutral">
<span class="d-md-none d-block">
<i class="far fa-circle fa-2x"></i>
</span>
<span class="d-none d-md-inline">
<i class="far fa-circle"></i>
</span>
<span id="btn-neutral-text">btn-neutral-text</span>
</button>
</div>
</div>
</div>
<div class="col-6">
<div class="row right-answer-row">
<div class="col-12 col-md-6">
<button class="btn btn-danger btn-block btn-select" id="btn-no">
<span class="d-md-none d-block">
<i class="fas fa-ban fa-2x"></i>
</span>
<span class="d-none d-md-inline">
<i class="fas fa-ban"></i>
</span>
<span id="btn-no-text">btn-no-text</span>
</button>
</div>
<div class="col-12 col-md-6">
<button class="btn btn-secondary btn-block btn-select" id="btn-skip">
<span class="d-md-none d-block">
<i class="fas fa-minus fa-2x"></i>
</span>
<span class="d-none d-md-inline">
<i class="fas fa-minus"></i>
</span>
<span id="btn-skip-text">btn-skip-text</span>
</button>
</div>
</div>
</div>
</div>
<hr>
<div class="row">
<div class="text-left col-6">
<button class="btn btn-sm btn-light" id="btn-mahlowat-show-start">btn-mahlowat-show-start</button>
<button class="btn btn-sm btn-light" id="btn-mahlowat-show-qa">btn-mahlowat-show-qa</button>
</div>
<div class="text-right col-6">
<button class="btn btn-sm btn-light" id="btn-mahlowat-skip-remaining-theses">
btn-mahlowat-skip-remainng-theses</button>
</div>
</div>
</div>
<div id="result" class="container">
<h4 id="title-results">title-results</h4>
<div class="row" id="result-summary-row">
<div class="card col-sm-8 offset-sm-2">
<div class="card-body">
<h5 class="card-title" id="title-results-summary">title-results-summary</h5>
<div id="result-summary">
</div>
</div>
</div>
</div>
<p class="text-center" id="text-result-below-summary">
text-result-below-summary
</p>
<h5 id="title-results-details">title-results-details</h5>
<div id="result-detail">
</div>
<p class="text-center">
<small>
<button class="btn btn-sm btn-light" id="btn-results-show-start">btn-results-show-start</button>
<button class="btn btn-sm btn-light" id="btn-results-show-qa">btn-results-show-qa</button>
</small>
</p>
</div>
<script src="js/jquery-3.7.1.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/hammer.min.js"></script>
<!-- Select (uncomment) exactly one of the following languages-->
<script src="lang/de_de.js"></script>
<!-- <script src="lang/en_gb.js"></script> -->
<!-- <script src="lang/fr_fr.js"></script> -->
<!-- end languages-->
<script src="js/mahlowat.js"></script>
</body>
</html>