From 71bcf277f69e6fdebd35006c8a011dcef5ba444a Mon Sep 17 00:00:00 2001 From: w33b Date: Wed, 15 Oct 2025 19:33:37 +0200 Subject: [PATCH] Add type icons to downloads search page --- .../views/livewire/downloads-search.blade.php | 75 ++++++++++++++++--- 1 file changed, 64 insertions(+), 11 deletions(-) diff --git a/resources/views/livewire/downloads-search.blade.php b/resources/views/livewire/downloads-search.blade.php index 95654d6..f787c8a 100644 --- a/resources/views/livewire/downloads-search.blade.php +++ b/resources/views/livewire/downloads-search.blade.php @@ -1,5 +1,5 @@
-
+
@@ -36,7 +36,8 @@
-
+
@@ -44,8 +45,9 @@ class="inline-flex w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-rose-800 focus:border-rose-900 dark:bg-neutral-900 dark:border-neutral-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-rose-800 dark:focus:border-rose-900" wire:click="toggleDropdown"> Select Type -
+ class="relative pt-5 mx-auto sm:px-6 lg:px-8 space-y-6 text-gray-900 dark:text-white max-w-[100%] lg:max-w-[90%] xl:max-w-[80%] 2xl:max-w-[60%]">
@@ -105,9 +107,10 @@
- - -
Download
+ + + +
Download
@php @@ -128,8 +131,58 @@ {{ $title }}
+ +
+ + Type: + +
+ @if ($download->type === 'FHD' || $download->type === 'FHDi') + + + + + + + + + @else + + + + + + + + + + @endif + + @if ($download->type === 'FHDi' || $download->type === 'UHDi') + + + + + + @endif +
+
+ -
+
Size: @@ -137,7 +190,7 @@
-
+
Date: @@ -145,7 +198,7 @@
-
+
@php if (in_array($download->type, ['FHD', 'FHDi'])) { $downloadURL =