From f4c0ed5851c3c1a703d35ac746ca124b4279b4d9 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 17 Jan 2020 17:03:58 +0100 Subject: media ui menu bar --- app/view/templates/media.php | 62 +------------------------------------------- 1 file changed, 1 insertion(+), 61 deletions(-) (limited to 'app/view/templates/media.php') diff --git a/app/view/templates/media.php b/app/view/templates/media.php index be1ac7f..f81b507 100644 --- a/app/view/templates/media.php +++ b/app/view/templates/media.php @@ -7,6 +7,7 @@ insert('backtopbar', ['user' => $user, 'tab' => 'media', 'pagelist' => $pagelist]) ?> + insert('mediamenu', ['dir' => $dir, 'user' => $user, 'pathlist' => $pathlist, 'opt' => $opt]) ?>
@@ -54,67 +55,6 @@ treecount($dirlist, 'media', 0, 'media', $dir, $opt);

-
- Print this content on your page - -

- %MEDIA?path=&sortby=&order=% -

- -
- - - -
- - - - -
- -issupereditor()) { ?> - -
- - - - -
- - - - -
- - - - -
- - - -issupereditor()) { ?> - -
- - - - - -
- - - - - -- cgit v1.2.3 From 2b1f317ed7a4d402a268f62dd65dc0d648b5ad0c Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 17 Jan 2020 18:07:27 +0100 Subject: media filter --- app/view/templates/media.php | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'app/view/templates/media.php') diff --git a/app/view/templates/media.php b/app/view/templates/media.php index f81b507..7b2fbc1 100644 --- a/app/view/templates/media.php +++ b/app/view/templates/media.php @@ -45,10 +45,38 @@ treecount($dirlist, 'media', 0, 'media', $dir, $opt); +
+ + +

filter

+ +
+
    +
  • >
  • +
  • >
  • +
  • >
  • +
  • >
  • +
+ +
+ > +
+ > +
+ + +
+ + +
@@ -71,12 +99,13 @@ treecount($dirlist, 'media', 0, 'media', $dir, $opt); type(), $opt['type'])) { ?> extension() ?> - type() == 'image' ? 'image 👁' : $media->type() ?> + type() == 'image' ? 'image 👁' : '⧉ ' . $media->type() ?> size('hr') ?> width() ?> height() ?> @@ -84,6 +113,7 @@ foreach ($medialist as $media) { getcode() ?> Date: Fri, 17 Jan 2020 18:19:41 +0100 Subject: css cleaning --- app/view/templates/media.php | 56 ++++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 26 deletions(-) (limited to 'app/view/templates/media.php') diff --git a/app/view/templates/media.php b/app/view/templates/media.php index 7b2fbc1..0d5847e 100644 --- a/app/view/templates/media.php +++ b/app/view/templates/media.php @@ -12,7 +12,9 @@
-
+
+ -
+
+

@@ -105,7 +108,7 @@ foreach ($medialist as $media) { extension() ?> - type() == 'image' ? 'image 👁' : '⧉ ' . $media->type() ?> + type() == 'image' ? 'image 👁' : $media->type() . '⧉' ?> size('hr') ?> width() ?> height() ?> @@ -123,6 +126,7 @@ foreach ($medialist as $media) {
+
-- cgit v1.2.3 From 57ef3a9a12738081b3ab26559076bfb2b43e75db Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 17 Jan 2020 18:42:58 +0100 Subject: css cleaning 2 --- app/view/templates/media.php | 121 ++++++++++++++++++++++--------------------- 1 file changed, 61 insertions(+), 60 deletions(-) (limited to 'app/view/templates/media.php') diff --git a/app/view/templates/media.php b/app/view/templates/media.php index 0d5847e..6b62cbb 100644 --- a/app/view/templates/media.php +++ b/app/view/templates/media.php @@ -12,68 +12,69 @@
-
+ + + +
+

filter

Type
    -
  • >
  • -
  • >
  • -
  • >
  • -
  • >
  • +
  • type()) ? 'checked' : '' ?>>
  • +
  • type()) ? 'checked' : '' ?>>
  • +
  • type()) ? 'checked' : '' ?>>
  • +
  • type()) ? 'checked' : '' ?>>
Sort
- > + order() == 1 ? 'checked' : '' ?>>
- > + order() == -1 ? 'checked' : '' ?>>
- +
- - +
-

+

/dir() ?>

- + - - + + @@ -103,7 +90,6 @@ type(), $opt['type'])) { ?> @@ -117,11 +103,7 @@ foreach ($medialist as $media) {
xidid exttypesizetypesize width height lengh
getcode() ?>
-- cgit v1.2.3