- ServerDashbord Hinzugefügt

-Ftp Seite überarbeitet mit path auswahl und zurück plus weiter button. Fehlt noch logik zum speichern vom path in global variable (: um sie zu laden evtl local zwischen speichern damit nicht jedes mal eine anfrage zum server kommt.

-Server Dashboard beispiel mod config hinzugefügt um ftp string zu lesen und schreiben. Plugin unterstützung fehlt hier noch plus plugin muss erstmal geschrieben werden das er es kann :P
This commit is contained in:
tbS
2025-08-23 16:13:08 +02:00
parent 4a7b283aa3
commit 7afbf78bb0
11 changed files with 391 additions and 56 deletions

View File

@@ -47,4 +47,18 @@ public partial class FtpView : ReactiveUserControl<FtpViewModel>
private TextBox CurrentPathTextBox_ => this.FindControl<TextBox>("CurrentPathTextBox");
private ListBox FtpFileList_ => this.FindControl<ListBox>("FtpFileList");
private void Weiter_Clicked(object? sender, Avalonia.Interactivity.RoutedEventArgs e)
{
//Settings.SettingsSave("LizenzKey", LizenzKeyTextBox.Text);
if (this.Parent.Parent.Parent is MainWindow mainWindow)
{
if (mainWindow.DataContext is MainWindowViewModel mainWindowViewModel)
{
mainWindowViewModel.SwitchToServerDashboard();
}
}
}
}