mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
removed language flags; anw phrasen added; added names to apps for easier devtools debugging;
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.9 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 8.5 KiB |
@@ -6,6 +6,7 @@ import fhcapifactory from "./api/fhcapifactory.js";
|
||||
Vue.$fhcapi = fhcapifactory;
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'CisApp',
|
||||
components: {
|
||||
FhcSearchbar,
|
||||
CisMenu
|
||||
|
||||
@@ -6,6 +6,7 @@ import Phrasen from "../../plugin/Phrasen.js";
|
||||
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'CmsApp',
|
||||
components: {
|
||||
CmsNews,
|
||||
CmsContent,
|
||||
|
||||
@@ -5,6 +5,7 @@ import Phrasen from '../../plugin/Phrasen.js';
|
||||
//CssLib.import('../../vendor/olifolkerd/tabulator5/dist/css/tabulator_bootstrap5.min.css');
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'DocumentsApp',
|
||||
// mixins: [
|
||||
// Phrasen
|
||||
// ],
|
||||
|
||||
@@ -2,6 +2,7 @@ import MylvStudent from "../../../components/Cis/Mylv/Student.js";
|
||||
import Phrasen from "../../../plugin/Phrasen.js";
|
||||
|
||||
Vue.createApp({
|
||||
name: 'MyLvStudentApp',
|
||||
components: {
|
||||
MylvStudent
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ Vue.$collapseFormatter = function (data) {
|
||||
};
|
||||
|
||||
const profilApp = Vue.createApp({
|
||||
name: 'ProfilApp',
|
||||
components: {
|
||||
StudentProfil,
|
||||
MitarbeiterProfil,
|
||||
@@ -403,4 +404,4 @@ const profilApp = Vue.createApp({
|
||||
profilApp
|
||||
.use(primevue.config.default, { zIndex: { overlay: 9999 } })
|
||||
.use(Phrasen)
|
||||
.mount("#content");
|
||||
.mount("#content");
|
||||
@@ -2,6 +2,7 @@ import ProfilUpdateView from "../../components/Cis/ProfilUpdate/ProfilUpdateView
|
||||
import Phrasen from "../../plugin/Phrasen.js";
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'ProfilUpdateRequestsApp',
|
||||
components: {
|
||||
["profil-update-view"]: ProfilUpdateView,
|
||||
},
|
||||
@@ -29,4 +30,4 @@ const app = Vue.createApp({
|
||||
});
|
||||
},
|
||||
});
|
||||
app.use(Phrasen).mount("#content");
|
||||
app.use(Phrasen).mount("#content");
|
||||
@@ -2,7 +2,7 @@ import Phrasen from "../../plugin/Phrasen.js";
|
||||
import RoomInformation from "../../components/Cis/Mylv/RoomInformation.js";
|
||||
|
||||
const app = Vue.createApp({
|
||||
|
||||
name: 'RoomInformationApp',
|
||||
components: {
|
||||
RoomInformation
|
||||
},
|
||||
|
||||
@@ -4,6 +4,7 @@ import CalendarDate from "../../composables/CalendarDate.js";
|
||||
import LvModal from "../../components/Cis/Mylv/LvModal.js";
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'StundenplanApp',
|
||||
data() {
|
||||
return {
|
||||
stunden: [],
|
||||
|
||||
@@ -4,6 +4,7 @@ import FhcApi from '../../plugin/FhcApi.js';
|
||||
import Phrasen from '../../plugin/Phrasen.js';
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'DashboardApp',
|
||||
data: () => ({
|
||||
appSideMenuEntries: {}
|
||||
}),
|
||||
|
||||
@@ -4,6 +4,7 @@ import FhcApi from '../../plugin/FhcApi.js';
|
||||
import Phrasen from '../../plugin/Phrasen.js';
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'AdminApp',
|
||||
data: () => ({
|
||||
appSideMenuEntries: {}
|
||||
}),
|
||||
@@ -15,4 +16,4 @@ const app = Vue.createApp({
|
||||
app.config.unwrapInjectedRef = true;
|
||||
app.use(FhcApi);
|
||||
app.use(Phrasen);
|
||||
app.mount('#main');
|
||||
app.mount('#main');
|
||||
@@ -3,6 +3,7 @@ import FhcApi from '../../plugin/FhcApi.js';
|
||||
import Phrasen from '../../plugin/Phrasen.js';
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'FhcApp',
|
||||
data: () => ({
|
||||
appSideMenuEntries: {}
|
||||
}),
|
||||
@@ -13,4 +14,4 @@ const app = Vue.createApp({
|
||||
app.config.unwrapInjectedRef = true;
|
||||
app.use(FhcApi);
|
||||
app.use(Phrasen);
|
||||
app.mount('#content');
|
||||
app.mount('#content');
|
||||
@@ -2,6 +2,7 @@ import {CoreNavigationCmpt} from '../components/navigation/Navigation.js';
|
||||
import DashboardAdmin from '../components/Dashboard/Admin.js';
|
||||
|
||||
Vue.createApp({
|
||||
name: 'DashboardAdminApp',
|
||||
data: () => ({
|
||||
appSideMenuEntries: {}
|
||||
}),
|
||||
@@ -11,4 +12,4 @@ Vue.createApp({
|
||||
},
|
||||
mounted() {
|
||||
}
|
||||
}).mount('#main');
|
||||
}).mount('#main');
|
||||
@@ -5,6 +5,7 @@ import CoreSearchbar from "../components/searchbar/searchbar.js";
|
||||
import FhcApi from "../plugin/FhcApi.js";
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: "TestSearchApp",
|
||||
components: {
|
||||
CoreNavigationCmpt,
|
||||
CoreFilterCmpt,
|
||||
@@ -192,4 +193,4 @@ const app = Vue.createApp({
|
||||
}
|
||||
});
|
||||
app.use(FhcApi)
|
||||
app.mount('#main');
|
||||
app.mount('#main');
|
||||
@@ -4,6 +4,7 @@ import StudierendenantragInfoblock from "../../components/Studierendenantrag/Inf
|
||||
import Phrasen from '../../plugin/Phrasen.js';
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'AntragApp',
|
||||
components: {
|
||||
StudierendenantragAntrag,
|
||||
StudierendenantragStatus,
|
||||
|
||||
@@ -2,6 +2,7 @@ import StudierendenantragLeitung from '../../../components/Studierendenantrag/Le
|
||||
import Phrasen from '../../../plugin/Phrasen.js';
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'LeitungApp',
|
||||
components: {
|
||||
StudierendenantragLeitung
|
||||
}
|
||||
@@ -9,4 +10,4 @@ const app = Vue.createApp({
|
||||
app
|
||||
.use(Phrasen)
|
||||
.use(primevue.config.default,{zIndex: {overlay: 9999}})
|
||||
.mount('#wrapper');
|
||||
.mount('#wrapper');
|
||||
@@ -2,6 +2,7 @@ import LvZuweisung from '../../../components/Studierendenantrag/Lvzuweisung.js';
|
||||
import Phrasen from '../../../plugin/Phrasen.js';
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'LvzuweisungApp',
|
||||
components: {
|
||||
LvZuweisung
|
||||
},
|
||||
@@ -13,4 +14,4 @@ const app = Vue.createApp({
|
||||
});
|
||||
app
|
||||
.use(Phrasen)
|
||||
.mount('#wrapper');
|
||||
.mount('#wrapper');
|
||||
@@ -2,10 +2,11 @@ import LvPopup from '../../../components/Studierendenantrag/Leitung/LvPopup.js';
|
||||
import Phrasen from '../../../plugin/Phrasen.js';
|
||||
|
||||
const app = Vue.createApp({
|
||||
name: 'StudentApp',
|
||||
components: {
|
||||
LvPopup
|
||||
}
|
||||
});
|
||||
app
|
||||
.use(Phrasen)
|
||||
.mount('#wrapper');
|
||||
.mount('#wrapper');
|
||||
@@ -23,6 +23,7 @@ import Phrasen from "../../../plugin/Phrasen.js";
|
||||
|
||||
|
||||
const lvTemplatesApp = Vue.createApp({
|
||||
name: 'LvTemplatesApp',
|
||||
components: {
|
||||
CoreNavigationCmpt,
|
||||
LvTemplateUebersicht
|
||||
|
||||
@@ -12,8 +12,6 @@ export default {
|
||||
logoUrl: String,
|
||||
avatarUrl: String,
|
||||
logoutUrl: String,
|
||||
atFlagUrl: String,
|
||||
ukFlagUrl: String,
|
||||
selectedtypes: Array,
|
||||
searchbaroptions: Object,
|
||||
searchfunction: Function
|
||||
@@ -90,8 +88,8 @@ export default {
|
||||
<li><a class="btn btn-level-2 rounded-0 d-block" href="#" id="menu-profil">Profil</a></li>
|
||||
<li><a class="btn btn-level-2 rounded-0 d-block" href="#">Ampeln</a></li>
|
||||
<li class="fhc-languages" style="text-align: center;">
|
||||
<a class="btn btn-level-2 rounded-0" href="#" @click="handleChangeLanguage('German')"><img :src="atFlagUrl"/></a>
|
||||
<a class="btn btn-level-2 rounded-0" href="#" @click="handleChangeLanguage('English')"><img :src="ukFlagUrl"/></a>
|
||||
<a class="btn btn-level-2 rounded-0" href="#" @click="handleChangeLanguage('German')">Deutsch</a>
|
||||
<a class="btn btn-level-2 rounded-0" href="#" @click="handleChangeLanguage('English')">English</a>
|
||||
</li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><a class="btn btn-level-2 rounded-0 d-block" :href="logoutUrl">Logout</a></li>
|
||||
|
||||
@@ -12,9 +12,9 @@ export default {
|
||||
props: {
|
||||
event:Object,
|
||||
title:{
|
||||
type:String,
|
||||
default:"title"
|
||||
},
|
||||
type:String,
|
||||
default:"title"
|
||||
},
|
||||
/*
|
||||
* NOTE(chris):
|
||||
* Hack to expose in "emits" declared events to $props which we use
|
||||
@@ -148,4 +148,4 @@ export default {
|
||||
</template>
|
||||
<!-- end of optional footer -->
|
||||
</bs-modal>`,
|
||||
};
|
||||
};
|
||||
@@ -53,7 +53,9 @@ export default {
|
||||
openLvOption(menuItem){
|
||||
if (menuItem.id == "core_menu_mailanstudierende"){
|
||||
window.location.href = menuItem.c4_link;
|
||||
}else{
|
||||
} else if (menuItem.id == "core_menu_digitale_anwesenheitslisten") {
|
||||
window.location.href = menuItem.c4_link;
|
||||
} else{
|
||||
this.preselectedMenuItem = menuItem;
|
||||
Vue.nextTick(() => {
|
||||
this.$refs.lvUebersicht.show();
|
||||
|
||||
@@ -102,6 +102,7 @@ import {CoreRESTClient} from '../RESTClient.js';
|
||||
const helperAppContainer = document.createElement('div');
|
||||
|
||||
const helperApp = Vue.createApp({
|
||||
name: "FhcAlertApp",
|
||||
components: {
|
||||
PvToast,
|
||||
PvConfirm
|
||||
@@ -396,4 +397,4 @@ export default {
|
||||
app.config.globalProperties.$fhcAlert = $fhcAlert;
|
||||
app.provide('$fhcAlert', app.config.globalProperties.$fhcAlert);
|
||||
}
|
||||
}
|
||||
}
|
||||
+2285
-3
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user