Add upload, preview sheet

This commit is contained in:
Christoph Hagen
2025-02-15 01:02:25 +01:00
parent 0753d91f29
commit 2cad27b504
14 changed files with 358 additions and 115 deletions

View File

@ -22,6 +22,21 @@ struct GeneralSettingsDetailView: View {
title: "Link Preview Image Height",
value: $generalSettings.linkPreviewImageHeight,
footer: "The maximum height of a link preview image")
StringPropertyView(
title: "Upload User",
text: $generalSettings.remoteUserForUpload,
footer: "The user on the server to connect via ssh for upload")
IntegerPropertyView(
title: "Upload Port",
value: $generalSettings.remotePortForUpload,
footer: "The port on the server to rsync the generated website")
StringPropertyView(
title: "Upload Folder",
text: $generalSettings.remotePathForUpload,
footer: "The path to the folder on the server where the files should be uploaded to")
}
.padding()
}