Browse Source

- Fix torrent status icon vertical alignment in Web UI

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
ecf48b3a7b
  1. 4
      src/webui/css/dynamicTable.css
  2. 2
      src/webui/scripts/dynamicTable.js

4
src/webui/css/dynamicTable.css

@ -56,3 +56,7 @@
color: #fff; color: #fff;
cursor: pointer; cursor: pointer;
} }
#transferList img.statusIcon {
margin-bottom: -4px;
}

2
src/webui/scripts/dynamicTable.js

@ -231,7 +231,7 @@ var dynamicTable = new Class ({
td.adopt(new ProgressBar(row[i].toFloat(), {'id': 'pb_'+id, 'width':80})); td.adopt(new ProgressBar(row[i].toFloat(), {'id': 'pb_'+id, 'width':80}));
} else { } else {
if(i==0) { if(i==0) {
td.adopt(new Element('img', {'src':row[i]})); td.adopt(new Element('img', {'src':row[i], 'class': 'statusIcon'}));
} else { } else {
td.set('html', row[i]); td.set('html', row[i]);
} }

Loading…
Cancel
Save