forked from ASKtraining/Training
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
332 lines (308 loc) · 18.1 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
---
layout: trainingsplan
title: '#ASKtraining'
permalink: /
---
<div id="MultipleContainers">
<div id="sidebar">
<div class="header">
<a href="#" id="close-sidebar-mobile"><i class="fas fa-times-circle"></i></a>
</div>
<div class="tags">
<h3><i class="fas fa-filter"></i> Filter Modules by tags</h3>
<ul id="wordcloud">
<li id="show-all-modules" class="selected">all</li>
<li>Web</li>
<li>Software</li>
<li>Hardware</li>
<li>Community</li>
<li>Organizational_Development</li>
<li>Media&Art</li>
<li>Data_Security</li>
<li>Open_Source</li>
<li>Repair</li>
</ul>
<div class="clearer"></div>
</div>
<div class="clearer"></div>
<ul id="module-list-side-bar" class="module-draggable-list">
{% for module in site.modules %}
<li id="{{ module.module.id }}" class="module {{ module.module.tag }}" data-duration="{{ module.module.duration }}" data-participants="{{ module.module.max-participants }}" data-trainer="{{ module.module.min-trainers }}" data-difficulty="{{ module.module.difficulty }}">
<div class="time">
<i class="far fa-clock"></i> <span class='clock-time'>03:00pm - 03:45pm</span>
<div class="edit-time">
<form>
<label>Duration:</label>
<input type="number" class="duration" placeholder="10" min="0" max="59">
<span>minutes</span>
<input class="submit button" type="button" value="Save">
<input class="close button" type="button" value="Close">
</form>
</div>
</div>
<div class="content">
<div class="options">
<a class="button add-module" src="#">Add Module</a>
<a class="info" href="#"><i class="fas fa-info-circle"></i></a> <a class="trash" href="#"><i class="fas fa-trash-alt"></i></a>
</div>
<h2>{{ module.module.name }}</h2>
<p class="intro">Introduction into the module</p>
<div class="thumbnail"><img src="assets/img/modules/{{ module.module.pic-url }}" class="thumbnail"></div>
<div class="module-meta">
<div class="module-meta">
<p class="module-duration"><i class="fas fa-hourglass-half"></i>{{ module.module.duration | divided_by:60 }} Hours {{ module.module.duration | modulo:60 }} Minutes</p>
<p class="difficulty-level"><i class="fas fa-graduation-cap"></i> ??? easy-medium</p>
<p class="material-costs"><i class="fas fa-dollar-sign"></i> ??? 61$ material costs</p>
</div>
</div>
<div class="resources">
<p class="sidebar">Resources included:
{% assign first = true %}
{% assign all_res_output = '' %}
{% for actual_res in module.module.res %}
{% for res in site.data.resources %}
{% if res.id == actual_res %}
{% if first == false %}
{{ '|' }}
{% endif %}
{% assign first = false %}
<a href="{{ res.url }}" target="_blank">{{ res.name }}</a>
{% endif %}
{% endfor %}
{% endfor %}
</p>
<ul class="resource-list">
<h4>Resources: </h4>
{% for actual_res in module.module.res %}
{% for res in site.data.resources %}
{% if res.id == actual_res %}
{% case res.difficulty %}
{% when 1 %}
{% assign diff_text = 'easy' %}
{% when 5 %}
{% assign diff_text = 'advanced' %}
{% else %}
{% assign diff_text = 'medium' %}
{% endcase %}
<li class="resource" data-duration="{{ res.duration }}" data-name="{{ res.name }}" data-cost="{{ res.cost }}" data-space="" data-internet="" data-power="">
<div class="time">
<i class="far fa-clock"></i> <span class='clock-time'>03:45pm - 05:15pm</span>
<div class="edit-time">
<form>
<label>Duration:</label>
<input type="number" class="duration" placeholder="{{ res.duration }}" min="0" max="240">
<span>minutes</span>
<input class="submit button" type="button" value="Save">
<input class="close button" type="button" value="Close">
</form>
</div>
</div>
<div class="content">
<a href="{{ res.url }}" class="button" target="_blank">Manual <i class="fas fa-file-download"></i></a>
<div><strong>{{ res.name }}</strong> | {{ diff_text }} | {{ res.duration }} minutes | {{ res.cost }} $</div>
</div>
<div class="clearer"></div>
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
</div>
<div class="overlay">
<i class="fas fa-arrows-alt"></i>
</div>
</div>
<div class="clearer"></div>
</li>
{% endfor %}
</ul>
<ul id="break-list-side-bar" class="breaks">
<li class="timebreak" data-duration="15">
<div class="time">
<a href="#"><i class="far fa-clock"></i> <span class='clock-time'>10:20am - 12:30am</span></a>
<div class="edit-time">
<form>
<label>Duration:</label>
<input type="number" class="duration" placeholder="15" min="0" max="59">
<span>minutes</span>
<input type="text" class="title" placeholder="Time Break">
<input class="submit button" type="button" value="Save">
<input class="close button" type="button" value="Close">
</form>
</div>
</div>
<div class="content">
<div class="options">
<a class="trash" href="#"><i class="fas fa-trash-alt"></i></a>
</div>
<p class="break-title">Time Break</p>
</div>
<div class="clearer"></div>
</li>
<li class="daybreak" data-duration="15" data-start="09:00">
<div class="time">
<a href="#"><i class="far fa-clock"></i> <span class='clock-time'>10:00am - 10:20pm</span></a>
<div class="edit-time">
<form>
<label>Start-Time:</label>
<input type="number" class="hours" placeholder="09" min="1" max="12">
<span>:</span>
<input type="number" class="minutes" placeholder="00" min="0" max="59">
<select class="am-or-pm">
<option value="am">am</option>
<option value="pm">pm</option>
</select>
<label>Duration:</label>
<input type="number" class="duration" placeholder="10" min="0" max="59">
<span>minutes</span>
<input type="text" class="title" placeholder="Introduction into the training">
<input class="submit button" type="button" value="Save">
<input class="close button" type="button" value="Close">
</form>
</div>
</div>
<div class="content">
<div class="options">
<a class="trash" href="#"><i class="fas fa-trash-alt"></i></a>
</div>
<p class="break-title">Day Break</p>
</div>
<div class="clearer"></div>
</li>
</ul>
<div class="footer">
<a href="#" class="help">?</a>
<p>CC-BY-SA 4.0 #ASKtraining<br /><a href="#">view on Github</a></p>
</div>
</div>
<div id="content">
<div class="title">Create your own trainings plan</div>
<p class="introduction">Here you can easily create your own training plan for your workshop. Find a training module that you want to use in the workshop and determine the order. The training configurator automatically calculates the times when each module or its resource starts. You can also customize the times for your sessions. At the end you can print your training plan and we wish you good luck for your training.</p>
<a href="#training-title" class="button">Start trainings plan</a>
<div id="training-plan">
<div class="training-plan-icon"><i class="fas fa-clipboard-list"></i></div>
<div id="edit-title-and-description">
<div class="edit-title-and-description-body">
<div class="edit-title-and-description-header">
<p>Edit training plan details</p>
<a class="close" href="#"><i class="fas fa-times-circle"></i></a>
</div>
<div class="edit-title-and-description-content">
<form>
<input type="text" class="title" placeholder="Title of the training">
<textarea class="description"></textarea>
<input id="submit-title" type="button" value="Save changes">
</form>
</div>
</div>
</div>
<h1 id="training-title">{{ page.title }} - Title of the Training <a id="edit-icon" class="edit" href="#edit-title-and-description">Edit title and description</a></h1>
<p id="training-description">Short description about the training.</p>
<ul id="module-list-training" class="training-list">
<div id="trainingstart" class="trainingstart" data-duration="15" data-start="09:00">
<div class="time">
<a href="#"><i class="far fa-clock"></i> <span class='clock-time'>10:00am - 10:20pm</span></a>
<div class="edit-time">
<form>
<label>Start-Time:</label>
<input type="number" class="hours" placeholder="09" min="1" max="12">
<span>:</span>
<input type="number" class="minutes" placeholder="00" min="0" max="59">
<select class="am-or-pm">
<option value="am">am</option>
<option value="pm">pm</option>
</select>
<label>Duration:</label>
<input type="number" class="duration" placeholder="15" min="0" max="240">
<span>minutes</span>
<input type="text" class="title" placeholder="Introduction into the training">
<input class="submit button" type="button">
<input class="close button" type="button" value="Close">
</form>
</div>
</div>
<div class="content">
<p class="break-title">Introduction into the training</p>
</div>
<div class="clearer"></div>
</div>
</ul>
<div class="clearer page-break"></div>
<div class="add-modules-breaks">
<p>Drag and Drop more Modules to add</p>
<a href="#" id="add-module-mobile" class="button">+ Module</a>
<a href="#" id="add-timebreak-mobile" class="button">+ Time Break</a>
<a href="#" id="add-daybreak-mobile" class="button">+ Day Brake</a>
</div>
</div>
<div class="summary">
<h2>Summary</h2>
<ul class="duration">
<li class="time-icon"><i class="far fa-clock"></i></li>
<li class="days"><span class="label">days</span><span id="summary-days"></span></li>
<li class="hours"><span class="label">hours</span><span id="summary-hours"></span></li>
<li class="minutes"><span class="label">minutes</span><span id="summary-minutes"></span></li>
<div class="clearer"></div>
</ul>
<p>total time of your training</p>
<div class="separator"></div>
<ul class="informations">
<li><i class="fas fa-cubes"></i><span id="number-of-modules"></span><span class="label">Number of modules</span></li>
<li><i class="fas fa-users"></i><span id="max-participants"></span><span class="label">Max. participants</span></li>
<li><i class="fas fa-chalkboard-teacher"></i><span id="min-trainers"></span><span class="label">Min. trainers</span></li>
<li><i class="fas fa-graduation-cap"></i><span id="difficulty"></span><span class="label">Difficulty level for trainers</span></li>
<div class="separator"></div>
<li><i class="fas fa-cube"></i><span id="number-of-resources"></span><span class="label">Number of resources</span></li>
<li><i class="fas fa-ruler-combined"></i><span id="training-space"></span><span class="label">Minimum training space</span></li>
<li><i class="fas fa-globe-europe"></i><span id="internet-needed"></span><span class="label">Internet needed</span></li>
<li><i class="fas fa-plug"></i><span id="power-needed"></span><span class="label">Power supply needed</span></li>
<div class="clearer"></div>
</ul>
</div>
<div class="resource-overview">
<h3>Resources</h3>
<table id="resource-table">
<tr>
<th class="quantity">Quantity</th>
<th class="resource-name">Name of the resource</th>
<th class="material-costs">Estimated Material Costs</th>
</tr>
<tr>
<td class="quantity"><input></input></td>
<td class="resource-name">LED Lamp</td>
<td class="material-costs">20 $</td>
</tr>
<tr>
<td class="quantity"><input></input></td>
<td class="resource-name">Open Training Guide</td>
<td class="material-costs">5 $</td>
</tr>
<tr>
<td class="quantity"><input></input></td>
<td class="resource-name">Solar Charger</td>
<td class="material-costs">40 $</td>
</tr>
<tr class="result">
<td colspan="2" class="label">Result:</td>
<td class="total-price">65 $</td>
</tr>
</table>
</div>
<div class="attachments">
<h3>Attachments</h3>
<div class="attachment">
<input type="checkbox" id="timetable" name="timetable" value="Timetable">
<label for="timetable"> Timetable <a href="#"><i class="fas fa-info-circle"></i></a></label>
</div>
<div class="attachment">
<input type="checkbox" id="materialchecklist" name="materialchecklist" value="materialchecklist">
<label for="materialchecklist"> Material checklist <a href="#"><i class="fas fa-info-circle"></i></a></label>
</div>
<div class="attachment">
<input type="checkbox" id="name-badges" name="name-badges" value="name-badges">
<label for="name-badges"> Name badges <a href="#"><i class="fas fa-info-circle"></i></a></label>
</div>
</div>
<button class="button print" onclick="window.print();" class="noPrint"><i class="fas fa-print"></i> Print</button>
</div>
</div>