[TASK] Minor UX optimization in "Record selector" pop-up window 70/52370/3
authorGianluigi Martino <gmartino27@gmail.com>
Wed, 5 Apr 2017 18:31:39 +0000 (20:31 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 11 Apr 2017 08:39:06 +0000 (10:39 +0200)
Improved rendering of "Record selector" pop-up window on smaller screens

Releases: master
Resolves: #80644
Change-Id: I21e18da9e3c5b424be59b55f80920abeb9026d23
Reviewed-on: https://review.typo3.org/52370
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/recordlist/Classes/RecordList/AbstractDatabaseRecordList.php

index ce12904..4a88bb3 100644 (file)
@@ -593,19 +593,19 @@ class AbstractDatabaseRecordList extends AbstractRecordList
                     <div class="panel panel-default">
                         <div class="panel-body">
                             <div class="row">
-                                <div class="form-group col-xs-12 col-sm-6">
+                                <div class="form-group col-xs-12">
                                     <label for="search_field">' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.label.searchString')) . ': </label>
                                                                        <input class="form-control" type="search" placeholder="' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.enterSearchString')) . '" title="' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.title.searchString')) . '" name="search_field" id="search_field" value="' . htmlspecialchars($this->searchString) . '" />
                                 </div>
-                                <div class="form-group col-xs-6 col-sm-3">
+                                <div class="form-group col-xs-12 col-sm-6">
                                                                        <label for="search_levels">' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.label.search_levels')) . ': </label>
                                                                        ' . $lMenu . '
                                 </div>
-                                <div class="form-group col-xs-6 col-sm-3">
+                                <div class="form-group col-xs-12 col-sm-6">
                                                                        <label for="showLimit">' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.label.limit')) . ': </label>
                                                                        <input class="form-control" type="number" min="0" max="10000" placeholder="10" title="' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.title.limit')) . '" name="showLimit" id="showLimit" value="' . htmlspecialchars(($this->showLimit ? $this->showLimit : '')) . '" />
                                 </div>
-                                <div class="form-group col-xs-12 col-sm-12">
+                                <div class="form-group col-xs-12">
                                     <div class="form-control-wrap">
                                         <button type="submit" class="btn btn-default" name="search" title="' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.title.search')) . '">
                                             ' . $iconFactory->getIcon('actions-search', Icon::SIZE_SMALL)->render() . ' ' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.search')) . '