From fe712fe2dad27dd91125282eb80940305f2f90a3 Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Sat, 18 May 2024 09:30:56 +0200 Subject: [PATCH] Cleaned up the hardware table so that it looks like other tables --- application/controllers/Radio.php | 21 +++++++++++---------- application/views/radio/index.php | 4 ++-- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/application/controllers/Radio.php b/application/controllers/Radio.php index d57cc356c..e88450665 100755 --- a/application/controllers/Radio.php +++ b/application/controllers/Radio.php @@ -39,13 +39,13 @@ $query = $this->cat->status(); if ($query->num_rows() > 0) { - echo ""; - echo "Radio"; - echo "Frequency"; - echo "Mode"; - echo "Timestamp" ; - echo "Options"; - echo ""; + echo ""; + echo "Radio"; + echo "Frequency"; + echo "Mode"; + echo "Timestamp" ; + echo "Options"; + echo ""; foreach ($query->result() as $row) { echo ""; @@ -69,13 +69,14 @@ $phpdate = strtotime($row->timestamp); echo "".date('H:i:s d-m-y', $phpdate)."" ; - echo "id."\" class=\"btn btn-danger\"> Delete" ; + echo "id."\" class=\"btn btn-sm btn-danger\"> Delete" ; echo ""; } + echo ""; } else { - echo ""; + echo ""; echo "No CAT Interfaced radios found."; - echo ""; + echo ""; } } diff --git a/application/views/radio/index.php b/application/views/radio/index.php index c86093c37..09a9dd1ef 100644 --- a/application/views/radio/index.php +++ b/application/views/radio/index.php @@ -19,8 +19,8 @@

Below is a list of active radios that are connected to Wavelog.

If you haven't connected any radios yet, see the API page to generate API keys.

- -
+ +