mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
57597dac29
- added updatemails - added reservierungssync - updated status kurzbz - reservierung renderer for tempus
46 lines
1.4 KiB
JavaScript
46 lines
1.4 KiB
JavaScript
/**
|
|
* Copyright (C) 2024 fhcomplete.org
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
import FhcTempus from "../components/Tempus/Tempus.js";
|
|
|
|
import Phrasen from "../plugins/Phrasen.js";
|
|
import {capitalize} from "../helpers/StringHelpers.js";
|
|
|
|
|
|
const ciPath = FHC_JS_DATA_STORAGE_OBJECT.app_root.replace(/(https:|)(^|\/\/)(.*?\/)/g, '') + FHC_JS_DATA_STORAGE_OBJECT.ci_router;
|
|
|
|
const router = VueRouter.createRouter({
|
|
history: VueRouter.createWebHistory(),
|
|
routes: [
|
|
{ path: `/${ciPath}/Tempus`, component: FhcTempus },
|
|
]
|
|
});
|
|
|
|
const app = Vue.createApp();
|
|
|
|
app.config.globalProperties.$capitalize = capitalize;
|
|
app
|
|
.use(router)
|
|
.use(primevue.config.default, {
|
|
zIndex: {
|
|
overlay: 1100
|
|
}
|
|
})
|
|
.use(Phrasen)
|
|
.directive('tooltip', primevue.tooltip)
|
|
.mount('#main');
|