chore: better wording and style for the 403 page

This commit is contained in:
David Larlet 2024-12-23 10:44:34 -05:00
parent e314fa18ad
commit f69e8217cb
No known key found for this signature in database
GPG key ID: 3E2953A359E7E7BD
2 changed files with 9 additions and 6 deletions

View file

@ -211,7 +211,7 @@ input[type="submit"],
/* 40x */
/* **************************** */
.content-40x {
width: 600px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
margin-top: 100px;
@ -222,7 +222,6 @@ input[type="submit"],
.content-40x h1 {
font-size: 2em;
margin-bottom: 0;
line-height: 0.5em;
margin-top: 40px;
}
.content-404 img {
@ -233,8 +232,11 @@ input[type="submit"],
background-repeat: no-repeat;
background-size: contain;
background-position: center;
width: 100vw;
height: 90vh;
height: 75vh;
margin: 1rem;
}
.page-40x a {
text-decoration: underline;
}

View file

@ -5,7 +5,8 @@
{% block content %}
<div class="content-40x">
<h1>{{ exception }}</h1>
<p>{% blocktrans %}<a href="https://discover.umap-project.org/support/faq/#map-statuses">Find out here</a> how to manage map permissions.{% endblocktrans %}</p>
<p><a href="{% url 'home' %}">{% trans "Go back home" %}</a></p>
<p>{% blocktrans %}<a href="https://discover.umap-project.org/support/faq/#map-statuses" target="_blank">Find out here the documentation</a> on how to manage maps permissions.{% endblocktrans %}</p>
<hr>
<p><a href="{% url 'home' %}">{% trans "← Go to the homepage" %}</a></p>
</div>
{% endblock %}