From add4ed822efea559b4ead416de0cf31a76a4a3cd Mon Sep 17 00:00:00 2001 From: Helge Jung <hej@c3pb.de> Date: Tue, 15 Aug 2023 20:47:34 +0200 Subject: [PATCH] plainui: templates error pages in camp23 design, too --- src/plainui/templates/403.html | 8 ++++---- src/plainui/templates/404.html | 8 ++++---- src/plainui/templates/500.html | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/plainui/templates/403.html b/src/plainui/templates/403.html index d4796464f..03c125d6c 100644 --- a/src/plainui/templates/403.html +++ b/src/plainui/templates/403.html @@ -10,7 +10,7 @@ body { padding: 0; margin: 0; - background-color: rgba(0,0,0,1); + background-color: rgba(0.1,0.1,0.1,1); } article { margin: 0; @@ -22,7 +22,7 @@ } img { display: block; - width: 100%; + width: 50%; height: auto; } a { @@ -32,8 +32,8 @@ </head> <body> <article> - <a href="/" class="row my-8"> - <img class="" src="{% static "error_pages/403_FORBIDDEN.jpg" %}" alt="403 - Forbidden" title="403 - Forbidden" /> + <a href="{% url "plainui:index" %}" class="row my-8"> + <img class="" src="{% static "error_pages/403.svg" %}" alt="403 - Forbidden" title="403 - Forbidden" /> </a> </article> </body> diff --git a/src/plainui/templates/404.html b/src/plainui/templates/404.html index 63d36de4c..6c2b5d9e1 100644 --- a/src/plainui/templates/404.html +++ b/src/plainui/templates/404.html @@ -10,7 +10,7 @@ body { padding: 0; margin: 0; - background-color: rgba(0,0,0,1); + background-color: rgba(0.1,0.1,0.1,1); } article { margin: 0; @@ -22,7 +22,7 @@ } img { display: block; - width: 100%; + width: 75%; height: auto; } a { @@ -32,8 +32,8 @@ </head> <body> <article> - <a href="/" class="row my-8"> - <img class="" src="{% static "error_pages/404_NOT_FOUND.jpg" %}" alt="404 Error" title="404 Error" /> + <a href="{% url "plainui:index" %}" class="row my-8"> + <img class="" src="{% static "error_pages/404.svg" %}" alt="404 Error" title="404 Error" /> </a> </article> </body> diff --git a/src/plainui/templates/500.html b/src/plainui/templates/500.html index 6826287c4..a11fc4e67 100644 --- a/src/plainui/templates/500.html +++ b/src/plainui/templates/500.html @@ -10,7 +10,7 @@ body { padding: 0; margin: 0; - background-color: rgba(0,0,0,1); + background-color: rgba(0.1,0.1,0.1,1); } article { margin: 0; @@ -22,7 +22,7 @@ } img { display: block; - width: 100%; + width: 75%; height: auto; } a { @@ -32,8 +32,8 @@ </head> <body> <article> - <a href="/" class="row my-8"> - <img class="" src="{% static "error_pages/500_INTERNAL_SERVER_ERROR.jpg" %}" alt="500 - internal Server error" title="500 - internal Server error" /> + <a href="{% url "plainui:index" %}" class="row my-8"> + <img class="" src="{% static "error_pages/500.svg" %}" alt="500 - internal Server error" title="500 - internal Server error" /> </a> </article> </body> -- GitLab