From 068bbdf583c8701e7b3e463f4790619e46fcd785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Pocrnji=C4=8D?= Date: Sun, 18 Jan 2026 19:49:48 +0100 Subject: [PATCH] Updated Application icon and notifcation pagination items per page, and updated NotificationsBell --- .../Controllers/NotificationController.php | 2 +- resources/js/Layouts/AdminLayout.vue | 10 +-- resources/js/Layouts/AppLayout.vue | 21 +---- resources/js/Layouts/AppPhoneLayout.vue | 6 +- .../js/Layouts/Partials/NotificationsBell.vue | 77 +++++++++---------- .../Workflow/Partials/DecisionTable.vue | 66 ++++++++-------- 6 files changed, 83 insertions(+), 99 deletions(-) diff --git a/app/Http/Controllers/NotificationController.php b/app/Http/Controllers/NotificationController.php index 88afccd..ad88088 100644 --- a/app/Http/Controllers/NotificationController.php +++ b/app/Http/Controllers/NotificationController.php @@ -19,7 +19,7 @@ public function unread(Request $request) } $today = now()->toDateString(); - $perPage = max(1, min(100, (int) $request->integer('perPage', 15))); + $perPage = max(1, min(100, (int) $request->integer('per_page', 15))); $search = trim((string) $request->input('search', '')); $clientUuid = trim((string) $request->input('client', '')); $clientId = null; diff --git a/resources/js/Layouts/AdminLayout.vue b/resources/js/Layouts/AdminLayout.vue index cad7dc1..e7e70ca 100644 --- a/resources/js/Layouts/AdminLayout.vue +++ b/resources/js/Layouts/AdminLayout.vue @@ -251,19 +251,17 @@ function isActive(patterns) { : 'sticky top-0 h-screen overflow-y-auto', ]" > -
+
- Admin + Administrator
diff --git a/resources/js/Layouts/AppLayout.vue b/resources/js/Layouts/AppLayout.vue index 1268e85..de9f29a 100644 --- a/resources/js/Layouts/AppLayout.vue +++ b/resources/js/Layouts/AppLayout.vue @@ -10,19 +10,6 @@ import GlobalSearch from "./Partials/GlobalSearch.vue"; import NotificationsBell from "./Partials/NotificationsBell.vue"; import ToastContainer from "@/Components/Toast/ToastContainer.vue"; import { Button } from "@/Components/ui/button"; -import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; -import { - faMobileScreenButton, - faGaugeHigh, - faLayerGroup, - faUserGroup, - faFolderOpen, - faFileImport, - faTableList, - faFileCirclePlus, - faMap, - faGear, -} from "@fortawesome/free-solid-svg-icons"; import { MenuIcon } from "lucide-vue-next"; import { SearchIcon } from "lucide-vue-next"; import { ChevronDownIcon } from "lucide-vue-next"; @@ -310,18 +297,18 @@ function isActive(patterns) { ]" >
- Teren + Aplikacija
diff --git a/resources/js/Layouts/AppPhoneLayout.vue b/resources/js/Layouts/AppPhoneLayout.vue index c2e4eda..8e74971 100644 --- a/resources/js/Layouts/AppPhoneLayout.vue +++ b/resources/js/Layouts/AppPhoneLayout.vue @@ -149,14 +149,14 @@ const closeSearch = () => (searchOpen.value = false); > - Teren + Mobitel
diff --git a/resources/js/Layouts/Partials/NotificationsBell.vue b/resources/js/Layouts/Partials/NotificationsBell.vue index 4fd6ce7..8a0e745 100644 --- a/resources/js/Layouts/Partials/NotificationsBell.vue +++ b/resources/js/Layouts/Partials/NotificationsBell.vue @@ -1,12 +1,12 @@