mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
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:
@@ -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,6 +1,7 @@
|
||||
<?php
|
||||
$includesArray = array(
|
||||
'title' => 'Dashboard',
|
||||
'tabulator5'=>true,
|
||||
'customJSModules' => ['public/js/apps/Dashboard/Fhc.js'],
|
||||
'customCSSs' => [
|
||||
'public/css/components/dashboard.css'
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
$includesArray = array(
|
||||
'tabulator5'=>true,
|
||||
'customJSModules' => ['public/js/apps/Dashboard/Fhc.js'],
|
||||
'customCSSs' => [
|
||||
'public/css/components/dashboard.css'
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user