From 93534ebe52080717ac3bc00aa70467629ea328f1 Mon Sep 17 00:00:00 2001 From: Muhammad Ibrahim Date: Wed, 8 Oct 2025 09:40:38 +0100 Subject: [PATCH] Add dark mode support to BulkAssignModal --- frontend/src/pages/Hosts.jsx | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/frontend/src/pages/Hosts.jsx b/frontend/src/pages/Hosts.jsx index 83f8543..7c5f34d 100644 --- a/frontend/src/pages/Hosts.jsx +++ b/frontend/src/pages/Hosts.jsx @@ -1589,28 +1589,31 @@ const BulkAssignModal = ({ return (
-
+
-

+

Assign to Host Group

-

+

Assigning {selectedHosts.length} host {selectedHosts.length !== 1 ? "s" : ""}:

-
+
{selectedHostNames.map((friendlyName) => ( -
+
• {friendlyName}
))} @@ -1621,7 +1624,7 @@ const BulkAssignModal = ({
@@ -1629,7 +1632,7 @@ const BulkAssignModal = ({ id={bulkHostGroupId} value={selectedGroupId} onChange={(e) => setSelectedGroupId(e.target.value)} - className="w-full px-3 py-2 border border-secondary-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary-500" + className="w-full px-3 py-2 border border-secondary-300 dark:border-secondary-600 rounded-md bg-white dark:bg-secondary-700 text-secondary-900 dark:text-white focus:outline-none focus:ring-2 focus:ring-primary-500" > {hostGroups?.map((group) => ( @@ -1638,7 +1641,7 @@ const BulkAssignModal = ({ ))} -

+

Select a group to assign these hosts to, or leave ungrouped.