blob: 074aa42d0bc3f29778762ac3cc3e0ea83de720ac (
plain) (
blame)
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
|
<div class="panel panel-default">
<div class="panel-heading">
{{lang_headingAllExamLectures}}
</div>
<div class="panel-body">
<div class="slx-space">
<table class="table stupidtable">
<thead>
<tr>
<th data-sort="string">{{lang_lectureName}}</th>
<th data-sort="int">{{lang_timeFrame}}</th>
<th></th>
</tr>
</thead>
<tbody>
{{#pending_lectures}}
<tr class="{{class}}">
<td>
{{displayname}}
<div class="small">
<a href="mailto:{{email}}">{{lastname}}, {{firstname}}</a>
</div>
</td>
<td data-sort-value={{starttime}} width="30%" class="text-nowrap">
{{starttime_s}}   {{endtime_s}}
<div class="small">
{{lang_duration}}: {{duration_s}}
{{^duration_s}}{{lang_moreThanOneDay}}{{/duration_s}}
</div>
</td>
<td width="20%">
<div class="pull-right text-nowrap">
<a class="btn btn-sm btn-default" role="button" onclick="slxShow({{starttime}}, {{endtime}})"><span class="glyphicon glyphicon-eye-open"></span></a>
<a href="?do=exams&action=add&lectureid={{lectureid}}" class="btn btn-sm btn-success {{^allowedToAdd}}disabled{{/allowedToAdd}}" role="button">
<span class="glyphicon glyphicon-plus-sign"></span>
<span class="hidden-sm">{{lang_addExam}}</span>
</a>
</div>
</td>
</tr>
{{/pending_lectures}}
{{#decollapse}}
<tr class="slx-decollapse">
<td colspan="3">
<span class="btn-group btn-group-justified">
<span class="btn btn-default btn-sm"><span class="glyphicon glyphicon-menu-down"></span></span>
</span>
</td>
</tr>
{{/decollapse}}
</tbody>
</table>
</div>
</div>
</div>
|