first-boot: use a common navbar

- Also hide the applications icon in the second step while keeping the
  logo.
This commit is contained in:
fonfon 2015-10-21 13:53:01 +00:00 committed by Sunil Mohan Adapa
parent 2f93b67c3e
commit 6ee545023d
3 changed files with 36 additions and 14 deletions

View 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>

View File

@ -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 %}

View File

@ -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 %}