35 add template dialog component + info button

This commit is contained in:
Christoph Walther
2023-10-31 22:37:47 +01:00
parent 4e23903b31
commit 09fb9b0e9b
3 changed files with 58 additions and 29 deletions

View File

@@ -6,6 +6,7 @@ import { fetchAllModules } from "../../api/fetchCourse";
import { saveIndividualFeed } from "../../api/createFeed";
import tokenStore from "../../store/tokenStore";
import router from "../../router";
import ModuleTemplateDialog from "../ModuleTemplateDialog.vue";
const tableData = computed(() =>
moduleStore().modules.map((module: Module) => {
@@ -47,8 +48,12 @@ async function finalStep() {
<template>
<div class="flex flex-column card-container mx-8 mt-2">
<div class="flex align-items-center justify-content-center h-4rem m-2">
<h3>Rename your selected Modules to your liking.</h3>
<ModuleTemplateDialog />
</div>
<div
class="flex align-items-center justify-content-center border-round m-2"
class="card flex align-items-center justify-content-center border-round m-2"
>
<DataTable
:value="tableData"