From fa74b70b9860cfbcdbd7fe31da4df1d65b48e62a Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 8 Nov 2024 02:28:37 +0100 Subject: [PATCH] dashboard.view --- .../index.blade.php} | 1 + resources/views/dashboard/users.blade.php | 45 +++++++++++++++++++ resources/views/layouts/navigation.blade.php | 8 ++++ 3 files changed, 54 insertions(+) rename resources/views/{dashboard.blade.php => dashboard/index.blade.php} (99%) create mode 100644 resources/views/dashboard/users.blade.php diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard/index.blade.php similarity index 99% rename from resources/views/dashboard.blade.php rename to resources/views/dashboard/index.blade.php index 66028f2..d4998da 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard/index.blade.php @@ -14,4 +14,5 @@ + diff --git a/resources/views/dashboard/users.blade.php b/resources/views/dashboard/users.blade.php new file mode 100644 index 0000000..03b37d4 --- /dev/null +++ b/resources/views/dashboard/users.blade.php @@ -0,0 +1,45 @@ + + +

+ {{ __('Usuarios') }} +

+
+ +
+
+
+ + + + + + + + + + + + + + @foreach ($users as $user) + + + + + + + + + + + @endforeach + +
IDNameEmailCreated AtUpdated AtRolesActions
1{{ $user->name }}{{ $user->email }}{{ $user->created_at }}{{ $user->updated_at }}{{ implode(', ', $user->getRoleNames()->toArray()) }} + + +
+
+
+
+ +
diff --git a/resources/views/layouts/navigation.blade.php b/resources/views/layouts/navigation.blade.php index c2d3a65..47eda72 100644 --- a/resources/views/layouts/navigation.blade.php +++ b/resources/views/layouts/navigation.blade.php @@ -16,6 +16,14 @@ {{ __('Dashboard') }} + + + +