From 32d162c7c596d6cad8c753a1bcbee15fa09a41c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gi=C3=B2=20Diani?= Date: Sat, 4 Jan 2025 18:16:12 +0100 Subject: [PATCH] =?UTF-8?q?=C3=9Cberarbeitung=20Detailansicht.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/resources/css/app.css | 72 +++++++-- dashboard/resources/views/property.blade.php | 148 ++++++++++++++----- 2 files changed, 167 insertions(+), 53 deletions(-) diff --git a/dashboard/resources/css/app.css b/dashboard/resources/css/app.css index d2ff42f..76da0d2 100644 --- a/dashboard/resources/css/app.css +++ b/dashboard/resources/css/app.css @@ -54,6 +54,45 @@ dd + dt{ margin-top: .2em; } +button[popovertarget]{ + cursor: pointer; + display: inline-block; + width: 1.5em; + height: 1.5em; + border-radius: 50%; + border: 1px solid #fff; + background: #5470c6; +} + +button[popovertarget]::before{ + content: '?'; + color: #fff; + font-weight: 700; +} + +button[popovertarget]>span{ + position: absolute; + left: -999em; + top: -999em; +} + +[popover] { + border: none; + border-radius: 1em; + background: #fff; + padding: 1.5em; + border-radius: var(--small-border); + box-shadow: .0625em .0625em .625em rgba(0, 0, 0, 0.1); + max-width: 40em; + top: 4em; + margin: 0 auto; +} + +[popover]::backdrop{ + background-color: rgba(0,0,0,.5); +} + + /* 9. Create a root stacking context */ @@ -65,7 +104,6 @@ nav>ul{ list-style: none; } - body>header{ position: fixed; top: 0; @@ -81,31 +119,41 @@ body>header{ main{ width: 100%; - height: calc(100vh - 4em); - padding-top: 4em; + height: 100vh; + padding: 4em 0 1em; display: grid; - grid-template-columns: repeat(2, minmax(25%, 50%)); - grid-template-rows: repeat(2, 1fr); - gap: 1em; - + grid-template-columns: repeat(4, minmax(10%, 50%)); + grid-template-rows: repeat(3, 1fr) 4em; + grid-template-areas: + "chart2 chart2 chart5 chart5" + "chart1 chart1 chart3 chart4" + "chart1 chart1 chart3 chart4" + "timeline timeline timeline timeline"; + gap: .5em; } article{ background: #f9f9f9; border: .0625em solid #ccc; - box-shadow: 0 0 .3em #ccc; - border-radius: 3px; + box-shadow: 0 5px 10px rgba(154,160,185,.05), 0 15px 40px rgba(166,173,201,.2); + border-radius: .2em; display: grid; } article.header{ grid-template-columns: 100%; - grid-template-rows: 2em 1fr; - padding: 1em; + grid-template-rows: minmax(1%, 10%) 1fr; + padding: .5em 1em 1em .5em; +} + +article>header{ + display: grid; + grid-template-columns: 1fr 1em; + grid-template-rows: 1fr; } article>header>h2{ - font-size: 1em; + font-size: .8em; font-weight: 600; } diff --git a/dashboard/resources/views/property.blade.php b/dashboard/resources/views/property.blade.php index f92d337..b5e9469 100644 --- a/dashboard/resources/views/property.blade.php +++ b/dashboard/resources/views/property.blade.php @@ -1,27 +1,9 @@ @extends('base') @section('main') -
-
-

- Angaben zur Property -

-
-
- @foreach ($base as $dt => $dd) -
{{ $dt }}
-
- @if ($dt === 'property_platform_id') - - {{ $dd }} - - @else - {{ $dd }} - @endif -
- @endforeach -
+
+
-
+

Belegung am {{ json_decode($extractiondates)[0] }} @@ -29,7 +11,16 @@

-
+
+
+

+ Auslastung nach Monat am 2024-04-15T07:06:22 +

+
+
+
+
+

Entwicklung der Verfügbarkeit @@ -37,7 +28,72 @@

+
+
+

+ Auslastung Tage für Monat +

+
+ +