From 1dfb1d2b706f64fdd04f6feda13f077bad6ccc52 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 29 Jan 2017 12:35:25 +0100 Subject: [PATCH] More flexbox implementations --- Theme/Backend/media-create.tpl.php | 30 +++++++++------- Theme/backend/media-list.tpl.php | 57 ++++++++++++++++-------------- Theme/backend/media-single.tpl.php | 54 +++++++++++++++------------- 3 files changed, 77 insertions(+), 64 deletions(-) diff --git a/Theme/Backend/media-create.tpl.php b/Theme/Backend/media-create.tpl.php index 92eeb44..aa14d86 100644 --- a/Theme/Backend/media-create.tpl.php +++ b/Theme/Backend/media-create.tpl.php @@ -18,17 +18,21 @@ */ echo $this->getData('nav')->render(); ?> -
-

getText('Upload'); ?>

-
-
- -
-
-
-
-
-
-
+
+
+
+

getText('Upload'); ?>

+
+
+ +
+
+
+
+
+
+
+
+
-
+ \ No newline at end of file diff --git a/Theme/backend/media-list.tpl.php b/Theme/backend/media-list.tpl.php index b8c6fb1..0323a11 100644 --- a/Theme/backend/media-list.tpl.php +++ b/Theme/backend/media-list.tpl.php @@ -24,31 +24,36 @@ $footerView->setPages(count($media) / 25); $footerView->setPage(1); echo $this->getData('nav')->render(); ?> -
- - - - - - - - $value) : $count++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/media/single?id=' . $value->getId()); ?> + +
+
+
+
getText('Media'); ?>
getText('Name'); ?> - getText('Type'); ?> - getText('Size'); ?> - getText('Creator'); ?> - getText('Created'); ?> -
render(); ?> -
+ + -
getText('Media'); ?>
getName(); ?> - getExtension(); ?> - getSize(); ?> - getCreatedBy(); ?> - getCreatedAt()->format('Y-m-d H:i:s'); ?> - - -
getText('Empty', 0, 0); ?> - -
+ getText('Name'); ?> + getText('Type'); ?> + getText('Size'); ?> + getText('Creator'); ?> + getText('Created'); ?> + + + render(); ?> + + $value) : $count++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/media/single?id=' . $value->getId()); ?> + + getName(); ?> + getExtension(); ?> + getSize(); ?> + getCreatedBy(); ?> + getCreatedAt()->format('Y-m-d H:i:s'); ?> + + + getText('Empty', 0, 0); ?> + + +
+ diff --git a/Theme/backend/media-single.tpl.php b/Theme/backend/media-single.tpl.php index 74b2374..615bcc5 100644 --- a/Theme/backend/media-single.tpl.php +++ b/Theme/backend/media-single.tpl.php @@ -23,29 +23,33 @@ $media = $this->getData('media'); echo $this->getData('nav')->render(); ?> -
-

getName() ?>

-
- - -
SizegetSize(); ?> -
Created atgetCreatedAt()->format('Y-m-d'); ?> -
Created bygetCreatedBy(); ?> -
DescriptiongetDescription(); ?> -
Content -
- getExtension(), ['gif', 'bmp', 'jpg', 'jpeg', 'png'])) : ?> - - getExtension() === 'collection') : ?> - collection - -
-            getPath()));
-            $output = str_replace(["\r\n", "\r"], "\n", $output);
-            $output = explode("\n", $output);
-            foreach($output as $line) : ?>
-            
- +
+
+
+

getName() ?>

+
+ + +
SizegetSize(); ?> +
Created atgetCreatedAt()->format('Y-m-d'); ?> +
Created bygetCreatedBy(); ?> +
DescriptiongetDescription(); ?> +
Content +
+ getExtension(), ['gif', 'bmp', 'jpg', 'jpeg', 'png'])) : ?> + + getExtension() === 'collection') : ?> + collection + +
+                    getPath()));
+                    $output = str_replace(["\r\n", "\r"], "\n", $output);
+                    $output = explode("\n", $output);
+                    foreach($output as $line) : ?>
+                    
+ +
+
-
+ \ No newline at end of file