Color Changes

Login Changes
Misc
This commit is contained in:
2023-12-10 15:06:16 +01:00
parent 5182959881
commit 6ffc4f01d9
10 changed files with 201 additions and 8 deletions

View File

@@ -1,6 +1,49 @@
<template>
<div id="main">
<UButton @click="showCreateProject = true">+ Projekt</UButton>
<UModal v-model="showCreateProject">
<UCard>
<template #header>
Projekt erstellen
</template>
<UFormGroup
label="Name:"
>
<UInput
v-model="createProjectData.name"
/>
</UFormGroup>
<UFormGroup
label="Kunde:"
>
<USelectMenu
v-model="createProjectData.customer"
:options="customers"
option-attribute="name"
value-attribute="id"
searchable
:search-attributes="['name']"
/>
</UFormGroup>
<UFormGroup
label="Notizen:"
>
<UTextarea
v-model="createProjectData.notes"
/>
</UFormGroup>
<template #footer>
<UButton
@click="createProject"
>
Erstellen
</UButton>
</template>
</UCard>
</UModal>
<!-- TODO: USelect im Modal anpassen -->
<UTable
:rows="projects"
:columns="projectColumns"