aboutsummaryrefslogtreecommitdiff
path: root/app/views/my_courses/courseexport.php
blob: b08c69d1b74923f6bed9b25a47385e0736c7d6bd (plain)
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
<?php
/**
 * @var array|null $sem_courses
 * @var array $sem_data
 */
?>
<html>
    <head>
       <meta charset="UTF-8">
        <title><?= _('Export Veranstaltungsübersicht') ?></title>
        <style>
            table {
                border: 1px solid #000;
            }
            th {
                font-weight: bold;
                background-color: #c7c7c7;
                border: 1px solid #a8a8a8;
            }
            td {
                border: 1px solid #c7c7c7;
            }
        </style>
    </head>
    <body>
    <? if ($sem_courses && is_array($sem_courses)) : ?>
        <h1><?= _('Meine Veranstaltungen'); ?></h1>
        <div id="my_seminars">
        <? foreach ($sem_courses as $sem_key => $course_group) : ?>
            <h2><?= htmlReady($sem_data[$sem_key]['name']) ?></h2>
            <?= $this->render_partial('my_courses/_exportcourse', [
                'course_collection' => $course_group,
            ]) ?>
        <? endforeach ?>
        </div>
    <? endif ?>
    </body>
</html>