Added ranking, calc

This commit is contained in:
Timon Ostertun
2020-09-26 18:08:34 +02:00
parent 9d1ba271f3
commit 9e30ed5e9c
11 changed files with 897 additions and 4 deletions

20
server/content/result.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
$sp['title'] = 'Ergebnisse - Regatten.net ' . $_CLASS['name'];
$sp['backbutton'] = true;
// Title, Inputs
$content = '<h1 id="h1-title"></h1>';
$content .= '<p id="p-title"></p>';
$sp['output'] .= $tpl->load('card', [$content]);
// Results
$content = '<p id="p-info" class="mb-0"></p>';
$content .= $tpl->load('table', ['html-id' => 'table-results', 'css-class' => 'mb-0 text-nowrap']);
$sp['output'] .= $tpl->load('card', [$content, 'html-id' => 'card-results']);
$sp['scripts'] .= $scripts->load('result');
?>