2020-10-09 22:29:56 +02:00
|
|
|
// Generated by CoffeeScript 1.12.8
|
2019-11-13 20:56:56 +01:00
|
|
|
(function() {
|
|
|
|
var go, i, timer;
|
|
|
|
|
|
|
|
i = 30;
|
|
|
|
|
|
|
|
go = function() {
|
|
|
|
return $("#globallogout").submit();
|
|
|
|
};
|
|
|
|
|
|
|
|
timer = function() {
|
|
|
|
var h;
|
|
|
|
h = $('#timer').html();
|
|
|
|
if (i > 0) {
|
|
|
|
i--;
|
|
|
|
}
|
|
|
|
h = h.replace(/\d+/, i);
|
|
|
|
$('#timer').html(h);
|
|
|
|
return window.setTimeout(timer, 1000);
|
|
|
|
};
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
2020-04-18 11:38:50 +02:00
|
|
|
$(".data-epoch").each(function() {
|
|
|
|
var myDate;
|
|
|
|
myDate = new Date($(this).text() * 1000);
|
|
|
|
return $(this).text(myDate.toLocaleString());
|
|
|
|
});
|
2019-11-13 20:56:56 +01:00
|
|
|
window.setTimeout(go, 30000);
|
|
|
|
return window.setTimeout(timer, 1000);
|
|
|
|
});
|
|
|
|
|
|
|
|
}).call(this);
|