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-11532-stdout-1783877771850.txt","computername":"YDAWBH120","pid":11532,"type":"stdout","created":1783877771850},{"file":"YDAWBH120-16036-stdout-1783320326767.txt","computername":"YDAWBH120","pid":16036,"type":"stdout","created":1783320326767},{"file":"YDAWBH120-17188-stdout-1783683183606.txt","computername":"YDAWBH120","pid":17188,"type":"stdout","created":1783683183606},{"file":"YDAWBH120-17820-stdout-1783476540846.txt","computername":"YDAWBH120","pid":17820,"type":"stdout","created":1783476540846},{"file":"YDAWBH120-20856-stdout-1782970427174.txt","computername":"YDAWBH120","pid":20856,"type":"stdout","created":1782970427174},{"file":"YDAWBH120-25244-stdout-1783095027945.txt","computername":"YDAWBH120","pid":25244,"type":"stdout","created":1783095027945},{"file":"YDAWBH120-25624-stdout-1783131747491.txt","computername":"YDAWBH120","pid":25624,"type":"stdout","created":1783131747491},{"file":"YDAWBH120-27180-stdout-1783765811854.txt","computername":"YDAWBH120","pid":27180,"type":"stdout","created":1783765811854},{"file":"YDAWBH120-30428-stdout-1782904868617.txt","computername":"YDAWBH120","pid":30428,"type":"stdout","created":1782904868617},{"file":"YDAWBH120-45424-stdout-1784167507726.txt","computername":"YDAWBH120","pid":45424,"type":"stdout","created":1784167507726},{"file":"YDAWBH120-53956-stdout-1783784907844.txt","computername":"YDAWBH120","pid":53956,"type":"stdout","created":1783784907844},{"file":"YDAWBH120-56772-stdout-1782797949880.txt","computername":"YDAWBH120","pid":56772,"type":"stdout","created":1782797949880},{"file":"YDAWBH120-59772-stdout-1783564644917.txt","computername":"YDAWBH120","pid":59772,"type":"stdout","created":1783564644917},{"file":"YDAWBH120-61336-stdout-1784084968934.txt","computername":"YDAWBH120","pid":61336,"type":"stdout","created":1784084968934},{"file":"YDAWBH120-63424-stdout-1783402508189.txt","computername":"YDAWBH120","pid":63424,"type":"stdout","created":1783402508189},{"file":"YDAWBH120-69400-stdout-1783997218586.txt","computername":"YDAWBH120","pid":69400,"type":"stdout","created":1783997218586},{"file":"YDAWBH120-69824-stdout-1783940530032.txt","computername":"YDAWBH120","pid":69824,"type":"stdout","created":1783940530032},{"file":"YDAWBH120-71300-stdout-1783651735774.txt","computername":"YDAWBH120","pid":71300,"type":"stdout","created":1783651735774},{"file":"YDAWBH120-72008-stdout-1783228927967.txt","computername":"YDAWBH120","pid":72008,"type":"stdout","created":1783228927967},{"file":"YDAWBH120-78416-stdout-1782875434906.txt","computername":"YDAWBH120","pid":78416,"type":"stdout","created":1782875434906},{"file":"YDAWBH120-78792-stdout-1784121785009.txt","computername":"YDAWBH120","pid":78792,"type":"stdout","created":1784121785009}];
var lastUpdated = 1784167510991;
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>