CPAN-Testers-WWW-Reports
view release on metacpan or search on metacpan
vhost/html/js/cpan-testers-author.js view on Meta::CPAN
// Create a <td> for the report status and set class name
var status = document.createElement('td');
status.appendChild(link);
status.className = report.status.toUpperCase();
row.appendChild(status);
var properties = ['perl','ostext','osvers','archname'];
for(var p=0; p<properties.length; p++) {
var td = document.createElement('td');
td.appendChild(document.createTextNode(report[properties[p]]));
row.appendChild(td);
}
rows.appendChild(row);
myrows = myrows + 1;
}
}
}
}
}
}
}
}
if(myrows == 0) {
row = document.createElement('tr');
// Create paragraph text
var para = document.createElement('span');
para.setAttribute('class','alert');
para.appendChild(document.createTextNode('No reports found. you may need to alter your preferences to see reports'));
// Create a <td> for the report status and set class name
var cell = document.createElement('td');
cell.setAttribute('colspan',6);
cell.appendChild(para);
row.appendChild(cell);
rows.appendChild(row);
}
var tbody = document.getElementById('data-'+versions[d]);
if(tbody) { tbody.parentNode.replaceChild(rows,tbody); }
}
}
function callSummary() {
OpenThought.CallUrl('/cgi-bin/reports-summary.cgi', [ 'author_pref', 'perlmat_pref', 'patches_pref', 'oncpan_pref', 'distmat_pref', 'perlver_pref', 'osname_pref' ] );
}
function reloadReports() {
setDisplayedVersion();
callSummary();
}
function displayReports() {
setDisplayedVersion();
callSummary();
}
function init() {
readCookies();
setDisplayedVersion();
callSummary();
}
( run in 0.526 second using v1.01-cache-2.11-cpan-5b529ec07f3 )