feat:#37 switched button locations

This commit is contained in:
Elmar Kresse
2024-07-08 20:55:39 +02:00
parent 070e0ac0b0
commit 78472a42d6
4 changed files with 46 additions and 3 deletions

View File

@@ -23,6 +23,10 @@ import AdditionalModuleTable from "@/components/AdditionalModuleTable.vue";
const store = moduleStore();
function topFunction() {
window.scrollTo({top: 0, behavior: 'smooth'});
}
async function nextStep() {
await router.push("/rename-modules");
}
@@ -35,7 +39,6 @@ async function nextStep() {
{{ $t("additionalModules.subTitle") }}
</h3>
</div>
<AdditionalModuleTable />
<div
class="flex align-items-center justify-content-end h-4rem m-2 w-full lg:w-10"
>
@@ -47,5 +50,17 @@ async function nextStep() {
@click="nextStep()"
/>
</div>
<AdditionalModuleTable />
<div
class="flex align-items-center justify-content-end h-4rem m-2 w-full lg:w-10"
>
<Button
class="col-12 md:col-4 mb-3 align-self-end"
severity="secondary"
icon="pi pi-arrow-up"
:label="$t('additionalModules.scrollToTop')"
@click="topFunction()"
/>
</div>
</div>
</template>