From edc165e76223166d2026396b465505cb2f3d49e7 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 26 Feb 2024 16:23:13 +0100 Subject: [PATCH] Make the dashboard table properly responsive --- .../resources/dashboard.blade.php | 80 ++++++++++--------- 1 file changed, 41 insertions(+), 39 deletions(-) diff --git a/packages/realtime-compiler/resources/dashboard.blade.php b/packages/realtime-compiler/resources/dashboard.blade.php index 25a1d8c7b9c..9b8ce08f1ea 100644 --- a/packages/realtime-compiler/resources/dashboard.blade.php +++ b/packages/realtime-compiler/resources/dashboard.blade.php @@ -228,46 +228,48 @@ @endif @else - - - @foreach(['Page Type', 'Route Key', 'Source File', 'Output File', 'Identifier'] as $header) - - @endforeach - - - @foreach($dashboard->getPageList() as $route) - getFlash('justCreatedPage') === $route->getRouteKey() ? 'justCreatedPage active' : ''])> - - - - - - +
+
{{ $header }}Actions
- {{ class_basename($route->getPageClass()) }} - - {{ $route->getRouteKey() }} - - {{ $route->getSourcePath() }} - - {{ $route->getOutputPath() }} - - {{ $route->getPageIdentifier() }} - -
- @if($dashboard->isInteractive()) -
- - - - -
- @endif - View -
-
+ + @foreach(['Page Type', 'Route Key', 'Source File', 'Output File', 'Identifier'] as $header) + + @endforeach + - @endforeach -
{{ $header }}Actions
+ @foreach($dashboard->getPageList() as $route) + getFlash('justCreatedPage') === $route->getRouteKey() ? 'justCreatedPage active' : ''])> + + {{ class_basename($route->getPageClass()) }} + + + {{ $route->getRouteKey() }} + + + {{ $route->getSourcePath() }} + + + {{ $route->getOutputPath() }} + + + {{ $route->getPageIdentifier() }} + + +
+ @if($dashboard->isInteractive()) +
+ + + + +
+ @endif + View +
+ + + @endforeach + + @endif