Add upload, preview sheet
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user