mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-08-21 15:47:41 +00:00
Fix broken back button on dashboard page by replacing it with navigation buttons for users, groups, and computers.
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/3a4b6aa9-2de4-44cc-933c-5de0d380f123.jpg
This commit is contained in:
@@ -378,15 +378,35 @@ export default function DashboardPage() {
|
|||||||
<div className="container mx-auto py-6">
|
<div className="container mx-auto py-6">
|
||||||
<div className="flex justify-between items-center mb-6">
|
<div className="flex justify-between items-center mb-6">
|
||||||
<div className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
<Button
|
<div className="flex space-x-2">
|
||||||
variant="outline"
|
<Button
|
||||||
size="sm"
|
variant="outline"
|
||||||
onClick={() => setLocation("/")}
|
size="sm"
|
||||||
className="mr-2"
|
onClick={() => setLocation("/users")}
|
||||||
>
|
className="text-xs"
|
||||||
<ArrowLeft className="h-4 w-4 mr-2" />
|
>
|
||||||
Back
|
<ArrowLeft className="h-3 w-3 mr-1" />
|
||||||
</Button>
|
Users
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
variant="outline"
|
||||||
|
size="sm"
|
||||||
|
onClick={() => setLocation("/groups")}
|
||||||
|
className="text-xs"
|
||||||
|
>
|
||||||
|
<ArrowLeft className="h-3 w-3 mr-1" />
|
||||||
|
Groups
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
variant="outline"
|
||||||
|
size="sm"
|
||||||
|
onClick={() => setLocation("/computers")}
|
||||||
|
className="text-xs"
|
||||||
|
>
|
||||||
|
<ArrowLeft className="h-3 w-3 mr-1" />
|
||||||
|
Computers
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
<h1 className="text-3xl font-bold">Dashboards</h1>
|
<h1 className="text-3xl font-bold">Dashboards</h1>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user