File: D:/HostingSpaces/RImmers2/portal.photomenu.nl/wwwroot/iisnode/index.html
<html>
<head>
<title>iisnode logs</title>
<style type="text/css">
body
{
font-family: "Trebuchet MS" , Arial, Helvetica, sans-serif;
}
table
{
border-collapse: collapse;
}
td, th
{
border: 1px solid lightgray;
padding: 3px 7px 2px 7px;
}
th
{
text-align: left;
padding-top: 5px;
padding-bottom: 4px;
background-color: Gray;
color: #ffffff;
}
td.stderr
{
color: Red;
}
</style>
</head>
<body>
<table id="logFilesTable">
<tr>
<th>
Computer name
</th>
<th>
PID
</th>
<th>
Type
</th>
<th>
Created
</th>
<th>
Link
</th>
</tr>
</table>
<p id="lastUpdated"></p>
<script type="text/javascript">
// this is replaced with actual data at runtime by code in interceptor.js
var logFiles = [{"file":"YDAWBH120-13320-stdout-1779452764052.txt","computername":"YDAWBH120","pid":13320,"type":"stdout","created":1779452764052},{"file":"YDAWBH120-176-stdout-1779591729147.txt","computername":"YDAWBH120","pid":176,"type":"stdout","created":1779591729147},{"file":"YDAWBH120-21664-stdout-1779243506974.txt","computername":"YDAWBH120","pid":21664,"type":"stdout","created":1779243506974},{"file":"YDAWBH120-21980-stdout-1779682351164.txt","computername":"YDAWBH120","pid":21980,"type":"stdout","created":1779682351164},{"file":"YDAWBH120-30512-stdout-1778906731500.txt","computername":"YDAWBH120","pid":30512,"type":"stdout","created":1778906731500},{"file":"YDAWBH120-33656-stdout-1779096260421.txt","computername":"YDAWBH120","pid":33656,"type":"stdout","created":1779096260421},{"file":"YDAWBH120-35696-stdout-1779990795756.txt","computername":"YDAWBH120","pid":35696,"type":"stdout","created":1779990795756},{"file":"YDAWBH120-39324-stdout-1779934910118.txt","computername":"YDAWBH120","pid":39324,"type":"stdout","created":1779934910118},{"file":"YDAWBH120-42112-stdout-1779419825093.txt","computername":"YDAWBH120","pid":42112,"type":"stdout","created":1779419825093},{"file":"YDAWBH120-45304-stdout-1779369958858.txt","computername":"YDAWBH120","pid":45304,"type":"stdout","created":1779369958858},{"file":"YDAWBH120-48724-stdout-1779273160743.txt","computername":"YDAWBH120","pid":48724,"type":"stdout","created":1779273160743},{"file":"YDAWBH120-4908-stdout-1778837312461.txt","computername":"YDAWBH120","pid":4908,"type":"stdout","created":1778837312461},{"file":"YDAWBH120-52924-stdout-1780126037055.txt","computername":"YDAWBH120","pid":52924,"type":"stdout","created":1780126037055},{"file":"YDAWBH120-55008-stdout-1779161511076.txt","computername":"YDAWBH120","pid":55008,"type":"stdout","created":1779161511076},{"file":"YDAWBH120-62500-stdout-1779286616707.txt","computername":"YDAWBH120","pid":62500,"type":"stdout","created":1779286616707},{"file":"YDAWBH120-63456-stdout-1779507756533.txt","computername":"YDAWBH120","pid":63456,"type":"stdout","created":1779507756533},{"file":"YDAWBH120-66720-stdout-1780032187566.txt","computername":"YDAWBH120","pid":66720,"type":"stdout","created":1780032187566},{"file":"YDAWBH120-69980-stdout-1779007777413.txt","computername":"YDAWBH120","pid":69980,"type":"stdout","created":1779007777413},{"file":"YDAWBH120-72720-stdout-1779853489734.txt","computername":"YDAWBH120","pid":72720,"type":"stdout","created":1779853489734},{"file":"YDAWBH120-75960-stdout-1779335829763.txt","computername":"YDAWBH120","pid":75960,"type":"stdout","created":1779335829763},{"file":"YDAWBH120-78856-stdout-1779764805192.txt","computername":"YDAWBH120","pid":78856,"type":"stdout","created":1779764805192}];
var lastUpdated = 1780126040201;
var date = new Date();
date.setTime(lastUpdated);
document.getElementById('lastUpdated').innerHTML = 'Index was last updated ' + date;
logFiles.sort(function (a, b) {
return b.created - a.created;
});
var logFilesTable = document.getElementById("logFilesTable");
for (var i = 0; i < logFiles.length; i++) {
var logFile = logFiles[i];
date.setTime(logFile.created);
var row = logFilesTable.insertRow(-1);
var computerNameCell = row.insertCell(0);
var pidCell = row.insertCell(1);
var typeCell = row.insertCell(2);
var dateCell = row.insertCell(3);
var logCell = row.insertCell(4);
computerNameCell.innerHTML = logFile.computername;
pidCell.innerHTML = logFile.pid.toString();
typeCell.innerHTML = logFile.type;
typeCell.setAttribute('class', logFile.type);
dateCell.innerHTML = date.toString();
logCell.innerHTML = '<a href="' + logFile.file + '">log</a>';
};
</script>
</body>
</html>