[#2445] added support for multiple files sort in the Admin UI

This commit is contained in:
Gani Georgiev
2023-05-17 22:41:42 +03:00
parent 24ab233376
commit 04e0ad9b21
37 changed files with 380 additions and 318 deletions

View File

@@ -46,6 +46,7 @@
<div class="thumb {size ? `thumb-${size}` : ''}" />
{:else}
<a
draggable={false}
class="thumb {size ? `thumb-${size}` : ''}"
href={originalUrl}
target="_blank"
@@ -59,7 +60,13 @@
}}
>
{#if type === "image"}
<img src={thumbUrl} alt={filename} title="Preview {filename}" on:error={onError} />
<img
draggable={false}
src={thumbUrl}
alt={filename}
title="Preview {filename}"
on:error={onError}
/>
{:else if type === "video" || type === "audio"}
<i class="ri-video-line" />
{:else}