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