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         $("#wait_message").text("Please wait for data loading");
0015 
0016         var iddsAPI_transform = appConfig.iddsAPI_transform_detail;
0017         // iddsAPI_transform = "https://aipanda160.cern.ch:443/idds/monitor/72505/null/true/false";

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

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

0022             $.each(data, function(i) {
0023                 var row = data[i];
0024 
0025                 var item_number = i + 1;
0026                 var new_item = "<tr>";
0027                 new_item += "<td>" + item_number + "</td>";
0028                 new_item += '<td class="txt-oflo">' + row.request_id + '</td>';
0029                 new_item += '<td>' + row.transform_workload_id + '</td>';
0030                 new_item += '<td class="txt-oflo">' + row.transform_id + '</td>';
0031                 new_item += '<td>' + row.transform_type + '</td>';
0032                 new_item += '<td class="txt-oflo">' + row.output_coll_scope + '</td>';
0033                 new_item += '<td>' + row.output_coll_name + '</td>';
0034                 new_item += '<td class="txt-oflo">' + row.transform_status + '</td>';
0035                 new_item += '<td>' + row.transform_created_at + '</td>';
0036                 new_item += '<td class="txt-oflo">' + row.transform_updated_at + '</td>';
0037                 new_item += '<td>' + row.input_total_files + '</td>';
0038                 new_item += '<td class="txt-oflo">' + row.input_processed_files + '</td>';
0039                 new_item += '<td>' + row.output_total_files + '</td>';
0040                 new_item += '<td class="txt-oflo">' + row.output_processed_files + '</td>';
0041                 new_item += "</tr>";
0042 
0043                 $("#transforms_table_body").append(new_item);
0044             });
0045             $('table.display').DataTable();
0046             $("#wait_message").text("");
0047         });
0048 
0049     });
0050 
0051 });
0052 
0053