mirror of https://github.com/acanas/swad-core.git
Version19.118
This commit is contained in:
parent
51d1f15358
commit
994e511c61
|
@ -1317,6 +1317,83 @@ a:hover /* Default ==> underlined */
|
||||||
width:480px;
|
width:480px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 590px)
|
||||||
|
{ /* For mobile-phones (maximum width visible on Moto G4 vertical) */
|
||||||
|
.HIE_CFG_WIDTH {width:280px;}
|
||||||
|
.COUNTRY_MAP_SHOW, .COUNTRY_MAP_PRINT
|
||||||
|
{
|
||||||
|
box-sizing:border-box;
|
||||||
|
width:260px;
|
||||||
|
height:260px;
|
||||||
|
margin:10px;
|
||||||
|
}
|
||||||
|
.CENTRE_PHOTO_WIDTH {width:260px;}
|
||||||
|
#AttributionArea
|
||||||
|
{
|
||||||
|
box-sizing:border-box;
|
||||||
|
width:260px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media only screen and (min-width: 590px)
|
||||||
|
{ /* For tablets and desktop (maximum width visible on Moto G4 horizontal) */
|
||||||
|
.HIE_CFG_WIDTH {width:480px;}
|
||||||
|
.COUNTRY_MAP_SHOW, .COUNTRY_MAP_PRINT
|
||||||
|
{
|
||||||
|
box-sizing:border-box;
|
||||||
|
width:360px;
|
||||||
|
height:360px;
|
||||||
|
margin:10px;
|
||||||
|
}
|
||||||
|
.COUNTRY_MAP_WIDTH, .CENTRE_PHOTO_WIDTH {width:460px;}
|
||||||
|
#AttributionArea
|
||||||
|
{
|
||||||
|
box-sizing:border-box;
|
||||||
|
width:460px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.HIE_CFG_LEFT, .HIE_CFG_RIGHT
|
||||||
|
{
|
||||||
|
display:inline-block;
|
||||||
|
margin:0 6px;
|
||||||
|
vertical-align:top;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sys_mapid, #cty_mapid, #ins_mapid, #ctr_mapid
|
||||||
|
{
|
||||||
|
width:100%;
|
||||||
|
height:460px;
|
||||||
|
margin:9px auto;
|
||||||
|
}
|
||||||
|
.CENTRE_PHOTO_SHOW
|
||||||
|
{
|
||||||
|
box-sizing:border-box;
|
||||||
|
padding:2px;
|
||||||
|
margin:9px auto;
|
||||||
|
border:solid 1px #EEE;
|
||||||
|
}
|
||||||
|
a:hover img.CENTRE_PHOTO_SHOW
|
||||||
|
{
|
||||||
|
border:solid 1px #CCC;
|
||||||
|
box-shadow:1px 1px 6px #999;
|
||||||
|
}
|
||||||
|
.CENTRE_PHOTO_PRINT
|
||||||
|
{
|
||||||
|
box-sizing:border-box;
|
||||||
|
padding:2px;
|
||||||
|
margin:9px auto;
|
||||||
|
border:solid 1px #EEE;
|
||||||
|
box-shadow:1px 1px 6px #999;
|
||||||
|
}
|
||||||
|
.ATTRIBUTION
|
||||||
|
{
|
||||||
|
box-sizing:border-box;
|
||||||
|
margin-bottom:15px;
|
||||||
|
color:#A0A0A0;
|
||||||
|
font-size:8pt;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
/*********************************** Places **********************************/
|
/*********************************** Places **********************************/
|
||||||
.PLC_SEL
|
.PLC_SEL
|
||||||
{
|
{
|
||||||
|
@ -1962,13 +2039,6 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
|
||||||
height:20px;
|
height:20px;
|
||||||
vertical-align:middle;
|
vertical-align:middle;
|
||||||
}
|
}
|
||||||
.COUNTRY_MAP_SHOW, .COUNTRY_MAP_PRINT
|
|
||||||
{
|
|
||||||
box-sizing:border-box;
|
|
||||||
width:320px;
|
|
||||||
height:320px;
|
|
||||||
margin:10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/******************* Web of institution, centre, degree **********************/
|
/******************* Web of institution, centre, degree **********************/
|
||||||
.EXTERNAL_WWW_SHORT
|
.EXTERNAL_WWW_SHORT
|
||||||
|
@ -1988,52 +2058,6 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
|
||||||
text-overflow:ellipsis;
|
text-overflow:ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************** Photo of centre ******************************/
|
|
||||||
.CENTRE_PHOTO_SHOW
|
|
||||||
{
|
|
||||||
box-sizing:border-box;
|
|
||||||
width:460px;
|
|
||||||
padding:2px;
|
|
||||||
margin:9px auto;
|
|
||||||
border:solid 1px #EEE;
|
|
||||||
}
|
|
||||||
a:hover img.CENTRE_PHOTO_SHOW
|
|
||||||
{
|
|
||||||
border:solid 1px #CCC;
|
|
||||||
box-shadow:1px 1px 6px #999;
|
|
||||||
}
|
|
||||||
.CENTRE_PHOTO_PRINT
|
|
||||||
{
|
|
||||||
box-sizing:border-box;
|
|
||||||
width:460px;
|
|
||||||
padding:2px;
|
|
||||||
margin:9px auto;
|
|
||||||
border:solid 1px #EEE;
|
|
||||||
box-shadow:1px 1px 6px #999;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sys_mapid, #cty_mapid, #ins_mapid, #ctr_mapid
|
|
||||||
{
|
|
||||||
width:460px;
|
|
||||||
height:460px;
|
|
||||||
margin:9px auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**************** Attribution (author and license) of images *****************/
|
|
||||||
#AttributionArea
|
|
||||||
{
|
|
||||||
box-sizing:border-box;
|
|
||||||
width:460px;
|
|
||||||
}
|
|
||||||
.ATTRIBUTION
|
|
||||||
{
|
|
||||||
box-sizing:border-box;
|
|
||||||
margin-bottom:15px;
|
|
||||||
color:#A0A0A0;
|
|
||||||
font-size:8pt;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/******************************* User's photo ********************************/
|
/******************************* User's photo ********************************/
|
||||||
.PHOTO12x16 {width: 12px; height: 16px; border-radius:1px; vertical-align:middle; margin-top:-2px;}
|
.PHOTO12x16 {width: 12px; height: 16px; border-radius:1px; vertical-align:middle; margin-top:-2px;}
|
||||||
.PHOTO15x20 {width: 15px; height: 20px; border-radius:2px; vertical-align:middle;}
|
.PHOTO15x20 {width: 15px; height: 20px; border-radius:2px; vertical-align:middle;}
|
|
@ -165,7 +165,7 @@ static void CtrCfg_Configuration (bool PrintView)
|
||||||
CtrCfg_Title (PutLink);
|
CtrCfg_Title (PutLink);
|
||||||
|
|
||||||
/**************************** Left part ***********************************/
|
/**************************** Left part ***********************************/
|
||||||
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT\"");
|
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT HIE_CFG_WIDTH\"");
|
||||||
|
|
||||||
/***** Begin table *****/
|
/***** Begin table *****/
|
||||||
HTM_TABLE_BeginWidePadding (2);
|
HTM_TABLE_BeginWidePadding (2);
|
||||||
|
@ -234,7 +234,7 @@ static void CtrCfg_Configuration (bool PrintView)
|
||||||
|
|
||||||
if (MapIsAvailable || PhotoExists)
|
if (MapIsAvailable || PhotoExists)
|
||||||
{
|
{
|
||||||
HTM_DIV_Begin ("class=\"HIE_CFG_RIGHT\"");
|
HTM_DIV_Begin ("class=\"HIE_CFG_RIGHT HIE_CFG_WIDTH\"");
|
||||||
|
|
||||||
/***** Centre map *****/
|
/***** Centre map *****/
|
||||||
if (MapIsAvailable)
|
if (MapIsAvailable)
|
||||||
|
@ -465,8 +465,8 @@ static void CtrCfg_Photo (bool PrintView,bool PutForm,bool PutLink,
|
||||||
(unsigned) Gbl.Hierarchy.Ctr.CtrCod) < 0)
|
(unsigned) Gbl.Hierarchy.Ctr.CtrCod) < 0)
|
||||||
Lay_NotEnoughMemoryExit ();
|
Lay_NotEnoughMemoryExit ();
|
||||||
HTM_IMG (URL,Icon,Gbl.Hierarchy.Ctr.FullName,
|
HTM_IMG (URL,Icon,Gbl.Hierarchy.Ctr.FullName,
|
||||||
"class=\"%s\"",PrintView ? "CENTRE_PHOTO_PRINT" :
|
"class=\"%s\"",PrintView ? "CENTRE_PHOTO_PRINT CENTRE_PHOTO_WIDTH" :
|
||||||
"CENTRE_PHOTO_SHOW");
|
"CENTRE_PHOTO_SHOW CENTRE_PHOTO_WIDTH");
|
||||||
free (Icon);
|
free (Icon);
|
||||||
free (URL);
|
free (URL);
|
||||||
if (PutLink)
|
if (PutLink)
|
||||||
|
|
|
@ -494,16 +494,16 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
||||||
En OpenSWAD:
|
En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 19.117 (2020-01-14)"
|
#define Log_PLATFORM_VERSION "SWAD 19.118 (2020-01-14)"
|
||||||
#define CSS_FILE "swad19.115.css"
|
#define CSS_FILE "swad19.118.css"
|
||||||
#define JS_FILE "swad19.91.1.js"
|
#define JS_FILE "swad19.91.1.js"
|
||||||
/*
|
/*
|
||||||
// TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.)
|
// TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.)
|
||||||
// TODO: Impedir la creación y edición de proyectos si no son editables.
|
// TODO: Impedir la creación y edición de proyectos si no son editables.
|
||||||
// TODO: No se puede entrar con DNI '1' suponiendo que no tenga password ¿por qué?
|
// TODO: No se puede entrar con DNI '1' suponiendo que no tenga password ¿por qué?
|
||||||
// TODO: Mapas más estrechos en móvil
|
|
||||||
|
|
||||||
Version 19.117: Jan 14, 2020 Column map moved in countries, institutions and centres. (? lines)
|
Version 19.118: Jan 14, 2020 Responsive maps. (278546 lines)
|
||||||
|
Version 19.117: Jan 14, 2020 Column map moved in countries, institutions and centres. (278523 lines)
|
||||||
Version 19.116.3: Jan 14, 2020 Form to go to country map in statistics. (278547 lines)
|
Version 19.116.3: Jan 14, 2020 Form to go to country map in statistics. (278547 lines)
|
||||||
Version 19.116.2: Jan 14, 2020 Form to go to institution map in statistics. (278529 lines)
|
Version 19.116.2: Jan 14, 2020 Form to go to institution map in statistics. (278529 lines)
|
||||||
Version 19.116.1: Jan 14, 2020 Form to go to centre map in statistics. (278518 lines)
|
Version 19.116.1: Jan 14, 2020 Form to go to centre map in statistics. (278518 lines)
|
||||||
|
|
|
@ -132,7 +132,7 @@ static void CtyCfg_Configuration (bool PrintView)
|
||||||
CtyCfg_Title (PutLink);
|
CtyCfg_Title (PutLink);
|
||||||
|
|
||||||
/**************************** Left part ***********************************/
|
/**************************** Left part ***********************************/
|
||||||
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT\"");
|
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT HIE_CFG_WIDTH\"");
|
||||||
|
|
||||||
/***** Begin table *****/
|
/***** Begin table *****/
|
||||||
HTM_TABLE_BeginWidePadding (2);
|
HTM_TABLE_BeginWidePadding (2);
|
||||||
|
@ -184,7 +184,7 @@ static void CtyCfg_Configuration (bool PrintView)
|
||||||
|
|
||||||
if (MapIsAvailable || MapImageExists)
|
if (MapIsAvailable || MapImageExists)
|
||||||
{
|
{
|
||||||
HTM_DIV_Begin ("class=\"HIE_CFG_RIGHT\"");
|
HTM_DIV_Begin ("class=\"HIE_CFG_RIGHT HIE_CFG_WIDTH\"");
|
||||||
|
|
||||||
/***** Country map *****/
|
/***** Country map *****/
|
||||||
if (MapIsAvailable)
|
if (MapIsAvailable)
|
||||||
|
|
|
@ -123,7 +123,7 @@ void CrsCfg_Configuration (bool PrintView)
|
||||||
CrsCfg_Title (PutLink);
|
CrsCfg_Title (PutLink);
|
||||||
|
|
||||||
/**************************** Left part ***********************************/
|
/**************************** Left part ***********************************/
|
||||||
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT\"");
|
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT HIE_CFG_WIDTH\"");
|
||||||
|
|
||||||
/***** Begin table *****/
|
/***** Begin table *****/
|
||||||
HTM_TABLE_BeginWidePadding (2);
|
HTM_TABLE_BeginWidePadding (2);
|
||||||
|
|
|
@ -127,7 +127,7 @@ static void DegCfg_Configuration (bool PrintView)
|
||||||
DegCfg_Title (PutLink);
|
DegCfg_Title (PutLink);
|
||||||
|
|
||||||
/**************************** Left part ***********************************/
|
/**************************** Left part ***********************************/
|
||||||
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT\"");
|
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT HIE_CFG_WIDTH\"");
|
||||||
|
|
||||||
/***** Begin table *****/
|
/***** Begin table *****/
|
||||||
HTM_TABLE_BeginWidePadding (2);
|
HTM_TABLE_BeginWidePadding (2);
|
||||||
|
|
|
@ -138,7 +138,7 @@ static void InsCfg_Configuration (bool PrintView)
|
||||||
InsCfg_Title (PutLink);
|
InsCfg_Title (PutLink);
|
||||||
|
|
||||||
/**************************** Left part ***********************************/
|
/**************************** Left part ***********************************/
|
||||||
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT\"");
|
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT HIE_CFG_WIDTH\"");
|
||||||
|
|
||||||
/***** Begin table *****/
|
/***** Begin table *****/
|
||||||
HTM_TABLE_BeginWidePadding (2);
|
HTM_TABLE_BeginWidePadding (2);
|
||||||
|
@ -191,7 +191,7 @@ static void InsCfg_Configuration (bool PrintView)
|
||||||
|
|
||||||
if (MapIsAvailable)
|
if (MapIsAvailable)
|
||||||
{
|
{
|
||||||
HTM_DIV_Begin ("class=\"HIE_CFG_RIGHT\"");
|
HTM_DIV_Begin ("class=\"HIE_CFG_RIGHT HIE_CFG_WIDTH\"");
|
||||||
|
|
||||||
/***** Institution map *****/
|
/***** Institution map *****/
|
||||||
InsCfg_Map ();
|
InsCfg_Map ();
|
||||||
|
|
|
@ -118,7 +118,7 @@ static void SysCfg_Configuration (bool PrintView)
|
||||||
Hlp_SYSTEM_Information,Box_NOT_CLOSABLE);
|
Hlp_SYSTEM_Information,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/**************************** Left part ***********************************/
|
/**************************** Left part ***********************************/
|
||||||
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT\"");
|
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT HIE_CFG_WIDTH\"");
|
||||||
|
|
||||||
/***** Begin table *****/
|
/***** Begin table *****/
|
||||||
HTM_TABLE_BeginWidePadding (2);
|
HTM_TABLE_BeginWidePadding (2);
|
||||||
|
@ -164,7 +164,7 @@ static void SysCfg_Configuration (bool PrintView)
|
||||||
|
|
||||||
if (MapIsAvailable)
|
if (MapIsAvailable)
|
||||||
{
|
{
|
||||||
HTM_DIV_Begin ("class=\"HIE_CFG_RIGHT\"");
|
HTM_DIV_Begin ("class=\"HIE_CFG_RIGHT HIE_CFG_WIDTH\"");
|
||||||
|
|
||||||
/***** Country map *****/
|
/***** Country map *****/
|
||||||
SysCfg_Map ();
|
SysCfg_Map ();
|
||||||
|
|
Loading…
Reference in New Issue