From 5c24746657ac23c7a65c4e4efc89cf6bfcb5a52c Mon Sep 17 00:00:00 2001 From: Sam Light Date: Sun, 5 Nov 2023 19:38:00 +0000 Subject: Built basic table --- resources/views/table.blade.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 resources/views/table.blade.php (limited to 'resources/views/table.blade.php') diff --git a/resources/views/table.blade.php b/resources/views/table.blade.php new file mode 100644 index 0000000..1938b48 --- /dev/null +++ b/resources/views/table.blade.php @@ -0,0 +1,28 @@ +
+ + + + @foreach($columns as $column) + + @endforeach + + + + @foreach($data as $row) + + @foreach($columns as $column) + {{ $column->view($row) }} + @endforeach + + @endforeach + +
{{ $column->title }}
+
+ {{ $data->links() }} +
+ {{ __('Showing') }} {{ $data->count() }} + {{ __('of') }} {{ $data->total() }} + +
+
+
-- cgit v1.2.3