2024-10-10 10:12:43 +00:00
|
|
|
using Gtk 4.0;
|
|
|
|
using Adw 1;
|
|
|
|
|
|
|
|
template $WaveletSetup: Adw.NavigationPage {
|
|
|
|
title: _("Setup");
|
|
|
|
|
|
|
|
Adw.ToolbarView {
|
|
|
|
[top]
|
|
|
|
Adw.HeaderBar {}
|
|
|
|
|
|
|
|
Adw.Clamp {
|
|
|
|
child: Adw.PreferencesGroup {
|
2024-10-10 10:16:23 +00:00
|
|
|
title: _("Authentication");
|
2024-10-10 10:12:43 +00:00
|
|
|
|
|
|
|
Adw.EntryRow server_url {
|
2024-10-10 10:16:23 +00:00
|
|
|
title: _("Server URL");
|
2024-10-10 10:12:43 +00:00
|
|
|
input-purpose: url;
|
|
|
|
}
|
|
|
|
|
|
|
|
Adw.EntryRow username {
|
2024-10-10 10:16:23 +00:00
|
|
|
title: _("Username");
|
2024-10-10 10:12:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Adw.PasswordEntryRow password {
|
2024-10-10 10:16:23 +00:00
|
|
|
title: _("Password");
|
2024-10-10 10:12:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Adw.ActionRow status {
|
2024-10-10 10:16:23 +00:00
|
|
|
title: _("Status");
|
|
|
|
subtitle: _("Not connected");
|
2024-10-10 10:12:43 +00:00
|
|
|
|
|
|
|
styles [
|
|
|
|
"property",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
Adw.ButtonRow validate {
|
2024-10-10 10:16:23 +00:00
|
|
|
title: _("Connect and save");
|
2024-10-10 10:12:43 +00:00
|
|
|
sensitive: false;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|