From 749c461d63f029a14b82153938b0258e4ede5eb9 Mon Sep 17 00:00:00 2001 From: Quality App Developer Date: Sun, 4 Jan 2026 22:15:57 +0200 Subject: [PATCH] integrate: FG Scan documentation into help system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add fg_scan.md to documentation routes mapping - Add FG Scan link to help viewer navigation menu - Add floating help button to fg_scan.html page - Documentation now accessible from both: * Floating help button (📖) on fg_scan page * Help navigation menu in documentation viewer --- py_app/app/routes.py | 1 + py_app/app/templates/docs/help_viewer.html | 1 + py_app/app/templates/fg_scan.html | 7 +++++++ 3 files changed, 9 insertions(+) diff --git a/py_app/app/routes.py b/py_app/app/routes.py index 8f37284..93985de 100644 --- a/py_app/app/routes.py +++ b/py_app/app/routes.py @@ -4229,6 +4229,7 @@ def help(page='dashboard'): # Map page names to markdown files doc_files = { 'dashboard': 'dashboard.md', + 'fg_scan': 'fg_scan.md', 'print_module': 'print_module.md', 'print_lost_labels': 'print_lost_labels.md', 'daily_mirror': 'daily_mirror.md', diff --git a/py_app/app/templates/docs/help_viewer.html b/py_app/app/templates/docs/help_viewer.html index 02d99dd..521d61a 100644 --- a/py_app/app/templates/docs/help_viewer.html +++ b/py_app/app/templates/docs/help_viewer.html @@ -169,6 +169,7 @@
Documentație disponibilă: Dashboard + FG Scan - Scanare Produse Modul Etichete Print Module Print Lost Labels diff --git a/py_app/app/templates/fg_scan.html b/py_app/app/templates/fg_scan.html index 7255b7e..30ab8f3 100644 --- a/py_app/app/templates/fg_scan.html +++ b/py_app/app/templates/fg_scan.html @@ -839,6 +839,13 @@ window.onclick = function(event) { {% endblock %} {% block content %} + + +