Update all the shit

This commit is contained in:
Henri Burau
2024-06-07 00:07:29 +02:00
parent ddbfc32fb1
commit 18265f59df
43 changed files with 609 additions and 182 deletions

View File

@ -10,7 +10,13 @@ templ ServerStatus(status *models.CoD4ServerStatus) {
<i class="fa-solid fa-user"></i>
<span>{ fmt.Sprintf("%d/%d",len(status.Score), status.MaxPlayers) }</span>
</div>
<div class="p-1 rounded-md bg-slate-800">
<div class="py-1 px-3 rounded-md bg-slate-800 text-white">
@templ.Raw(status.Name)
</div>
}
templ ServerStatusError(err error) {
<div>
<span class="text-red-600">Failed to reach server</span>
</div>
}