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; Events->CurrentPage = (unsigned) Pagination.CurrentPage;
/***** Begin box *****/ /***** Begin box *****/
Box_BoxBegin ("100%",Txt_Events, Box_BoxBegin (NULL,Txt_Events,
Att_PutIconsInListOfEvents,Events, Att_PutIconsInListOfEvents,Events,
Hlp_USERS_Attendance,Box_NOT_CLOSABLE); Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
@ -250,7 +250,7 @@ static void Att_ShowAllEvents (struct Att_Events *Events)
if (Events->Num) if (Events->Num)
{ {
/***** Begin table *****/ /***** Begin table *****/
HTM_TABLE_BeginWideMarginPadding (2); HTM_TABLE_Begin ("TBL_SCROLL");
/***** Table head *****/ /***** Table head *****/
HTM_TR_Begin (NULL); HTM_TR_Begin (NULL);
@ -1501,7 +1501,7 @@ static void Att_ListEventOnlyMeAsStudent (struct Att_Event *Event)
/***** List students (only me) *****/ /***** List students (only me) *****/
/* Begin table */ /* Begin table */
HTM_TABLE_BeginWideMarginPadding (2); HTM_TABLE_Begin ("TBL_SCROLL");
/* Header */ /* Header */
HTM_TR_Begin (NULL); HTM_TR_Begin (NULL);
@ -1579,7 +1579,7 @@ static void Att_ListEventStudents (struct Att_Events *Events)
Grp_PutParsCodGrps (); Grp_PutParsCodGrps ();
/* Begin table */ /* Begin table */
HTM_TABLE_BeginWideMarginPadding (2); HTM_TABLE_Begin ("TBL_SCROLL");
/* Header */ /* Header */
HTM_TR_Begin (NULL); HTM_TR_Begin (NULL);
@ -2643,7 +2643,7 @@ static void Att_ListEventsToSelect (struct Att_Events *Events,
} }
/***** Begin table *****/ /***** Begin table *****/
HTM_TABLE_BeginWidePadding (2); HTM_TABLE_Begin ("TBL_SCROLL");
/***** Heading row *****/ /***** Heading row *****/
HTM_TR_Begin (NULL); HTM_TR_Begin (NULL);
@ -2772,7 +2772,7 @@ static void Att_ListUsrsAttendanceTable (struct Att_Events *Events,
HTM_SECTION_Begin (Att_ATTENDANCE_TABLE_ID); HTM_SECTION_Begin (Att_ATTENDANCE_TABLE_ID);
/***** Begin table *****/ /***** Begin table *****/
HTM_TABLE_BeginCenterPadding (2); HTM_TABLE_Begin ("TBL_SCROLL");
/***** Heading row *****/ /***** Heading row *****/
Att_WriteTableHeadSeveralAttEvents (Events); Att_WriteTableHeadSeveralAttEvents (Events);
@ -3006,29 +3006,35 @@ static void Att_ListStdsWithAttEventsDetails (struct Att_Events *Events,
/***** Begin section with attendance details *****/ /***** Begin section with attendance details *****/
HTM_SECTION_Begin (Att_ATTENDANCE_DETAILS_ID); HTM_SECTION_Begin (Att_ATTENDANCE_DETAILS_ID);
/***** Begin box and table *****/ /***** Begin box *****/
Box_BoxTableBegin (NULL,Txt_Details, Box_BoxBegin (NULL,Txt_Details,
NULL,NULL, NULL,NULL,
NULL,Box_NOT_CLOSABLE,2); NULL,Box_NOT_CLOSABLE);
/***** List students with attendance details *****/ /***** Begin table *****/
for (NumUsr = 0; HTM_TABLE_Begin ("TBL_SCROLL");
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 and box *****/ /***** List students with attendance details *****/
Box_BoxTableEnd (); 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 *****/ /***** End section with attendance details *****/
HTM_SECTION_End (); 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') "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 CSS_FILE "swad23.57.css"
#define JS_FILE "swad23.53.6.js" #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.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.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) 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 #elif L==5 // fr
"Montrer plus de d&eacute;tails"; "Montrer plus de d&eacute;tails";
#elif L==6 // gn #elif L==6 // gn
"Mostrar m&aacute;s detalles"; // Okoteve traducción "Ehechauka hetave detalle";
#elif L==7 // it #elif L==7 // it
"Mostra pi&ugrave; dettagli"; "Mostra pi&ugrave; dettagli";
#elif L==8 // pl #elif L==8 // pl
@ -42389,7 +42389,7 @@ const char *Txt_Show_more_details =
#elif L==9 // pt #elif L==9 // pt
"Mostrar mais detalhes"; "Mostrar mais detalhes";
#elif L==10 // tr #elif L==10 // tr
"Show more details"; // Çeviri lazim! "Daha fazla ayr&inodot;nt&inodot; g&ouml;ster";
#endif #endif
const char *Txt_Show_more_recipients = const char *Txt_Show_more_recipients =
@ -45119,7 +45119,7 @@ const char *Txt_Student_comment =
#elif L==5 // fr #elif L==5 // fr
"Commentaire de l'&eacute;tudiant"; "Commentaire de l'&eacute;tudiant";
#elif L==6 // gn #elif L==6 // gn
"Comentario del estudiante"; // Okoteve traducción "Temimbo'e he'&iacute;va";
#elif L==7 // it #elif L==7 // it
"Commento di student"; "Commento di student";
#elif L==8 // pl #elif L==8 // pl
@ -45127,7 +45127,7 @@ const char *Txt_Student_comment =
#elif L==9 // pt #elif L==9 // pt
"Coment&aacute;rio do estudante"; "Coment&aacute;rio do estudante";
#elif L==10 // tr #elif L==10 // tr
"Student's comment"; // Çeviri lazim! "&Ouml;&gbreve;rencinin yorumu";
#endif #endif
const char *Txt_students_ABBREVIATION = // Abbreviation of "students" const char *Txt_students_ABBREVIATION = // Abbreviation of "students"