refactor: buttons

This commit is contained in:
Matthias Jung
2026-08-05 00:00:48 +02:00
parent b34745db4c
commit 89999d8b54
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -159,8 +159,8 @@ class Build:
content = exam_template.render() content = exam_template.render()
page = self.__build_page( page = self.__build_page(
content, content,
page_stylesheets=["assets/exam-simulator.css"], page_stylesheets=["assets/exam-simulator.css?ts=20260804"],
page_scripts=["assets/vue.global.prod.js", "assets/exam-simulator.js"], page_scripts=["assets/vue.global.prod.js", "assets/exam-simulator.js?ts=20260804"],
) )
with (self.config.p_build / "simulation.html").open("w", encoding="utf-8") as file: with (self.config.p_build / "simulation.html").open("w", encoding="utf-8") as file:
file.write(page) file.write(page)
+1 -1
View File
@@ -164,7 +164,7 @@
</div> </div>
</template> </template>
<div class="border-top pt-3 mb-5 d-flex flex-wrap gap-2 align-items-center"> <div class="border-top pt-3 mb-5 d-flex flex-wrap gap-2 align-items-center justify-content-end">
<template v-if="currentPart.status === 'running'"> <template v-if="currentPart.status === 'running'">
<span class="me-auto"><b v-text="answeredCount"></b> von 25 Fragen beantwortet.</span> <span class="me-auto"><b v-text="answeredCount"></b> von 25 Fragen beantwortet.</span>
<button type="button" class="btn btn-primary" @click="requestSubmit">Prüfungsteil abgeben</button> <button type="button" class="btn btn-primary" @click="requestSubmit">Prüfungsteil abgeben</button>