Version 23.52.2: Dec 07, 2023 Responsive design in account.

This commit is contained in:
acanas 2023-12-07 22:55:39 +01:00
parent 1cf2f6b595
commit cb73d9cd8a
8 changed files with 36 additions and 34 deletions

View File

@ -2585,13 +2585,13 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
/********************************* Form fonts ********************************/
/* Inside white box */
.FORM_IN_WHITE {color:#4d88a1; font-size:12pt; white-space:nowrap;}
.FORM_IN_GREY {color:#4d88a1; font-size:12pt; white-space:nowrap;}
.FORM_IN_PURPLE {color:#4d88a1; font-size:12pt; white-space:nowrap;}
.FORM_IN_BLUE {color:#4d88a1; font-size:12pt; white-space:nowrap;}
.FORM_IN_YELLOW {color:#7c4d2a; font-size:12pt; white-space:nowrap;}
.FORM_IN_PINK {color:#4d88a1; font-size:12pt; white-space:nowrap;}
.FORM_IN_DARK {color:#afc4cc; font-size:12pt; white-space:nowrap;}
.FORM_IN_WHITE {color:#4d88a1; font-size:12pt;}
.FORM_IN_GREY {color:#4d88a1; font-size:12pt;}
.FORM_IN_PURPLE {color:#4d88a1; font-size:12pt;}
.FORM_IN_BLUE {color:#4d88a1; font-size:12pt;}
.FORM_IN_YELLOW {color:#7c4d2a; font-size:12pt;}
.FORM_IN_PINK {color:#4d88a1; font-size:12pt;}
.FORM_IN_DARK {color:#afc4cc; font-size:12pt;}
/* Outside white box */
.FORM_OUT_WHITE {color:#4d88a1; font-size:12pt;}
@ -3000,8 +3000,6 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
.DAT_SMALL_YELLOW_DARK {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#C0C000; font-size:12pt;}
/******************************** User's IDs *********************************/
.USR_ID {font-size:18pt; font-weight:bold;}
.USR_ID_C_WHITE,
.USR_ID_C_GREY,
.USR_ID_C_PURPLE,
@ -3087,7 +3085,6 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
width:120px;
max-width:120px;
overflow:hidden;
text-overflow:ellipsis;
}
.REC_C2_BOT
{
@ -3095,7 +3092,6 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
width:148px;
max-width:148px;
overflow:hidden;
text-overflow:ellipsis;
}
.REC_C2_BOT_INPUT
{
@ -3171,7 +3167,6 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
width:150px;
max-width:150px;
overflow:hidden;
text-overflow:ellipsis;
}
.REC_C2_BOT
{
@ -3179,7 +3174,6 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
width:280px;
max-width:280px;
overflow:hidden;
text-overflow:ellipsis;
}
.REC_C2_BOT_INPUT
{
@ -3255,7 +3249,6 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
width:170px;
max-width:170px;
overflow:hidden;
text-overflow:ellipsis;
}
.REC_C2_BOT
{
@ -3263,7 +3256,6 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
width:366px;
max-width:366px;
overflow:hidden;
text-overflow:ellipsis;
}
.REC_C2_BOT_INPUT
{

View File

@ -570,7 +570,8 @@ static void ID_ShowFormChangeUsrID (Usr_MeOrOther_t MeOrOther,bool IShouldFillIn
Frm_LabelColumn ("REC_C1_BOT RT",NULL,Txt_ID_identity_number);
/* Data */
HTM_TD_Begin ("class=\"REC_C2_BOT LT USR_ID\"");
HTM_TD_Begin ("class=\"REC_C2_BOT LT DAT_STRONG_%s\"",
The_GetSuffix ());
}
else // NumID >= 1
HTM_BR ();
@ -639,7 +640,9 @@ static void ID_ShowFormChangeUsrID (Usr_MeOrOther_t MeOrOther,bool IShouldFillIn
UsrDat[MeOrOther]->IDs.Num ? UsrDat[MeOrOther]->IDs.List[UsrDat[MeOrOther]->IDs.Num - 1].ID :
"", // Show the most recent ID
HTM_DONT_SUBMIT_ON_CHANGE,
"id=\"NewID\" class=\"INPUT_%s\" size=\"16\"",
"id=\"NewID\""
" class=\"REC_C2_BOT_INPUT INPUT_%s\""
" size=\"16\"",
The_GetSuffix ());
HTM_BR ();
Btn_PutCreateButtonInline (Txt_Add_this_ID);

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')
*/
#define Log_PLATFORM_VERSION "SWAD 23.52.1 (2023-12-07)"
#define CSS_FILE "swad23.52.css"
#define Log_PLATFORM_VERSION "SWAD 23.52.2 (2023-12-07)"
#define CSS_FILE "swad23.52.2.css"
#define JS_FILE "swad23.52.js"
/*
Version 23.52.2: Dec 07, 2023 Responsive design in account. (335811 lines)
Version 23.52.1: Dec 07, 2023 Responsive design in account. (335808 lines)
Version 23.52: Dec 07, 2023 Responsive design in calendar. (335783 lines)
Version 23.51.2: Dec 06, 2023 Responsive design in notifications. (335778 lines)

View File

@ -1167,7 +1167,8 @@ static void Mai_ShowFormChangeUsrEmail (Usr_MeOrOther_t MeOrOther,
Frm_LabelColumn ("REC_C1_BOT RT",NULL,Txt_Current_email);
/* Data */
HTM_TD_Begin ("class=\"REC_C2_BOT LT USR_ID\"");
HTM_TD_Begin ("class=\"REC_C2_BOT LT DAT_STRONG_%s\"",
The_GetSuffix ());
}
else if (NumEmail == 2)
{
@ -1235,7 +1236,8 @@ static void Mai_ShowFormChangeUsrEmail (Usr_MeOrOther_t MeOrOther,
if (MeOrOther == Usr_OTHER)
Usr_PutParUsrCodEncrypted (Gbl.Usrs.Other.UsrDat.EnUsrCod);
HTM_INPUT_EMAIL ("NewEmail",Cns_MAX_CHARS_EMAIL_ADDRESS,UsrDat[MeOrOther]->Email,
"id=\"NewEmail\" class=\"INPUT_%s\" size=\"16\"",
"id=\"NewEmail\""
" class=\"REC_C2_BOT_INPUT INPUT_%s\" size=\"16\"",
The_GetSuffix ());
HTM_BR ();
Btn_PutCreateButtonInline (NumEmails ? Txt_Change_email : // User already has an email address

View File

@ -313,7 +313,8 @@ static void Nck_ShowFormChangeUsrNickname (Usr_MeOrOther_t MeOrOther,
UsrDat[MeOrOther]->Nickname);
HTM_INPUT_TEXT ("NewNick",1 + Nck_MAX_CHARS_NICK_WITHOUT_ARROBA,
NickWithArr,HTM_DONT_SUBMIT_ON_CHANGE,
"id=\"NewNick\" class=\"INPUT_%s\""
"id=\"NewNick\""
" class=\"REC_C2_BOT_INPUT INPUT_%s\""
" size=\"16\"",
The_GetSuffix ());
HTM_BR ();

View File

@ -443,8 +443,9 @@ static void Ntf_PutContextualLinks (bool AllNotifications,
static void Ntf_PutIconsNotif (__attribute__((unused)) void *Args)
{
/***** Edit notification settings *****/
Ico_PutContextualIconToConfigure (ActReqEdiSet,Ntf_NOTIFICATIONS_ID,
NULL,NULL);
if (Gbl.Action.Act != ActReqEdiSet)
Ico_PutContextualIconToConfigure (ActReqEdiSet,Ntf_NOTIFICATIONS_ID,
NULL,NULL);
/***** Put icon to show a figure *****/
Fig_PutIconToShowFigure (Fig_NOTIFY_EVENTS);

View File

@ -613,12 +613,14 @@ void Pwd_ShowFormChgMyPwd (void)
HTM_TR_Begin (NULL);
/* Label */
Frm_LabelColumn ("REC_C1_BOT RM","UsrPwd",Txt_Current_password);
Frm_LabelColumn ("REC_C1_BOT RM","UsrPwd",
Txt_Current_password);
/* Data */
HTM_TD_Begin ("class=\"REC_C2_BOT LM\"");
HTM_INPUT_PASSWORD ("UsrPwd",NULL,"off",true,
"id=\"UsrPwd\" class=\"INPUT_%s\"",
"id=\"UsrPwd\""
" class=\"REC_C2_BOT_INPUT INPUT_%s\"",
The_GetSuffix ());
HTM_TD_End ();
@ -661,12 +663,12 @@ void Pwd_PutFormToGetNewPasswordOnce (void)
HTM_TR_Begin (NULL);
/* Label */
Frm_LabelColumn ("RT","Paswd",Txt_Password);
Frm_LabelColumn ("REC_C1_BOT RM","Paswd",Txt_Password);
/* Data */
HTM_TD_Begin ("class=\"LT\"");
HTM_TD_Begin ("class=\"REC_C2_BOT LM\"");
HTM_INPUT_PASSWORD ("Paswd",Txt_HELP_password,NULL,true,
"id=\"Paswd\" class=\"INPUT_%s\"",
"id=\"Paswd\" class=\"REC_C2_BOT_INPUT INPUT_%s\"",
The_GetSuffix ());
HTM_TD_End ();
@ -692,7 +694,7 @@ void Pwd_PutFormToGetNewPasswordTwice (void)
/* Data */
HTM_TD_Begin ("class=\"REC_C2_BOT LM\"");
HTM_INPUT_PASSWORD ("Paswd1",Txt_HELP_password,NULL,true,
"id=\"Paswd1\" class=\"INPUT_%s\"",
"id=\"Paswd1\" class=\"REC_C2_BOT_INPUT INPUT_%s\"",
The_GetSuffix ());
HTM_TD_End ();
@ -707,7 +709,7 @@ void Pwd_PutFormToGetNewPasswordTwice (void)
/* Data */
HTM_TD_Begin ("class=\"REC_C2_BOT LM\"");
HTM_INPUT_PASSWORD ("Paswd2",Txt_HELP_password,NULL,true,
"id=\"Paswd2\" class=\"INPUT_%s\"",
"id=\"Paswd2\" class=\"REC_C2_BOT_INPUT INPUT_%s\"",
The_GetSuffix ());
HTM_TD_End ();
@ -754,7 +756,7 @@ void Pwd_ShowFormChgOtherUsrPwd (void)
/* New password */
HTM_TABLE_BeginWidePadding (2);
Pwd_PutFormToGetNewPasswordTwice ();
Pwd_PutFormToGetNewPasswordTwice ();
HTM_TABLE_End ();
Btn_PutConfirmButton (Txt_Change_password);

View File

@ -2125,11 +2125,11 @@ const char *Txt_Another_ID =
#elif L==7 // it
"Un'altra carta d'identità";
#elif L==8 // pl
"Another ID"; // Potrzebujesz tlumaczenie
"Kolejny dowód tożsamości";
#elif L==9 // pt
"Outro nº de identif.";
#elif L==10 // tr
"Another ID"; // Çeviri lazim!
"Başka bir kimlik";
#endif
const char *Txt_Another_institution =