mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-11-27 00:47:10 +00:00
Center login logo
This commit is contained in:
parent
6506c229de
commit
0c08091535
@ -134,6 +134,14 @@ input[type=button]:focus, .button:hover, input[type=submit]:hover, input[type=bu
|
|||||||
text-align: center !important;
|
text-align: center !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Branding logo */
|
||||||
|
#branding img {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
#site-name {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Dashboard should take all page */
|
/* Dashboard should take all page */
|
||||||
.dashboard #content {
|
.dashboard #content {
|
||||||
width: auto;
|
width: auto;
|
||||||
|
@ -8,11 +8,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
{% block title %}{{ title }} | {{ request.site.name }}{% endblock %}
|
{% block title %}{{ title }} | {{ request.site.name }}{% endblock %}
|
||||||
|
|
||||||
{% block branding %}
|
{% block branding %}
|
||||||
<strong id="site-name">
|
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img src="{% static "images/logo.png" %}" height="40px" alt="{{ request.site.name }}" />
|
<img src="{% static "images/logo.png" %}" height="40px" alt=""/>
|
||||||
</a>
|
<strong id="site-name">
|
||||||
|
{{ request.site.name }}
|
||||||
</strong>
|
</strong>
|
||||||
|
</a>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block usertools %}
|
{% block usertools %}
|
||||||
|
Loading…
Reference in New Issue
Block a user