{{define "partials/services_status.html"}}
<ul>
    {{range .Services}}
    <li>
        <strong>{{.Name}}</strong>
        {{if .Available}}
        <span class="status-badge status-ok">OK</span>
        {{else}}
        <span class="status-badge status-error">Erreur</span>
        {{end}}
        {{if .LatencyMs}}
        <small>({{.LatencyMs}}ms)</small>
        {{end}}
    </li>
    {{end}}
</ul>
{{end}}
