From 321965038df1224b41e060a0c4e24ff582c402a0 Mon Sep 17 00:00:00 2001 From: NguyenND Date: Fri, 17 Jul 2026 13:26:25 -0400 Subject: [PATCH] Jul 17 - Fill the gaps between Single-tenant mode and Multi-tenant mode - matching web UI --- app/templates/base.html | 5 +++++ app/templates/facilities/list.html | 7 ++++--- app/templates/inspections/list.html | 11 ++++++++--- app/templates/support/admin_knowledge.html | 2 +- app/templates/support/chat.html | 2 +- 5 files changed, 19 insertions(+), 8 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index 927acf2..d1eca28 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -205,6 +205,11 @@ Ask a Question +
  • + + My Conversations + +
  • My Requests diff --git a/app/templates/facilities/list.html b/app/templates/facilities/list.html index 0f4512b..7bfec05 100644 --- a/app/templates/facilities/list.html +++ b/app/templates/facilities/list.html @@ -8,9 +8,10 @@

    Facilities

    - {% if current_user.role in ['admin', 'director', 'project_manager', 'auditor'] %} - - Print QR Codes + {% if current_user.role != 'inspector' %} + + Print All QR Codes {% endif %} {% if current_user.role in ['admin', 'director'] %} diff --git a/app/templates/inspections/list.html b/app/templates/inspections/list.html index 714db45..661fd63 100644 --- a/app/templates/inspections/list.html +++ b/app/templates/inspections/list.html @@ -4,9 +4,14 @@

    Inspections

    {% if current_user.role != 'customer' %} - - New Inspection - + {% endif %}
    diff --git a/app/templates/support/admin_knowledge.html b/app/templates/support/admin_knowledge.html index d24e814..16e9150 100644 --- a/app/templates/support/admin_knowledge.html +++ b/app/templates/support/admin_knowledge.html @@ -2,7 +2,7 @@ {% block title %}Support Knowledge Base{% endblock %} {% block content %} -
    +

    Support Knowledge Base

    Active entries are injected into the AI chatbot system prompt diff --git a/app/templates/support/chat.html b/app/templates/support/chat.html index 94c1945..7ddaa41 100644 --- a/app/templates/support/chat.html +++ b/app/templates/support/chat.html @@ -39,7 +39,7 @@
    {# ── Header ── #} -
    +

    JQC Support Chat