automated terminal push
This commit is contained in:
@@ -14,9 +14,10 @@ fetch();
|
|||||||
setInterval(fetch, 1000*120);
|
setInterval(fetch, 1000*120);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function fetch() {
|
function fetch() {
|
||||||
|
|
||||||
console.debug(" -> :: fetchLeaderboardDetails()");
|
console.debug("enter -> fetchJobs()");
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|
||||||
@@ -47,9 +48,10 @@ error: function (error, status) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function load() {
|
function load() {
|
||||||
|
|
||||||
console.debug(" -> :: fetchLeaderboardDetails()");
|
console.debug("enter -> loadJobs()");
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|
||||||
@@ -83,6 +85,8 @@ error: function (error, status) {
|
|||||||
|
|
||||||
function profitleaderboard(jobList) {
|
function profitleaderboard(jobList) {
|
||||||
|
|
||||||
|
console.debug("enter -> profitleaderboard()");
|
||||||
|
|
||||||
console.log("jobList / " ,jobList);
|
console.log("jobList / " ,jobList);
|
||||||
|
|
||||||
var html = '';
|
var html = '';
|
||||||
@@ -104,21 +108,13 @@ console.log("size / " + size);
|
|||||||
// html += '<td class="METADATA DEBUG">' + + '</td>'; // String (username)
|
// html += '<td class="METADATA DEBUG">' + + '</td>'; // String (username)
|
||||||
|
|
||||||
html += '<td class="METADATA DEBUG">' + jobList[i].location + '</td>'; // String (username)
|
html += '<td class="METADATA DEBUG">' + jobList[i].location + '</td>'; // String (username)
|
||||||
|
|
||||||
html += '<td class="METADATA DEBUG">' + jobList[i].job_type + '</td>'; // String (username)
|
html += '<td class="METADATA DEBUG">' + jobList[i].job_type + '</td>'; // String (username)
|
||||||
|
|
||||||
html += '<td class="METADATA DEBUG">' + jobList[i].is_remote + '</td>'; // String (username)
|
html += '<td class="METADATA DEBUG">' + jobList[i].is_remote + '</td>'; // String (username)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
html += '<td class="METADATA DEBUG">' + jobList[i].description + '</td>'; // String (username)
|
html += '<td class="METADATA DEBUG">' + jobList[i].description + '</td>'; // String (username)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
html += '</tr>';
|
html += '</tr>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user