project - view pdf in dialog working. Open and close working

This commit is contained in:
isUnknown 2024-10-16 18:43:04 +02:00
parent 09eb3e1969
commit 3d8f9fc893
19 changed files with 89 additions and 119 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

View file

@ -1,17 +0,0 @@
Date: 2024-10-16 02:10
----
Description:
----
Tags: DA globale
----
Uuid: BvOqspCnL024Ar9u
----
Template: image

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

View file

@ -1,17 +0,0 @@
Description: description
----
Tags:
----
Sort: 7
----
Uuid: zIZTny7xOE28rckL
----
Template: image

View file

@ -6,7 +6,7 @@ Stepname: clientBrief
----
Pdf:
Pdf: - file://Z6wXAXIq5mBocGi8
----
@ -14,13 +14,7 @@ Description:
----
Moodboard:
- file://YV7aUYle8hcLrzb6
- file://zIZTny7xOE28rckL
- file://Z5m6jEomcOt9bJqR
- file://C2zFxRDOmD5PeXD6
- file://BvOqspCnL024Ar9u
Moodboard:
----

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 KiB

View file

@ -1,17 +0,0 @@
Description:
----
Tags:
----
Sort: 8
----
Uuid: Z5m6jEomcOt9bJqR
----
Template: image

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 KiB

View file

@ -1,17 +0,0 @@
Description:
----
Tags:
----
Sort: 10
----
Uuid: C2zFxRDOmD5PeXD6
----
Template: image

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

View file

@ -1,17 +0,0 @@
Description:
----
Tags:
----
Sort: 12
----
Uuid: YV7aUYle8hcLrzb6
----
Template: image

View file

@ -11,6 +11,9 @@ class ProjectPage extends Page {
foreach ($child->moodboard()->toFiles() as $file) {
$files[] = getFileData($file);
}
foreach ($child->pdf()->toFiles() as $file) {
$files[] = getFileData($file);
}
}
$steps[] = [

View file

@ -5,6 +5,7 @@ function getFileData($file) {
'url' => $file->url(),
'uuid' => (string) $file->uuid(),
'name' => $file->filename(),
'type' => (string) $file->type()
];
if ($file->description()->exists()) {