Version 23.57.2: Jan 19, 2024 Responsive design in attendance.

This commit is contained in:
acanas 2024-01-19 20:17:56 +01:00
parent b7adfa5924
commit 6fc7327e00
3 changed files with 40 additions and 33 deletions

View File

@ -230,7 +230,7 @@ static void Att_ShowAllEvents (struct Att_Events *Events)
Events->CurrentPage = (unsigned) Pagination.CurrentPage;
/***** Begin box *****/
Box_BoxBegin ("100%",Txt_Events,
Box_BoxBegin (NULL,Txt_Events,
Att_PutIconsInListOfEvents,Events,
Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
@ -250,7 +250,7 @@ static void Att_ShowAllEvents (struct Att_Events *Events)
if (Events->Num)
{
/***** Begin table *****/
HTM_TABLE_BeginWideMarginPadding (2);
HTM_TABLE_Begin ("TBL_SCROLL");
/***** Table head *****/
HTM_TR_Begin (NULL);
@ -1501,7 +1501,7 @@ static void Att_ListEventOnlyMeAsStudent (struct Att_Event *Event)
/***** List students (only me) *****/
/* Begin table */
HTM_TABLE_BeginWideMarginPadding (2);
HTM_TABLE_Begin ("TBL_SCROLL");
/* Header */
HTM_TR_Begin (NULL);
@ -1579,7 +1579,7 @@ static void Att_ListEventStudents (struct Att_Events *Events)
Grp_PutParsCodGrps ();
/* Begin table */
HTM_TABLE_BeginWideMarginPadding (2);
HTM_TABLE_Begin ("TBL_SCROLL");
/* Header */
HTM_TR_Begin (NULL);
@ -2643,7 +2643,7 @@ static void Att_ListEventsToSelect (struct Att_Events *Events,
}
/***** Begin table *****/
HTM_TABLE_BeginWidePadding (2);
HTM_TABLE_Begin ("TBL_SCROLL");
/***** Heading row *****/
HTM_TR_Begin (NULL);
@ -2772,7 +2772,7 @@ static void Att_ListUsrsAttendanceTable (struct Att_Events *Events,
HTM_SECTION_Begin (Att_ATTENDANCE_TABLE_ID);
/***** Begin table *****/
HTM_TABLE_BeginCenterPadding (2);
HTM_TABLE_Begin ("TBL_SCROLL");
/***** Heading row *****/
Att_WriteTableHeadSeveralAttEvents (Events);
@ -3006,29 +3006,35 @@ static void Att_ListStdsWithAttEventsDetails (struct Att_Events *Events,
/***** Begin section with attendance details *****/
HTM_SECTION_Begin (Att_ATTENDANCE_DETAILS_ID);
/***** Begin box and table *****/
Box_BoxTableBegin (NULL,Txt_Details,
NULL,NULL,
NULL,Box_NOT_CLOSABLE,2);
/***** Begin box *****/
Box_BoxBegin (NULL,Txt_Details,
NULL,NULL,
NULL,Box_NOT_CLOSABLE);
/***** List students with attendance details *****/
for (NumUsr = 0;
NumUsr < NumUsrsInList;
NumUsr++)
{
UsrDat.UsrCod = LstSelectedUsrCods[NumUsr];
if (Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat, // Get from the database the data of the student
Usr_DONT_GET_PREFS,
Usr_DONT_GET_ROLE_IN_CRS))
if (Usr_CheckIfICanViewAtt (&UsrDat))
{
UsrDat.Accepted = Enr_CheckIfUsrHasAcceptedInCurrentCrs (&UsrDat);
Att_ListAttEventsForAStd (Events,NumUsr,&UsrDat);
}
}
/***** Begin table *****/
HTM_TABLE_Begin ("TBL_SCROLL");
/***** End table and box *****/
Box_BoxTableEnd ();
/***** List students with attendance details *****/
for (NumUsr = 0;
NumUsr < NumUsrsInList;
NumUsr++)
{
UsrDat.UsrCod = LstSelectedUsrCods[NumUsr];
if (Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat, // Get from the database the data of the student
Usr_DONT_GET_PREFS,
Usr_DONT_GET_ROLE_IN_CRS))
if (Usr_CheckIfICanViewAtt (&UsrDat))
{
UsrDat.Accepted = Enr_CheckIfUsrHasAcceptedInCurrentCrs (&UsrDat);
Att_ListAttEventsForAStd (Events,NumUsr,&UsrDat);
}
}
/***** End table *****/
HTM_TABLE_End ();
/***** End box *****/
Box_BoxEnd ();
/***** End section with attendance details *****/
HTM_SECTION_End ();

View File

@ -633,11 +633,12 @@ 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.57.1 (2024-01-19)"
#define Log_PLATFORM_VERSION "SWAD 23.57.2 (2024-01-19)"
#define CSS_FILE "swad23.57.css"
#define JS_FILE "swad23.53.6.js"
/*
Version 23.57.1: Jan 19, 2024 Responsive design in agenda. (? lines)
Version 23.57.2: Jan 19, 2024 Responsive design in attendance. (335675 lines)
Version 23.57.1: Jan 19, 2024 Responsive design in agenda. (335670 lines)
Version 23.57: Jan 19, 2024 Responsive design and changes in layout in assignment/works file browsers. (335669 lines)
Version 23.56: Jan 18, 2024 Responsive design and changes in layout in file browsers. (335649 lines)
Version 23.55.1: Jan 17, 2024 Responsive design in groups. (335787 lines)

View File

@ -42381,7 +42381,7 @@ const char *Txt_Show_more_details =
#elif L==5 // fr
"Montrer plus de d&eacute;tails";
#elif L==6 // gn
"Mostrar m&aacute;s detalles"; // Okoteve traducción
"Ehechauka hetave detalle";
#elif L==7 // it
"Mostra pi&ugrave; dettagli";
#elif L==8 // pl
@ -42389,7 +42389,7 @@ const char *Txt_Show_more_details =
#elif L==9 // pt
"Mostrar mais detalhes";
#elif L==10 // tr
"Show more details"; // Çeviri lazim!
"Daha fazla ayr&inodot;nt&inodot; g&ouml;ster";
#endif
const char *Txt_Show_more_recipients =
@ -45119,7 +45119,7 @@ const char *Txt_Student_comment =
#elif L==5 // fr
"Commentaire de l'&eacute;tudiant";
#elif L==6 // gn
"Comentario del estudiante"; // Okoteve traducción
"Temimbo'e he'&iacute;va";
#elif L==7 // it
"Commento di student";
#elif L==8 // pl
@ -45127,7 +45127,7 @@ const char *Txt_Student_comment =
#elif L==9 // pt
"Coment&aacute;rio do estudante";
#elif L==10 // tr
"Student's comment"; // Çeviri lazim!
"&Ouml;&gbreve;rencinin yorumu";
#endif
const char *Txt_students_ABBREVIATION = // Abbreviation of "students"