Implement statistics window in web UI

This commit is contained in:
FranciscoPombal 2017-03-06 03:05:18 +00:00
parent 76e1c3b10b
commit 1ce71fc63e
6 changed files with 124 additions and 0 deletions

View file

@ -212,6 +212,21 @@ initializeWindows = function() {
});
}
StatisticsLinkFN = function() {
new MochaUI.Window({
id: 'statisticspage',
title: 'QBT_TR(Statistics)QBT_TR',
loadMethod: 'xhr',
contentURL: 'statistics.html',
scrollbars: false,
resizable: false,
maximizable: false,
width: 275,
height: 370,
padding: 10
});
}
downloadLimitFN = function() {
var h = torrentsTable.selectedRowsIds();
if (h.length) {