From 6ffb6501035dbe294b825be1f9ea7501dd3f4c0e Mon Sep 17 00:00:00 2001 From: +++ Date: Tue, 26 Apr 2022 18:42:52 +0200 Subject: [PATCH] =?UTF-8?q?fehlerbehandlung=20beim=20statusicon=20ge=C3=A4?= =?UTF-8?q?ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit getKrautStatus gibt jetzt einen string zurück. tooltip in den php-code verlegt. icon für fehler beim auswerten des statuscode hinzugefügt. catch prüft jetzt auf throwable. --- public/images/icons/question.svg | 2 ++ public/index.php | 14 ++++++++------ src/getContent.php | 16 +++++++++++----- 3 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 public/images/icons/question.svg diff --git a/public/images/icons/question.svg b/public/images/icons/question.svg new file mode 100644 index 0000000..7fbcd22 --- /dev/null +++ b/public/images/icons/question.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/public/index.php b/public/index.php index 2b7e40f..c889448 100644 --- a/public/index.php +++ b/public/index.php @@ -38,15 +38,17 @@
- Befinden sich Leute im Raum? + Fehler beim Parsen des Raumstatus + Raumstatus Icon - Fehler beim Parsen'; } - ?> + ?>