{# ======================================================================= File: templates/partials/_navbar.html Generische Navbar – alle Einträge zentral in »nav_items« ======================================================================= Variable „active_tab“ muss im jeweiligen View gesetzt werden. ----------------------------------------------------------------------- #} {% set nav_items = [ { "key" : "home", "endpoint" : "main.landing", "label" : "Home", "icon" : "home" },{ "key" : "search", "endpoint" : "main.search", "label" : "Suche", "icon" : "search" },{ "key" : "results", "endpoint" : "results.grid", "label" : "Resultate", "icon" : "bar-chart-2", "requires" : "last_result_id", "param" : "result_id" },{ "key" : "library", "endpoint" : "main.library", "label" : "Bibliothek", "icon" : "library" },{ "key" : "viewer", "endpoint" : "viewer.show", "label" : "Viewer", "icon" : "file-text", "requires" : "current_doc_id", "param" : "doc_id" }, { "key" : "summary", "endpoint" : "results.summary_view", "label" : "Summary (AI)", "icon" : "book-open", "requires" : "last_result_id", "feature" : "summary" },{ "key" : "anki", "endpoint" : "anki.show_cards", "label" : "Anki (AI)", "icon" : "layers", "requires" : "last_result_id", "feature" : "anki" },{ "key": "bibliography", "endpoint": "bibliography.show", "label": "Quellencheck", "icon": "book" } ] %} {# ── Mobile Hamburger ──────────────────────────────────────────────── #}