Use same header on public and teams interface

This commit is contained in:
Némunaire 2013-11-25 15:35:56 +01:00
parent 4efc90a5f0
commit b6792f3b72
8 changed files with 59 additions and 79 deletions

View file

@ -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
View 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);
});