Jun 27 MT-7
This commit is contained in:
+26
-1
@@ -13,6 +13,18 @@
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/theme.css') }}">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/ipad_responsive.css') }}">
|
||||
{% if tenant_branding %}
|
||||
<style>
|
||||
:root {
|
||||
--bs-primary: {{ tenant_branding.primary_color or '#1a56db' }};
|
||||
--bs-primary-rgb: {{ tenant_branding.primary_color|hex_to_rgb if tenant_branding.primary_color else '26,86,219' }};
|
||||
--jqc-accent: {{ tenant_branding.accent_color or '#16a34a' }};
|
||||
}
|
||||
.bg-primary { background-color: {{ tenant_branding.primary_color or '#1a56db' }} !important; }
|
||||
.btn-primary { background-color: {{ tenant_branding.primary_color or '#1a56db' }} !important;
|
||||
border-color: {{ tenant_branding.primary_color or '#1a56db' }} !important; }
|
||||
</style>
|
||||
{% endif %}
|
||||
{% block extra_css %}{% endblock %}
|
||||
<style>
|
||||
/* ── Notification bell styles ── */
|
||||
@@ -65,7 +77,14 @@
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="{{ url_for('dashboard.index') }}">
|
||||
<i class="bi bi-clipboard-check"></i> Janitorial QC
|
||||
{% if tenant_branding and tenant_branding.logo_url %}
|
||||
<img src="{{ url_for('static', filename=tenant_branding.logo_url) }}"
|
||||
alt="{{ tenant_branding.display_name }}"
|
||||
style="max-height:32px; border-radius:4px; margin-right:.35rem;">
|
||||
{% else %}
|
||||
<i class="bi bi-clipboard-check"></i>
|
||||
{% endif %}
|
||||
{{ tenant_branding.display_name if tenant_branding else 'Janitorial QC' }}
|
||||
</a>
|
||||
<!-- ── Bell + toggler always visible on mobile/tablet ── -->
|
||||
<div class="d-flex align-items-center gap-2 ms-auto me-2 d-lg-none">
|
||||
@@ -214,6 +233,12 @@
|
||||
<i class="bi bi-tablet"></i> Devices
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item {{ 'active' if request.endpoint and request.endpoint.startswith('tenant_settings.') else '' }}"
|
||||
href="{{ url_for('tenant_settings.branding') }}">
|
||||
<i class="bi bi-gear me-1"></i> Workspace Settings
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
<ul class="navbar-nav align-items-center">
|
||||
|
||||
Reference in New Issue
Block a user