Aug 19 - Update New Inspection Schedule page layout

This commit is contained in:
2026-08-19 14:43:16 -04:00
parent 12141c2f75
commit 88af636912
7 changed files with 482 additions and 236 deletions
+9
View File
@@ -229,6 +229,7 @@
or request.endpoint == 'auth.notification_matrix'
or request.endpoint.startswith('broadcast.')
or request.endpoint.startswith('devices.')
or request.endpoint.startswith('enrollment.')
or request.endpoint.startswith('tenant_settings.')
) %}
<li class="nav-item dropdown">
@@ -268,6 +269,14 @@
<i class="bi bi-tablet me-2"></i>Devices
</a>
</li>
<li>
{# The enrollment intake form is public (no login);
its submissions are read here. Admin-only. #}
<a class="dropdown-item {{ 'active' if request.endpoint and request.endpoint.startswith('enrollment.') }}"
href="{{ url_for('enrollment.admin_list') }}">
<i class="bi bi-person-plus-fill me-2"></i>Enrollment Forms
</a>
</li>
<li><hr class="dropdown-divider"></li>
<li>
<a class="dropdown-item {{ 'active' if request.endpoint and request.endpoint.startswith('tenant_settings.') }}"
+5 -2
View File
@@ -273,6 +273,7 @@
or request.endpoint == 'auth.notification_matrix'
or request.endpoint.startswith('broadcast.')
or request.endpoint.startswith('devices.')
or request.endpoint.startswith('enrollment.')
or request.endpoint.startswith('tenant_settings.')
or (request.endpoint.startswith('auth.') and 'user' in request.endpoint)
) %}
@@ -292,8 +293,10 @@
href="{{ url_for('broadcast.index') }}">Broadcast</a>
<a class="jqc-nav-sublink {{ 'active' if request.endpoint and request.endpoint.startswith('devices.') }}"
href="{{ url_for('devices.index') }}">Devices</a>
{# MT: tenant self-service settings replace ST's enrollment entry —
the enrollment blueprint does not exist in this codebase. #}
{# The enrollment intake form is public (no login) and its
submissions are read here. Admin-only, same as ST. #}
<a class="jqc-nav-sublink {{ 'active' if request.endpoint and request.endpoint.startswith('enrollment.') }}"
href="{{ url_for('enrollment.admin_list') }}">Enrollment Forms</a>
<a class="jqc-nav-sublink {{ 'active' if request.endpoint and request.endpoint.startswith('tenant_settings.') }}"
href="{{ url_for('tenant_settings.branding') }}">Workspace Settings</a>
</div>