diff --git a/css/swad19.101.1.css b/css/swad19.101.1.css index 777a6ebb8..3a09c7eac 100644 --- a/css/swad19.101.1.css +++ b/css/swad19.101.1.css @@ -3941,7 +3941,7 @@ a.PAG:hover, .PAG_CUR .INPUT_INS_CODE { box-sizing:border-box; - width:90px; + width:180px; } .INPUT_SHORT_NAME { diff --git a/swad_changelog.h b/swad_changelog.h index ca0f12ef4..88332d6b3 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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) diff --git a/swad_course.c b/swad_course.c index 3b9451580..ee76c83fa 100644 --- a/swad_course.c +++ b/swad_course.c @@ -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",