Individualisations

This commit is contained in:
Timon Ostertun
2020-09-21 21:06:16 +02:00
parent 7e8d863e26
commit 62cb4408cf
21 changed files with 1810 additions and 1632 deletions

View File

@@ -1,22 +1,14 @@
<?php
$sp['output'] = '<div class="card bg-transparent" data-card-height="cover">
<div class="card-center text-center">
<i class="fa fa-exclamation-triangle fa-8x color-red2-dark"></i>
<h4 class="mb-5 mt-3">Startseite</h4>
<p>
Diese Seite befindet sich noch in der Entwicklung.
</p>
<div class="row ml-5 mr-5 mt-5 mb-0">
<div class="col-6">
<a href="' . LINK_PRE . 'index" class="btn btn-m rounded-sm btn-full bg-red2-dark text-uppercase font-900">Zur Startseite</a>
</div>
<div class="col-6">
<a href="' . LINK_PRE . 'contact" class="btn btn-m rounded-sm btn-full bg-red2-dark text-uppercase font-900">Kontakt</a>
</div>
</div>
</div>
</div>';
$content = "<h1>$_CLASS[name]</h1>";
$content .= "<p>$_CLASS[desc]</p>";
$sp['output'] .= $tpl->load('card', [$content]);
$content = "<h2>Deine Favoriten</h2>";
$thead = "<tr><th>Segler</th><th>Rangliste 2020</th></tr>";
$content .= $tpl->load('table', [$thead, 'html-id' => 'table-favorites', 'css-class' => 'mb-0 mt-3']);
$sp['output'] .= $tpl->load('card', [$content]);
?>