mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-20 23:45:41 +02:00
Version 16.119.4
This commit is contained in:
parent
f3fff80865
commit
d564bd047b
|
@ -274,6 +274,7 @@ a:hover /* Default ==> underlined */
|
||||||
#current_date
|
#current_date
|
||||||
{
|
{
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
|
background-color:rgba(255, 255, 255, 0.8);
|
||||||
width:80px;
|
width:80px;
|
||||||
margin-left:6px;
|
margin-left:6px;
|
||||||
border-radius:4px;
|
border-radius:4px;
|
||||||
|
@ -282,17 +283,17 @@ a:hover /* Default ==> underlined */
|
||||||
#current_month
|
#current_month
|
||||||
{
|
{
|
||||||
border-radius:4px 4px 0 0;
|
border-radius:4px 4px 0 0;
|
||||||
background-color:rgba(172, 64, 64, 0.8);;
|
background-color:rgba(222, 33, 33, 0.8);
|
||||||
color:white;
|
color:white;
|
||||||
font-size:12pt;
|
font-size:10pt;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
white-space:nowrap;
|
white-space:nowrap;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
#current_day
|
#current_day
|
||||||
{
|
{
|
||||||
background-color:rgba(255, 255, 255, 0.8);;
|
|
||||||
color:#606060;
|
color:#606060;
|
||||||
|
margin:2px 0 -4px 0;
|
||||||
font-size:20pt;
|
font-size:20pt;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
line-height:100%;
|
line-height:100%;
|
||||||
|
@ -300,7 +301,6 @@ a:hover /* Default ==> underlined */
|
||||||
#current_time
|
#current_time
|
||||||
{
|
{
|
||||||
border-radius:0 0 4px 4px;
|
border-radius:0 0 4px 4px;
|
||||||
background-color:rgba(255, 255, 255, 0.8);;
|
|
||||||
color:#606060;
|
color:#606060;
|
||||||
font-size:12pt;
|
font-size:12pt;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
|
@ -350,13 +350,9 @@ function writeLocalClock () {
|
||||||
Hou = d.getHours();
|
Hou = d.getHours();
|
||||||
Min = d.getMinutes();
|
Min = d.getMinutes();
|
||||||
StrMin = ((Min < 10) ? '0' : '') + Min;
|
StrMin = ((Min < 10) ? '0' : '') + Min;
|
||||||
document.getElementById('hm').innerHTML = '<div id="current_date"><div id="current_month">' +
|
document.getElementById('current_month').innerHTML = Months[Mon];
|
||||||
Months[Mon] +
|
document.getElementById('current_day').innerHTML = Day;
|
||||||
'</div><div id="current_day">' +
|
document.getElementById('current_time').innerHTML = Hou + ':' + StrMin;
|
||||||
Day +
|
|
||||||
'</div><div id="current_time">' +
|
|
||||||
Hou + ':' + StrMin +
|
|
||||||
'</div></div>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function writeClockConnected () {
|
function writeClockConnected () {
|
|
@ -191,13 +191,15 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 16.119.2 (2017-01-17)"
|
#define Log_PLATFORM_VERSION "SWAD 16.119.4 (2017-01-18)"
|
||||||
#define CSS_FILE "swad16.119.css"
|
#define CSS_FILE "swad16.119.4.css"
|
||||||
#define JS_FILE "swad16.119.js"
|
#define JS_FILE "swad16.119.3.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// 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.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.1: Jan 17, 2017 Fixed bug in attendance. (211877 lines)
|
||||||
Version 16.119: Jan 17, 2017 Changes in layout of current data and time.
|
Version 16.119: Jan 17, 2017 Changes in layout of current data and time.
|
||||||
|
|
|
@ -160,8 +160,14 @@ bool Dat_GetDateFromYYYYMMDD (struct Date *Date,const char *YYYYMMDD)
|
||||||
|
|
||||||
void Dat_ShowClientLocalTime (void)
|
void Dat_ShowClientLocalTime (void)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<div id=\"hm\">"
|
fprintf (Gbl.F.Out,"<div id=\"current_date\">"
|
||||||
|
"<div id=\"current_month\">"
|
||||||
"</div>"
|
"</div>"
|
||||||
|
"<div id=\"current_day\">"
|
||||||
|
"</div>"
|
||||||
|
"<div id=\"current_time\">"
|
||||||
|
"</div>"
|
||||||
|
"</div>"
|
||||||
"<script type=\"text/javascript\">\n"
|
"<script type=\"text/javascript\">\n"
|
||||||
"secondsSince1970UTC = %ld;\n"
|
"secondsSince1970UTC = %ld;\n"
|
||||||
"writeLocalClock();"
|
"writeLocalClock();"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user