mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-31 22:05:23 +02:00
Version 15.45.12
This commit is contained in:
parent
cc917009e5
commit
630b71b266
|
@ -302,7 +302,7 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
|
|||
display:table;
|
||||
width:100%;
|
||||
}
|
||||
#main_zone_left
|
||||
.MAIN_ZONE_LEFT_RIGHT
|
||||
{
|
||||
display:table-cell;
|
||||
width:160px;
|
||||
|
@ -316,9 +316,13 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
|
|||
text-align:center;
|
||||
vertical-align:top;
|
||||
}
|
||||
|
||||
/****************************** Main zone ************************************/
|
||||
#CENTRAL_ZONE
|
||||
#main_zone_central
|
||||
{
|
||||
display:table-cell;
|
||||
text-align:center;
|
||||
vertical-align:top;
|
||||
}
|
||||
#main_zone_central_container
|
||||
{
|
||||
min-width:925px;
|
||||
min-height:925px;
|
||||
|
@ -333,6 +337,24 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
|
|||
position:relative;
|
||||
display:inline-block;
|
||||
}
|
||||
#main_zone_central_content
|
||||
{
|
||||
display:table;
|
||||
width:100%;
|
||||
}
|
||||
.MAIN_ZONE_EXPAND
|
||||
{
|
||||
display:table-cell;
|
||||
width:10px;
|
||||
vertical-align:top;
|
||||
}
|
||||
#main_zone_menu_vertical
|
||||
{
|
||||
display:table-cell;
|
||||
width:175px;
|
||||
text-align:left;
|
||||
vertical-align:top;
|
||||
}
|
||||
|
||||
/****************** Title of current action in main block ********************/
|
||||
#action_title
|
||||
|
|
|
@ -212,9 +212,13 @@ form {margin:0; display:inline;}
|
|||
display:table;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
/****************************** Main zone ************************************/
|
||||
#CENTRAL_ZONE
|
||||
#main_zone_central
|
||||
{
|
||||
display:table-cell;
|
||||
text-align:center;
|
||||
vertical-align:top;
|
||||
}
|
||||
#main_zone_central_container
|
||||
{
|
||||
min-width:925px;
|
||||
min-height:925px;
|
||||
|
@ -229,6 +233,11 @@ form {margin:0; display:inline;}
|
|||
position:relative;
|
||||
display:inline-block;
|
||||
}
|
||||
#main_zone_central_content
|
||||
{
|
||||
display:table;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
/************************* Users connected globally **************************/
|
||||
.CONNECTED
|
||||
|
|
|
@ -111,11 +111,12 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.45.11 (2015/11/25)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.45.12 (2015/11/25)"
|
||||
|
||||
// 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
|
||||
/*
|
||||
Version 15.45.12: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (188047 lines)
|
||||
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.9: Nov 25, 2015 Some CSS styles related to layout are moved to CSS file. (188020 lines)
|
||||
|
|
|
@ -290,31 +290,28 @@ void Lay_WriteStartOfPage (void)
|
|||
if (Gbl.Prefs.Layout == Lay_LAYOUT_DESKTOP)
|
||||
if (Gbl.Prefs.SideCols & Lay_SHOW_LEFT_COLUMN) // Left column visible
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<div id=\"main_zone_left\">");
|
||||
fprintf (Gbl.F.Out,"<div class=\"MAIN_ZONE_LEFT_RIGHT\">");
|
||||
Lay_ShowLeftColumn ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
}
|
||||
|
||||
/* Central (main) part */
|
||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_TOP\" style=\"display:table-cell;\">"
|
||||
"<div id=\"CENTRAL_ZONE\" class=\"%s\">"
|
||||
"<div class=\"CENTER_TOP\""
|
||||
" style=\"display:table; width:100%%;\">",
|
||||
fprintf (Gbl.F.Out,"<div id=\"main_zone_central\">"
|
||||
"<div id=\"main_zone_central_container\" class=\"%s\">"
|
||||
"<div id=\"main_zone_central_content\">",
|
||||
The_TabOnBgColors[Gbl.Prefs.Theme]);
|
||||
switch (Gbl.Prefs.Layout)
|
||||
{
|
||||
case Lay_LAYOUT_DESKTOP:
|
||||
/* Left bar used to expand-contract central zone */
|
||||
fprintf (Gbl.F.Out,"<div class=\"RIGHT_TOP\""
|
||||
" style=\"display:table-cell; width:12px;\">");
|
||||
fprintf (Gbl.F.Out,"<div class=\"MAIN_ZONE_EXPAND\">");
|
||||
Pre_PutLeftIconToHideShowCols ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
|
||||
if (Gbl.Prefs.Menu == Mnu_MENU_VERTICAL)
|
||||
{
|
||||
/* Vertical menu (left) */
|
||||
fprintf (Gbl.F.Out,"<div class=\"LEFT_TOP\""
|
||||
" style=\"display:table-cell; width:175px;\">");
|
||||
fprintf (Gbl.F.Out,"<div id=\"main_zone_menu_vertical\">");
|
||||
Mnu_WriteVerticalMenuThisTabDesktop ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
}
|
||||
|
@ -393,8 +390,7 @@ static void Lay_WriteEndOfPage (void)
|
|||
if (Gbl.Prefs.Layout == Lay_LAYOUT_DESKTOP)
|
||||
{
|
||||
/* Right bar used to expand-contract central zone */
|
||||
fprintf (Gbl.F.Out,"<div class=\"LEFT_TOP\""
|
||||
" style=\"display:table-cell; width:12px;\">");
|
||||
fprintf (Gbl.F.Out,"<div id=\"MAIN_ZONE_EXPAND\">");
|
||||
Pre_PutRigthIconToHideShowCols ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
}
|
||||
|
@ -407,7 +403,7 @@ static void Lay_WriteEndOfPage (void)
|
|||
if (Gbl.Prefs.Layout == Lay_LAYOUT_DESKTOP)
|
||||
if (Gbl.Prefs.SideCols & Lay_SHOW_RIGHT_COLUMN) // Right column visible
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<div id=\"main_zone_right\">");
|
||||
fprintf (Gbl.F.Out,"<div class=\"MAIN_ZONE_LEFT_RIGHT\">");
|
||||
Lay_ShowRightColumn ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user