- 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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user