Use same header on public and teams interface
This commit is contained in:
parent
4efc90a5f0
commit
b6792f3b72
8 changed files with 59 additions and 79 deletions
|
@ -30,7 +30,7 @@
|
|||
text-shadow: 0 0 5px #00c6ff;
|
||||
}
|
||||
|
||||
#point {
|
||||
.point {
|
||||
position: relative;
|
||||
-moz-animation: mymove 1s ease infinite;
|
||||
-webkit-animation: mymove 1s ease infinite;
|
||||
|
|
20
htdocs/js/countdown.js
Normal file
20
htdocs/js/countdown.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
function update_end()
|
||||
{
|
||||
var left = (end_challenge - new Date())/1000;
|
||||
|
||||
if (left < 0) left = 0;
|
||||
|
||||
var heure = Math.floor(left / 3600);
|
||||
var min = Math.floor((left / 60) % 60);
|
||||
var sec = Math.floor(left % 60);
|
||||
|
||||
$("#hours").html(( heure < 10 ? "0" : "" ) + heure);
|
||||
$("#min").html(( min < 10 ? "0" : "" ) + min);
|
||||
$("#sec").html(( sec < 10 ? "0" : "" ) + sec);
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
setInterval( function() {
|
||||
update_end();
|
||||
}, 1000);
|
||||
});
|
Reference in a new issue