Version 15.45.11

This commit is contained in:
Antonio Cañas Vargas 2015-11-25 14:54:46 +01:00
parent 17fbfd629f
commit cc917009e5
4 changed files with 34 additions and 7 deletions

View File

@ -296,6 +296,27 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
overflow:hidden; overflow:hidden;
} }
/*********************** Layout (fourth row, main zone) **********************/
#main_zone
{
display:table;
width:100%;
}
#main_zone_left
{
display:table-cell;
width:160px;
text-align:center;
vertical-align:top;
}
#main_zone_right
{
display:table-cell;
width:160px;
text-align:center;
vertical-align:top;
}
/****************************** Main zone ************************************/ /****************************** Main zone ************************************/
#CENTRAL_ZONE #CENTRAL_ZONE
{ {

View File

@ -206,6 +206,13 @@ form {margin:0; display:inline;}
white-space:nowrap; white-space:nowrap;
} }
/*********************** Layout (fourth row, main zone) **********************/
#main_zone
{
display:table;
width:100%;
}
/****************************** Main zone ************************************/ /****************************** Main zone ************************************/
#CENTRAL_ZONE #CENTRAL_ZONE
{ {

View File

@ -111,11 +111,12 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.45.10 (2015/11/25)" #define Log_PLATFORM_VERSION "SWAD 15.45.11 (2015/11/25)"
// Number of lines (includes comments but not blank lines) has been got with the following command: // Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1 // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
/* /*
Version 15.45.11: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (188017 lines)
Version 15.45.10: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (187992 lines) Version 15.45.10: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (187992 lines)
Version 15.45.9: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (188020 lines) Version 15.45.9: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (188020 lines)
Version 15.45.8: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (188018 lines) Version 15.45.8: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (188018 lines)

View File

@ -283,15 +283,14 @@ void Lay_WriteStartOfPage (void)
break; break;
} }
/***** Main zone *****/ /***** 4th row: main zone *****/
fprintf (Gbl.F.Out,"<div style=\"display:table; width:100%%;\">"); fprintf (Gbl.F.Out,"<div id=\"main_zone\">");
/* Left column */ /* Left column */
if (Gbl.Prefs.Layout == Lay_LAYOUT_DESKTOP) if (Gbl.Prefs.Layout == Lay_LAYOUT_DESKTOP)
if (Gbl.Prefs.SideCols & Lay_SHOW_LEFT_COLUMN) // Left column visible if (Gbl.Prefs.SideCols & Lay_SHOW_LEFT_COLUMN) // Left column visible
{ {
fprintf (Gbl.F.Out,"<div class=\"CENTER_TOP\"" fprintf (Gbl.F.Out,"<div id=\"main_zone_left\">");
" style=\"display:table-cell; width:160px;\">");
Lay_ShowLeftColumn (); Lay_ShowLeftColumn ();
fprintf (Gbl.F.Out,"</div>"); fprintf (Gbl.F.Out,"</div>");
} }
@ -408,8 +407,7 @@ static void Lay_WriteEndOfPage (void)
if (Gbl.Prefs.Layout == Lay_LAYOUT_DESKTOP) if (Gbl.Prefs.Layout == Lay_LAYOUT_DESKTOP)
if (Gbl.Prefs.SideCols & Lay_SHOW_RIGHT_COLUMN) // Right column visible if (Gbl.Prefs.SideCols & Lay_SHOW_RIGHT_COLUMN) // Right column visible
{ {
fprintf (Gbl.F.Out,"<div class=\"CENTER_TOP\"" fprintf (Gbl.F.Out,"<div id=\"main_zone_right\">");
" style=\"display:table-cell; width:160px;\">");
Lay_ShowRightColumn (); Lay_ShowRightColumn ();
fprintf (Gbl.F.Out,"</div>"); fprintf (Gbl.F.Out,"</div>");
} }