From 5d5d51341c351262bdc615d6c5d4c75109fb66dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 18 Nov 2019 09:35:23 +0100 Subject: [PATCH] Version19.70.2 --- css/swad19.70.css | 8 ++++---- swad_assignment.c | 4 ++-- swad_attendance.c | 18 +++++++++--------- swad_changelog.h | 5 +++-- 4 files changed, 18 insertions(+), 17 deletions(-) diff --git a/css/swad19.70.css b/css/swad19.70.css index 19836d627..ea048f4eb 100644 --- a/css/swad19.70.css +++ b/css/swad19.70.css @@ -1146,12 +1146,12 @@ a:hover /* Default ==> underlined */ .MENU_TXT_PINK {color:#63474e;} /****************** Title of current action in main block ********************/ -.TITLE_ACTION_WHITE {color:#606060; font-size:20pt;} -.TITLE_ACTION_GREY {color:#606060; font-size:20pt;} +.TITLE_ACTION_WHITE {color:#606060; font-size:20pt;} +.TITLE_ACTION_GREY {color:#606060; font-size:20pt;} .TITLE_ACTION_PURPLE {color:#573c4d; font-size:20pt;} -.TITLE_ACTION_BLUE {color:#4D88A1; font-size:20pt;} +.TITLE_ACTION_BLUE {color:#4D88A1; font-size:20pt;} .TITLE_ACTION_YELLOW {color:#7c4d2a; font-size:20pt;} -.TITLE_ACTION_PINK {color:#63474e; font-size:20pt;} +.TITLE_ACTION_PINK {color:#63474e; font-size:20pt;} .SUBTITLE_ACTION_WHITE {color:#606060; font-size:12pt;} .SUBTITLE_ACTION_GREY {color:#606060; font-size:12pt;} diff --git a/swad_assignment.c b/swad_assignment.c index c7c9d8419..f088ef3dc 100644 --- a/swad_assignment.c +++ b/swad_assignment.c @@ -219,7 +219,7 @@ static void Asg_PutHeadForSeeing (bool PrintView) Grp_PutParamWhichGrps (); Pag_PutHiddenParamPagNum (Pag_ASSIGNMENTS,Gbl.Asgs.CurrentPage); Par_PutHiddenParamUnsigned (NULL,"Order",(unsigned) Order); - Frm_LinkFormSubmit (Txt_START_END_TIME_HELP[Order],"TIT_TBL",NULL); + HTM_BUTTON_Begin (Txt_START_END_TIME_HELP[Order],"BT_LINK TIT_TBL",NULL); if (Order == Gbl.Asgs.SelectedOrder) HTM_U_Begin (); } @@ -228,7 +228,7 @@ static void Asg_PutHeadForSeeing (bool PrintView) { if (Order == Gbl.Asgs.SelectedOrder) HTM_U_End (); - Frm_LinkFormEnd (); + HTM_BUTTON_End (); Frm_EndForm (); } diff --git a/swad_attendance.c b/swad_attendance.c index 4a6c776dd..aa925df75 100644 --- a/swad_attendance.c +++ b/swad_attendance.c @@ -119,7 +119,7 @@ static void Att_WriteRowUsrToCallTheRoll (unsigned NumUsr, struct AttendanceEvent *Att); static void Att_PutLinkAttEvent (struct AttendanceEvent *AttEvent, const char *Title,const char *Txt, - const char *LinkStyle); + const char *Class); static void Att_PutParamsCodGrps (long AttCod); static void Att_GetNumStdsTotalWhoAreInAttEvent (struct AttendanceEvent *Att); static unsigned Att_GetNumUsrsFromAListWhoAreInAttEvent (long AttCod, @@ -257,13 +257,13 @@ static void Att_ShowAllAttEvents (void) Grp_PutParamWhichGrps (); Pag_PutHiddenParamPagNum (Pag_ATT_EVENTS,Gbl.AttEvents.CurrentPage); Par_PutHiddenParamUnsigned (NULL,"Order",(unsigned) Order); - Frm_LinkFormSubmit (Txt_START_END_TIME_HELP[Order],"TIT_TBL",NULL); + HTM_BUTTON_Begin (Txt_START_END_TIME_HELP[Order],"BT_LINK TIT_TBL",NULL); if (Order == Gbl.AttEvents.SelectedOrder) HTM_U_Begin (); HTM_Txt (Txt_START_END_TIME[Order]); if (Order == Gbl.AttEvents.SelectedOrder) HTM_U_End (); - Frm_LinkFormEnd (); + HTM_BUTTON_End (); Frm_EndForm (); HTM_TH_End (); @@ -445,8 +445,8 @@ static void Att_ShowOneAttEvent (struct AttendanceEvent *Att,bool ShowOnlyThisAt HTM_TD_Begin ("class=\"LT COLOR%u\"",Gbl.RowEvenOdd); HTM_ARTICLE_Begin (Anchor); Att_PutLinkAttEvent (Att,Txt_View_event,Att->Title, - Att->Hidden ? "ASG_TITLE_LIGHT" : - "ASG_TITLE"); + Att->Hidden ? "BT_LINK ASG_TITLE_LIGHT" : + "BT_LINK ASG_TITLE"); HTM_ARTICLE_End (); HTM_TD_End (); @@ -2171,14 +2171,14 @@ static void Att_WriteRowUsrToCallTheRoll (unsigned NumUsr, static void Att_PutLinkAttEvent (struct AttendanceEvent *AttEvent, const char *Title,const char *Txt, - const char *LinkStyle) + const char *Class) { Frm_StartForm (ActSeeOneAtt); Att_PutParamAttCod (AttEvent->AttCod); Att_PutParamsCodGrps (AttEvent->AttCod); - Frm_LinkFormSubmit (Title,LinkStyle,NULL); + HTM_BUTTON_Begin (Title,Class,NULL); HTM_Txt (Txt); - Frm_LinkFormEnd (); + HTM_BUTTON_End (); Frm_EndForm (); } @@ -3276,7 +3276,7 @@ static void Att_WriteTableHeadSeveralAttEvents (void) Att_PutLinkAttEvent (&Gbl.AttEvents.Lst[NumAttEvent], Gbl.AttEvents.Lst[NumAttEvent].Title, StrNumAttEvent, - NULL); + "BT_LINK TIT_TBL"); HTM_TH_End (); } diff --git a/swad_changelog.h b/swad_changelog.h index 98aea8591..b3cc41d93 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -488,14 +488,15 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 19.70.1 (2019-11-17)" +#define Log_PLATFORM_VERSION "SWAD 19.70.2 (2019-11-17)" #define CSS_FILE "swad19.70.css" #define JS_FILE "swad19.70.js" /* // TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.) // TODO: Impedir la creación y edición de proyectos si no son editables. - Version 19.70.1: Nov 17, 2019 Converting links to send forms to buttons. + Version 19.70.2: Nov 17, 2019 Converting links to buttons. (247062 lines) + Version 19.70.1: Nov 17, 2019 Converting links to buttons. Fixed bug in agenda. (247061 lines) Version 19.70: Nov 17, 2019 Hidden comments in timeline are loaded on request using AJAX. (247028 lines) 1 change necessary in database: