|
- {agentType.name}
+ {agentType.name}
|
-
+
{agentType.description || '-'}
|
- {agentType.icon || '-'}
+ {agentType.icon || '-'}
|
- {agentType.sortOrder}
+ {agentType.sortOrder}
|
|
- {agentType._count?.agents || 0}
+ {agentType._count?.agents || 0}
|
@@ -300,10 +300,10 @@ export default function AgentTypesPage() {
{/* Create/Edit Modal */}
{(modalType === 'create' || modalType === 'edit') && (
-
-
-
-
+
+
+
+
{modalType === 'create' ? 'Create Agent Type' : 'Edit Agent Type'}
@@ -315,42 +315,42 @@ export default function AgentTypesPage() {
)}
-
-
+
Description
-
+
Icon (emoji or icon name)
setFormData({ ...formData, icon: e.target.value })}
- className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-gray-900 bg-white placeholder:text-gray-500"
+ className="w-full px-3 py-2 border border-[#e5e7eb] rounded-xl focus:ring-2 focus:ring-[#f5a623] focus:border-[#f5a623] text-[#00293d] bg-white placeholder:text-[#666666]"
placeholder="e.g. house, building, key"
/>
-
+
Sort Order
e.target.select()}
placeholder="0"
min={0}
- className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-gray-900 bg-white placeholder:text-gray-500"
+ className="w-full px-3 py-2 border border-[#e5e7eb] rounded-xl focus:ring-2 focus:ring-[#f5a623] focus:border-[#f5a623] text-[#00293d] bg-white placeholder:text-[#666666]"
/>
@@ -369,25 +369,25 @@ export default function AgentTypesPage() {
id="isActive"
checked={formData.isActive}
onChange={(e) => setFormData({ ...formData, isActive: e.target.checked })}
- className="rounded border-gray-300 text-blue-600 focus:ring-blue-500"
+ className="rounded border-[#e5e7eb] text-[#f5a623] focus:ring-[#f5a623]"
/>
-
+
Active
-
+
@@ -399,10 +399,10 @@ export default function AgentTypesPage() {
{/* Delete Confirmation Modal */}
{modalType === 'delete' && selectedType && (
-
-
-
- Delete Agent Type
+
+
+
+ Delete Agent Type
{modalError && (
@@ -410,7 +410,7 @@ export default function AgentTypesPage() {
{modalError}
)}
-
+
Are you sure you want to delete {selectedType.name}?
{selectedType._count?.agents && selectedType._count.agents > 0 && (
@@ -419,10 +419,10 @@ export default function AgentTypesPage() {
)}
-
+
diff --git a/src/app/dashboard/layout.tsx b/src/app/dashboard/layout.tsx
index a35a1ed..bb1de11 100644
--- a/src/app/dashboard/layout.tsx
+++ b/src/app/dashboard/layout.tsx
@@ -38,8 +38,8 @@ export default function DashboardLayout({
if (isLoading) {
return (
-
-
+
);
}
@@ -49,35 +49,35 @@ export default function DashboardLayout({
}
return (
-
+
{/* Sidebar */}
{/* Main Content */}
{/* Top Header */}
-
+
{/* User Dropdown */}
|