From e1554c725e22909a5fb239f481e76e30abc306f9 Mon Sep 17 00:00:00 2001 From: horus Date: Mon, 15 Mar 2021 17:43:16 +0100 Subject: Add pizza --- .gitmodules | 3 +++ public/index.php | 4 ++++ views/snippets/layout.html | 3 ++- views/tools.html | 2 +- views/tools/faces | 2 +- views/tools/pizza | 1 + 6 files changed, 12 insertions(+), 3 deletions(-) create mode 160000 views/tools/pizza diff --git a/.gitmodules b/.gitmodules index 6c2b6b6..137c576 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "views/tools/faces"] path = views/tools/faces url = git@git.iamfabulous.de:faces +[submodule "views/tools/pizza"] + path = views/tools/pizza + url = git@git.iamfabulous.de:pizza diff --git a/public/index.php b/public/index.php index fa89920..c5c0c0b 100644 --- a/public/index.php +++ b/public/index.php @@ -24,6 +24,10 @@ case("/tools/faces"): case("/tools/faces/"): echo $twig->render('tools/faces/index.html', [ "faces" => get_faces() ]); break; +case("/tools/pizza"): +case("/tools/pizza/"): + echo $twig->render('tools/pizza/index.html'); + break; default: http_response_code(404); echo $twig->render('404.html'); diff --git a/views/snippets/layout.html b/views/snippets/layout.html index 0bf0b19..5de1eaa 100644 --- a/views/snippets/layout.html +++ b/views/snippets/layout.html @@ -2,9 +2,10 @@ + {% endblock %} + "> {% block maincss %} diff --git a/views/tools.html b/views/tools.html index dd091a1..9b3ba81 100644 --- a/views/tools.html +++ b/views/tools.html @@ -22,7 +22,7 @@ untrack - Entfernt Tracking Parameter aus der URL
  • - Pizzarechner + Pizzarechner
  • Zeitumstellung - Als iCal-Feed für deinen Kalender diff --git a/views/tools/faces b/views/tools/faces index ec1514d..dcad23e 160000 --- a/views/tools/faces +++ b/views/tools/faces @@ -1 +1 @@ -Subproject commit ec1514d2d7c3889da0f976b64b256d1560cd1d81 +Subproject commit dcad23eea1dea83ff33ffe37191389d7606a84cb diff --git a/views/tools/pizza b/views/tools/pizza new file mode 160000 index 0000000..94a3255 --- /dev/null +++ b/views/tools/pizza @@ -0,0 +1 @@ +Subproject commit 94a325594c8a9e124ea75f2885e82786fb2172bc -- cgit v1.2.3