Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] custom 404 page #521

Open
wants to merge 6 commits into
base: next
Choose a base branch
from
Open

Conversation

Mast3rwaf1z
Copy link
Member

I was gonna post this for Facking last week, but i forgot

Below there is an example of this page, it bounces around the page, like a screensaver

image

@Mast3rwaf1z Mast3rwaf1z marked this pull request as ready for review October 31, 2024 09:16
@krestenlaust
Copy link
Member

Is this instead of this?

billede

Copy link
Member

@krestenlaust krestenlaust left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

billede
The logo is missing 🤔

@krestenlaust
Copy link
Member

I suggest we salvage some of the humorous text from error_ranksnotfound.html, since #532 probably removes this page

{% extends "admin/base_site.html" %}

{% block title %}Stats for {{year}}{% endblock %}
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../../">Hjem</a>&nbsp;&rsaquo;&nbsp;<a href="../../">Stregsystem</a>&nbsp;&rsaquo;&nbsp;<a href="../">Reports</a>&nbsp;&rsaquo;&nbsp;Stats</div>{% endblock %}

{% block content %}
<center>
<div id="headline" style="color: red;"><h3>Stats for år {{year}} blev ikke fundet.</h3></div>
</center>
<center>
Hvis du mener at <i>det er for galt</i>, anbefaler F-Klubbens IT, at du venter, indtil nogen gør noget ved problemet.<br />
<br />
Mens du venter kan du eventuelt:<br />
Købe en øl i stregsystemet, lære at skrive Perl, tage et spil tænkeboks, forsøge at glemme det Perl du har lært eller blive Ph.D. studerende.
</center>
{% endblock %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants