blob: 6afe45e01dcf1960e77d83e69770326701081ed7 (
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
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?=SITE_TITLE?> - <?=$page['title']?></title>
<?php // header includes
////////////////////////////////////////////////////////////////////////
Render::view('components/header_includes');
?>
</head>
<body class="classroom">
<?php // top-bar
////////////////////////////////////////////////////////////////////////
Render::view('components/top_bar', [
'id' => 0,
'label' => '',
'parents' => []
]);
?>
<div class="main-content container page-container">
<div class="lesson-view">
<!-- page Title -->
<h3>
<?=$page['title']?>
</h3>
<!-- page body -->
<div class="article-body">
<?php
$parsedown = new Parsedown();
echo $parsedown->text($page['body']);
?>
</div>
</div>
</div>
<footer>
<div class="container">
<?php // render footer
////////////////////////////////////////////////////////////////
Render::view('components/footer', [ 'entity' => $entity ]);
?>
</div>
</footer>
<script src="/assets/js/classroom.js"></script>
<script src="/assets/js/lesson-features.js"></script>
</body>
</html>
|