[FEATURE] Swap doc header rows
authorFelix Kopp <felix-source@phorax.com>
Sat, 14 Jul 2012 23:18:42 +0000 (01:18 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 3 Aug 2012 10:19:36 +0000 (12:19 +0200)
Swaps docheader rows within workspace backend module.

Change-Id: Iba019cd3421b245f908f7ef1017e618562a3e44e
Fixes: #38956
Related: #38759
Related: #33508
Releases: 6.0
Reviewed-on: http://review.typo3.org/12805
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/workspaces/Resources/Private/Layouts/Module.html
typo3/sysext/workspaces/Resources/Public/StyleSheet/module.css

index 789c1b0..4d5aeb4 100644 (file)
@@ -1,31 +1,35 @@
 <!-- ###FULLDOC### begin -->
 <div class="typo3-fullDoc">
-<!-- Page header with buttons, path details and csh -->
-<div id="typo3-docheader">
-<div id="typo3-docheader-row1">
-<div class="buttonsleft">
-       <f:if condition="{showPreviewLink}">
-               <a href="#" onclick="TYPO3.Workspaces.Actions.generateWorkspacePreviewLink();return false;" title="{f:translate(key:'tooltip.generatePagePreview')}" id="goPreviewLinkButton"><span class="t3-icon t3-icon-extensions t3-icon-extensions-workspaces t3-icon-workspaces-generatepreviewlink">&nbsp;</span><!--
-                       --><f:translate key="label_doaction_generatePreviewLink">Generate Workspace Preview Link</f:translate><!--
-               --></a>
-       </f:if>
+       <div id="typo3-docheader">
+               <div class="typo3-docheader-functions">
+                       <div class="left"></div>
+                       <div class="right">
+                               <f:be.pagePath /><f:be.pageInfo />
+                       </div>
+               </div>
+               <div class="typo3-docheader-buttons">
+                       <div class="left">
+                               <f:if condition="{showPreviewLink}">
+                                       <a href="#" onclick="TYPO3.Workspaces.Actions.generateWorkspacePreviewLink();return false;" title="{f:translate(key:'tooltip.generatePagePreview')}" id="goPreviewLinkButton">
+                                               <span class="t3-icon t3-icon-extensions t3-icon-extensions-workspaces t3-icon-workspaces-generatepreviewlink">&nbsp;</span>
+                                               <f:translate key="label_doaction_generatePreviewLink">Generate Workspace Preview Link</f:translate>
+                                       </a>
+                               </f:if>
+                       </div>
+                       <div class="right">
+                               <f:be.buttons.shortcut />
+                       </div>
+               </div>
+       </div>
 </div>
-<div class="buttonsright"><f:be.buttons.shortcut /></div>
-</div>
-<div id="typo3-docheader-row2">
-<div class="docheader-row2-left"></div>
-<div class="docheader-row2-right"><f:be.pagePath /><f:be.pageInfo /></div>
-</div>
-</div>
-<!-- Content of module, for instance listing, info or editing -->
+
 <div id="typo3-docbody">
-<div id="typo3-inner-docbody">
+       <div id="typo3-inner-docbody">
 
-       <f:flashMessages renderMode="div" />
+               <f:flashMessages renderMode="div" />
 
-       <f:render partial="navigation" arguments="{workspaceList: workspaceList, activeWorkspaceUid: activeWorkspaceUid, showAllWorkspaceTab:showAllWorkspaceTab}" />
-       <div class="typo3-dyntabmenu-divs"><f:render section="main" /></div>
-       <f:if condition="{showLegend}"><f:render partial="legend" /></f:if>
-</div>
-</div>
+               <f:render partial="navigation" arguments="{workspaceList: workspaceList, activeWorkspaceUid: activeWorkspaceUid, showAllWorkspaceTab:showAllWorkspaceTab}" />
+               <div class="typo3-dyntabmenu-divs"><f:render section="main" /></div>
+               <f:if condition="{showLegend}"><f:render partial="legend" /></f:if>
+       </div>
 </div>
index faf527e..3077d31 100644 (file)
@@ -1,3 +1,4 @@
+
 ul.x-tab-strip.x-tab-strip-top {
        width: 100%;
 }
@@ -57,10 +58,6 @@ div.typo3-dyntabmenu-divs {
 .x-grid3-row-selected {
        color: #4D4D4D;
 }
-a#goPreviewLinkButton {
-       line-height: 18px;
-       color: #ffffff;
-}
 #typo3-mod-php div.typo3-noDoc {
        margin: 0px 0px;
 }