Browse Source

automated terminal push

production
Software Shinobi 1 month ago
parent
commit
ce6a9f793d
  1. 20
      web/js/jobs.js

20
web/js/jobs.js

@ -14,9 +14,10 @@ fetch();
setInterval(fetch, 1000*120);
});
function fetch() {
console.debug(" -> :: fetchLeaderboardDetails()");
console.debug("enter -> fetchJobs()");
$.ajax({
@ -47,9 +48,10 @@ error: function (error, status) {
});
}
function load() {
console.debug(" -> :: fetchLeaderboardDetails()");
console.debug("enter -> loadJobs()");
$.ajax({
@ -83,6 +85,8 @@ error: function (error, status) {
function profitleaderboard(jobList) {
console.debug("enter -> profitleaderboard()");
console.log("jobList / " ,jobList);
var html = '';
@ -104,20 +108,12 @@ console.log("size / " + size);
// 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].job_type + '</td>'; // String (username)
html += '<td class="METADATA DEBUG">' + jobList[i].is_remote + '</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].description + '</td>'; // String (username)
html += '</tr>';

Loading…
Cancel
Save