Version19.101.3

This commit is contained in:
Antonio Cañas Vargas 2019-12-28 17:18:38 +01:00
parent 6703488f2c
commit 4e9475604b
3 changed files with 22 additions and 15 deletions

View File

@ -3941,7 +3941,7 @@ a.PAG:hover, .PAG_CUR
.INPUT_INS_CODE
{
box-sizing:border-box;
width:90px;
width:180px;
}
.INPUT_SHORT_NAME
{

View File

@ -492,7 +492,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 19.101.2 (2019-12-28)"
#define Log_PLATFORM_VERSION "SWAD 19.101.3 (2019-12-28)"
#define CSS_FILE "swad19.101.1.css"
#define JS_FILE "swad19.91.1.js"
/*
@ -502,6 +502,7 @@ ps2pdf source.ps destination.pdf
Version 19.103: Dec 28, 2019 Map in country information. (? lines)
Version 19.102: Dec 28, 2019 Map in institution information. (? lines)
Version 19.101.3: Dec 28, 2019 Course information is splitted into two columns. (249308 lines)
Version 19.101.2: Dec 28, 2019 Degree information is splitted into two columns. (249303 lines)
Version 19.101.1: Dec 28, 2019 Centre information is splitted into two columns. (249297 lines)
Version 19.101: Dec 27, 2019 Code refactoring in course, degree, centre, institution and country information. (249255 lines)

View File

@ -219,6 +219,9 @@ static void Crs_Configuration (bool PrintView)
/***** Title *****/
Crs_ConfigTitle (PutLink);
/**************************** Left part ***********************************/
HTM_DIV_Begin ("class=\"HIE_CFG_LEFT\"");
/***** Begin table *****/
HTM_TABLE_BeginWidePadding (2);
@ -261,6 +264,9 @@ static void Crs_Configuration (bool PrintView)
/***** End table *****/
HTM_TABLE_End ();
/***** End of left part *****/
HTM_DIV_End ();
/***** End box *****/
Box_BoxEnd ();
}
@ -303,12 +309,12 @@ static void Crs_ConfigDegree (bool PrintView,bool PutForm)
HTM_TR_Begin (NULL);
/* Label */
Frm_LabelColumn ("RM",PutForm ? "OthDegCod" :
Frm_LabelColumn ("RT",PutForm ? "OthDegCod" :
NULL,
Txt_Degree);
/* Data */
HTM_TD_Begin ("class=\"DAT LM\"");
HTM_TD_Begin ("class=\"DAT LB\"");
if (PutForm)
{
/* Get list of degrees of the current centre */
@ -393,12 +399,12 @@ static void Crs_ConfigYear (bool PutForm)
HTM_TR_Begin (NULL);
/* Label */
Frm_LabelColumn ("RM",PutForm ? "OthCrsYear" :
Frm_LabelColumn ("RT",PutForm ? "OthCrsYear" :
NULL,
Txt_Year_OF_A_DEGREE);
/* Data */
HTM_TD_Begin ("class=\"DAT LM\"");
HTM_TD_Begin ("class=\"DAT LB\"");
if (PutForm)
{
Frm_StartForm (ActChgCrsYeaCfg);
@ -433,18 +439,18 @@ static void Crs_ConfigInstitutionalCode (bool PutForm)
HTM_TR_Begin (NULL);
/* Label */
Frm_LabelColumn ("RM",PutForm ? "InsCrsCod" :
Frm_LabelColumn ("RT",PutForm ? "InsCrsCod" :
NULL,
Txt_Institutional_code);
/* Data */
HTM_TD_Begin ("class=\"DAT LM\"");
HTM_TD_Begin ("class=\"DAT LB\"");
if (PutForm)
{
Frm_StartForm (ActChgInsCrsCodCfg);
HTM_INPUT_TEXT ("InsCrsCod",Crs_MAX_CHARS_INSTITUTIONAL_CRS_COD,
Gbl.Hierarchy.Crs.InstitutionalCrsCod,true,
"id=\"InsCrsCod\" size=\"%u\"",
"id=\"InsCrsCod\" size=\"%u\" class=\"INPUT_INS_CODE\"",
Crs_MAX_CHARS_INSTITUTIONAL_CRS_COD);
Frm_EndForm ();
}
@ -467,10 +473,10 @@ static void Crs_ConfigInternalCode (void)
HTM_TR_Begin (NULL);
/* Label */
Frm_LabelColumn ("RM",NULL,Txt_Internal_code);
Frm_LabelColumn ("RT",NULL,Txt_Internal_code);
/* Data */
HTM_TD_Begin ("class=\"DAT LM\"");
HTM_TD_Begin ("class=\"DAT LB\"");
HTM_Long (Gbl.Hierarchy.Crs.CrsCod);
HTM_TD_End ();
@ -507,10 +513,10 @@ static void Crs_ShowNumUsrsInCrs (Rol_Role_t Role)
HTM_TR_Begin (NULL);
/* Label */
Frm_LabelColumn ("RM",NULL,Txt_ROLES_PLURAL_Abc[Role][Usr_SEX_UNKNOWN]);
Frm_LabelColumn ("RT",NULL,Txt_ROLES_PLURAL_Abc[Role][Usr_SEX_UNKNOWN]);
/* Data */
HTM_TD_Begin ("class=\"DAT LM\"");
HTM_TD_Begin ("class=\"DAT LB\"");
HTM_Unsigned (Gbl.Hierarchy.Crs.NumUsrs[Role]);
HTM_TD_End ();
@ -536,10 +542,10 @@ static void Crs_ConfigIndicators (void)
HTM_TR_Begin (NULL);
/* Label */
Frm_LabelColumn ("RM",NULL,Txt_Indicators);
Frm_LabelColumn ("RT",NULL,Txt_Indicators);
/* Data */
HTM_TD_Begin ("class=\"LM\"");
HTM_TD_Begin ("class=\"LB\"");
Frm_StartForm (ActReqStaCrs);
snprintf (Gbl.Title,sizeof (Gbl.Title),
"%u %s %u",