ui: Use common styling to hide logo during firstboot

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2020-12-18 13:19:56 -08:00 committed by Veiko Aasa
parent 084921ac0d
commit ae535268b2
No known key found for this signature in database
GPG Key ID: 478539CAE680674E
4 changed files with 12 additions and 16 deletions

View File

@ -5,12 +5,8 @@
{% load static %}
{% block page_head %}
<style type="text/css">
a.navbar-brand {
display: none;
}
</style>
{% block body_class %}
no-brand
{% endblock %}
{% block mainmenu_left_collapse %}

View File

@ -7,11 +7,12 @@
{% load i18n %}
{% load static %}
{% block body_class %}
no-brand
{% endblock %}
{% block page_head %}
<style type="text/css">
.navbar-brand {
display: none;
}
img.firstboot {
display: block;
max-width: 100%;

View File

@ -7,15 +7,10 @@
{% load i18n %}
{% load static %}
{% block page_head %}
<style type="text/css">
a.navbar-brand {
display: none;
}
</style>
{% block body_class %}
no-brand
{% endblock %}
{% block content %}
{% if is_first_setup_running %}

View File

@ -196,6 +196,10 @@ body {
margin-right: 0.25rem;
}
.no-brand .navbar-brand {
display: none;
}
.navbar-brand .fa {
float: left;
margin-top: -0.4375rem;