From 98cce25f4cb38d6b1452d4fee95294e1c831ab89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Sat, 5 Sep 2020 20:06:39 +0200 Subject: [PATCH 1/5] cofsite-looking 404 ? --- gestioncof/templates/404.html | 51 +++++++++++++++++++++++++++++++---- 1 file changed, 46 insertions(+), 5 deletions(-) diff --git a/gestioncof/templates/404.html b/gestioncof/templates/404.html index 9af1bd00..23c9407a 100644 --- a/gestioncof/templates/404.html +++ b/gestioncof/templates/404.html @@ -1,6 +1,47 @@ -{% extends "base_title.html" %} +{% load static %} -{% block realcontent %} -

404

-

Wouh pinaise, y'a rien ici !

-{% endblock %} + + + + + COF ENS - Page non trouvée + + + + + + +

404

+

Page non trouvée

+

Retourner sur le site du COF ?

+

Retourner sur GestioCOF ?

+ + From c957ab2b72dab3dbafc59ad9537628f909cd29c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Sat, 5 Sep 2020 21:37:07 +0200 Subject: [PATCH 2/5] Add K-Psul on the 404 page --- gestioncof/templates/404.html | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/gestioncof/templates/404.html b/gestioncof/templates/404.html index 23c9407a..73860d34 100644 --- a/gestioncof/templates/404.html +++ b/gestioncof/templates/404.html @@ -31,9 +31,14 @@ padding-bottom: 1vh; } a { - text-decoration:none; - font-weight:bold; - color:#911643; + text-decoration: none; + font-weight: bold; + color: #90001C; + } + section { + display: inline-block; + margin: auto; + text-align: left; } @@ -41,7 +46,10 @@

404

Page non trouvée

-

Retourner sur le site du COF ?

-

Retourner sur GestioCOF ?

+
+

→ retourner sur le site du COF ?

+

→ retourner sur GestioCOF ?

+

→ retourner sur le site de la K-Fêt ?

+
From 2a05c2247c7ff12b0a17c33e7343fbd47d8bf1db Mon Sep 17 00:00:00 2001 From: Martin Pepin Date: Sat, 5 Sep 2020 22:34:47 +0200 Subject: [PATCH 3/5] Apply suggestion to gestioncof/templates/404.html --- gestioncof/templates/404.html | 1 + 1 file changed, 1 insertion(+) diff --git a/gestioncof/templates/404.html b/gestioncof/templates/404.html index 73860d34..38526c17 100644 --- a/gestioncof/templates/404.html +++ b/gestioncof/templates/404.html @@ -39,6 +39,7 @@ display: inline-block; margin: auto; text-align: left; + padding: 10px; } From 2c833daa7f7b2ee428737c1de6491b74874631bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Sat, 5 Sep 2020 23:07:54 +0200 Subject: [PATCH 4/5] 404.html: English version + tighter header --- gestioncof/templates/404.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gestioncof/templates/404.html b/gestioncof/templates/404.html index 38526c17..5a1ca9d9 100644 --- a/gestioncof/templates/404.html +++ b/gestioncof/templates/404.html @@ -4,7 +4,7 @@ - COF ENS - Page non trouvée + COF ENS - Page non trouvée / Page not found

404

-

Page non trouvée / Page not found

+

Page non trouvée Page not found

→ retourner sur le site du COF - / back to the COF's website

+ back to the COF's website

→ retourner sur GestioCOF - / back to GestioCOF

+ back to GestioCOF

→ retourner sur le site de la K-Fêt - / back to the K-Fêt's website

+ back to the K-Fêt's website