This repository has been archived on 2023-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
web/app/view/pages/race/results.php

23 lines
573 B
PHP
Raw Normal View History

2022-04-26 19:55:10 +00:00
<div id="alertBox" class="alert danger hidden" role="alert"></div>
2022-04-26 21:20:32 +00:00
<h1>Resultater</h1>
2022-04-26 19:55:10 +00:00
<br>
<noscript>
Denne siden krever JavaScript
</noscript>
<div id="rankingTable">
Laster inn...
</div>
2022-05-08 20:00:11 +00:00
<script src="<?=$this->config['root_url']?>static/js/ResultService.js"></script>
2022-04-26 19:55:10 +00:00
<script>
document.addEventListener('DOMContentLoaded', () => {
2022-05-08 20:00:11 +00:00
alertBox = document.getElementById("alertBox");
rankingTable = document.getElementById("rankingTable");
new ResultService(alertBox, rankingTable, '<?=$this->config['root_url']?>api/race/results.php?h=');
2022-04-26 19:55:10 +00:00
});
</script>