change font-size
This commit is contained in:
28
fet2020/templates/admin/base.html
Normal file
28
fet2020/templates/admin/base.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% extends "admin/base.html" %}
|
||||
{% load i18n admin_urls %}
|
||||
|
||||
{% block usertools %}
|
||||
{% if has_permission %}
|
||||
<div id="user-tools" style="font-size:13px;">
|
||||
{% block welcome-msg %}
|
||||
{% translate 'Welcome,' %}
|
||||
<strong>{% firstof user.get_short_name user.get_username %}</strong>.
|
||||
{% endblock %}
|
||||
{% block userlinks %}
|
||||
{% if site_url %}
|
||||
<a class="button" href="{{ site_url }}">Zurück zur FET Homepage</a>
|
||||
{% endif %}
|
||||
{% if user.is_active and user.is_staff %}
|
||||
{% url 'django-admindocs-docroot' as docsroot %}
|
||||
{% if docsroot %}
|
||||
<a class="button" href="{{ docsroot }}">{% translate 'Documentation' %}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if user.has_usable_password %}
|
||||
<a class="button" href="{% url 'admin:password_change' %}">{% translate 'Change password' %}</a>
|
||||
{% endif %}
|
||||
<a class="button" href="{% url 'admin:logout' %}">{% translate 'Log out' %}</a>
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user