From d564bd047baa031431e20b23b21929be64c667d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Wed, 18 Jan 2017 00:55:24 +0100 Subject: [PATCH] Version 16.119.4 --- css/{swad16.119.css => swad16.119.4.css} | 8 ++++---- js/{swad16.119.js => swad16.119.3.js} | 10 +++------- swad_changelog.h | 8 +++++--- swad_date.c | 8 +++++++- 4 files changed, 19 insertions(+), 15 deletions(-) rename css/{swad16.119.css => swad16.119.4.css} (99%) rename js/{swad16.119.js => swad16.119.3.js} (99%) diff --git a/css/swad16.119.css b/css/swad16.119.4.css similarity index 99% rename from css/swad16.119.css rename to css/swad16.119.4.css index e3d9ec952..6fb642937 100644 --- a/css/swad16.119.css +++ b/css/swad16.119.4.css @@ -274,6 +274,7 @@ a:hover /* Default ==> underlined */ #current_date { box-sizing:border-box; + background-color:rgba(255, 255, 255, 0.8); width:80px; margin-left:6px; border-radius:4px; @@ -282,17 +283,17 @@ a:hover /* Default ==> underlined */ #current_month { border-radius:4px 4px 0 0; - background-color:rgba(172, 64, 64, 0.8);; + background-color:rgba(222, 33, 33, 0.8); color:white; - font-size:12pt; + font-size:10pt; font-weight:bold; white-space:nowrap; overflow:hidden; } #current_day { - background-color:rgba(255, 255, 255, 0.8);; color:#606060; + margin:2px 0 -4px 0; font-size:20pt; font-weight:bold; line-height:100%; @@ -300,7 +301,6 @@ a:hover /* Default ==> underlined */ #current_time { border-radius:0 0 4px 4px; - background-color:rgba(255, 255, 255, 0.8);; color:#606060; font-size:12pt; font-weight:bold; diff --git a/js/swad16.119.js b/js/swad16.119.3.js similarity index 99% rename from js/swad16.119.js rename to js/swad16.119.3.js index 358d3ffd6..7b150ed02 100644 --- a/js/swad16.119.js +++ b/js/swad16.119.3.js @@ -350,13 +350,9 @@ function writeLocalClock () { Hou = d.getHours(); Min = d.getMinutes(); StrMin = ((Min < 10) ? '0' : '') + Min; - document.getElementById('hm').innerHTML = '
' + - Months[Mon] + - '
' + - Day + - '
' + - Hou + ':' + StrMin + - '
'; + document.getElementById('current_month').innerHTML = Months[Mon]; + document.getElementById('current_day').innerHTML = Day; + document.getElementById('current_time').innerHTML = Hou + ':' + StrMin; } function writeClockConnected () { diff --git a/swad_changelog.h b/swad_changelog.h index 8cd89eb60..4793da15a 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -191,13 +191,15 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.119.2 (2017-01-17)" -#define CSS_FILE "swad16.119.css" -#define JS_FILE "swad16.119.js" +#define Log_PLATFORM_VERSION "SWAD 16.119.4 (2017-01-18)" +#define CSS_FILE "swad16.119.4.css" +#define JS_FILE "swad16.119.3.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.119.4: Jan 18, 2017 Changes in layout of current data and time. (211882 lines) + Version 16.119.3: Jan 17, 2017 Changes in layout of current data and time. (211881 lines) Version 16.119.2: Jan 17, 2017 Fixed bug in web service related to attendance. (211879 lines) Version 16.119.1: Jan 17, 2017 Fixed bug in attendance. (211877 lines) Version 16.119: Jan 17, 2017 Changes in layout of current data and time. diff --git a/swad_date.c b/swad_date.c index 60c95bfef..44c11d4f1 100644 --- a/swad_date.c +++ b/swad_date.c @@ -160,8 +160,14 @@ bool Dat_GetDateFromYYYYMMDD (struct Date *Date,const char *YYYYMMDD) void Dat_ShowClientLocalTime (void) { - fprintf (Gbl.F.Out,"
" + fprintf (Gbl.F.Out,"
" + "
" "
" + "
" + "
" + "
" + "
" + "
" "