fine tuning
All checks were successful
Build and push / Pulling repo on server (push) Has been skipped

This commit is contained in:
2023-10-20 20:41:49 +02:00
parent 04af3a34bd
commit f85f354ee7
9 changed files with 308 additions and 113 deletions

View File

@ -4,7 +4,7 @@ class Auth extends Page {
function login()
{
return 'hättest gern';
return print_r($_REQUEST, true);
}
function maySeeThisPage()

View File

@ -0,0 +1,20 @@
<?php
class Err extends Page {
function notfound($params)
{
$this->set("page",$params[0]);
$this->set('template', "notfound.mustache");
}
function notallowed()
{
return json_encode(['error'=>'not allowed']);
}
function maySeeThisPage()
{
return true;
}
}

View File

@ -0,0 +1,4 @@
<div class="bg-green-100 border-l-4 border-green-500 text-green-700 p-4" role="alert">
<p class="font-bold">404 - Not found</p>
<p>I have no memory of {{page}}</p>
</div>