forked from jeena/FeedTheMonkey
43 lines
897 B
Text
43 lines
897 B
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template $LoginDialog : Adw.Dialog {
|
|
title: _("Log In");
|
|
content-width: 360;
|
|
|
|
Adw.ToolbarView {
|
|
[top]
|
|
Adw.HeaderBar {}
|
|
|
|
Adw.Clamp {
|
|
margin-top: 12;
|
|
margin-bottom: 24;
|
|
margin-start: 12;
|
|
margin-end: 12;
|
|
|
|
Adw.PreferencesGroup {
|
|
description: _("FreshRSS: https://example.com/api/greader.php\nMiniflux: https://example.com");
|
|
|
|
Adw.EntryRow server_url_row {
|
|
title: _("Server URL");
|
|
input-hints: no_spellcheck;
|
|
input-purpose: url;
|
|
}
|
|
|
|
Adw.EntryRow username_row {
|
|
title: _("Username");
|
|
input-hints: no_spellcheck;
|
|
}
|
|
|
|
Adw.PasswordEntryRow password_row {
|
|
title: _("Password");
|
|
}
|
|
|
|
Adw.ButtonRow login_button {
|
|
title: _("Log In");
|
|
styles ["suggested-action"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|