diff --git a/css/swad16.104.css b/css/swad16.105.css similarity index 97% rename from css/swad16.104.css rename to css/swad16.105.css index 67b10729c..03e358e9c 100644 --- a/css/swad16.104.css +++ b/css/swad16.105.css @@ -127,11 +127,13 @@ a:hover /* Default ==> underlined */ } .HEAD_ROW_1_GREY { + background-image:-webkit-linear-gradient(#383838 0,#383838 26px,#404040 100%); /* Safari */ background-image:linear-gradient(#383838 0,#383838 26px,#404040 100%); background-repeat:no-repeat; } .HEAD_ROW_1_BLUE { + background-image:-webkit-linear-gradient(#5fa5df 0,#4f90c8 26px,#4f90c8 100%); /* Safari */ background-image:linear-gradient(#5fa5df 0,#4f90c8 26px,#4f90c8 100%); background-repeat:no-repeat; } @@ -244,6 +246,7 @@ a:hover /* Default ==> underlined */ } .HEAD_ROW_2_WHITE { + background-image:-webkit-linear-gradient(#cfcfce 0,white 40px,white 100%); /* Safari */ background-image:linear-gradient(#cfcfce 0,white 40px,white 100%); } .HEAD_ROW_2_GREY @@ -469,14 +472,17 @@ a:hover /* Default ==> underlined */ } .HEAD_ROW_3_GREY { + background-image:-webkit-linear-gradient(#404040 0,#404040 54px,white 54px,white 100%); /* Safari */ background-image:linear-gradient(#404040 0,#404040 54px,white 54px,white 100%); } .HEAD_ROW_3_BLUE { + background-image:-webkit-linear-gradient(#4f90c8 0,#4f90c8 54px,white 54px,white 100%); /* Safari */ background-image:linear-gradient(#4f90c8 0,#4f90c8 54px,white 54px,white 100%); } .HEAD_ROW_3_YELLOW { + background-image:-webkit-linear-gradient(#201420 0,#201420 54px,white 54px,white 100%); /* Safari */ background-image:linear-gradient(#201420 0,#201420 54px,white 54px,white 100%); } @media only screen and (max-width: 480px) @@ -1228,10 +1234,12 @@ a:hover /* Default ==> underlined */ } .BT_SUBMIT:hover { + background-image:-webkit-linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); /* Safari */ background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); } .BT_SUBMIT_INLINE:hover { + background-image:-webkit-linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); /* Safari */ background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); } .BUTTONS_AFTER_ALERT @@ -1247,6 +1255,7 @@ a:hover /* Default ==> underlined */ box-sizing:border-box; margin:0 auto 10px auto; padding:10px; + background-image:-webkit-linear-gradient(rgba(238,216,108,0.8) 0%,rgba(248,237,149,0.8) 15%,rgba(250,240,152,0.8) 100%); /* Safari */ background-image:linear-gradient(rgba(238,216,108,0.8) 0%,rgba(248,237,149,0.8) 15%,rgba(250,240,152,0.8) 100%); box-shadow:0 8px 10px -5px rgba(125,113,0,0.8); text-align:left; @@ -1257,6 +1266,7 @@ a:hover /* Default ==> underlined */ box-sizing:border-box; margin:0 auto 10px auto; padding:10px; + background-image:-webkit-linear-gradient(rgba(238,216,108,0.4) 0%,rgba(248,237,149,0.4) 15%,rgba(250,240,152,0.4) 100%); /* Safari */ background-image:linear-gradient(rgba(238,216,108,0.4) 0%,rgba(248,237,149,0.4) 15%,rgba(250,240,152,0.4) 100%); box-shadow:0 8px 10px -5px rgba(125,113,0,0.4); text-align:left; @@ -1634,11 +1644,13 @@ a:hover img.CENTRE_PHOTO_SHOW .BG_MSG_BLUE { + background-image:-webkit-linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); /* Safari */ background-image:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); background-repeat:no-repeat; } .BG_MSG_GREEN { + background-image:-webkit-linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); /* Safari */ background-image:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); background-repeat:no-repeat; } @@ -2447,6 +2459,7 @@ a:hover img.CENTRE_PHOTO_SHOW .MSG_TIT_REM {color:#AFC4CC; font-size:13pt;} .MSG_TIT_BG { + background-image:-webkit-linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); /* Safari */ background-image:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); background-repeat:no-repeat; color:#4D88A1; @@ -2454,6 +2467,7 @@ a:hover img.CENTRE_PHOTO_SHOW } .MSG_TIT_BG_NEW { + background-image:-webkit-linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); /* Safari */ background-image:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); background-repeat:no-repeat; color:#4D88A1; @@ -2462,6 +2476,7 @@ a:hover img.CENTRE_PHOTO_SHOW } .MSG_TIT_BG_REM { + background-image:-webkit-linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); /* Safari */ background-image:linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); background-repeat:no-repeat; color:#AFC4CC; @@ -2472,6 +2487,7 @@ a:hover img.CENTRE_PHOTO_SHOW .MSG_AUT_NEW {color:#4D88A1; font-size:11pt; font-weight:bold;} .MSG_AUT_BG { + background-image:-webkit-linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); /* Safari */ background-image:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); background-repeat:no-repeat; color:#4D88A1; @@ -2479,6 +2495,7 @@ a:hover img.CENTRE_PHOTO_SHOW } .MSG_AUT_BG_NEW { + background-image:-webkit-linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); /* Safari */ background-image:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); background-repeat:no-repeat; color:#4D88A1; @@ -2487,6 +2504,7 @@ a:hover img.CENTRE_PHOTO_SHOW } .MSG_AUT_BG_REM { + background-image:-webkit-linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); /* Safari */ background-image:linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); background-repeat:no-repeat; color:#AFC4CC; diff --git a/swad_account.c b/swad_account.c index 2685ab619..b7806078d 100644 --- a/swad_account.c +++ b/swad_account.c @@ -148,9 +148,9 @@ static void Acc_ShowFormCheckIfIHaveAccount (const char *Title) Act_FormStart (ActChkUsrAcc); fprintf (Gbl.F.Out,"" "", + " size=\"18\" maxlength=\"%u\" value=\"\" />" + "", The_ClassForm[Gbl.Prefs.Theme],Txt_ID, ID_MAX_LENGTH_USR_ID); Lay_PutConfirmButton (Txt_Check); diff --git a/swad_centre.c b/swad_centre.c index 41e297ceb..4cb5e5b84 100644 --- a/swad_centre.c +++ b/swad_centre.c @@ -2205,10 +2205,10 @@ void Ctr_RequestPhoto (void) /***** Upload photo *****/ fprintf (Gbl.F.Out,"" + "%s: " "", + " onchange=\"document.getElementById('%s').submit();\" />" + "", The_ClassForm[Gbl.Prefs.Theme], Txt_File_with_the_photo, Fil_NAME_OF_PARAM_FILENAME_ORG, diff --git a/swad_changelog.h b/swad_changelog.h index 0b078ccb2..c7b14278a 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -182,18 +182,21 @@ // TODO: Fix bug in notification content about files sent to plugins like SWADroid: do not write internal name (for example "comun"). Call instead Brw_GetFileNameToShow or similar. // TODO: Draw future dates in attendance, surveys, assignments in blue? +// TODO: Fix bug in generate a test: after entering a number of questions with empty tags and type of answers, number of questions is not remembered /*****************************************************************************/ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.104.3 (2016-12-19)" -#define CSS_FILE "swad16.104.css" +#define Log_PLATFORM_VERSION "SWAD 16.105 (2016-12-20)" +#define CSS_FILE "swad16.105.css" #define JS_FILE "swad16.101.js" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1 /* + Version 16.105: Dec 20, 2016 Changes in behaviour of labels in forms. + Changes in layout for Safari browser. (211237 lines) Version 16.104.3: Dec 19, 2016 Changes in search input fields. (211196 lines) Version 16.104.2: Dec 19, 2016 New links to phones. (211194 lines) Version 16.104.1: Dec 19, 2016 New address element. (211187 lines) diff --git a/swad_date.c b/swad_date.c index 0a5fb5622..ae9aede7c 100644 --- a/swad_date.c +++ b/swad_date.c @@ -301,7 +301,8 @@ void Dat_PutFormStartEndClientLocalDateTimes (time_t TimeUTC[2], "
", - The_ClassForm[Gbl.Prefs.Theme],Txt_START_END_TIME[StartEndTime]); + The_ClassForm[Gbl.Prefs.Theme], + Txt_START_END_TIME[StartEndTime]); /* Date-time */ Dat_WriteFormClientLocalDateTimeFromTimeUTC (Id[StartEndTime], diff --git a/swad_degree_type.c b/swad_degree_type.c index 5448a8509..b3a18759d 100644 --- a/swad_degree_type.c +++ b/swad_degree_type.c @@ -93,7 +93,7 @@ void DT_WriteSelectorDegreeTypes (void) DT_GetListDegreeTypes (); /* List degree types */ - fprintf (Gbl.F.Out," |