diff --git a/templates/index.html b/templates/index.html index 3f08e06..f6da5d5 100644 --- a/templates/index.html +++ b/templates/index.html @@ -343,107 +343,10 @@ - - - - - + + {% set active_mode = 'pager' %} + {% set is_index_page = true %} + {% include 'partials/nav.html' %}
diff --git a/templates/partials/nav.html b/templates/partials/nav.html index 862c5bb..f2485cf 100644 --- a/templates/partials/nav.html +++ b/templates/partials/nav.html @@ -8,11 +8,11 @@ Variables: - active_mode: Current active mode (e.g., 'pager', 'adsb', 'wifi') - - show_mode_switcher: If true (default), shows mode switching nav for index.html - If false, shows simplified dashboard nav + - is_index_page: If true, Satellite/SSTV use switchMode (panel mode) + If false (default), Satellite links to dashboard #} -{% set show_mode_switcher = show_mode_switcher|default(true) %} +{% set is_index_page = is_index_page|default(false) %} {# Desktop Navigation - uses existing CSS class names for compatibility #}