16 lines
387 B
JavaScript
Raw Normal View History

2016-10-16 21:53:15 +02:00
function viewLogfile(){
clearInterval(interval_id);
$.ajax({
dataType: "json",
url: '/log',
type: 'REQ'
})
.done(function(log){
var markup = TPL.engine.execute_px('log.tpl', log);
$('#content').html(markup);
})
.fail(function(){});
var markup = '<h1>Logfile</h1><p><button onclick = viewAuktionen()>zur<75>ck</button></p>';
$('#content').append(markup);
}