mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- Web UI: Make use of MochaUI panels (they are resizable)
This commit is contained in:
parent
14e94c8971
commit
4edab29bfe
6 changed files with 55 additions and 83 deletions
|
@ -31,8 +31,43 @@ window.addEvent('domready', function(){
|
|||
'background': '#fff',
|
||||
'visibility': 'visible'
|
||||
});
|
||||
new MochaUI.Column({
|
||||
id: 'filtersColumn',
|
||||
placement: 'left',
|
||||
width: 120,
|
||||
resizeLimit: [100, 300]
|
||||
});
|
||||
new MochaUI.Column({
|
||||
id: 'mainColumn',
|
||||
placement: 'main',
|
||||
width: null,
|
||||
resizeLimit: [100, 300]
|
||||
});
|
||||
new MochaUI.Panel({
|
||||
id: 'Filters',
|
||||
title: 'Panel',
|
||||
loadMethod: 'xhr',
|
||||
contentURL: 'filters.html',
|
||||
column: 'filtersColumn',
|
||||
height: 300
|
||||
});
|
||||
new MochaUI.Panel({
|
||||
id: 'transferList',
|
||||
title: 'Panel',
|
||||
loadMethod: 'xhr',
|
||||
contentURL: 'transferlist.html',
|
||||
column: 'mainColumn',
|
||||
height: null
|
||||
});
|
||||
new MochaUI.Panel({
|
||||
id: 'properties',
|
||||
title: 'Panel',
|
||||
loadMethod: 'xhr',
|
||||
contentURL: 'properties.html',
|
||||
column: 'mainColumn',
|
||||
height: 200
|
||||
});
|
||||
initializeWindows();
|
||||
myTable.setup('myTable', 4);
|
||||
var r=0;
|
||||
var waiting=false;
|
||||
var stateToImg = function(state){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue