clock_parameter = {}; function clock_listTimer() { $('#content').html(''); $('#result').html(''); $.ajax({ type : 'get', dataType : 'json', contentType : 'application/json; charset=utf-8', url : '../jaxrs/clock/list/timer', xhrFields : { 'withCredentials' : true }, crossDomain : true }).done(function(json) { $('#result').html(JSON.stringify(json, null, 4)); }); } function clock_listTimerLog_init() { $('#context').html(''); $('#result').html(''); var str = ''; str += ''; str += ''; str += ''; str += ''; str += '
get
application
'; $('#content').html(str); $('#get').click(function() { clock_listTimerLog($('#application').val()); }); } function clock_listTimerLog(application) { $('#content').html(''); $('#result').html(''); $.ajax({ type : 'get', dataType : 'json', contentType : 'application/json; charset=utf-8', url : '../jaxrs/clock/list/timerlog/application/' + application, xhrFields : { 'withCredentials' : true }, crossDomain : true }).done(function(json) { $('#result').html(JSON.stringify(json, null, 4)); }); } function clock_listSchedule() { $('#content').html(''); $('#result').html(''); $.ajax({ type : 'get', dataType : 'json', contentType : 'application/json; charset=utf-8', url : '../jaxrs/clock/list/schedule', xhrFields : { 'withCredentials' : true }, crossDomain : true }).done(function(json) { $('#result').html(JSON.stringify(json, null, 4)); }); } function clock_listScheduleLog_init() { $('#context').html(''); $('#result').html(''); var str = ''; str += ''; str += ''; str += ''; str += ''; str += '
get
application
'; $('#content').html(str); $('#get').click(function() { clock_listScheduleLog($('#application').val()); }); } function clock_listScheduleLog(application) { $('#content').html(''); $('#result').html(''); $.ajax({ type : 'get', dataType : 'json', contentType : 'application/json; charset=utf-8', url : '../jaxrs/clock/list/schedulelog/application/' + application, xhrFields : { 'withCredentials' : true }, crossDomain : true }).done(function(json) { $('#result').html(JSON.stringify(json, null, 4)); }); }