removed language flags; anw phrasen added; added names to apps for easier devtools debugging;

This commit is contained in:
Johann Hoffmann
2024-10-25 16:34:57 +02:00
parent e387671e09
commit 6fc5714fdf
25 changed files with 2323 additions and 23 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

+1
View File
@@ -6,6 +6,7 @@ import fhcapifactory from "./api/fhcapifactory.js";
Vue.$fhcapi = fhcapifactory;
const app = Vue.createApp({
name: 'CisApp',
components: {
FhcSearchbar,
CisMenu
+1
View File
@@ -6,6 +6,7 @@ import Phrasen from "../../plugin/Phrasen.js";
const app = Vue.createApp({
name: 'CmsApp',
components: {
CmsNews,
CmsContent,
+1
View File
@@ -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
// ],
+1
View File
@@ -2,6 +2,7 @@ import MylvStudent from "../../../components/Cis/Mylv/Student.js";
import Phrasen from "../../../plugin/Phrasen.js";
Vue.createApp({
name: 'MyLvStudentApp',
components: {
MylvStudent
}
+1
View File
@@ -34,6 +34,7 @@ Vue.$collapseFormatter = function (data) {
};
const profilApp = Vue.createApp({
name: 'ProfilApp',
components: {
StudentProfil,
MitarbeiterProfil,
@@ -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,
},
+1 -1
View File
@@ -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
},
+1
View File
@@ -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: [],
+1
View File
@@ -4,6 +4,7 @@ import FhcApi from '../../plugin/FhcApi.js';
import Phrasen from '../../plugin/Phrasen.js';
const app = Vue.createApp({
name: 'DashboardApp',
data: () => ({
appSideMenuEntries: {}
}),
+1
View File
@@ -4,6 +4,7 @@ import FhcApi from '../../plugin/FhcApi.js';
import Phrasen from '../../plugin/Phrasen.js';
const app = Vue.createApp({
name: 'AdminApp',
data: () => ({
appSideMenuEntries: {}
}),
+1
View File
@@ -3,6 +3,7 @@ import FhcApi from '../../plugin/FhcApi.js';
import Phrasen from '../../plugin/Phrasen.js';
const app = Vue.createApp({
name: 'FhcApp',
data: () => ({
appSideMenuEntries: {}
}),
+1
View File
@@ -2,6 +2,7 @@ import {CoreNavigationCmpt} from '../components/navigation/Navigation.js';
import DashboardAdmin from '../components/Dashboard/Admin.js';
Vue.createApp({
name: 'DashboardAdminApp',
data: () => ({
appSideMenuEntries: {}
}),
+1
View File
@@ -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,
+1
View File
@@ -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,
+1
View File
@@ -2,6 +2,7 @@ import StudierendenantragLeitung from '../../../components/Studierendenantrag/Le
import Phrasen from '../../../plugin/Phrasen.js';
const app = Vue.createApp({
name: 'LeitungApp',
components: {
StudierendenantragLeitung
}
@@ -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
},
+1
View File
@@ -2,6 +2,7 @@ import LvPopup from '../../../components/Studierendenantrag/Leitung/LvPopup.js';
import Phrasen from '../../../plugin/Phrasen.js';
const app = Vue.createApp({
name: 'StudentApp',
components: {
LvPopup
}
@@ -23,6 +23,7 @@ import Phrasen from "../../../plugin/Phrasen.js";
const lvTemplatesApp = Vue.createApp({
name: 'LvTemplatesApp',
components: {
CoreNavigationCmpt,
LvTemplateUebersicht
+2 -4
View File
@@ -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>
@@ -53,6 +53,8 @@ export default {
openLvOption(menuItem){
if (menuItem.id == "core_menu_mailanstudierende"){
window.location.href = menuItem.c4_link;
} else if (menuItem.id == "core_menu_digitale_anwesenheitslisten") {
window.location.href = menuItem.c4_link;
} else{
this.preselectedMenuItem = menuItem;
Vue.nextTick(() => {
+1
View File
@@ -102,6 +102,7 @@ import {CoreRESTClient} from '../RESTClient.js';
const helperAppContainer = document.createElement('div');
const helperApp = Vue.createApp({
name: "FhcAlertApp",
components: {
PvToast,
PvConfirm
+2284 -2
View File
File diff suppressed because it is too large Load Diff