Commit 5ab4e87a authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier

fix: templates clean + fix template for activation failed

parent 643a3398
Pipeline #7165 passed with stage
in 27 seconds
......@@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="/styles/index.css">
<link rel="stylesheet" href="{% static 'base.css' %}"/>
{% block supplementary_css %}{% endblock %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700&amp;amp;subset=latin-ext">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i">
......
User activation failed. Please contact {{ sitename }} for more information.
{% comment %}
TODO: Add more info from the activation_error dict.
See https://django-registration.readthedocs.io/en/3.0/quickstart.html#django-registration-activation-failed-html
{% endcomment %}
{% extends "django_registration/registration_base.html" %}
{% load i18n %}
{% block title %}{% trans "Activation failed" %}{% endblock %}
{% block content %}
{% blocktrans %}User activation failed. Please contact your administrator for more information.{% endblocktrans %}
{% endblock %}
......@@ -3,8 +3,8 @@
{% load static %}
{% block title %}{% trans "Register for an account" %}{% endblock %}
{% block supplementary_css %}
<link rel="stylesheet" href="{% static 'base.css' %}"/>
<link rel="stylesheet" href="{% static 'django_registration/registration_form.css' %}"/>
{% endblock %}
......
......@@ -7,7 +7,6 @@
{% endblock %}
{% block supplementary_css %}
<link rel="stylesheet" href="{% static 'base.css' %}"/>
<link rel="stylesheet" href="{% static 'oidc_provider/authorize.css' %}"/>
{% endblock %}
......
......@@ -7,7 +7,6 @@
{% endblock %}
{% block supplementary_css %}
<link rel="stylesheet" href="{% static 'base.css' %}"/>
<link rel="stylesheet" href="{% static 'registration/login.css' %}"/>
{% endblock %}
......
......@@ -7,7 +7,6 @@
{% endblock %}
{% block supplementary_css %}
<link rel="stylesheet" href="{% static 'base.css' %}"/>
<link rel="stylesheet" href="{% static 'registration/login.css' %}"/>
{% endblock %}
......
......@@ -6,11 +6,6 @@
{% trans "Email Sent" %}
{% endblock %}
{% block supplementary_css %}
<link rel="stylesheet" href="{% static 'base.css' %}"/>
{% endblock %}
{% block content %}
<h1 class="text-center">{% trans "Check your inbox." %}</h1>
<p class="text-center">{% trans "We've emailed you instructions for setting your password. You should receive the email shortly!" %}</p>
......
......@@ -6,10 +6,6 @@
{% trans "Forgot your password?" %}
{% endblock %}
{% block supplementary_css %}
<link rel="stylesheet" href="{% static 'base.css' %}"/>
{% endblock %}
{% block content %}
<div class="flex-column">
<h1 class="text-center">{% trans "Forgot your password?" %}</h1>
......
Markdown is supported
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