diff --git a/application/controllers/Dashboard.php b/application/controllers/Dashboard.php
index 8a497343..afc0132d 100644
--- a/application/controllers/Dashboard.php
+++ b/application/controllers/Dashboard.php
@@ -114,6 +114,13 @@ class Dashboard extends CI_Controller {
}
+ function radio_display_component() {
+ $this->load->model('cat');
+
+ $data['radio_status'] = $this->cat->recent_status();
+ $this->load->view('components/radio_display_table', $data);
+ }
+
function map() {
$this->load->model('logbook_model');
diff --git a/application/views/components/radio_display_table.php b/application/views/components/radio_display_table.php
new file mode 100644
index 00000000..e27c5154
--- /dev/null
+++ b/application/views/components/radio_display_table.php
@@ -0,0 +1,23 @@
+num_rows()) { ?>
+
+
+
+ | Radio Status |
+
+
+ result_array() as $row) { ?>
+
+ |
+
+
+
+
+ frequency->hz_to_mhz($row['frequency']); ?> ()
+
+ |
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/dashboard/index.php b/application/views/dashboard/index.php
index 1f2cc0ef..432431fd 100644
--- a/application/views/dashboard/index.php
+++ b/application/views/dashboard/index.php
@@ -160,29 +160,8 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
- num_rows()) { ?>
-
-
- | Radio Status |
-
-
- result_array() as $row) { ?>
-
- |
-
-
-
-
- frequency->hz_to_mhz($row['frequency']); ?> ()
-
- |
-
-
-
-
-
-
+