feat(django): Rename customize_cas to cas_eleves
This commit is contained in:
parent
0cad1a4f65
commit
4ddec17c64
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 439 KiB After Width: | Height: | Size: 439 KiB |
42
cas_eleves/templates/cas_server/base.html
Normal file
42
cas_eleves/templates/cas_server/base.html
Normal 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>
|
|
@ -1,4 +0,0 @@
|
||||||
{% load static %}
|
|
||||||
{% load i18n %}
|
|
||||||
|
|
||||||
<img class="logo" src="{% static "img/logo.svg" %}" alt="{% trans "ENS logo" %}" />
|
|
|
@ -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"/>
|
|
|
@ -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>
|
|
|
@ -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 %}
|
|
|
@ -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>
|
|
Loading…
Reference in a new issue