[BUGFIX] Filelist list look alike list module 88/55388/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 17 Jan 2018 21:08:11 +0000 (22:08 +0100)
committerBenni Mack <benni@typo3.org>
Wed, 17 Jan 2018 22:33:04 +0000 (23:33 +0100)
File list table needs a wrapper div to have borders
and shadows to look alike tables of the list module.

Change-Id: Id68f9b328c65e3d2dc59281a730bebd0430a179d
Resolves: #83604
Releases: master
Reviewed-on: https://review.typo3.org/55388
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/filelist/Classes/FileList.php

index 6094798..1892c9a 100644 (file)
@@ -524,14 +524,16 @@ class FileList
             // half line is drawn
             // finish
             $out = '
-               <!--
-                       Filelist table:
-               -->
-                       <div class="table-fit">
-                               <table class="table table-striped table-hover" id="typo3-filelist">
-                                       ' . $out . '
-                               </table>
-                       </div>';
+                <!--
+                    Filelist table:
+                -->
+                <div class="panel panel-default">
+                    <div class="table-fit">
+                        <table class="table table-striped table-hover" id="typo3-filelist">
+                            ' . $out . '
+                        </table>
+                    </div>
+                </div>';
         } else {
             /** @var $flashMessage FlashMessage */
             $flashMessage = GeneralUtility::makeInstance(FlashMessage::class, $this->getLanguageService()->getLL('storageNotBrowsableMessage'), $this->getLanguageService()->getLL('storageNotBrowsableTitle'), FlashMessage::INFO);