makes contentModal bigger for the room content and uses the raum_info component to insert the tabulator in the content

This commit is contained in:
SimonGschnell
2024-07-05 10:00:54 +02:00
parent 79ffc1c077
commit 08555a77be
4 changed files with 10 additions and 4 deletions
+1
View File
@@ -1,6 +1,7 @@
<?php
$includesArray = array(
'title' => 'FH-Complete',
'tabulator5'=>true,
'customJSModules' => ['public/js/apps/Dashboard/Fhc.js'],
'customCSSs' => [
'public/css/components/dashboard.css'
+1
View File
@@ -1,6 +1,7 @@
<?php
$includesArray = array(
'title' => 'Dashboard',
'tabulator5'=>true,
'customJSModules' => ['public/js/apps/Dashboard/Fhc.js'],
'customCSSs' => [
'public/css/components/dashboard.css'
+1
View File
@@ -1,5 +1,6 @@
<?php
$includesArray = array(
'tabulator5'=>true,
'customJSModules' => ['public/js/apps/Dashboard/Fhc.js'],
'customCSSs' => [
'public/css/components/dashboard.css'
+7 -4
View File
@@ -1,4 +1,5 @@
import BsModal from "../../Bootstrap/Modal";
import RaumContent from "./Content_types/Raum_contentmittitel";
export default {
@@ -8,6 +9,7 @@ export default {
components:{
BsModal,
RaumContent,
},
props:{
contentID:{
@@ -36,7 +38,8 @@ export default {
if(this.contentID){
this.$fhcApi.factory.cms.content(this.contentID).then(res =>{
this.content = res.data;
this.content = res.data.content;
this.type = res.data.type;
})
}
@@ -44,17 +47,17 @@ export default {
},
mounted(){
this.modal = this.$refs.modalContainer;
},
template:/*html*/`
<bs-modal @hideBsModal="modalHidden" @showBsModal="modalShown" ref="modalContainer" dialogClass="modal-lg">
<bs-modal @hideBsModal="modalHidden" dialogClass="modal-xl" @showBsModal="modalShown" ref="modalContainer" dialogClass="modal-lg">
<template #title>
<span v-if="ort_kurzbz">{{ort_kurzbz}}</span>
<span v-else>Raum Informationen</span>
</template>
<template #default>
<div v-if="content" v-html="content"></div>
<RaumContent v-if="content" :content="content"></RaumContent>
<div v-else>Der Content für diesen Raum konnte nicht geladen werden</div>
</template>
<template #footer>