[TASK] Streamline lowlevel form fields 20/37620/4
authorBenjamin Kott <benjamin.kott@outlook.com>
Sat, 7 Mar 2015 14:19:43 +0000 (15:19 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 22 Mar 2015 16:41:53 +0000 (17:41 +0100)
Releases: master
Resolves: #65588
Change-Id: Ibe42acaf7ad540b75b94af06f3e5a45a6261c6a6
Reviewed-on: http://review.typo3.org/37620
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/lowlevel/Resources/Private/Templates/Backend/Configuration.html

index 28882a0..a09ff82 100644 (file)
@@ -5,33 +5,42 @@
 <h2>{label}</h2>
 
 <div id="lowlevel-config">
-       <label for="search_field">
-               <f:translate key="enterSearchPhrase" />
-       </label>
-       <input type="search" id="search_field" name="search_field" value="{search_field}" style="width:192px;"/>
-       <div class="checkbox">
-               <label for="checkRegexsearch">
-                       <f:format.raw>{checkbox_checkRegexsearch}</f:format.raw>
-                       <f:translate key="useRegExp" />
+       <div class="form-group">
+               <label for="lowlevel-search">
+                       <f:translate key="enterSearchPhrase" />
                </label>
+               <input class="form-control" type="search" id="lowlevel-search" name="search_field" value="{search_field}" />
+       </div>
+       <div class="form-group">
+               <div class="checkbox">
+                       <label for="checkRegexsearch">
+                               <f:format.raw>{checkbox_checkRegexsearch}</f:format.raw>
+                               <f:translate key="useRegExp" />
+                       </label>
+               </div>
+       </div>
+       <div class="form-group">
+               <input class="btn btn-default" type="submit" name="search" id="search" value="{f:translate(key: 'search')}"/>
        </div>
-       <input class="btn btn-default" type="submit" name="search" id="search" value="{f:translate(key: 'search')}"/>
 </div>
 
 <div id="lowlevel-config-var">
        <f:if condition="{varname}">
-               <strong>
-                       <f:translate key="variable" />
-               </strong><br/>
-               <input type="text" name="_" value="{line}" size="120"/><br/>
-
+               <div class="form-group">
+                       <label for="lowlevel-variable">
+                               <f:translate key="variable" />
+                       </label>
+                       <input id="lowlevel-variable" class="form-control" type="text" name="_" value="{line}" size="120"/>
+                       <f:if condition="{showSaveButton}">
+                               <f:else>
+                                       <div class="help-block"><f:translate key="copyPaste" /></div>
+                               </f:else>
+                       </f:if>
+               </div>
                <f:if condition="{showSaveButton}">
-                       <f:then>
-                               <br/><input class="btn btn-default" type="submit" name="writetoexttables" value="{f:translate(key: 'writeValue')}"/>
-                       </f:then>
-                       <f:else>
-                               <f:translate key="copyPaste" />
-                       </f:else>
+                       <div class="form-group">
+                               <input class="btn btn-default" type="submit" name="writetoexttables" value="{f:translate(key: 'writeValue')}"/>
+                       </div>
                </f:if>
        </f:if>
 </div>