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