diff --git a/hbd/server/templates/settings.html b/hbd/server/templates/settings.html
index 390da3e..a51838c 100644
--- a/hbd/server/templates/settings.html
+++ b/hbd/server/templates/settings.html
@@ -3,943 +3,686 @@
{% include 'head.html' %}
{%- macro mpick(all_items, sel, cls) -%}
-
{%- if sel -%}{%- for v in sel[:2] -%}{{ v | e }}{%- endfor -%}{%- if sel|length > 2 %}+{{ sel|length - 2 }}{%- endif -%}{%- else -%}(none){%- endif -%}
+
{%- if sel -%}{%- for v in sel -%}{{ v | e }}{%- endfor -%}{%- else -%}(none — click to pick){%- endif -%}
{%- endmacro %}
{% include 'nav.html' %}
-
-
Settings
-
Edit server configuration — changes are staged until you publish them to .hb.yaml.
+ {% set is_admin = not current_user or current_user.admin %}
+ {% set by_id = {} %}
+ {% for s in sections %}{% if by_id.update({s.id: s}) %}{% endif %}{% endfor %}
+ {% set entity_order = ['hosts', 'channels', 'thresholds', 'users', 'oauth'] %}
+ {% set server_group = sections | rejectattr('id', 'in', entity_order) | list %}
-
-
- ⚠ 0 section(s) with pending changes — not yet saved to .hb.yaml
-
-
-
-
-
+
+
+ hbd·settings
+ changes are staged until you publish them to .hb.yaml
+
+ 0 unpublished change(s)
+
+
+ {% if is_admin %}
+
+ {% endif %}
+
+
-
-
-
-
Backups / Rollback
-
Loading…
-
-
-
+
+
+
+
+
+
+
backups / rollback
+
Loading…
+
+
+
-
-
-
-
Add Notification Channel
-
-
-
-
-
-
-
-
-
-
Options
-
-
-
-
- {% if not current_user or current_user.admin %}
-