File indexing completed on 2026-04-09 07:58:26
0001
0002
0003
0004
0005
0006
0007 $(function () {
0008 "use strict";
0009
0010 function objToString (obj) {
0011 var str = '';
0012 for (var p in obj) {
0013 str += p + '(' + obj[p] + ')';
0014 }
0015 return str;
0016 }
0017
0018 $(document).ready(function() {
0019
0020
0021
0022 $("#wait_message").text("Please wait for data loading");
0023
0024 var iddsAPI_request_detail = appConfig.iddsAPI_request_detail;
0025
0026
0027
0028 $.getJSON(iddsAPI_request_detail, function(data){
0029
0030 $.each(data, function(i) {
0031 var row = data[i];
0032
0033 var item_number = i + 1;
0034 var new_item = "<tr>";
0035 new_item += "<td>" + item_number + "</td>";
0036 new_item += '<td class="txt-oflo">' + row.request_id + '</td>';
0037 new_item += '<td>' + row.status + '</td>';
0038
0039 new_item += '<td class="txt-oflo">' + objToString(row.transforms) + '</td>';
0040
0041 new_item += '<td>' + row.created_at + '</td>';
0042 new_item += '<td class="txt-oflo">' + row.updated_at + '</td>';
0043 new_item += '<td>' + row.input_total_files + '</td>';
0044 new_item += '<td class="txt-oflo">' + row.input_processed_files + '</td>';
0045 new_item += '<td>' + row.output_total_files + '</td>';
0046 new_item += '<td class="txt-oflo">' + row.output_processed_files + '</td>';
0047 new_item += "</tr>";
0048
0049 $("#requests_table_body").append(new_item);
0050 });
0051 $('table.display').DataTable();
0052 $("#wait_message").text("");
0053 });
0054
0055 });
0056
0057 });
0058
0059