All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 46s
64 lines
1.9 KiB
HTML
64 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
{{ template "header" . }}
|
|
</head>
|
|
<body data-bs-theme="dark" class="h-auto">
|
|
<div class="container-xxl bg-dark mt-4 py-4 px-3 rounded-3 text-light">
|
|
<div class="text-secondary-emphasis border-bottom border-secondary-subtle">
|
|
<h1 class="text-center fw-bold">Infantry Skill Calculator</h1>
|
|
<p class="lead text-center fs-6 text-secondary fst-italic">By [GCG]FinalEnd4</p>
|
|
</div>
|
|
<div class="row">
|
|
<!-- Home-Clan Column -->
|
|
<div class="col-md-6 border-end border-secondary-subtle px-3 pb-4">
|
|
<h4 class="text-center my-3 text-primary fs-3">
|
|
<i class="bi bi-people-fill me-3"></i>Heim-Team<i class="bi bi-people-fill ms-3"></i>
|
|
</h4>
|
|
<!-- Clan Selection -->
|
|
{{ template "home_clan_bar" . }}
|
|
|
|
<!-- Player List -->
|
|
{{ template "home_player_list" . }}
|
|
</div>
|
|
|
|
<!-- Opponent-Clan Column -->
|
|
<div class="col-md-6 px-3 pb-4">
|
|
<h4 class="text-center my-3 text-danger fs-3">
|
|
<i class="bi bi-people-fill me-3"></i>Gegner-Team<i class="bi bi-people-fill ms-3"></i>
|
|
</h4>
|
|
<!-- Clan Selection -->
|
|
{{ template "opp_clan_bar" . }}
|
|
|
|
<!-- Player List -->
|
|
{{ template "opp_player_list" . }}
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Bottom Controls -->
|
|
{{ template "bottom_controls" . }}
|
|
</div>
|
|
|
|
{{ if not (eq .UserRole "READER")}}
|
|
{{ template "delete_clan" . }}
|
|
{{ template "add_clan" . }}
|
|
{{ template "edit_clan" . }}
|
|
|
|
{{ template "add_player" . }}
|
|
{{ template "delete_player" . }}
|
|
{{ template "edit_player" . }}
|
|
{{ end}}
|
|
|
|
{{/* template "settings" . */}}
|
|
|
|
{{template "full_calc" .}}
|
|
|
|
<script lang="javascript">
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
loadClans();
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|