mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
first-boot: use a common navbar
- Also hide the applications icon in the second step while keeping the logo.
This commit is contained in:
parent
2f93b67c3e
commit
6ee545023d
26
plinth/modules/first_boot/templates/firstboot_navbar.html
Normal file
26
plinth/modules/first_boot/templates/firstboot_navbar.html
Normal file
@ -0,0 +1,26 @@
|
||||
{% comment %}
|
||||
#
|
||||
# This file is part of Plinth.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
{% endcomment %}
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<a href="{% url 'help:index' %}">
|
||||
<span class="glyphicon-question-sign glyphicon nav-icon"></span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@ -31,13 +31,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block add_nav_and_login %}
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<a href="{% url 'help:index' %}">
|
||||
<span class="glyphicon-question-sign glyphicon nav-icon"></span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% include "firstboot_navbar.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content_row %}
|
||||
|
||||
@ -22,14 +22,16 @@
|
||||
{% load i18n %}
|
||||
{% load static %}
|
||||
|
||||
{% block page_head %}
|
||||
<style type="text/css">
|
||||
.navbar-brand .glyphicon {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block add_nav_and_login %}
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<a href="{% url 'help:index' %}">
|
||||
<span class="glyphicon-question-sign glyphicon nav-icon"></span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% include "firstboot_navbar.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content_row %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user