From 961a39a50a2d5ee8170dc93d768392813dc60ffd Mon Sep 17 00:00:00 2001 From: acanas Date: Wed, 24 Jan 2024 22:34:22 +0100 Subject: [PATCH] Version 23.59.4: Jan 24, 2024 Responsive design in list of users. --- swad_changelog.h | 3 ++- swad_message.c | 2 +- swad_statistic.c | 2 +- swad_user.c | 15 +++++++++------ 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 05a17a2aa..afae19caa 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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.59.3 (2024-01-24)" +#define Log_PLATFORM_VERSION "SWAD 23.59.4 (2024-01-24)" #define CSS_FILE "swad23.58.1.css" #define JS_FILE "swad23.53.6.js" /* + Version 23.59.4: Jan 24, 2024 Responsive design in list of users. (335701 lines) Version 23.59.3: Jan 24, 2024 Responsive design in course hits. (335698 lines) Version 23.59.2: Jan 24, 2024 Responsive design in global hits. (335672 lines) Version 23.59.1: Jan 24, 2024 Responsive design in surveys. (335668 lines) diff --git a/swad_message.c b/swad_message.c index a775280a8..74968838f 100644 --- a/swad_message.c +++ b/swad_message.c @@ -340,7 +340,7 @@ static void Msg_PutFormMsgUsrs (struct Msg_Messages *Messages, else { /***** Show potential recipients *****/ - HTM_TABLE_BeginWide (); + HTM_TABLE_Begin ("TBL_SCROLL"); if (ShowUsrsInCrs) { Usr_ListUsersToSelect (Rol_TCH,&Gbl.Usrs.Selected); // All teachers in course diff --git a/swad_statistic.c b/swad_statistic.c index 129b2653f..249135677 100644 --- a/swad_statistic.c +++ b/swad_statistic.c @@ -308,7 +308,7 @@ static void Sta_PutFormCrsHits (struct Sta_Stats *Stats) /* Data */ HTM_TD_Begin ("class=\"REC_C2_BOT LT FORM_IN_%s\"", The_GetSuffix ()); - HTM_TABLE_Begin (NULL); + HTM_TABLE_Begin ("TBL_SCROLL"); Usr_ListUsersToSelect (Rol_TCH,&Gbl.Usrs.Selected); Usr_ListUsersToSelect (Rol_NET,&Gbl.Usrs.Selected); Usr_ListUsersToSelect (Rol_STD,&Gbl.Usrs.Selected); diff --git a/swad_user.c b/swad_user.c index da10c3595..57914683a 100644 --- a/swad_user.c +++ b/swad_user.c @@ -3756,10 +3756,13 @@ void Usr_PutFormToSelectUsrsToGoToAct (struct Usr_SelectedUsrs *SelectedUsrs, /* Put list of users to select some of them */ HTM_TR_Begin (NULL); - HTM_TD_TxtColon (Txt_Users); + /* Label */ + Frm_LabelColumn ("RT","Txt",Txt_Users); + + /* Data */ HTM_TD_Begin ("class=\"LT FORM_IN_%s\"", The_GetSuffix ()); - HTM_TABLE_BeginCenterPadding (2); + HTM_TABLE_Begin ("TBL_SCROLL"); Usr_ListUsersToSelect (Rol_TCH,SelectedUsrs); Usr_ListUsersToSelect (Rol_NET,SelectedUsrs); Usr_ListUsersToSelect (Rol_STD,SelectedUsrs); @@ -4932,7 +4935,7 @@ void Usr_ListDataAdms (void) HTM_DIV_End (); /***** Heading row with column names *****/ - HTM_TABLE_Begin (NULL); + HTM_TABLE_Begin ("TBL_SCROLL"); HTM_TR_Begin (NULL); for (NumCol = 0; @@ -5087,7 +5090,7 @@ void Usr_SeeGuests (void) Frm_BeginForm (ActDoActOnSevGst); /* Begin table */ - HTM_TABLE_BeginWide (); + HTM_TABLE_Begin ("TBL_SCROLL"); /* Draw the classphoto/list */ switch (Gbl.Usrs.Me.ListType) @@ -5241,7 +5244,7 @@ void Usr_SeeStudents (void) } /* Begin table */ - HTM_TABLE_BeginWide (); + HTM_TABLE_Begin ("TBL_SCROLL"); /* Draw the classphoto/list */ switch (Gbl.Usrs.Me.ListType) @@ -5408,7 +5411,7 @@ void Usr_SeeTeachers (void) } /* Begin table */ - HTM_TABLE_BeginWide (); + HTM_TABLE_Begin ("TBL_SCROLL"); /***** Draw the classphoto/list *****/ switch (Gbl.Usrs.Me.ListType)