Version 23.67.1: Mar 08, 2024 Fixed issue in layout.

This commit is contained in:
acanas 2024-03-08 11:22:02 +01:00
parent f2792370ad
commit 8266028350
4 changed files with 23 additions and 23 deletions

View File

@ -1446,12 +1446,18 @@ a:hover /* Default ==> underlined */
margin:12px auto; margin:12px auto;
} }
.HIE_CFG_LEFT, .HIE_CFG_RIGHT .HIE_CFG_LEFT
{ {
display:inline-block; display:inline-block;
margin:0 6px; margin:0 6px;
vertical-align:top; vertical-align:top;
width:520px; }
.HIE_CFG_RIGHT
{
display:inline-block;
margin:0 6px;
vertical-align:top;
width:520px; /* TODO: Make it responsive */
} }
@media only screen and (max-width:590px) @media only screen and (max-width:590px)
@ -3297,7 +3303,7 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
} }
} }
@media only screen and (min-width:1024px) @media only screen and (min-width:1024px)
{ * For desktop * { /* For desktop */
.Frm_C1 .Frm_C1
{ {
box-sizing:border-box; box-sizing:border-box;

View File

@ -633,10 +633,11 @@ Me sale este error, no s
"can npt create received message (duplicated entry '243218-2160773' for key 'UsrCod_MsgCod') "can npt create received message (duplicated entry '243218-2160773' for key 'UsrCod_MsgCod')
*/ */
#define Log_PLATFORM_VERSION "SWAD 23.67 (2024-03-08)" #define Log_PLATFORM_VERSION "SWAD 23.67.1 (2024-03-08)"
#define CSS_FILE "swad23.67.css" #define CSS_FILE "swad23.67.1.css"
#define JS_FILE "swad23.53.6.js" #define JS_FILE "swad23.53.6.js"
/* /*
Version 23.67.1: Mar 08, 2024 Fixed issue in layout. (335308 lines)
Version 23.67: Mar 08, 2024 Fixed bug in selection of groups related to attendance. Reported by Antonio Manuel Fernández Pérez. Version 23.67: Mar 08, 2024 Fixed bug in selection of groups related to attendance. Reported by Antonio Manuel Fernández Pérez.
Fixed bugs in messages. (335308 lines) Fixed bugs in messages. (335308 lines)
Version 23.66.1: Feb 27, 2024 Changes in layout. (335288 lines) Version 23.66.1: Feb 27, 2024 Changes in layout. (335288 lines)

View File

@ -292,10 +292,10 @@ static void CrsCfg_Year (Frm_PutForm_t PutForm)
HTM_TR_Begin (NULL); HTM_TR_Begin (NULL);
/* Label */ /* Label */
Frm_LabelColumn ("RT",Id[PutForm],Txt_Year_OF_A_DEGREE); Frm_LabelColumn ("Frm_C1 RT",Id[PutForm],Txt_Year_OF_A_DEGREE);
/* Data */ /* Data */
HTM_TD_Begin ("class=\"LB DAT_%s\"",The_GetSuffix ()); HTM_TD_Begin ("class=\"Frm_C2 LB DAT_%s\"",The_GetSuffix ());
switch (PutForm) switch (PutForm)
{ {
case Frm_DONT_PUT_FORM: case Frm_DONT_PUT_FORM:
@ -306,14 +306,14 @@ static void CrsCfg_Year (Frm_PutForm_t PutForm)
Frm_BeginForm (ActChgCrsYeaCfg); Frm_BeginForm (ActChgCrsYeaCfg);
HTM_SELECT_Begin (HTM_SUBMIT_ON_CHANGE,NULL, HTM_SELECT_Begin (HTM_SUBMIT_ON_CHANGE,NULL,
"id=\"OthCrsYear\" name=\"OthCrsYear\"" "id=\"OthCrsYear\" name=\"OthCrsYear\""
" class=\"INPUT_%s\"", " class=\"Frm_C2_INPUT INPUT_%s\"",
The_GetSuffix ()); The_GetSuffix ());
for (Year = 0; for (Year = 0;
Year <= Deg_MAX_YEARS_PER_DEGREE; Year <= Deg_MAX_YEARS_PER_DEGREE;
Year++) Year++)
HTM_OPTION (HTM_Type_UNSIGNED,&Year, HTM_OPTION (HTM_Type_UNSIGNED,&Year,
Year == Gbl.Hierarchy.Node[Hie_CRS].Specific.Year ? HTM_OPTION_SELECTED : Year == Gbl.Hierarchy.Node[Hie_CRS].Specific.Year ? HTM_OPTION_SELECTED :
HTM_OPTION_UNSELECTED, HTM_OPTION_UNSELECTED,
HTM_OPTION_ENABLED, HTM_OPTION_ENABLED,
"%s",Txt_YEAR_OF_DEGREE[Year]); "%s",Txt_YEAR_OF_DEGREE[Year]);
HTM_SELECT_End (); HTM_SELECT_End ();
@ -342,10 +342,10 @@ static void CrsCfg_InstitutionalCode (Frm_PutForm_t PutForm)
HTM_TR_Begin (NULL); HTM_TR_Begin (NULL);
/* Label */ /* Label */
Frm_LabelColumn ("RT",Id[PutForm],Txt_Institutional_code); Frm_LabelColumn ("Frm_C1 RT",Id[PutForm],Txt_Institutional_code);
/* Data */ /* Data */
HTM_TD_Begin ("class=\"LB DAT_%s\"",The_GetSuffix ()); HTM_TD_Begin ("class=\"Frm_C2 LB DAT_%s\"",The_GetSuffix ());
switch (PutForm) switch (PutForm)
{ {
case Frm_DONT_PUT_FORM: case Frm_DONT_PUT_FORM:
@ -357,7 +357,7 @@ static void CrsCfg_InstitutionalCode (Frm_PutForm_t PutForm)
Gbl.Hierarchy.Node[Hie_CRS].InstitutionalCod, Gbl.Hierarchy.Node[Hie_CRS].InstitutionalCod,
HTM_SUBMIT_ON_CHANGE, HTM_SUBMIT_ON_CHANGE,
"id=\"InsCrsCod\" maxlength=\"%u\"" "id=\"InsCrsCod\" maxlength=\"%u\""
" class=\"INPUT_INS_CODE INPUT_%s\"", " class=\"Frm_C2_INPUT INPUT_%s\"",
Hie_MAX_CHARS_INSTITUTIONAL_COD, Hie_MAX_CHARS_INSTITUTIONAL_COD,
The_GetSuffix ()); The_GetSuffix ());
Frm_EndForm (); Frm_EndForm ();
@ -380,10 +380,10 @@ static void CrsCfg_InternalCode (void)
HTM_TR_Begin (NULL); HTM_TR_Begin (NULL);
/* Label */ /* Label */
Frm_LabelColumn ("RT",NULL,Txt_Internal_code); Frm_LabelColumn ("Frm_C1 RT",NULL,Txt_Internal_code);
/* Data */ /* Data */
HTM_TD_Begin ("class=\"LB DAT_%s\"",The_GetSuffix ()); HTM_TD_Begin ("class=\"Frm_C2 LB DAT_%s\"",The_GetSuffix ());
HTM_Long (Gbl.Hierarchy.Node[Hie_CRS].HieCod); HTM_Long (Gbl.Hierarchy.Node[Hie_CRS].HieCod);
HTM_TD_End (); HTM_TD_End ();
@ -410,10 +410,10 @@ static void CrsCfg_Indicators (void)
HTM_TR_Begin (NULL); HTM_TR_Begin (NULL);
/* Label */ /* Label */
Frm_LabelColumn ("RT",NULL,Txt_Indicators); Frm_LabelColumn ("Frm_C1 RT",NULL,Txt_Indicators);
/* Data */ /* Data */
HTM_TD_Begin ("class=\"LB DAT_%s\"",The_GetSuffix ()); HTM_TD_Begin ("class=\"Frm_C2 LB DAT_%s\"",The_GetSuffix ());
Frm_BeginForm (ActReqStaCrs); Frm_BeginForm (ActReqStaCrs);
if (asprintf (&Title,"%u %s %u", if (asprintf (&Title,"%u %s %u",
IndicatorsCrs.NumIndicators, IndicatorsCrs.NumIndicators,

View File

@ -56,13 +56,6 @@ unsigned Nam_MaxBytes[Nam_NUM_SHRT_FULL_NAMES] =
[Nam_SHRT_NAME] = Nam_MAX_BYTES_SHRT_NAME, [Nam_SHRT_NAME] = Nam_MAX_BYTES_SHRT_NAME,
[Nam_FULL_NAME] = Nam_MAX_BYTES_FULL_NAME, [Nam_FULL_NAME] = Nam_MAX_BYTES_FULL_NAME,
}; };
/*
const char *Nam_Classes[Nam_NUM_SHRT_FULL_NAMES] =
{
[Nam_SHRT_NAME] = "INPUT_SHRT_NAME",
[Nam_FULL_NAME] = "INPUT_FULL_NAME",
};
*/
const char *Nam_Classes[Nam_NUM_SHRT_FULL_NAMES] = const char *Nam_Classes[Nam_NUM_SHRT_FULL_NAMES] =
{ {
[Nam_SHRT_NAME] = "Frm_C2_INPUT", [Nam_SHRT_NAME] = "Frm_C2_INPUT",