mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-04 02:39:14 +02:00
92 integrate roomfinder and faq design
This commit is contained in:
@@ -80,9 +80,9 @@ const actions = computed(() => [
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
||||||
<div class="flex flex-column">
|
<div class="flex flex-column mt-8">
|
||||||
<div class="flex align-items-center justify-content-center h-4rem m-2">
|
<div class="flex align-items-center justify-content-center m-2">
|
||||||
<h2>
|
<h2 class="text-base md:text-2xl">
|
||||||
{{ getLink() }}
|
{{ getLink() }}
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -70,6 +70,7 @@ const columns = computed(() => [
|
|||||||
icon="pi pi-calendar"
|
icon="pi pi-calendar"
|
||||||
:label="$t('calendarPreview.preview')"
|
:label="$t('calendarPreview.preview')"
|
||||||
class="p-button-rounded p-button-primary"
|
class="p-button-rounded p-button-primary"
|
||||||
|
raised
|
||||||
@click="dialogVisible = true"
|
@click="dialogVisible = true"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex align-items-center justify-content-center flex-column">
|
<div class="flex align-items-center justify-content-center flex-column">
|
||||||
<div class="flex align-items-center justify-content-center h-4rem m-2">
|
<div class="flex align-items-center justify-content-center m-2">
|
||||||
<h1>{{ $t("faqView.headline") }}</h1>
|
<h1>{{ $t("faqView.headline") }}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -216,4 +216,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped>
|
||||||
|
.grid > .col {
|
||||||
|
flex-basis: 15rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid > .col:first-child {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
@@ -34,7 +34,7 @@ async function finalStep() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex flex-column align-items-center">
|
<div class="flex flex-column align-items-center mb-7">
|
||||||
<div class="flex align-items-center justify-content-center m-2 gap-2">
|
<div class="flex align-items-center justify-content-center m-2 gap-2">
|
||||||
<h3>{{ $t("renameModules.subTitle") }}</h3>
|
<h3>{{ $t("renameModules.subTitle") }}</h3>
|
||||||
<ModuleTemplateDialog class=""/>
|
<ModuleTemplateDialog class=""/>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { computed, Ref, ref } from "vue";
|
import { computed, inject, Ref, ref } from "vue";
|
||||||
import { Module } from "../../model/module.ts";
|
import { Module } from "../../model/module.ts";
|
||||||
import moduleStore from "../../store/moduleStore";
|
import moduleStore from "../../store/moduleStore";
|
||||||
import { fetchAllModules } from "../../api/fetchCourse.ts";
|
import { fetchAllModules } from "../../api/fetchCourse.ts";
|
||||||
@@ -25,6 +25,7 @@ const tableData = computed(() =>
|
|||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
const mobilePage = inject("mobilePage") as Ref<boolean>;
|
||||||
|
|
||||||
const columns = computed(() => [
|
const columns = computed(() => [
|
||||||
{ field: "Course", header: t("moduleInformation.course") },
|
{ field: "Course", header: t("moduleInformation.course") },
|
||||||
@@ -82,20 +83,22 @@ async function deleteFeed() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex flex-column card-container lg:mx-8 mt-2">
|
<div class="flex flex-column align-items-center mb-7">
|
||||||
<div class="flex align-items-center justify-content-center h-4rem m-2">
|
<div class="flex align-items-center justify-content-center m-2 gap-2">
|
||||||
<h3>{{ $t("renameModules.subTitle") }}</h3>
|
<h3>{{ $t("renameModules.subTitle") }}</h3>
|
||||||
<ModuleTemplateDialog />
|
<ModuleTemplateDialog />
|
||||||
</div>
|
</div>
|
||||||
|
<div class="w-full lg:w-8 flex flex-column">
|
||||||
<div
|
<div
|
||||||
class="card flex align-items-center justify-content-center border-round m-2"
|
class="card flex align-items-center justify-content-center my-2"
|
||||||
>
|
>
|
||||||
<DataTable
|
<DataTable
|
||||||
:value="tableData"
|
:value="tableData"
|
||||||
edit-mode="cell"
|
edit-mode="cell"
|
||||||
table-class="editable-cells-table"
|
table-class="editable-cells-table"
|
||||||
responsive-layout="scroll"
|
responsive-layout="scroll"
|
||||||
class="w-full lg:w-8"
|
:size="mobilePage ? 'small' : 'large'"
|
||||||
|
class="w-full"
|
||||||
>
|
>
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="flex align-items-center justify-content-end">
|
<div class="flex align-items-center justify-content-end">
|
||||||
@@ -193,6 +196,7 @@ async function deleteFeed() {
|
|||||||
</DataTable>
|
</DataTable>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<Dialog v-model:visible="visible" modal header="Header" :style="{ width: '50rem' }" :breakpoints="{ '1199px': '75vw', '575px': '90vw' }">
|
<Dialog v-model:visible="visible" modal header="Header" :style="{ width: '50rem' }" :breakpoints="{ '1199px': '75vw', '575px': '90vw' }">
|
||||||
<template #header>
|
<template #header>
|
||||||
|
@@ -87,7 +87,7 @@ function unselectModule(event: DataTableRowUnselectEvent) {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex flex-column align-items-center w-full">
|
<div class="flex flex-column align-items-center w-full mb-7">
|
||||||
<div class="flex align-items-center justify-content-center m-2">
|
<div class="flex align-items-center justify-content-center m-2">
|
||||||
<h3>
|
<h3>
|
||||||
{{ $t("additionalModules.subTitle") }}
|
{{ $t("additionalModules.subTitle") }}
|
||||||
@@ -191,7 +191,7 @@ function unselectModule(event: DataTableRowUnselectEvent) {
|
|||||||
<Button
|
<Button
|
||||||
:disabled="store.isEmpty()"
|
:disabled="store.isEmpty()"
|
||||||
@click="nextStep()"
|
@click="nextStep()"
|
||||||
class="md:col-4 justify-content-center mb-3 align-self-end"
|
class="col-12 md:col-4 mb-3 align-self-end"
|
||||||
icon="pi pi-arrow-right"
|
icon="pi pi-arrow-right"
|
||||||
:label="$t('additionalModules.nextStep')"
|
:label="$t('additionalModules.nextStep')"
|
||||||
/>
|
/>
|
||||||
|
@@ -66,7 +66,7 @@ function loadCalendar(): void {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex flex-column align-items-center transition-all transition-duration-500 transition-ease-in-out md:mt-8">
|
<div class="flex flex-column align-items-center transition-all transition-duration-500 transition-ease-in-out md:mt-8 mb-7">
|
||||||
<div class="flex align-items-center justify-content-center gap-2 mx-2">
|
<div class="flex align-items-center justify-content-center gap-2 mx-2">
|
||||||
<h3 class="text-4xl">
|
<h3 class="text-4xl">
|
||||||
{{ $t("editCalendarView.headline") }}
|
{{ $t("editCalendarView.headline") }}
|
||||||
|
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex align-items-center justify-content-center flex-column">
|
<div class="flex align-items-center justify-content-center flex-column">
|
||||||
<div class="flex align-items-center justify-content-center h-4rem mt-2">
|
<div class="flex align-items-center justify-content-center mt-2">
|
||||||
<h3 class="text-4xl">{{ $t("imprint") }}</h3>
|
<h1>{{ $t("imprint") }}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-column md:col-7">
|
<div class="flex flex-column md:col-7">
|
||||||
<p>nach dem Telemediengesetz (TMG) der Bundesrepublik Deutschland.</p>
|
<p>nach dem Telemediengesetz (TMG) der Bundesrepublik Deutschland.</p>
|
||||||
|
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex align-items-center justify-content-center flex-column">
|
<div class="flex align-items-center justify-content-center flex-column">
|
||||||
<div class="flex align-items-center justify-content-center h-4rem mt-2">
|
<div class="flex align-items-center justify-content-center mt-2">
|
||||||
<h3 class="text-4xl">{{ $t("privacy") }}</h3>
|
<h1>{{ $t("privacy") }}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-column md:col-7">
|
<div class="flex flex-column md:col-7">
|
||||||
<h1>Datenschutzerklärung</h1>
|
<h1>Datenschutzerklärung</h1>
|
||||||
|
@@ -19,26 +19,31 @@ rooms().then(
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex flex-column">
|
<div
|
||||||
<div class="flex align-items-center justify-content-center h-4rem m-2">
|
class="flex flex-column align-items-center transition-all transition-duration-500 transition-ease-in-out mt-0"
|
||||||
<h3 class="text-4xl">{{ $t("roomFinderPage.headline") }}</h3>
|
:class="{'md:mt-8': selectedRoom.name === ''}"
|
||||||
|
>
|
||||||
|
<div class="flex align-items-center justify-content-center gap-2 mx-2">
|
||||||
|
<h3 class="text-4xl">
|
||||||
|
{{ $t("roomFinderPage.headline") }}
|
||||||
|
</h3>
|
||||||
<i
|
<i
|
||||||
class="pi pi-search vertical-align-baseline ml-3"
|
class="pi pi-search"
|
||||||
style="font-size: 2rem"
|
style="font-size: 2rem"
|
||||||
></i>
|
></i>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="flex align-items-center justify-content-center h-4rem border-round m-2"
|
class="flex justify-content-center"
|
||||||
>
|
>
|
||||||
<h5 class="text-2xl">{{ $t("roomFinderPage.detail") }}</h5>
|
<h5 class="text-2xl m-2">{{ $t("roomFinderPage.detail") }}</h5>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="flex align-items-center justify-content-center border-round m-2"
|
class="flex flex-wrap mx-0 gap-2 my-4 w-full lg:w-8"
|
||||||
>
|
>
|
||||||
<Dropdown
|
<Dropdown
|
||||||
v-model="selectedRoom"
|
v-model="selectedRoom"
|
||||||
:options="roomsList"
|
:options="roomsList"
|
||||||
class="w-full md:w-25rem mx-2"
|
class="flex-1 m-0"
|
||||||
filter
|
filter
|
||||||
option-label="name"
|
option-label="name"
|
||||||
:placeholder="$t('roomFinderPage.dropDownSelect')"
|
:placeholder="$t('roomFinderPage.dropDownSelect')"
|
||||||
@@ -46,8 +51,17 @@ rooms().then(
|
|||||||
:auto-filter-focus="true"
|
:auto-filter-focus="true"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="m-6">
|
<div
|
||||||
<RoomOccupation :room="selectedRoom.name" />
|
:class="
|
||||||
|
[selectedRoom.name === ''?
|
||||||
|
['opacity-0', 'pointer-events-none'] :
|
||||||
|
['opacity-100', 'transition-all', 'transition-duration-500', 'transition-ease-in-out']
|
||||||
|
,
|
||||||
|
'w-full', 'lg:w-8']"
|
||||||
|
>
|
||||||
|
<RoomOccupation
|
||||||
|
:room="selectedRoom.name"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Reference in New Issue
Block a user