Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mediatek
Base de données Mediatek
Commits
0c080915
Verified
Commit
0c080915
authored
Aug 02, 2019
by
erdnaxe
🦋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Center login logo
parent
6506c229
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
theme/static/css/admin.css
theme/static/css/admin.css
+8
-0
theme/templates/admin/base_site.html
theme/templates/admin/base_site.html
+6
-5
No files found.
theme/static/css/admin.css
View file @
0c080915
...
...
@@ -134,6 +134,14 @@ input[type=button]:focus, .button:hover, input[type=submit]:hover, input[type=bu
text-align
:
center
!important
;
}
/* Branding logo */
#branding
img
{
vertical-align
:
middle
;
}
#site-name
{
padding-left
:
10px
;
}
/* Dashboard should take all page */
.dashboard
#content
{
width
:
auto
;
...
...
theme/templates/admin/base_site.html
View file @
0c080915
...
...
@@ -8,11 +8,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% block title %}{{ title }} | {{ request.site.name }}{% endblock %}
{% block branding %}
<strong
id=
"site-name"
>
<a
href=
"/"
>
<img
src=
"{% static "
images
/
logo.png
"
%}"
height=
"40px"
alt=
"{{ request.site.name }}"
/>
</a>
</strong>
<a
href=
"/"
>
<img
src=
"{% static "
images
/
logo.png
"
%}"
height=
"40px"
alt=
""
/>
<strong
id=
"site-name"
>
{{ request.site.name }}
</strong>
</a>
{% endblock %}
{% block usertools %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment