From 84605b687cdaf29f43fbab9230d4e61d707d6b24 Mon Sep 17 00:00:00 2001 From: acanas Date: Sat, 29 Oct 2022 16:50:58 +0200 Subject: [PATCH] Version 22.57.1: Oct 29, 2022 Change in layout of heading title. --- css/{swad22.49.4.css => swad22.57.1.css} | 41 ++++++++++++++++++++++-- swad_changelog.h | 6 ++-- swad_global.h | 8 ----- 3 files changed, 41 insertions(+), 14 deletions(-) rename css/{swad22.49.4.css => swad22.57.1.css} (99%) diff --git a/css/swad22.49.4.css b/css/swad22.57.1.css similarity index 99% rename from css/swad22.49.4.css rename to css/swad22.57.1.css index 94ec2d0ad..2ab858842 100644 --- a/css/swad22.49.4.css +++ b/css/swad22.57.1.css @@ -547,12 +547,47 @@ a:hover /* Default ==> underlined */ { display:inline-block; } -@media only screen and (max-width: 1024px) + +@media only screen and (max-width: 480px) { /* For mobile-phones */ #big_short_name { display:table-cell; - max-width:560px; + max-width:360px; + height:40px; + white-space:nowrap; + overflow:hidden; + text-overflow:ellipsis; + vertical-align:middle; + } + #big_full_name + { + display:none; + } + } +@media only screen and (min-width: 480px) and (max-width: 800px) + { /* For mobile-phones */ + #big_short_name + { + display:table-cell; + max-width:460px; + height:40px; + white-space:nowrap; + overflow:hidden; + text-overflow:ellipsis; + vertical-align:middle; + } + #big_full_name + { + display:none; + } + } +@media only screen and (min-width: 800px) and (max-width: 1024px) + { /* For mobile-phones and tablets */ + #big_short_name + { + display:table-cell; + max-width:760px; height:40px; white-space:nowrap; overflow:hidden; @@ -573,7 +608,7 @@ a:hover /* Default ==> underlined */ #big_full_name { display:table-cell; - max-width:899px; + max-width:900px; height:40px; white-space:nowrap; overflow:hidden; diff --git a/swad_changelog.h b/swad_changelog.h index 982f27823..73d22ef7f 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -532,7 +532,6 @@ dentro siempre de lo que haya guardado en la tabla de ubicaciones limitada a 12/ // TODO: Integrar pull requests con traducciones del alemán del usuario eruedin en GitHub // TODO: Cambiar icono notificaciones nuevas con "bell-on.svg" // TODO: Ahmed El Moukhtari Koubaa: Cuando le damos a la opción de mostrar solo los mensajes no leídos, se muestran estos mensajes, pero cuando los intentamos leer, es decir, hacemos clic sobre ellos se recarga toda la página por así decirlo y vuelve a dar una lista con los mensajes, pero descartando aquel que clicamos porque, entiendo yo al menos, que ya lo ha marcado como leído. -// TODO: Cambiar "centre" a "center" /*****************************************************************************/ /****************************** Public constants *****************************/ @@ -605,8 +604,8 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate TODO: Attach pdf files in multimedia. */ -#define Log_PLATFORM_VERSION "SWAD 22.57 (2022-10-29)" -#define CSS_FILE "swad22.49.4.css" +#define Log_PLATFORM_VERSION "SWAD 22.57.1 (2022-10-29)" +#define CSS_FILE "swad22.57.1.css" #define JS_FILE "swad22.49.js" /* Sugerencia de J.L Bernier. Al eliminar los estudiantes, que se eliminen los trabajos opcionalmente marcando una casilla. @@ -616,6 +615,7 @@ Que al subir un fichero por defecto est Al subir cosas para los grupos, en documentos, resltar más los grupos porque no son conscientes... Exportar listas en CSV. + Version 22.57.1: Oct 29, 2022 Change in layout of heading title. (333789 lines) Version 22.57: Oct 29, 2022 Code refactoring in search. (333762 lines) Version 22.56: Oct 29, 2022 Code refactoring in user record. (333696 lines) Version 22.55: Oct 28, 2022 Code refactoring in degree types. (333694 lines) diff --git a/swad_global.h b/swad_global.h index 99be159e9..680492792 100644 --- a/swad_global.h +++ b/swad_global.h @@ -100,14 +100,6 @@ struct Globals struct Crs_ListCourses Crss; // List of courses in current degree struct Crs_Course Crs; // Current course. Aditional info about course is stored in Gbl.Crs. } Hierarchy; - /* - struct - { - Sch_WhatToSearch_t WhatToSearch; - char Str[Sch_MAX_BYTES_STRING_TO_FIND + 1]; - bool LogSearch; - } Search; - */ struct { bool IsWebService; // Must generate HTML output (IsWebService==false) or SOAP-XML output (IsWebService==true)?