Sunil Mohan Adapa fb2d26a16c
firstboot: Hide navigation toggler in mobile layouts
Tests:

- Start first boot by removing /var/lib/plinth/plinth.sqlite3 and starting
service. Switch to responsive design mode and select a phone layout. Notice that
an inactive toggler appears during bootup/welcome/account first boot steps.

- With the patch, the toggler button does not appear during those steps. After
the account step, the toggler appears and is functional with help menu.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2024-10-08 13:45:41 +03:00

29 lines
517 B
HTML

{% extends "base.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load static %}
{% block body_class %}
no-brand
{% endblock %}
{% block mainmenu_left_collapse %}
{% endblock %}
{% block notifications_dropdown %}
{% endblock %}
{% block mainmenu_toggler %}
{% if user.is_authenticated %}
{{ block.super }}
{% endif %}
{% endblock %}
{% block mainmenu_right %}
{% if user.is_authenticated %}
{% include "firstboot_navbar.html" %}
{% endif %}
{% endblock %}