feat(django): Rename customize_cas to cas_eleves

This commit is contained in:
Tom Hubrecht 2024-07-02 09:52:34 +02:00
parent 0cad1a4f65
commit 4ddec17c64
27 changed files with 42 additions and 59 deletions

View file

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View file

Before

Width:  |  Height:  |  Size: 439 KiB

After

Width:  |  Height:  |  Size: 439 KiB

View file

@ -0,0 +1,42 @@
{% load static %}
{% load i18n %}
{% get_current_language as current_language %}
<!DOCTYPE html>
<html {% if current_language %}lang="{{ current_language }}"{% endif %}>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="cas,ens,sso,students">
<meta name="description"
content="Central Authentication Services for ENS students">
<title>{% trans "ENS student authentication" %}</title>
<link type="text/css" rel="stylesheet" href="{% static "css/style.css" %}" />
<link rel="shortcut icon"
type="image/x-icon"
href="/static/cas_server/favicon.ico" />
{% block "extra_head" %}{% endblock %}
</head>
<body>
<header>
<img class="logo" width="73" height="100" src="{% static "img/logo.svg" %}" alt="{% trans "ENS logo" %}" />
<div id="headtext">
<div>{% blocktrans %}Central Authentication Service{% endblocktrans %}</div>
<div>{% blocktrans %}ENS Students{% endblocktrans %}</div>
</div>
</header>
<main>
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li {% if message.tags %}class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% block content %}{% endblock %}
</main>
<div id="ens_logo_foot">
<img class="logo" width="73" height="100" src="{% static "img/logo.svg" %}" alt="{% trans "ENS logo" %}" />
</div>
{% block "extra_foot" %}{% endblock %}
</body>
</html>

View file

@ -1,4 +0,0 @@
{% load static %}
{% load i18n %}
<img class="logo" src="{% static "img/logo.svg" %}" alt="{% trans "ENS logo" %}" />

View file

@ -1,8 +0,0 @@
{% load static %}
{% load i18n %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% trans "ENS student authentication" %}</title>
<link type="text/css" rel="stylesheet" href="{% static "css/style.css" %}" />
<link rel="shortcut icon" type="image/x-icon" href="/static/cas_server/favicon.ico"/>

View file

@ -1,11 +0,0 @@
{% load static %}
{% load i18n %}
<header>
{% include "_partials/ens_logo.html" %}
<div id="headtext">
<div>
{% blocktrans %}Central Authentication Service{% endblocktrans %}
</div>
<div>{% blocktrans %}ENS Students{% endblocktrans %}</div>
</div>
</header>

View file

@ -1,9 +0,0 @@
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li {% if message.tags %} class="{{ message.tags }}"{% endif %}>
{{ message }}
</li>
{% endfor %}
</ul>
{% endif %}

View file

@ -1,27 +0,0 @@
{% load static %}
{% load i18n %}
{% get_current_language as current_language %}
<!DOCTYPE html>
<html {% if current_language %}lang="{{ current_language }}"{% endif %}>
<head>
{% include "_partials/head.html" %}
{% block "extra_head" %}{% endblock %}
</head>
<body>
{% include "_partials/header.html" %}
<main>
{% include "_partials/messages.html" %}
{% block content %}
{% endblock %}
</main>
<div id="ens_logo_foot">
{% include "_partials/ens_logo.html" %}
</div>
{% block "extra_foot" %}{% endblock %}
</body>
</html>