moved template partials to partials folder
All checks were successful
Build and push / Pulling repo on server (push) Successful in 19s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 19s
This commit is contained in:
parent
0adeb7f05a
commit
1081f005aa
@ -1,6 +1,6 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: ["../web/**/*.{html,js}"],
|
||||
content: ["../web/**/*.{html,js,php}"],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
|
@ -62,12 +62,12 @@ class Admin extends Page {
|
||||
catch(Exception $e)
|
||||
{
|
||||
$this->set('message', $e->getMessage());
|
||||
$this->set('template', '/templates/error.html');
|
||||
$this->set('template', '/templates/partials/error.html');
|
||||
return;
|
||||
|
||||
}
|
||||
$this->set('message', 'Speichern erfolgreich');
|
||||
$this->set('template', '/templates/success.html');
|
||||
$this->set('template', '/templates/partials/success.html');
|
||||
}
|
||||
|
||||
function maySeeThisPage(){return true;}
|
||||
|
@ -34,7 +34,7 @@ class Register extends Page {
|
||||
|
||||
if($err)
|
||||
{
|
||||
$this->set('template', '/templates/error.html');
|
||||
$this->set('template', '/templates/partials/error.html');
|
||||
$this->set('title', 'Error');
|
||||
$this->set('message', $err);
|
||||
return;
|
||||
@ -51,7 +51,7 @@ class Register extends Page {
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
$this->set('template', '/templates/error.html');
|
||||
$this->set('template', '/templates/partials/error.html');
|
||||
$this->set('title', 'Error');
|
||||
$this->set('message', $e->getMessage());
|
||||
return;
|
||||
@ -65,7 +65,7 @@ class Register extends Page {
|
||||
|
||||
function success()
|
||||
{
|
||||
$this->set('template', '/templates/success.html');
|
||||
$this->set('template', '/templates/partials/success.html');
|
||||
$this->set('title', 'Success');
|
||||
$this->set('message', 'You have successfully registered. Activate your account from the Link in your email');
|
||||
}
|
||||
|
Reference in New Issue
Block a user