integrate: FG Scan documentation into help system

- 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
This commit is contained in:
Quality App Developer
2026-01-04 22:15:57 +02:00
parent 11b3a26491
commit 749c461d63
3 changed files with 9 additions and 0 deletions

View File

@@ -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',

View File

@@ -169,6 +169,7 @@
<div class="help-navigation">
<strong>Documentație disponibilă:</strong>
<a href="{{ url_for('main.help', page='dashboard') }}">Dashboard</a>
<a href="{{ url_for('main.help', page='fg_scan') }}">FG Scan - Scanare Produse</a>
<a href="{{ url_for('main.help', page='etichete') }}">Modul Etichete</a>
<a href="{{ url_for('main.help', page='print_module') }}">Print Module</a>
<a href="{{ url_for('main.help', page='print_lost_labels') }}">Print Lost Labels</a>

View File

@@ -839,6 +839,13 @@ window.onclick = function(event) {
{% endblock %}
{% block content %}
<!-- Floating Help Button -->
<div class="floating-help-btn">
<a href="{{ url_for('main.help', page='fg_scan') }}" target="_blank" title="FG Scan Help">
📖
</a>
</div>
<div class="scan-container">
<!-- Input Form Card -->
<div class="card scan-form-card">