{% extends "base.html" %}
{% block content %}

<!-- Bara de status: mereu vizibila -->
<div id="status-bar" class="status-bar card"
     hx-get="/_fragments/status?tab={{ active_tab }}"
     hx-trigger="load, every 15s, trimiteriChanged from:body"
     hx-swap="outerHTML">
  <div class="empty muted" style="padding:8px 0;">se incarca starea…</div>
</div>

<!-- Panou activ: randat server-side la full load (Acasa implicit, sau ?tab= prin meniu) -->
<div id="tab-panel" class="tab-panel">
  {{ panel_html | safe }}
</div>

{% endblock %}
