Commit 67ebedb0 authored by Julien Palard's avatar Julien Palard
Browse files

Personalize admin.

parent b5246ecc
......@@ -105,7 +105,7 @@ ROOT_URLCONF = "hkis.urls"
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [],
"DIRS": [os.path.join(BASE_DIR, "templates")],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
......
{% extends "admin/base.html" %}
{% load static %}
{% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %}
{% block extrastyle %}
<link href="{% static "css/hkisadmin.css"%}" rel="stylesheet" type="text/css" />
{% endblock %}
{% block branding %}
<h1 id="site-name"><a href="{% url 'admin:index' %}">Hackinscience</a></h1>
{% endblock %}
{% block nav-global %}{% endblock %}
#header {
background: #1e2933;
font-weight: 400;
height: 36px;
font-size: 16px;
color: #ffffff;
text-transform: uppercase;
}
#header #branding h1, #header #branding h1 a:link, #header #branding h1 a:visited {
font-weight: 400;
color: #ffffff;
}
#header #user-tools {
border-bottom: none;
font-size: 16px;
}
#header #user-tools a:focus, #header #user-tools a:hover {
color: #ffffff;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment