Unified detail views, model

This commit is contained in:
Christoph Hagen
2024-12-16 09:54:21 +01:00
parent 1e67a99866
commit 31d1ecb8bd
57 changed files with 853 additions and 954 deletions

View File

@@ -15,28 +15,28 @@ struct PostFeedSettingsView: View {
text: "Change the way the posts are displayed")
IntegerPropertyView(
value: $content.settings.posts.contentWidth,
title: "Content Width",
value: $content.settings.posts.contentWidth,
footer: "The maximum width of the content the post feed (in pixels)")
IntegerPropertyView(
value: $content.settings.posts.postsPerPage,
title: "Posts Per Page",
value: $content.settings.posts.postsPerPage,
footer: "The maximum number of posts displayed on a single page")
FilePropertyView(
title: "Default CSS File",
description: "The CSS file containing the styling of all post pages",
footer: "The CSS file containing the styling of all post pages",
selectedFile: $content.settings.posts.defaultCssFile)
FilePropertyView(
title: "Swiper CSS File",
description: "The CSS file containing the styling of image galleries in post feeds",
footer: "The CSS file containing the styling of image galleries in post feeds",
selectedFile: $content.settings.posts.swiperCssFile)
FilePropertyView(
title: "Swiper JavaScript File",
description: "The JavaScript file to load the image gallery code in post feeds",
footer: "The JavaScript file to load the image gallery code in post feeds",
selectedFile: $content.settings.posts.swiperJsFile)
LocalizedPostFeedSettingsView(