From 50bd53561e00c597ec3376821e3cd64e09a36d8c Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Mon, 31 Aug 2020 22:45:05 +0200 Subject: [PATCH] Some stile tweeks --- app/controllers/deviceController.php | 2 ++ app/views/templates/device.phtml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/controllers/deviceController.php b/app/controllers/deviceController.php index bb000b2..035b2ab 100644 --- a/app/controllers/deviceController.php +++ b/app/controllers/deviceController.php @@ -18,4 +18,6 @@ if (!empty ($_POST)){ $deviceManager = new DeviceManager (); $deviceManager->edit ($_POST['deviceId'], array ('command' => $_POST['deviceCommand'])); } + header('Location: ./'); + die(); } diff --git a/app/views/templates/device.phtml b/app/views/templates/device.phtml index bdc5a9c..011b62d 100644 --- a/app/views/templates/device.phtml +++ b/app/views/templates/device.phtml @@ -21,10 +21,10 @@ ?>
- +
- +
Icon# Name Firmware Mac