Several fixes

- added organizations
- added industries
- added logo in 2 colors for light and dark theme
- improved authorization to allow multi tenancy
This commit is contained in:
Murat Özkorkmaz
2025-11-13 19:56:50 +01:00
parent 5d029221db
commit e901aefbf5
28 changed files with 997 additions and 134 deletions

View File

@@ -2,8 +2,8 @@
<div class="flex items-center gap-2">
<div class="mb-5">
<h1 >Projekt Details</h1>
<h4>{{ projectDetailsDTO?.name }}</h4>
<p class="my-4 text-lg text-gray-500">Erstellt: {{ projectDetailsDTO?.createdAt | date: 'dd.MM.yyyy HH:mm' }}</p>
<h4>{{ projectDetailsDTO.name }}</h4>
<p class="my-4 text-lg text-gray-500">Erstellt: {{ projectDetailsDTO.createdAt | date: 'dd.MM.yyyy HH:mm' }}</p>
</div>
</div>
<p-button label="Bearbeiten" class="p-button-outlined">
@@ -16,6 +16,7 @@
<div class="grid grid-cols-12 gap-8 mb-8">
<div class="col-span-12 lg:col-span-6 xl:col-span-6">
<!-- project information -->
<p-panel class="mb-8">
<ng-template #header>
<div class="flex items-center gap-2">
@@ -80,7 +81,8 @@
</p-panel>
<p-panel>
<!-- notes and documents -->
<p-panel class="mb-8">
<ng-template #header>
<div class="flex items-center gap-2">
<span class="material-icons !text-md">apartment</span>
@@ -92,9 +94,23 @@
Hier können Projektnotizen und Dokumente verwaltet werden.
</p-panel>
</p-panel>
<!-- maps -->
<p-panel>
<iframe
[src]="getMapUrl(projectDetailsDTO.address) | safeUrl"
width="600"
height="450"
style="border:0;"
allowfullscreen=""
loading="lazy"
referrerpolicy="no-referrer-when-downgrade">
</iframe>
</p-panel>
</div>
<div class="col-span-12 lg:col-span-6 xl:col-span-6">
<!-- timeline -->
<div class="card">
<p-timeline [value]="projectDetailsDTO?.timelineEvents" align="alternate" class="customized-timeline">
<ng-template #marker let-event>