From 39a4fd938c19235721e673c96640d1d36e21d184 Mon Sep 17 00:00:00 2001 From: robin Date: Fri, 8 Dec 2023 12:48:26 +0000 Subject: [PATCH] sort --- api/collections/content.yml | 11 +++++++++++ api/collections/medialib.yml | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/api/collections/content.yml b/api/collections/content.yml index c6280f3..c4f8dce 100644 --- a/api/collections/content.yml +++ b/api/collections/content.yml @@ -8,8 +8,19 @@ meta: backup: active: true collectionName: backups + defaultSort: + field: updatedTime + order: MANUALLY views: + - type: simpleList + selectionPriority: 0 + primaryText: pageTitle + secondaryText: path + mediaQuery: "(min-width: 0px)" + tertiaryText: type - type: table + selectionPriority: 1 + mediaQuery: "(min-width: 700px)" columns: - source: type name: Typ diff --git a/api/collections/medialib.yml b/api/collections/medialib.yml index 111ef3d..74af913 100644 --- a/api/collections/medialib.yml +++ b/api/collections/medialib.yml @@ -28,7 +28,7 @@ meta: # Bildgröße bei der Anzeige im tibi-admin (Listen). # Die Bildgröße für die Einbindung ins erzeugte HTML des ContentBuilder # hat hiermit nix zu tun. - defaultImageFilter: s + defaultImageFilter: xs multiupload: fields: [] @@ -121,6 +121,37 @@ hooks: type: javascript file: hooks/clear_cache.js +imageFilter: + xs: + - fit: true + height: 90 + width: 90 + resampling: lanczos + quality: 60 + s: + - fit: true + height: 300 + width: 300 + resampling: lanczos + quality: 60 + m: + - fit: true + height: 600 + width: 600 + resampling: lanczos + quality: 60 + l: + - fit: true + height: 1200 + width: 1200 + resampling: lanczos + quality: 60 + xl: + - fit: true + height: 2000 + width: 2000 + resampling: lanczos + quality: 60 fields: - name: file type: file