From 1f59cda01db6bc2707cc4f5337a6a9694194077e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=91=D0=B0=D0=B1=D0=BA=D0=B8=D0=BD?= Date: Tue, 12 Jul 2022 13:16:50 +0300 Subject: [PATCH] scan interface variants --- public/css/app.css | 17 ++++++ resources/views/mmc/scan.blade.php | 96 +++++++++++++++++++----------- 2 files changed, 79 insertions(+), 34 deletions(-) diff --git a/public/css/app.css b/public/css/app.css index d3ebebb..a3c6b03 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -749,6 +749,9 @@ select { .mb-4 { margin-bottom: 1rem; } +.-mb-px { + margin-bottom: -1px; +} .block { display: block; } @@ -879,6 +882,9 @@ select { .flex-col { flex-direction: column; } +.flex-wrap { + flex-wrap: wrap; +} .items-center { align-items: center; } @@ -924,6 +930,10 @@ select { border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem; } +.rounded-t-lg { + border-top-left-radius: 0.5rem; + border-top-right-radius: 0.5rem; +} .border { border-width: 1px; } @@ -989,6 +999,10 @@ select { --tw-bg-opacity: 1; background-color: rgb(238 242 255 / var(--tw-bg-opacity)); } +.bg-gray-50 { + --tw-bg-opacity: 1; + background-color: rgb(249 250 251 / var(--tw-bg-opacity)); +} .fill-current { fill: currentColor; } @@ -998,6 +1012,9 @@ select { .p-2 { padding: 0.5rem; } +.p-4 { + padding: 1rem; +} .px-4 { padding-left: 1rem; padding-right: 1rem; diff --git a/resources/views/mmc/scan.blade.php b/resources/views/mmc/scan.blade.php index e7e1766..6595969 100644 --- a/resources/views/mmc/scan.blade.php +++ b/resources/views/mmc/scan.blade.php @@ -10,44 +10,72 @@
- @foreach ($MMC as $key => $value) -

АУК {{ $key }}

- +
+
+
+

+ 123 +

+
+
+
123123123
+ +
+
+
+ {{--
+
    + @foreach ($MMC as $key => $value) + + @endforeach +
+
+
+ @foreach ($MMC as $key => $value) + + @endforeach +
--}} + {{--

АУК {{ $key }}

+
+ + + + + + + + @forelse ($value['images'] as $image) - - - - - + + + + + - @forelse ($value['images'] as $image) - - - - - - - - @empty - - - - @endforelse -
+ {{ __('File') }} + + {{ __('Size') }} + + {{ __('MTime') }} + + {{ __('ATime') }} + + {{ __('Actions') }} +
- {{ __('File') }} - - {{ __('Size') }} - - {{ __('MTime') }} - - {{ __('ATime') }} - - {{ __('Actions') }} - {{ $image['file'] }}{{ $image['size'] }}{{ $image['mtime'] }}{{ $image['atime'] }} 
{{ $image['file'] }}{{ $image['size'] }}{{ $image['mtime'] }}{{ $image['atime'] }} 
No Documents! -
- @endforeach + @empty + + No Documents! + + + @endforelse + --}}