{% extends "base.html" %} {% block title %}Status servisa — Idriz Admin{% endblock %} {% block extra_css %} .summary { display: flex; gap: 14px; margin-bottom: 20px; } .card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; min-width: 130px; } .card .num { font-size: 26px; font-weight: 700; } .card .lbl { color: var(--muted); font-size: 13px; } table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; } th, td { text-align: left; padding: 12px 16px; font-size: 14px; } th { background: #fafbfc; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); } tr:not(:last-child) td { border-bottom: 1px solid var(--line); } .svc-name { font-weight: 600; } .svc-desc { color: var(--muted); font-size: 12.5px; } .svc-unit { color: var(--muted); font-size: 12px; font-family: ui-monospace, monospace; } .badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12.5px; font-weight: 600; } .badge.ok { background: #e6f5ec; color: var(--ok); } .badge.warn { background: #fdf1dd; color: var(--warn); } .badge.bad { background: #fdecec; color: var(--bad); } .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: middle; } .dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--bad); } .enabled-yes { color: var(--ok); } .enabled-no { color: var(--muted); } .foot { color: var(--muted); font-size: 13px; margin-top: 16px; } .refresh { float: right; font-size: 13px; text-decoration: none; color: var(--accent); } {% endblock %} {% block content %} ↻ Osvježi

Status servisa

Pregled sistemskih i korisničkih servisa mašine idriz.

{{ ok }}/{{ total }}
servisa aktivno
{% for s in services %} {% endfor %}
Servis Stanje Autostart Uptime PID Memorija
{{ s.label }}
{{ s.desc }}
{{ s.unit }}{% if s.scope == 'user' %} (user){% endif %}
{{ s.active }}{% if s.sub and s.sub != s.active %} / {{ s.sub }}{% endif %} {% if s.enabled == 'enabled' %}✓ enabled {% elif s.enabled == 'static' %}static {% else %}{{ s.enabled }}{% endif %} {{ s.uptime }} {% if s.pid and s.pid != '0' %}{{ s.pid }}{% else %}—{% endif %} {{ s.mem }}

Zadnje osvježeno: {{ now }}

{% endblock %}