[TASK] Visual cleanup 22/44622/3
authorBenjamin Mack <benni@typo3.org>
Sun, 8 Nov 2015 23:31:55 +0000 (00:31 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 9 Nov 2015 09:39:04 +0000 (10:39 +0100)
Some minor corrections in the TYPO3 Backend,
so the buttons and search fields look correct,
and the file browser in the Element Browser does not
look "old-school" anymore.

Resolves: #71423
Releases: master
Change-Id: I48a7d9c70129a35af94441d638fc50d4434357ad
Reviewed-on: https://review.typo3.org/44622
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Build/Resources/Public/Less/TYPO3/_module_extensionmanager.less
typo3/sysext/extensionmanager/Resources/Private/Templates/List/Index.html
typo3/sysext/recordlist/Classes/Browser/FileBrowser.php
typo3/sysext/t3skin/Resources/Public/Css/backend.css

index a7f1a65..1f65559 100644 (file)
@@ -77,7 +77,7 @@
 }
 .distribution-holder {
        .clearfix();
-       top: 0px;
+       margin-top: 1em;
        bottom: 0px;
        margin-left: -20px;
 }
 // Loader
 #terTableWrapper {
        position: relative;
+       margin-top: 1em;
        .splash-receivedata {
                display: none;
                position: absolute;
index 67e7af4..97300d1 100644 (file)
@@ -15,6 +15,7 @@
                        <f:form.textfield name="Tx_Extensionmanager_extensionkey" placeholder="{f:translate(key:'extensionList.search')}" id="Tx_Extensionmanager_extensionkey" value="{search}" class="form-control" />
                </div>
        </form>
+       <br>
        <div class="table-fit">
                <table id="typo3-extension-list" class="table table-striped table-hover typo3-extension-list">
                <thead>
index 6ee2b45..8036892 100644 (file)
@@ -249,13 +249,13 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf
 
         // Create the header of current folder:
         $folderIcon = $this->iconFactory->getIconForResource($folder, Icon::SIZE_SMALL);
-        $lines[] = '<tr class="t3-row-header"><td colspan="4">'
-            . $folderIcon . htmlspecialchars(GeneralUtility::fixed_lgd_cs($folder->getIdentifier(), $titleLen))
-            . '</td></tr>';
+        $lines[] = '<tr class="t3-row-header"><th colspan="4">'
+            . $folderIcon . ' ' . htmlspecialchars(GeneralUtility::fixed_lgd_cs($folder->getIdentifier(), $titleLen))
+            . '</th></tr>';
 
         if ($filesCount === 0) {
             $lines[] = '
-                               <tr class="file_list_normal">
+                               <tr>
                                        <td colspan="4">No files found.</td>
                                </tr>';
         }
@@ -320,7 +320,7 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf
             $filenameAndIcon = $bulkCheckBox . $ATag_alt . $icon . htmlspecialchars(GeneralUtility::fixed_lgd_cs($fileObject->getName(), $titleLen)) . $ATag_e;
             // Show element:
             $lines[] = '
-                                       <tr class="file_list_normal">
+                                       <tr>
                                                <td nowrap="nowrap">' . $filenameAndIcon . '&nbsp;</td>
                                                <td>' . $ATag . '<span title="' .  $lang->getLL('addToList', true) . '">' . $this->iconFactory->getIcon('actions-edit-add', Icon::SIZE_SMALL)->render() . '</span>' . $ATag_e . '</td>
                                                <td nowrap="nowrap"><a href="' . htmlspecialchars($Ahref) . '" title="' . $lang->getLL('info', true) . '">' . $this->iconFactory->getIcon('actions-document-info', Icon::SIZE_SMALL) . $lang->getLL('info', true) . '</a></td>
@@ -345,7 +345,7 @@ class FileBrowser extends AbstractElementBrowser implements ElementBrowserInterf
        <!--
                Filelisting
        -->
-                       <table cellpadding="0" cellspacing="0" id="typo3-filelist">
+                       <table class="table table-striped table-hover" id="typo3-filelist">
                                ' . implode('', $lines) . '
                        </table>';
         // Return accumulated content for filelisting:
index af1df05..a52a25f 100644 (file)
@@ -13418,7 +13418,7 @@ iframe {
   right: 0px;
 }
 .distribution-holder {
-  top: 0px;
+  margin-top: 1em;
   bottom: 0px;
   margin-left: -20px;
 }
@@ -13597,6 +13597,7 @@ iframe {
 }
 #terTableWrapper {
   position: relative;
+  margin-top: 1em;
 }
 #terTableWrapper .splash-receivedata {
   display: none;