Activate UIUX V2 navigation for System Admin

This commit is contained in:
A R R R Associates
2026-07-10 21:46:46 +05:30
parent 69b33fa486
commit 79eb45c675
3 changed files with 160 additions and 29 deletions
+4 -1
View File
@@ -111,7 +111,7 @@
Sidebar is retained only for System Admin users.
All other authenticated users use the floating top workspace bar on every page.
Existing routes and old sidebar code are kept intact. #}
{% set use_clean_top_nav = full_auth and not is_system_admin_user %}
{% set use_clean_top_nav = full_auth %}
<div class="min-h-screen {% if not use_clean_top_nav %}lg:grid lg:grid-cols-[260px_minmax(0,1fr)]{% endif %}">
@@ -404,6 +404,9 @@
<div class="min-h-screen">
{% if use_clean_top_nav %}
{% include "ui/templates/components/top_workspace_bar.html" %}
{% if is_system_admin_user %}
{% include "ui/templates/components/system_admin_navigation_v2.html" %}
{% endif %}
{% else %}
<header class="border-b border-slate-200 bg-white/90 backdrop-blur">
<div class="mx-auto max-w-7xl px-4 py-4 sm:px-6 lg:px-8">