mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-23 00:00:50 +02:00
Version 15.47.2
This commit is contained in:
parent
4a2a1c31a0
commit
73d5bc1d53
34
css/swad.css
34
css/swad.css
|
@ -180,6 +180,27 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
|
|||
text-align:center;
|
||||
vertical-align:top;
|
||||
}
|
||||
.WHITE_CUR_TIME {color:#808080; font-size:14pt; font-weight:bold;}
|
||||
.GREY_CUR_TIME {color:#E0E0E0; font-size:14pt; font-weight:bold;}
|
||||
.BLUE_CUR_TIME {color:#BAD2DA; font-size:14pt; font-weight:bold;}
|
||||
.YELLOW_CUR_TIME {color:#B3B0B3; font-size:14pt; font-weight:bold;}
|
||||
@media only screen and (max-width: 1023px) { /* For mobile phones */
|
||||
#current_date
|
||||
{
|
||||
display:none;
|
||||
}
|
||||
#current_time
|
||||
{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 1279px) { /* For tablets */
|
||||
#current_date
|
||||
{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
|
||||
#head_row_2_hierarchy
|
||||
{
|
||||
display:table-cell;
|
||||
|
@ -1033,21 +1054,16 @@ a:hover img.CENTRE_PHOTO_SHOW
|
|||
background-repeat:no-repeat;
|
||||
}
|
||||
|
||||
.WHITE_DEGREE {color:#707070; font-size:15pt; font-weight:bold; white-space:nowrap;}
|
||||
.GREY_DEGREE {color:#FFB42E; font-size:15pt; font-weight:bold; white-space:nowrap;}
|
||||
.BLUE_DEGREE {color:#FFE880; font-size:15pt; font-weight:bold; white-space:nowrap;}
|
||||
.YELLOW_DEGREE {color:#FFC040; font-size:15pt; font-weight:bold; white-space:nowrap;}
|
||||
.WHITE_DEGREE {color:#707070; font-size:14pt; font-weight:bold; white-space:nowrap;}
|
||||
.GREY_DEGREE {color:#FFB42E; font-size:14pt; font-weight:bold; white-space:nowrap;}
|
||||
.BLUE_DEGREE {color:#FFE880; font-size:14pt; font-weight:bold; white-space:nowrap;}
|
||||
.YELLOW_DEGREE {color:#FFC040; font-size:14pt; font-weight:bold; white-space:nowrap;}
|
||||
|
||||
.WHITE_COURSE {color:#4D88A1; font-size:25pt; white-space:nowrap;}
|
||||
.GREY_COURSE {font-family:Georgia,"DejaVu LGC Serif","Bitstream Vera Serif",serif; color:#F7F6F5; font-size:25pt; white-space:nowrap;}
|
||||
.BLUE_COURSE {font-family:Georgia,"DejaVu LGC Serif","Bitstream Vera Serif",serif; color:white; font-size:25pt; white-space:nowrap;}
|
||||
.YELLOW_COURSE {font-family:Georgia,"DejaVu LGC Serif","Bitstream Vera Serif",serif; color:white; font-size:25pt; white-space:nowrap;}
|
||||
|
||||
.WHITE_CUR_TIME {color:#808080; font-size:15pt; font-weight:bold;}
|
||||
.GREY_CUR_TIME {color:#E0E0E0; font-size:15pt; font-weight:bold;}
|
||||
.BLUE_CUR_TIME {color:#BAD2DA; font-size:15pt; font-weight:bold;}
|
||||
.YELLOW_CUR_TIME {color:#B3B0B3; font-size:15pt; font-weight:bold;}
|
||||
|
||||
.WHITE_NOTIF {color:#707070; font-size:12pt; white-space:nowrap;}
|
||||
.GREY_NOTIF {color:#E0E0E0; font-size:12pt; white-space:nowrap;}
|
||||
.BLUE_NOTIF {color:white; font-size:12pt; white-space:nowrap;}
|
||||
|
|
14
js/swad.js
14
js/swad.js
|
@ -258,20 +258,24 @@ function writeLocalClock() {
|
|||
Hou = d.getHours();
|
||||
Min = d.getMinutes();
|
||||
StrMin = ((Min < 10) ? '0' : '') + Min;
|
||||
document.getElementById('hm').innerHTML = Months[Mon] + ' ' + Day + ', ' + Hou + ':' + StrMin;
|
||||
document.getElementById('hm').innerHTML = '<span id="current_date">' +
|
||||
Months[Mon] + ' ' + Day + ', ' +
|
||||
'</span><span id="current_time">' +
|
||||
Hou + ':' + StrMin +
|
||||
'</span>';
|
||||
}
|
||||
|
||||
function writeClockConnected() {
|
||||
var BoxClock;
|
||||
var BoxClock;
|
||||
var H;
|
||||
var M;
|
||||
var S;
|
||||
var StrM;
|
||||
var StrS;
|
||||
var PrintableClock;
|
||||
var PrintableClock;
|
||||
|
||||
countClockConnected++;
|
||||
countClockConnected %= 10;
|
||||
countClockConnected++;
|
||||
countClockConnected %= 10;
|
||||
for (var i=0; i<NumUsrsCon; i++) {
|
||||
BoxClock = document.getElementById('hm'+i);
|
||||
if (BoxClock) {
|
||||
|
|
|
@ -115,11 +115,12 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.47.1 (2015/11/27)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.47.2 (2015/11/27)"
|
||||
|
||||
// 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 15.47.2: Nov 27, 2015 Responsive design in current local date and time. (? lines)
|
||||
Version 15.47.1: Nov 27, 2015 swad_desktop.css is renamed to swad.css.
|
||||
swad_mobile.css is removed. (186343 lines)
|
||||
Version 15.47: Nov 27, 2015 Mobile layout is removed (only 1.45% of users used it and now it is replaced by responsive design). (187426 lines)
|
||||
|
|
Loading…
Reference in New Issue
Block a user