mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-09 16:38:32 +01:00
34 lines
1.5 KiB
HTML
34 lines
1.5 KiB
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="static/site.css">
|
|
<script src="static/buttons.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class=top-bar>
|
|
<button type="button" onclick=forward() class=top-button>Forward </button>
|
|
<button type="button" onclick=backward() class=top-button>Backward</button>
|
|
<button type="button" onclick=firstPage() class=top-button>Top 100 </button>
|
|
|
|
<input type="text" class=input-field placeholder="search player...">
|
|
<input type="number" class=input-field 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 %}
|
|
</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>
|