Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:58:26

0001 /*

0002 Template Name: Admin Pro Admin

0003 Author: Wrappixel

0004 Email: niravjoshi87@gmail.com

0005 File: js

0006 */
0007 $(function () {
0008     "use strict";
0009 
0010     $(document).ready(function() {
0011         // $.each(appConfig, function(key, value) {

0012         //     alert(key);

0013         // });

0014 
0015         $("#wait_message").text("Please wait for data loading");
0016 
0017         var iddsAPI_processing = appConfig.iddsAPI_processing_detail;
0018         // iddsAPI_processing = "https://aipanda160.cern.ch:443/idds/monitor/72505/null/false/true";

0019         // iddsAPI_processing = "https://aipanda160.cern.ch:443/idds/monitor/null/null/false/true";

0020 
0021         $.getJSON(iddsAPI_processing, function(data){
0022             // $("#transforms_table_body").empty();

0023             $.each(data, function(i) {
0024                 var row = data[i];
0025 
0026                 var item_number = i + 1;
0027                 var new_item = "<tr>";
0028                 new_item += "<td>" + item_number + "</td>";
0029                 new_item += '<td class="txt-oflo">' + row.request_id + '</td>';
0030                 new_item += '<td>' + row.workload_id + '</td>';
0031                 new_item += '<td class="txt-oflo">' + row.processing_id + '</td>';
0032                 new_item += '<td>' + row.processing_status + '</td>';
0033                 new_item += '<td class="txt-oflo">' + row.processing_created_at + '</td>';
0034                 new_item += '<td>' + row.processing_updated_at + '</td>';
0035                 new_item += '<td class="txt-oflo">' + row.processing_finished_at + '</td>';
0036                 new_item += "</tr>";
0037 
0038                 $("#transforms_table_body").append(new_item);
0039             });
0040             $('table.display').DataTable();
0041             $("#wait_message").text("");
0042         });
0043 
0044     });
0045 
0046 });
0047 
0048