404 seiten auf unterseiten gehen jetzt, icons werden jetzt korrekt bei menüs angezeigt, die submenüs haben
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
2023-10-26 20:26:28 +02:00
parent ea4069f8b8
commit 135958c9f0
11 changed files with 60 additions and 200 deletions

View File

@ -2,10 +2,11 @@
class Err extends Page {
function notfound($params)
function notfound($params=false)
{
$this->set("page",$params[0]);
$this->set('template', "notfound.html");
}
function notallowed()

View File

@ -1,5 +1,5 @@
<div class="bg-red-100 border-l-4 border-red-500 text-red-700 p-4" role="alert">
<p class="font-bold">404 - Not found</p>
<p>I have no memory of <?= escape($page) ?></p>
<p>I have no memory of <span class="badge"><?= escape($page) ?></span></p>
<img src="https://pictshare.net/4s9gi3.gif" alt="Gandalf: I have no memory of this place"/>
</div>