mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-05 08:15:25 +02:00
Version 23.53.7: Dec 20, 2023 Layout changes in hierarchy edition.
This commit is contained in:
parent
1df78e9f15
commit
76c0452ea9
|
@ -1434,7 +1434,7 @@ a:hover /* Default ==> underlined */
|
|||
.HIE_LOGO
|
||||
{
|
||||
text-align:left;
|
||||
vertical-align:middle;
|
||||
vertical-align:top;
|
||||
width:25px;
|
||||
}
|
||||
.HIE_SEL_NARROW
|
||||
|
@ -5266,7 +5266,7 @@ button.PAG_DARK:hover, .PAG_CUR_DARK {background-color:#707070;}
|
|||
box-sizing:border-box;
|
||||
min-width:60px;
|
||||
text-align:right;
|
||||
vertical-align:middle;
|
||||
vertical-align:top;
|
||||
}
|
||||
.INPUT_INS_CODE
|
||||
{
|
||||
|
|
|
@ -2080,14 +2080,14 @@ void HTM_TD_TxtColon (const char *Txt)
|
|||
|
||||
void HTM_TD_LINE_TOP_Txt (const char *Txt)
|
||||
{
|
||||
HTM_TD_Begin ("class=\"LM DAT_STRONG_%s LINE_TOP\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"LT DAT_STRONG_%s LINE_TOP\"",The_GetSuffix ());
|
||||
HTM_Txt (Txt);
|
||||
HTM_TD_End ();
|
||||
}
|
||||
|
||||
void HTM_TD_Unsigned (unsigned Num)
|
||||
{
|
||||
HTM_TD_Begin ("class=\"RM DAT_%s\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"RT DAT_%s\"",The_GetSuffix ());
|
||||
HTM_Unsigned (Num);
|
||||
HTM_TD_End ();
|
||||
}
|
||||
|
|
|
@ -773,7 +773,7 @@ static void Ctr_ListCentersForEdition (const struct Plc_Places *Places)
|
|||
HTM_TR_Begin (NULL);
|
||||
|
||||
/* Put icon to remove center */
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_Begin ("class=\"BT\"");
|
||||
if (!ICanEdit || // I cannot edit
|
||||
NumDegs || // Center has degrees
|
||||
NumUsrsCtr || // Center has users who claim to belong to it
|
||||
|
@ -795,7 +795,7 @@ static void Ctr_ListCentersForEdition (const struct Plc_Places *Places)
|
|||
HTM_TD_End ();
|
||||
|
||||
/* Place */
|
||||
HTM_TD_Begin ("class=\"LM DAT_%s\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ());
|
||||
if (ICanEdit)
|
||||
{
|
||||
Frm_BeginForm (ActChgCtrPlc);
|
||||
|
@ -840,7 +840,7 @@ static void Ctr_ListCentersForEdition (const struct Plc_Places *Places)
|
|||
ICanEdit); // Put form?
|
||||
|
||||
/* Center WWW */
|
||||
HTM_TD_Begin ("class=\"LM DAT_%s\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ());
|
||||
if (ICanEdit)
|
||||
{
|
||||
Frm_BeginForm (ActChgCtrWWW);
|
||||
|
|
|
@ -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.53.6 (2023-12-19)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 23.53.7 (2023-12-20)"
|
||||
#define CSS_FILE "swad23.53.6.css"
|
||||
#define JS_FILE "swad23.53.6.js"
|
||||
/*
|
||||
Version 23.53.7: Dec 20, 2023 Layout changes in hierarchy edition. (335883 lines)
|
||||
Version 23.53.6: Dec 19, 2023 Responsive design in questions. (335874 lines)
|
||||
Version 23.53.5: Dec 19, 2023 Responsive design in calls for exams. (335874 lines)
|
||||
Version 23.53.4: Dec 18, 2023 Responsive design in projects. (335869 lines)
|
||||
|
|
|
@ -830,7 +830,7 @@ static void Crs_ListCoursesOfAYearForEdition (unsigned Year)
|
|||
HTM_TR_Begin (NULL);
|
||||
|
||||
/* Put icon to remove course */
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_Begin ("class=\"BT\"");
|
||||
if (NumUsrs[Rol_UNK] || // Course has users ==> deletion forbidden
|
||||
!ICanEdit)
|
||||
Ico_PutIconRemovalNotAllowed ();
|
||||
|
@ -840,12 +840,12 @@ static void Crs_ListCoursesOfAYearForEdition (unsigned Year)
|
|||
HTM_TD_End ();
|
||||
|
||||
/* Course code */
|
||||
HTM_TD_Begin ("class=\"DAT_%s CODE\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"CODE DAT_%s\"",The_GetSuffix ());
|
||||
HTM_Long (Crs->HieCod);
|
||||
HTM_TD_End ();
|
||||
|
||||
/* Course year */
|
||||
HTM_TD_Begin ("class=\"CM DAT_%s\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"CT DAT_%s\"",The_GetSuffix ());
|
||||
if (ICanEdit)
|
||||
{
|
||||
Frm_BeginForm (ActChgCrsYea);
|
||||
|
@ -872,7 +872,7 @@ static void Crs_ListCoursesOfAYearForEdition (unsigned Year)
|
|||
HTM_TD_End ();
|
||||
|
||||
/* Institutional code of the course */
|
||||
HTM_TD_Begin ("class=\"CM DAT_%s\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"CT DAT_%s\"",The_GetSuffix ());
|
||||
if (ICanEdit)
|
||||
{
|
||||
Frm_BeginForm (ActChgInsCrsCod);
|
||||
|
|
|
@ -359,7 +359,7 @@ static void Deg_ListDegreesForEdition (const struct DegTyp_DegTypes *DegTypes)
|
|||
HTM_TR_Begin (NULL);
|
||||
|
||||
/* Put icon to remove degree */
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_Begin ("class=\"BT\"");
|
||||
if (!ICanEdit ||
|
||||
NumCrss || // Degree has courses ==> deletion forbidden
|
||||
NumUsrsInCrssOfDeg)
|
||||
|
@ -370,7 +370,7 @@ static void Deg_ListDegreesForEdition (const struct DegTyp_DegTypes *DegTypes)
|
|||
HTM_TD_End ();
|
||||
|
||||
/* Degree code */
|
||||
HTM_TD_Begin ("class=\"DAT_%s CODE\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"CODE DAT_%s\"",The_GetSuffix ());
|
||||
HTM_Long (Deg->HieCod);
|
||||
HTM_TD_End ();
|
||||
|
||||
|
@ -388,7 +388,7 @@ static void Deg_ListDegreesForEdition (const struct DegTyp_DegTypes *DegTypes)
|
|||
ICanEdit); // Put form?
|
||||
|
||||
/* Degree type */
|
||||
HTM_TD_Begin ("class=\"LM DAT_%s\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ());
|
||||
if (ICanEdit)
|
||||
{
|
||||
Frm_BeginForm (ActChgDegTyp);
|
||||
|
@ -423,7 +423,7 @@ static void Deg_ListDegreesForEdition (const struct DegTyp_DegTypes *DegTypes)
|
|||
HTM_TD_End ();
|
||||
|
||||
/* Degree WWW */
|
||||
HTM_TD_Begin ("class=\"LM DAT_%s\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ());
|
||||
if (ICanEdit)
|
||||
{
|
||||
Frm_BeginForm (ActChgDegWWW);
|
||||
|
|
|
@ -217,7 +217,9 @@ static void ExaSet_PutFormNewSet (struct Exa_Exams *Exams,
|
|||
HTM_TD_Begin ("class=\"RM\"");
|
||||
HTM_INPUT_LONG ("NumQstsToPrint",0,UINT_MAX,(long) Set->NumQstsToPrint,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,false,
|
||||
"class=\"INPUT_LONG\" required=\"required\"");
|
||||
"class=\"INPUT_LONG INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
|
||||
/***** End row *****/
|
||||
|
@ -666,7 +668,9 @@ static void ExaSet_ListOneOrMoreSetsForEdition (struct Exa_Exams *Exams,
|
|||
ExaSet_PutParsOneSet (Exams);
|
||||
HTM_INPUT_LONG ("NumQstsToPrint",0,UINT_MAX,(long) Set.NumQstsToPrint,
|
||||
HTM_SUBMIT_ON_CHANGE,false,
|
||||
"class=\"INPUT_LONG\" required=\"required\"");
|
||||
"class=\"INPUT_LONG INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
Frm_EndForm ();
|
||||
}
|
||||
else
|
||||
|
|
|
@ -920,7 +920,7 @@ static void Ins_ListInstitutionsForEdition (void)
|
|||
HTM_TR_Begin (NULL);
|
||||
|
||||
/* Put icon to remove institution */
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_Begin ("class=\"BT\"");
|
||||
if (!ICanEdit ||
|
||||
NumCtrs || // Institution has centers
|
||||
NumUsrsIns || // Institution has users
|
||||
|
@ -933,7 +933,7 @@ static void Ins_ListInstitutionsForEdition (void)
|
|||
HTM_TD_End ();
|
||||
|
||||
/* Institution code */
|
||||
HTM_TD_Begin ("class=\"DAT_%s CODE\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"CODE DAT_%s\"",The_GetSuffix ());
|
||||
HTM_Long (Ins->HieCod);
|
||||
HTM_TD_End ();
|
||||
|
||||
|
@ -951,7 +951,7 @@ static void Ins_ListInstitutionsForEdition (void)
|
|||
ICanEdit); // Put form?
|
||||
|
||||
/* Institution WWW */
|
||||
HTM_TD_Begin ("class=\"LM DAT_%s\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ());
|
||||
if (ICanEdit)
|
||||
{
|
||||
Frm_BeginForm (ActChgInsWWW);
|
||||
|
|
|
@ -114,7 +114,7 @@ void Nam_ExistingShortAndFullNames (const Act_Action_t ActionRename[Nam_NUM_SHRT
|
|||
ShrtOrFull <= Nam_FULL_NAME;
|
||||
ShrtOrFull++)
|
||||
{
|
||||
HTM_TD_Begin ("class=\"LM DAT_%s\"",The_GetSuffix ());
|
||||
HTM_TD_Begin ("class=\"LT DAT_%s\"",The_GetSuffix ());
|
||||
switch (PutForm)
|
||||
{
|
||||
case Frm_DONT_PUT_FORM:
|
||||
|
|
10
swad_test.c
10
swad_test.c
|
@ -150,17 +150,21 @@ static void Tst_ShowFormRequestTest (struct Qst_Questions *Questions)
|
|||
HTM_TR_Begin (NULL);
|
||||
|
||||
/* Label */
|
||||
Frm_LabelColumn ("RT","NumQst",Txt_Number_of_questions);
|
||||
Frm_LabelColumn ("REC_C1_BOT RT","NumQst",
|
||||
Txt_Number_of_questions);
|
||||
|
||||
/* Data */
|
||||
HTM_TD_Begin ("class=\"LT\"");
|
||||
HTM_TD_Begin ("class=\"REC_C2_BOT LT\"");
|
||||
HTM_INPUT_LONG ("NumQst",
|
||||
(long) TstCfg_GetConfigMin (),
|
||||
(long) TstCfg_GetConfigMax (),
|
||||
(long) TstCfg_GetConfigDef (),
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
TstCfg_GetConfigMin () == TstCfg_GetConfigMax (),
|
||||
"id=\"NumQst\"");
|
||||
"id=\"NumQst\""
|
||||
" class=\"REC_C2_BOT_INPUT INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
|
||||
HTM_TR_End ();
|
||||
|
|
Loading…
Reference in New Issue
Block a user