Version 23.53.1: Dec 15, 2023 Responsive design in list of countries.

This commit is contained in:
acanas 2023-12-15 21:34:11 +01:00
parent a8d8041f7a
commit 68d9e1c4fe
3 changed files with 100 additions and 98 deletions

View File

@ -1444,7 +1444,7 @@ a:hover /* Default ==> underlined */
#chart_div
{
width:600px;
width: 300px;
margin: 12px auto;
}

View File

@ -633,11 +633,12 @@ Me sale este error, no s
"can npt create received message (duplicated entry '243218-2160773' for key 'UsrCod_MsgCod')
*/
#define Log_PLATFORM_VERSION "SWAD 23.53 (2023-12-14)"
#define CSS_FILE "swad23.53.css"
#define Log_PLATFORM_VERSION "SWAD 23.53.1 (2023-12-14)"
#define CSS_FILE "swad23.53.1.css"
#define JS_FILE "swad23.52.js"
/*
Version 23.53: Dec 15, 2023 Code refactoring and responsive design in timetable. (335817 lines)
Version 23.53.1: Dec 15, 2023 Responsive design in list of countries. (335860 lines)
Version 23.53: Dec 15, 2023 Code refactoring and responsive design in timetable. (335858 lines)
Version 23.52.7: Dec 14, 2023 Responsive design in indicators. (335817 lines)
Version 23.52.6: Dec 14, 2023 Responsive design in average photos of degrees. (335817 lines)
Version 23.52.5: Dec 13, 2023 Responsive design in follow. (335814 lines)

View File

@ -217,10 +217,18 @@ void Cty_ListCountries2 (void)
/***** Write menu to select country *****/
Hie_WriteMenuHierarchy ();
/***** Div for Google Geochart *****/
if (Gbl.Action.Act == ActSeeCty)
{
HTM_DIV_Begin ("id=\"chart_div\"");
HTM_DIV_End ();
}
/***** Begin box and table *****/
Box_BoxTableBegin (NULL,Txt_HIERARCHY_PLURAL_Abc[Hie_CTY],
Box_BoxBegin (NULL,Txt_HIERARCHY_PLURAL_Abc[Hie_CTY],
Cty_PutIconsListingCountries,NULL,
Hlp_SYSTEM_Countries,Box_NOT_CLOSABLE,2);
Hlp_SYSTEM_Countries,Box_NOT_CLOSABLE);
HTM_TABLE_Begin ("TBL_SCROLL");
/***** Write heading *****/
Cty_PutHeadCountriesForSeeing (true); // Order selectable
@ -305,14 +313,8 @@ void Cty_ListCountries2 (void)
HTM_TR_End ();
/***** End table and box *****/
Box_BoxTableEnd ();
/***** Div for Google Geochart *****/
if (Gbl.Action.Act == ActSeeCty)
{
HTM_DIV_Begin ("id=\"chart_div\"");
HTM_DIV_End ();
}
HTM_TABLE_End ();
Box_BoxEnd ();
/***** Free list of countries *****/
Hie_FreeList (Hie_SYS);
@ -629,8 +631,7 @@ void Cty_WriteScriptGoogleGeochart (void)
/***** Write end of the script *****/
HTM_TxtF (" ]);\n"
" var options = {\n"
" width:600,\n"
" height:360,\n"
" width:300,\n"
" backgroundColor:'white',\n"
" datalessRegionColor:'white',\n"
" colorAxis:{colors:['#EAF1F4','#4D88A1'],minValue:0,maxValue:%u}};\n"