remove servers which don't reply
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
28c830acfc
commit
c36e6b1947
5 changed files with 32 additions and 12 deletions
|
@ -10,7 +10,7 @@
|
|||
<div class="container mx-auto px-4 sm:px-8">
|
||||
<div class="py-8">
|
||||
<div>
|
||||
<h2 class="text-2xl font-semibold leading-tight">{{.Region}}</h2>
|
||||
<h2 class="text-2xl font-semibold leading-tight text-white">{{.Region}}</h2>
|
||||
</div>
|
||||
{{range $gamemode := $gamemodes -}}
|
||||
{{range $gamemodeCount := $gamemodesCount -}}
|
||||
|
@ -38,6 +38,7 @@
|
|||
<tbody>
|
||||
{{range $server := $servers -}}
|
||||
{{if eq $gamemode.ID $server.GamemodeID -}}
|
||||
{{if ne $server.Map "Server didn't reply." -}}
|
||||
<tr id="content">
|
||||
<td class="px-5 border-b border-gray-200 bg-white" id="flag">
|
||||
{{range $flag := $flags -}}
|
||||
|
@ -61,6 +62,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
{{- end}}
|
||||
{{- end}}
|
||||
{{- end}}
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Reference in a new issue