Added boilerplate acknowledgement and keywords

This commit is contained in:
2025-10-07 12:03:40 +02:00
parent 48af642e4f
commit 670dd9596e
2 changed files with 37 additions and 1 deletions

13
ui.js
View File

@@ -178,6 +178,19 @@ async function assignment_layout(content, result) {
}
}
async function finishing_touches_layout(content, result) {
content.appendChild(new BinaryInputBuilder(result, "has_keywords")
.label("Vložit klíčová slova")
.finish());
content.appendChild(new BinaryInputBuilder(result, "has_acknowledgement")
.label("Vložit poděkování")
.finish());
content.appendChild(new ElementBuilder("div.vertical-spacer").finish());
content.appendChild(new ElementBuilder("div.hint")
.text("Generátor pouze vygeneruje ukázky, jak by tato pole měla vypadat. Samotná klíčová slova či poděkování si poté upravíte dle svých potřeb.")
.finish());
}
async function run() {
startbutton.style.cursor = "auto";
startbutton.disabled = true;