From 0312a5f957c8ab6619c0abd7d25a9845d8568105 Mon Sep 17 00:00:00 2001
From: johnnyq
Date: Sat, 23 Sep 2023 19:11:08 -0400
Subject: [PATCH] Client Side UI: Removed the black on white on black badge
counters they were just to distracting changed it to a more suble light
number, also merged side alert badges
---
client_side_nav.php | 71 ++++++++++++++++++---------------------------
inc_all_client.php | 3 ++
2 files changed, 31 insertions(+), 43 deletions(-)
diff --git a/client_side_nav.php b/client_side_nav.php
index 86b375ce..1731b8cc 100644
--- a/client_side_nav.php
+++ b/client_side_nav.php
@@ -27,7 +27,7 @@
Contacts
0) { ?>
-
+
@@ -40,7 +40,7 @@
Locations
0) { ?>
-
+
@@ -55,7 +55,7 @@
Assets
0) { ?>
-
+
@@ -68,7 +68,7 @@
Licenses
0) { ?>
-
+
@@ -81,7 +81,7 @@
Passwords
0) { ?>
-
+
@@ -94,7 +94,7 @@
Networks
0) { ?>
-
+
@@ -108,11 +108,7 @@
0) { ?>
-
-
-
- 0) { ?>
-
+
@@ -126,13 +122,8 @@
0) { ?>
-
+
-
- 0) { ?>
-
-
-
@@ -145,14 +136,9 @@
Tickets
-
0) { ?>
-
-
-
- 0) { ?>
-
+
@@ -164,10 +150,9 @@
Schedule Ticket
-
0) { ?>
-
+
@@ -183,7 +168,7 @@
Services
0) { ?>
-
+
@@ -196,7 +181,7 @@
Vendors
0) { ?>
-
+
@@ -209,7 +194,7 @@
Events
0) { ?>
-
+
@@ -222,7 +207,7 @@
Files
0) { ?>
-
+
@@ -235,7 +220,7 @@
Documents
0) { ?>
-
+
@@ -250,16 +235,10 @@
Invoices
-
0) { ?>
-
+
-
- 0) { ?>
-
-
-
@@ -271,7 +250,7 @@
Rec. Invoices
0) { ?>
-
+
@@ -284,7 +263,7 @@
Quotes
0) { ?>
-
+
@@ -297,7 +276,7 @@
Payments
0) { ?>
-
+
@@ -310,7 +289,7 @@
Trips
0) { ?>
-
+
@@ -327,7 +306,7 @@
Shared Links
0) { ?>
-
+
@@ -336,7 +315,13 @@
">
- Audit Logs
+
+ Audit Logs
+ 0) { ?>
+
+
+
diff --git a/inc_all_client.php b/inc_all_client.php
index 94d0c60b..f22a77fe 100644
--- a/inc_all_client.php
+++ b/inc_all_client.php
@@ -192,6 +192,9 @@ if (isset($_GET['client_id'])) {
$row = mysqli_fetch_assoc(mysqli_query($mysqli, "SELECT COUNT('item_id') AS num FROM shared_items WHERE item_client_id = $client_id"));
$num_shared_links = $row['num'];
+ $row = mysqli_fetch_assoc(mysqli_query($mysqli, "SELECT COUNT('log_id') AS num FROM logs WHERE log_client_id = $client_id"));
+ $num_logs = $row['num'];
+
// Expiring Items
// Count Domains Expiring within 30 Days