mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-09 16:38:32 +01:00
40 lines
1.7 KiB
HTML
40 lines
1.7 KiB
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="static/site.css">
|
|
<script src="static/buttons.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<div class=top-bar>
|
|
<button id="button-backward" type="button" onclick=backward()
|
|
class=top-button>Backward </button>
|
|
<button id="button-forward" type="button" onclick=forward()
|
|
class=top-button>Forward</button>
|
|
<button id="button-first" type="button" onclick=firstPage()
|
|
class=top-button>Top 100 </button>
|
|
|
|
<input id="getPlayer" type="text" class=input-field
|
|
placeholder="search player...">
|
|
<input id="gotoRank" type="number" class=input-field-number
|
|
placeholder="goto rank...">
|
|
</div>
|
|
<div class=leaderboard-container>
|
|
<div class=colum-names>{{ columNames }}</div>
|
|
{% set count = start+1 %}
|
|
{% for player in playerList %}
|
|
{% if count % 2 == 0 %}
|
|
<div class=line-even>{{ player.getLineHTML(count) }}</div>
|
|
{% else %}
|
|
<div class=line-odd>{{ player.getLineHTML(count) }}</div>
|
|
{% endif %}
|
|
{% set count = count + 1 %}
|
|
{% endfor %}
|
|
{{ endOfBoardIndicator }}
|
|
</div>
|
|
<div class=footer>
|
|
<a class="footerLink" href="https://blog.atlantishq.de/about">Impressum/Legal</a>
|
|
<a class="footerLink mid" href="https://github.com/FAUSheppy/">Other Projects</a>
|
|
<a class="footerLink" href="https://github.com/FAUSheppy/skillbird">Star on GitHub</a>
|
|
</div>
|
|
</body>
|
|
</html>
|