diff --git a/css/swad23.64.css b/css/swad23.64.css index 4a6b65991..aad55c96c 100644 --- a/css/swad23.64.css +++ b/css/swad23.64.css @@ -4467,13 +4467,6 @@ legend {font-size:12pt;} .ATT_CROSS_YELLOW, .ATT_CROSS_PINK {color:#660000;} .ATT_CROSS_DARK {color:#ff8080;} - -/********************* Edition of attendance events, games *******************/ -.TITLE_DESCRIPTION_WIDTH - { - box-sizing:border-box; - width:500px; - } /**************************** Enrolment requests *****************************/ .REQUESTER_NAME @@ -5344,7 +5337,7 @@ table.TBL_WIDE > tbody > tr > th {padding: 2px;} .INPUT_FULL_NAME { box-sizing:border-box; - width:180px; + width:240px; } .INPUT_LONG { diff --git a/swad_agenda.c b/swad_agenda.c index ecb36c955..8ad98eca6 100644 --- a/swad_agenda.c +++ b/swad_agenda.c @@ -1374,13 +1374,13 @@ void Agd_ReqCreatOrEditEvent (void) HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","Event",Txt_Event); + Frm_LabelColumn ("Frm_C1 RT","Event",Txt_Event); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_INPUT_TEXT ("Event",Agd_MAX_CHARS_EVENT,AgdEvent.Title, HTM_DONT_SUBMIT_ON_CHANGE, - "id=\"Event\" class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"" + "id=\"Event\" class=\"Frm_C2_INPUT INPUT_%s\"" " required=\"required\"", The_GetSuffix ()); HTM_TD_End (); @@ -1393,13 +1393,13 @@ void Agd_ReqCreatOrEditEvent (void) HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","Location",Txt_Location); + Frm_LabelColumn ("Frm_C1 RT","Location",Txt_Location); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_INPUT_TEXT ("Location",Agd_MAX_CHARS_LOCATION,AgdEvent.Location, HTM_DONT_SUBMIT_ON_CHANGE, - "id=\"Location\" class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"" + "id=\"Location\" class=\"Frm_C2_INPUT INPUT_%s\"" " required=\"required\"", The_GetSuffix ()); HTM_TD_End (); @@ -1417,12 +1417,12 @@ void Agd_ReqCreatOrEditEvent (void) HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","Txt",Txt_Description); + Frm_LabelColumn ("Frm_C1 RT","Txt",Txt_Description); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_TEXTAREA_Begin ("id=\"Txt\" name=\"Txt\" rows=\"5\"" - " class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"", + " class=\"Frm_C2_INPUT INPUT_%s\"", The_GetSuffix ()); if (!ItsANewEvent) HTM_Txt (Txt); diff --git a/swad_attendance.c b/swad_attendance.c index a27c4a439..c472636ae 100644 --- a/swad_attendance.c +++ b/swad_attendance.c @@ -988,13 +988,13 @@ void Att_ReqCreatOrEditEvent (void) HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","Title",Txt_Title); + Frm_LabelColumn ("Frm_C1 RT","Title",Txt_Title); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_INPUT_TEXT ("Title",Att_MAX_CHARS_ATTENDANCE_EVENT_TITLE,Events.Event.Title, HTM_DONT_SUBMIT_ON_CHANGE, - "id=\"Title\" class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"" + "id=\"Title\" class=\"Frm_C2_INPUT INPUT_%s\"" " required=\"required\"", The_GetSuffix ()); HTM_TD_End (); @@ -1010,13 +1010,13 @@ void Att_ReqCreatOrEditEvent (void) HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","ComTchVisible",Txt_Teachers_comment); + Frm_LabelColumn ("Frm_C1 RT","ComTchVisible",Txt_Teachers_comment); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_SELECT_Begin (HTM_DONT_SUBMIT_ON_CHANGE,NULL, "id=\"ComTchVisible\" name=\"ComTchVisible\"" - " class=\"INPUT_%s\"", + " class=\"Frm_C2_INPUT INPUT_%s\"", The_GetSuffix ()); HTM_OPTION (HTM_Type_STRING,"N", Events.Event.CommentTchVisible ? HTM_OPTION_UNSELECTED : @@ -1037,12 +1037,12 @@ void Att_ReqCreatOrEditEvent (void) HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","Txt",Txt_Description); + Frm_LabelColumn ("Frm_C1 RT","Txt",Txt_Description); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_TEXTAREA_Begin ("id=\"Txt\" name=\"Txt\" rows=\"5\"" - " class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"", + " class=\"Frm_C2_INPUT INPUT_%s\"", The_GetSuffix ()); if (!ItsANewAttEvent) HTM_Txt (Description); diff --git a/swad_changelog.h b/swad_changelog.h index 4b9dc2082..bfc7cce65 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -637,7 +637,7 @@ Me sale este error, no s #define CSS_FILE "swad23.64.css" #define JS_FILE "swad23.53.6.js" /* - Version 23.64: Jan 30, 2024 Responsive design. (335491 lines) + Version 23.64: Jan 30, 2024 Responsive design. (335503 lines) Version 23.63.4: Jan 30, 2024 Code refactoring in users. (335414 lines) Version 23.63.3: Jan 30, 2024 Responsive design. (335406 lines) Version 23.63.2: Jan 30, 2024 Responsive design in questions. (335405 lines) diff --git a/swad_exam.c b/swad_exam.c index e2d5295ec..577a05ed9 100644 --- a/swad_exam.c +++ b/swad_exam.c @@ -1287,14 +1287,20 @@ void Exa_PutFormsOneExam (struct Exa_Exams *Exams, /***** Show list of sets inside box *****/ if (ExistingNewExam == Exa_EXISTING_EXAM) + { + HTM_BR (); ExaSet_ListExamSets (Exams); + } /***** End box ****/ Box_BoxEnd (); /***** Show exams again outside box *****/ if (ExistingNewExam == Exa_NEW_EXAM) + { + HTM_BR (); Exa_ListAllExams (Exams); + } } /*****************************************************************************/ @@ -1338,14 +1344,14 @@ static void Exa_PutFormEditionExam (struct Exa_Exams *Exams, HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("REC_C1_BOT RM","Title",Txt_Title); + Frm_LabelColumn ("Frm_C1_BOT RM","Title",Txt_Title); /* Data */ HTM_TD_Begin ("class=\"Frm_C2 LM\""); HTM_INPUT_TEXT ("Title",Exa_MAX_CHARS_TITLE,Exams->Exam.Title, HTM_DONT_SUBMIT_ON_CHANGE, "id=\"Title\"" - " class=\"REC_C2_BOT_INPUT INPUT_%s\"" + " class=\"Frm_C2_INPUT INPUT_%s\"" " required=\"required\"", The_GetSuffix ()); HTM_TD_End (); @@ -1355,14 +1361,15 @@ static void Exa_PutFormEditionExam (struct Exa_Exams *Exams, /***** Maximum grade *****/ HTM_TR_Begin (NULL); - HTM_TD_Begin ("class=\"REC_C1_BOT RM FORM_IN_%s\"",The_GetSuffix ()); - HTM_TxtColon (Txt_Maximum_grade); - HTM_TD_End (); + /* Label */ + Frm_LabelColumn ("Frm_C1_BOT RT","MaxGrade",Txt_Maximum_grade); + /* Data */ HTM_TD_Begin ("class=\"Frm_C2 LM\""); HTM_INPUT_FLOAT ("MaxGrade",0.0,DBL_MAX,0.01,Exams->Exam.MaxGrade, HTM_DONT_SUBMIT_ON_CHANGE,false, - " class=\"INPUT_%s\" required=\"required\"", + " class=\"Frm_C2_INPUT INPUT_%s\"" + " required=\"required\"", The_GetSuffix ()); HTM_TD_End (); @@ -1370,24 +1377,27 @@ static void Exa_PutFormEditionExam (struct Exa_Exams *Exams, /***** Visibility of results *****/ HTM_TR_Begin (NULL); - HTM_TD_Begin ("class=\"REC_C1_BOT RT FORM_IN_%s\"",The_GetSuffix ()); - HTM_TxtColon (Txt_Result_visibility); - HTM_TD_End (); + + /* Label */ + Frm_LabelColumn ("Frm_C1_BOT RT","",Txt_Result_visibility); + + /* Data */ HTM_TD_Begin ("class=\"Frm_C2 LB\""); TstVis_PutVisibilityCheckboxes (Exams->Exam.Visibility); HTM_TD_End (); + HTM_TR_End (); /***** Exam text *****/ HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("REC_C1_BOT RT","Txt",Txt_Description); + Frm_LabelColumn ("Frm_C1_BOT RT","Txt",Txt_Description); /* Data */ HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_TEXTAREA_Begin ("id=\"Txt\" name=\"Txt\" rows=\"5\"" - " class=\"REC_C2_BOT_INPUT INPUT_%s\"", + " class=\"Frm_C2_INPUT INPUT_%s\"", The_GetSuffix ()); HTM_Txt (Txt); HTM_TEXTAREA_End (); diff --git a/swad_exam_session.c b/swad_exam_session.c index 4880c666a..4d075f2be 100644 --- a/swad_exam_session.c +++ b/swad_exam_session.c @@ -947,7 +947,7 @@ static void ExaSes_PutFormSession (struct ExaSes_Session *Session) HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_INPUT_TEXT ("Title",ExaSes_MAX_CHARS_TITLE,Session->Title, HTM_DONT_SUBMIT_ON_CHANGE, - "id=\"Title\" class=\"REC_C2_BOT_INPUT INPUT_%s\"" + "id=\"Title\" class=\"Frm_C2_INPUT INPUT_%s\"" " required=\"required\"", The_GetSuffix ()); HTM_TD_End (); diff --git a/swad_game.c b/swad_game.c index 4858f4ad1..970ee5bfc 100644 --- a/swad_game.c +++ b/swad_game.c @@ -1292,14 +1292,20 @@ void Gam_PutFormsOneGame (struct Gam_Games *Games, /***** Show list of questions inside box *****/ if (ExistingNewGame == Gam_EXISTING_GAME) + { + HTM_BR (); Gam_ListGameQuestions (Games); + } /***** End box ****/ Box_BoxEnd (); /***** Show games again outside box *****/ if (ExistingNewGame == Gam_NEW_GAME) + { + HTM_BR (); Gam_ListAllGames (Games); + } } /*****************************************************************************/ @@ -1339,20 +1345,20 @@ static void Gam_PutFormEditionGame (struct Gam_Games *Games, Gam_PutPars (Games); /***** Begin table *****/ - HTM_TABLE_BeginWidePadding (2); + HTM_TABLE_BeginPadding (2); /***** Game title *****/ HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","Title",Txt_Title); + Frm_LabelColumn ("Frm_C1 RT","Title",Txt_Title); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_INPUT_TEXT ("Title",Gam_MAX_CHARS_TITLE,Games->Game.Title, HTM_DONT_SUBMIT_ON_CHANGE, "id=\"Title\"" - " class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"" + " class=\"Frm_C2_INPUT INPUT_%s\"" " required=\"required\"", The_GetSuffix ()); HTM_TD_End (); @@ -1362,14 +1368,14 @@ static void Gam_PutFormEditionGame (struct Gam_Games *Games, /***** Maximum grade *****/ HTM_TR_Begin (NULL); - HTM_TD_Begin ("class=\"RM FORM_IN_%s\"",The_GetSuffix ()); - HTM_TxtColon (Txt_Maximum_grade); - HTM_TD_End (); + /* Label */ + Frm_LabelColumn ("Frm_C1 RT","MaxGrade",Txt_Maximum_grade); - HTM_TD_Begin ("class=\"LM\""); + /* Data */ + HTM_TD_Begin ("class=\"Frm_C2 LM\""); HTM_INPUT_FLOAT ("MaxGrade",0.0,DBL_MAX,0.01,Games->Game.MaxGrade, HTM_DONT_SUBMIT_ON_CHANGE,false, - " class=\"INPUT_%s\" required=\"required\"", + " class=\"Frm_C2_INPUT INPUT_%s\" required=\"required\"", The_GetSuffix ()); HTM_TD_End (); @@ -1377,22 +1383,27 @@ static void Gam_PutFormEditionGame (struct Gam_Games *Games, /***** Visibility of results *****/ HTM_TR_Begin (NULL); - HTM_TD_TxtColon (Txt_Result_visibility); - HTM_TD_Begin ("class=\"LB\""); + + /* Label */ + Frm_LabelColumn ("Frm_C1 RT","",Txt_Result_visibility); + + /* Data */ + HTM_TD_Begin ("class=\"Frm_C2 LB\""); TstVis_PutVisibilityCheckboxes (Games->Game.Visibility); HTM_TD_End (); + HTM_TR_End (); /***** Game text *****/ HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","Txt",Txt_Description); + Frm_LabelColumn ("Frm_C1 RT","Txt",Txt_Description); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_TEXTAREA_Begin ("id=\"Txt\" name=\"Txt\" rows=\"5\"" - " class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"", + " class=\"Frm_C2_INPUT INPUT_%s\"", The_GetSuffix ()); HTM_Txt (Txt); HTM_TEXTAREA_End (); diff --git a/swad_network.c b/swad_network.c index 93619d10c..61851acd0 100644 --- a/swad_network.c +++ b/swad_network.c @@ -226,7 +226,7 @@ void Net_ShowFormMyWebsAndSocialNets (void) snprintf (StrName,sizeof (StrName),"URL%u",(unsigned) NumURL); HTM_TR_Begin (NULL); - HTM_TD_Begin ("class=\"Frm_C1 LM\""); + HTM_TD_Begin ("class=\"REC_C1_BOT LM\""); HTM_LABEL_Begin ("for=\"%s\" class=\"FORM_IN_%s\"", StrName,The_GetSuffix ()); Ico_PutIcon (Net_WebsAndSocialNetworksIcons[NumURL],Ico_BLACK, @@ -236,10 +236,10 @@ void Net_ShowFormMyWebsAndSocialNets (void) HTM_LABEL_End (); HTM_TD_End (); - HTM_TD_Begin ("class=\"Frm_C2 LM\""); + HTM_TD_Begin ("class=\"REC_C2_BOT LM\""); HTM_INPUT_URL (StrName,URL,HTM_DONT_SUBMIT_ON_CHANGE, "id=\"%s\"" - " class=\"Frm_C2_INPUT INPUT_%s\"", + " class=\"REC_C2_BOT_INPUT INPUT_%s\"", StrName, The_GetSuffix ()); HTM_TD_End (); diff --git a/swad_project.c b/swad_project.c index e11dc7a1e..ae1363d98 100644 --- a/swad_project.c +++ b/swad_project.c @@ -3756,14 +3756,14 @@ static void Prj_PutFormProject (struct Prj_Projects *Projects, HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","Title",Txt_Title); + Frm_LabelColumn ("Frm_C1 RT","Title",Txt_Title); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_INPUT_TEXT ("Title",Prj_MAX_CHARS_TITLE,Projects->Prj.Title, HTM_DONT_SUBMIT_ON_CHANGE, "id=\"Title\"" - " class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"" + " class=\"Frm_C2_INPUT INPUT_%s\"" " required=\"required\"", The_GetSuffix ()); HTM_TD_End (); @@ -3774,11 +3774,11 @@ static void Prj_PutFormProject (struct Prj_Projects *Projects, HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT",Par_CodeStr[ParCod_Dpt],Txt_Department); + Frm_LabelColumn ("Frm_C1 RT",Par_CodeStr[ParCod_Dpt],Txt_Department); /* Data */ - HTM_TD_Begin ("class=\"LT\""); - if (asprintf (&SelectClass,"TITLE_DESCRIPTION_WIDTH INPUT_%s", + HTM_TD_Begin ("class=\"Frm_C2 LT\""); + if (asprintf (&SelectClass,"Frm_C2_INPUT INPUT_%s", The_GetSuffix ()) < 0) Err_NotEnoughMemoryExit (); Dpt_WriteSelectorDepartment (Gbl.Hierarchy.Node[Hie_INS].HieCod, // Departments in current institution @@ -3796,13 +3796,14 @@ static void Prj_PutFormProject (struct Prj_Projects *Projects, /* Assigned? */ HTM_TR_Begin (NULL); - HTM_TD_Begin ("class=\"RM FORM_IN_%s\"",The_GetSuffix ()); - HTM_TxtColon (Txt_Assigned_QUESTION); - HTM_TD_End (); + /* Label */ + Frm_LabelColumn ("Frm_C1 RT","",Txt_Assigned_QUESTION); - HTM_TD_Begin ("class=\"LM\""); + /* Data */ + HTM_TD_Begin ("class=\"Frm_C2 LM\""); HTM_SELECT_Begin (HTM_DONT_SUBMIT_ON_CHANGE,NULL, - "name=\"Assigned\" class=\"INPUT_%s\"", + "name=\"Assigned\"" + " class=\"Frm_C2_INPUT INPUT_%s\"", The_GetSuffix ()); HTM_OPTION (HTM_Type_STRING,"Y", Projects->Prj.Assigned == Prj_ASSIGNED ? HTM_OPTION_SELECTED : @@ -3822,14 +3823,14 @@ static void Prj_PutFormProject (struct Prj_Projects *Projects, /* Number of students */ HTM_TR_Begin (NULL); - HTM_TD_Begin ("class=\"RM FORM_IN_%s\"",The_GetSuffix ()); - HTM_TxtColon (Txt_Number_of_students); - HTM_TD_End (); + /* Label */ + Frm_LabelColumn ("Frm_C1 RT","",Txt_Number_of_students); - HTM_TD_Begin ("class=\"LM\""); + /* Data */ + HTM_TD_Begin ("class=\"Frm_C2 LM\""); HTM_INPUT_LONG ("NumStds",(long) 0,(long) UINT_MAX,(long) Projects->Prj.NumStds, HTM_DONT_SUBMIT_ON_CHANGE,false, - "class=\"INPUT_%s\"", + "class=\"Frm_C2_INPUT INPUT_%s\"", The_GetSuffix ()); HTM_TD_End (); @@ -3838,14 +3839,14 @@ static void Prj_PutFormProject (struct Prj_Projects *Projects, /* Proposal */ HTM_TR_Begin (NULL); - HTM_TD_Begin ("class=\"RM FORM_IN_%s\"",The_GetSuffix ()); - HTM_TxtColon (Txt_Proposal); - HTM_TD_End (); + /* Label */ + Frm_LabelColumn ("Frm_C1 RT","",Txt_Proposal); - HTM_TD_Begin ("class=\"LM\""); + /* Data */ + HTM_TD_Begin ("class=\"Frm_C2 LM\""); HTM_SELECT_Begin (HTM_DONT_SUBMIT_ON_CHANGE,NULL, "name=\"Proposal\"" - " class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"", + " class=\"Frm_C2_INPUT INPUT_%s\"", The_GetSuffix ()); for (Proposal = (Prj_Proposal_t) 0; Proposal <= (Prj_Proposal_t) (Prj_NUM_PROPOSAL_TYPES - 1); @@ -3882,12 +3883,12 @@ static void Prj_PutFormProject (struct Prj_Projects *Projects, HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","WWW",Txt_URL); + Frm_LabelColumn ("Frm_C1 RT","WWW",Txt_URL); /* Data */ - HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ()); + HTM_TD_Begin ("class=\"Frm_C2 LT DAT_%s\"",The_GetSuffix ()); HTM_INPUT_URL ("URL",Projects->Prj.URL,HTM_DONT_SUBMIT_ON_CHANGE, - "class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"", + "class=\"Frm_C2_INPUT INPUT_%s\"", The_GetSuffix ()); HTM_TD_End (); @@ -3923,12 +3924,12 @@ static void Prj_EditOneProjectTxtArea (const char *Id, HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT",Id,Label); + Frm_LabelColumn ("Frm_C1 RT",Id,Label); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_TEXTAREA_Begin ("id=\"%s\" name=\"%s\" rows=\"%u\"" - " class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"%s", + " class=\"Frm_C2_INPUT INPUT_%s\"%s", Id,Id,NumRows, The_GetSuffix (), Required ? " required=\"required\"" : diff --git a/swad_rubric.c b/swad_rubric.c index e73f1afd1..2f22dd9ae 100644 --- a/swad_rubric.c +++ b/swad_rubric.c @@ -814,7 +814,10 @@ void Rub_PutFormsOneRubric (struct Rub_Rubrics *Rubrics, /***** Show rubrics again outside box *****/ if (ExistingNewRubric == Rub_NEW_RUBRIC) + { + HTM_BR (); Rub_ListAllRubrics (Rubrics); + } } /*****************************************************************************/ @@ -855,14 +858,14 @@ static void Rub_PutFormEditionRubric (struct Rub_Rubrics *Rubrics, HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","Title",Txt_Title); + Frm_LabelColumn ("Frm_C1 RT","Title",Txt_Title); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_INPUT_TEXT ("Title",Rub_MAX_CHARS_TITLE,Rubrics->Rubric.Title, HTM_DONT_SUBMIT_ON_CHANGE, "id=\"Title\"" - " class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"" + " class=\"Frm_C2_INPUT INPUT_%s\"" " required=\"required\"", The_GetSuffix ()); HTM_TD_End (); @@ -873,12 +876,12 @@ static void Rub_PutFormEditionRubric (struct Rub_Rubrics *Rubrics, HTM_TR_Begin (NULL); /* Label */ - Frm_LabelColumn ("RT","Txt",Txt_Description); + Frm_LabelColumn ("Frm_C1 RT","Txt",Txt_Description); /* Data */ - HTM_TD_Begin ("class=\"LT\""); + HTM_TD_Begin ("class=\"Frm_C2 LT\""); HTM_TEXTAREA_Begin ("id=\"Txt\" name=\"Txt\" rows=\"5\"" - " class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"", + " class=\"Frm_C2_INPUT INPUT_%s\"", The_GetSuffix ()); HTM_Txt (Rubrics->Rubric.Txt); HTM_TEXTAREA_End (); diff --git a/swad_rubric_criteria.c b/swad_rubric_criteria.c index a5f49cdf3..b2431f033 100644 --- a/swad_rubric_criteria.c +++ b/swad_rubric_criteria.c @@ -194,7 +194,7 @@ static void RubCri_PutFormNewCriterion (struct Rub_Rubrics *Rubrics, HTM_INPUT_TEXT ("Title",RubCri_MAX_CHARS_TITLE,Rubrics->Criterion.Title, HTM_DONT_SUBMIT_ON_CHANGE, "id=\"Title\"" - " class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"" + " class=\"INPUT_FULL_NAME INPUT_%s\"" " required=\"required\"", The_GetSuffix ()); HTM_TD_End (); @@ -723,7 +723,7 @@ static void RubCri_ListOneOrMoreCriteriaForEdition (struct Rub_Rubrics *Rubrics, HTM_INPUT_TEXT ("Title",RubCri_MAX_CHARS_TITLE,Rubrics->Criterion.Title, HTM_SUBMIT_ON_CHANGE, "id=\"Title\"" - " class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\"" + " class=\"INPUT_FULL_NAME INPUT_%s\"" " required=\"required\"", The_GetSuffix ()); Frm_EndForm ();