From bf7b7ba1c9089b4e5567bc6285d8c56a326d8375 Mon Sep 17 00:00:00 2001 From: Joey Kimsey Date: Mon, 2 Dec 2024 18:04:44 -0500 Subject: [PATCH] Carousel fix + fiixes --- app/classes/api_controller.php | 4 ++-- app/classes/config.php | 4 ++-- app/controllers/api/users.php | 2 +- app/css/main.css | 2 +- app/plugins/notifications/models/notification.php | 2 +- app/views/index.html | 12 ++++++------ app/views/profile.html | 12 ------------ 7 files changed, 13 insertions(+), 25 deletions(-) diff --git a/app/classes/api_controller.php b/app/classes/api_controller.php index 81075ce..43fd7c7 100644 --- a/app/classes/api_controller.php +++ b/app/classes/api_controller.php @@ -1,8 +1,8 @@ - * @link https://TheTempusProject.com/Core + * @link https://TheTempusProject.com * @license https://opensource.org/licenses/MIT [MIT LICENSE] */ namespace TheTempusProject\Classes; diff --git a/app/controllers/api/users.php b/app/controllers/api/users.php index 9b2ab91..44168f9 100644 --- a/app/controllers/api/users.php +++ b/app/controllers/api/users.php @@ -30,7 +30,7 @@ class Users extends ApiController { $response = 'No user found.'; } else { $responseType = 'data'; - $response = $user; + $response = $user->ID; } Views::view( 'api.response', ['response' => json_encode( [ $responseType => $response ], true )]); } diff --git a/app/css/main.css b/app/css/main.css index 0bd001a..495c7d6 100644 --- a/app/css/main.css +++ b/app/css/main.css @@ -217,7 +217,7 @@ pre { color: #000; background-color: #FFF; } -#carousel-example-generic { +#carousel-home { margin-bottom: 30px; } .col-centered { diff --git a/app/plugins/notifications/models/notification.php b/app/plugins/notifications/models/notification.php index 3537644..4313b79 100644 --- a/app/plugins/notifications/models/notification.php +++ b/app/plugins/notifications/models/notification.php @@ -1,6 +1,6 @@
- diff --git a/app/views/profile.html b/app/views/profile.html index f1b53d8..285e88d 100644 --- a/app/views/profile.html +++ b/app/views/profile.html @@ -45,18 +45,6 @@
-
-
-
- - here -
-
-