1
0
mirror of https://gitlab.cvh-server.de/skrause/flashcards.git synced 2025-12-12 09:01:37 +01:00
Files
flashcards/resources/ui/create-card.blp
2025-04-05 08:55:56 +02:00

31 lines
512 B
Plaintext

using Gtk 4.0;
using Adw 1;
template $FlashcardsCreateCardDialog : Adw.AlertDialog {
heading: _("Create a new flashcard");
close-response: "cancel";
responses [
cancel: _("Cancel"),
add: _("Add") suggested,
]
response => $on_response();
Box {
orientation: vertical;
spacing: 12;
Adw.EntryRow titleEntry {
title: _("Title");
styles [
"card",
]
}
Adw.EntryRow answerEntry {
title: _("Answer");
styles [
"card",
]
}
}
}