set styles in separate template in to allow overriding (#14665)

This commit is contained in:
Serghei Mihai 2017-01-20 14:43:42 +01:00
parent 905c44d0ae
commit 25613946c5
4 changed files with 10 additions and 3 deletions

View File

@ -1,7 +1,10 @@
{% load i18n gadjo staticfiles %}
{% load i18n static %}
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="{% static 'mandaye.css' %}" type="text/css" />
<meta charset="utf-8" />
{% include 'mandaye/association_styles.html' %}
<title>{% trans 'Associate your account' %}</title>
</head>
<body>
<div id="main-div">

View File

@ -0,0 +1,2 @@
{% load static %}
<link rel="stylesheet" href="{% static 'mandaye.css' %}" type="text/css" />

View File

@ -15,7 +15,7 @@
{%endfor%}
{%endif%}
<link rel="stylesheet" href="{% static 'mandaye.css' %}" type="text/css" />
{% include 'mandaye/panel_styles.html' %}
<div id="mandaye-logo">
<a href="{% if portal_user_url %}{{ portal_user_url }}{% else %}/{% endif %}">

View File

@ -0,0 +1,2 @@
{% load static %}
<link rel="stylesheet" href="{% static 'mandaye.css' %}" type="text/css" />