refactor: buttons
This commit is contained in:
+2
-2
@@ -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)
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user