mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-02 17:59:14 +02:00
fixed frontend (format, lint, build)
This commit is contained in:
@@ -4,13 +4,21 @@ import { Ref, ref } from "vue";
|
||||
const helpVisible: Ref<boolean> = ref(false);
|
||||
|
||||
const placeholders = ref([
|
||||
{ placeholder: "%t", description: "Event Type", examples: "V = Vorlesung, S = Seminar, P = Praktikum/Prüfung" },
|
||||
{ placeholder: "%p", description: "Mandatory", examples: "w = optional, p = mandatory" },
|
||||
{
|
||||
placeholder: "%t",
|
||||
description: "Event Type",
|
||||
examples: "V = Vorlesung, S = Seminar, P = Praktikum/Prüfung",
|
||||
},
|
||||
{
|
||||
placeholder: "%p",
|
||||
description: "Mandatory",
|
||||
examples: "w = optional, p = mandatory",
|
||||
},
|
||||
]);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Button
|
||||
<Button
|
||||
icon="pi pi-info"
|
||||
class="m-2 small-button"
|
||||
severity="help"
|
||||
@@ -18,36 +26,30 @@ const placeholders = ref([
|
||||
outlined
|
||||
size="large"
|
||||
aria-label="Help"
|
||||
@click="helpVisible = true" />
|
||||
<Dialog
|
||||
v-model:visible="helpVisible"
|
||||
header="Module configuration"
|
||||
>
|
||||
@click="helpVisible = true"
|
||||
/>
|
||||
<Dialog v-model:visible="helpVisible" header="Module configuration">
|
||||
<p>
|
||||
Here you can rename your modules to your liking. This will be the name
|
||||
of the event in your calendar.
|
||||
Here you can rename your modules to your liking. This will be the name of
|
||||
the event in your calendar.
|
||||
</p>
|
||||
<p>
|
||||
You can use the following placeholders in your module names:
|
||||
</p>
|
||||
<DataTable
|
||||
:value="placeholders"
|
||||
>
|
||||
<p>You can use the following placeholders in your module names:</p>
|
||||
<DataTable :value="placeholders">
|
||||
<Column field="placeholder" header="Placeholder"></Column>
|
||||
<Column field="description" header="Description"></Column>
|
||||
<Column field="examples" header="Examples"></Column>
|
||||
</DataTable>
|
||||
<p>
|
||||
Additionally, you can toggle notifications for each module.
|
||||
If you do so, you will be notified 15 minutes before the event starts.
|
||||
Additionally, you can toggle notifications for each module. If you do so,
|
||||
you will be notified 15 minutes before the event starts.
|
||||
</p>
|
||||
</Dialog>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.small-button.p-button {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
padding: 0;
|
||||
}
|
||||
.small-button.p-button {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user