page dog added
This commit is contained in:
parent
0adeb7f05a
commit
5bc1f78636
16
web/pages/dog/controller.php
Normal file
16
web/pages/dog/controller.php
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
class Dog extends Page {
|
||||||
|
|
||||||
|
function setMenu()
|
||||||
|
{
|
||||||
|
$this->menu_text = 'Dog';
|
||||||
|
$this->menu_image = 'far fa-dog';
|
||||||
|
$this->menu_priority = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
function index() {
|
||||||
|
$this->set('template', 'dog.html');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
4
web/pages/dog/dog.html
Normal file
4
web/pages/dog/dog.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<div class="container">
|
||||||
|
<h1>Hund hinzufügen</h1>
|
||||||
|
<p><?= $message ?></p>
|
||||||
|
</div>
|
Reference in New Issue
Block a user