mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-06 07:01:36 +01:00
61 lines
2.5 KiB
HTML
61 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Maps</title>
|
|
<meta name="Description" content="Insurgency Map Overview">
|
|
<link rel="stylesheet" type="text/css" href="/static/site.css">
|
|
<link rel="shortcut icon" href="/static/defaultFavicon.ico">
|
|
|
|
<!-- needed for @media-css mofiers -->
|
|
<meta content="width=device-width, initial-scale=1" name="viewport" />
|
|
|
|
<!-- Font Awesome -->
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
|
|
<!-- Bootstrap core CSS -->
|
|
<link href="static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
<!-- Material Design Bootstrap -->
|
|
<link href="static/bootstrap/css/mdb.min.css" rel="stylesheet">
|
|
|
|
<script src="static/bootstrap/js/jquery.js"></script>
|
|
<script src="static/bootstrap/js/popper.js"></script>
|
|
<script src="static/bootstrap/js/bootstrap.js"></script>
|
|
<script src="static/bootstrap/js/mdb.min.js"></script>
|
|
|
|
</head>
|
|
<body class="bg-special">
|
|
{% include 'navbar.html' %}
|
|
<div class="container mt-3 mb-3" role="main">
|
|
<table id="tableMain" class="table table-striped table-bordered table-sm"
|
|
cellspacing="0" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th class="th-sm">Map</th>
|
|
<th class="th-sm">Insurgent Win</th>
|
|
<th class="th-sm">Security Win</th>
|
|
<th class="th-sm">Average Time</th>
|
|
<th class="th-sm">Rating System Deviation</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for m in maps %}
|
|
<tr>
|
|
<td>{{ m.mapName }}</td>
|
|
<td>{{ '%0.2f' | format(m.insurgentWinPercent) }}%</td>
|
|
<td>{{ '%0.2f' | format(m.securityWinPercent) }}%</td>
|
|
<td>{{ m.averageTime }}</td>
|
|
{% if m.ratingSystemDeviation >= 0 %}
|
|
<td style="color: green;">+{{ '%0.2f' | format(m.ratingSystemDeviation) }}%
|
|
</td>
|
|
{% else %}
|
|
<td style="color: red;">{{ '%0.2f' | format(m.ratingSystemDeviation) }}%
|
|
</td>
|
|
{% endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% include 'footer.html' %}
|
|
</body>
|
|
</html>
|