[TASK] Streamline inline form in view module 80/44280/2
authorFrank Nägler <frank.naegler@typo3.org>
Mon, 26 Oct 2015 09:18:28 +0000 (10:18 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 26 Oct 2015 13:23:29 +0000 (14:23 +0100)
Resolves: #71024
Releases: master
Change-Id: I814fbfce05a09974d1f327002c5e58b8ecec3ba1
Reviewed-on: https://review.typo3.org/44280
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/viewpage/Resources/Private/Layouts/DocHeader.html

index e06e27b..57b2177 100644 (file)
@@ -8,17 +8,22 @@
                0:'TYPO3/CMS/Viewpage/Main'
        }" />
 <div class="tx_viewpage">
-       <form>
-               <label for="width">
-                       <f:translate key="width" />
-               </label>
-               <f:form.select options="{widths}" id="width" name="width" />
-               <f:if condition="{languages -> f:count()} > 1">
-                       <label for="language">
-                               <f:translate key="language" />
-                       </label>
-                       <f:form.select options="{languages}" id="language" name="language" />
-               </f:if>
-       </form>
+       <div class="panel panel-default">
+               <div class="panel-body">
+                       <form class="form-inline">
+                               <div class="form-group">
+                                       <label for="width"><f:translate key="width" /></label>
+                                       <f:form.select options="{widths}" id="width" name="width" class="form-control" />
+                               </div>
+                               <f:if condition="{languages -> f:count()} > 1">
+                                       <div class="form-group">
+                                               <label for="language"><f:translate key="language" /></label>
+                                               <f:form.select options="{languages}" id="language" name="language" class="form-control" />
+                                       </div>
+                               </f:if>
+                       </form>
+               </div>
+       </div>
+
        <f:render section="Content" />
-</div>
\ No newline at end of file
+</div>