Browse Source

switch col 0 and col 1

Olivier Massot 5 years ago
parent
commit
7ec3b30acb

+ 6 - 6
ot_templating/Resources/Private/Templates/Page/3Col.html

@@ -11,8 +11,8 @@
     <!-- Backend layout grid -->
     <flux:grid>
         <flux:grid.row>
-            <flux:grid.column colPos="0" name="Leftcol" label="Colonne Gauche" style="width: 25%" />
-            <flux:grid.column colPos="1" name="Content" label="Contenu" style="width: 50%" />
+            <flux:grid.column colPos="1" name="Leftcol" label="Colonne Gauche" style="width: 25%" />
+            <flux:grid.column colPos="0" name="Content" label="Contenu" style="width: 50%" />
             <flux:grid.column colPos="2" name="Rightcol" label="Colonne Droite" style="width: 25%" />
         </flux:grid.row>
     </flux:grid>
@@ -20,13 +20,13 @@
 </f:section>
 
 <f:section name="Leftcol">
-    <!-- Render colPos=0 in this section -->
-    <v:content.render column="0" />
+    <!-- Render colPos=1 in this section -->
+    <v:content.render column="1" />
 </f:section>
 
 <f:section name="Content">
-    <!-- Render colPos=1 in this section -->
-    <v:content.render column="1" />
+    <!-- Render colPos=0 in this section -->
+    <v:content.render column="0" />
 </f:section>
 <f:section name="Rightcol">
     <!-- Render colPos=2 in this section -->

+ 4 - 4
ot_templating/Resources/Private/Templates/Page/Home.html

@@ -16,8 +16,8 @@
     <!-- Backend layout grid -->
     <flux:grid>
         <flux:grid.row>
-            <flux:grid.column colPos="0" name="Leftcol" label="Colonne Gauche" style="width: 25%" />
-            <flux:grid.column colPos="1" name="Content" label="Contenu" style="width: 50%" />
+            <flux:grid.column colPos="1" name="Leftcol" label="Colonne Gauche" style="width: 25%" />
+            <flux:grid.column colPos="0" name="Content" label="Contenu" style="width: 50%" />
             <flux:grid.column colPos="2" name="Rightcol" label="Colonne Droite" style="width: 25%" />
         </flux:grid.row>
     </flux:grid>
@@ -26,12 +26,12 @@
 
 <f:section name="Leftcol">
     <f:comment><!-- Render colPos=0 in this section --></f:comment>
-    <v:content.render column="0" />
+    <v:content.render column="1" />
 </f:section>
 
 <f:section name="Content">
     <f:comment><!-- Render colPos=1 in this section --></f:comment>
-    <v:content.render column="1" />
+    <v:content.render column="0" />
 </f:section>
 <f:section name="Rightcol">
     <f:comment><!-- Render colPos=2 in this section --></f:comment>