Replace png icons with svg

This commit is contained in:
Chocobo1 2018-07-23 12:28:14 +08:00
parent 866408151c
commit 71dcc76a64
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
206 changed files with 238 additions and 218 deletions

View file

@ -292,7 +292,7 @@ var DynamicTable = new Class({
});
var createLi = function(columnName, text) {
var html = '<a href="#' + columnName + '" ><img src="theme/checked"/>' + escapeHtml(text) + '</a>';
var html = '<a href="#' + columnName + '" ><img src="images/qbt-theme/checked.svg"/>' + escapeHtml(text) + '</a>';
return new Element('li', {
html: html
});
@ -834,7 +834,7 @@ var TorrentsTable = new Class({
break; // do nothing
}
var img_path = 'images/skin/' + state + '.png';
var img_path = 'images/skin/' + state + '.svg';
if (td.getChildren('img').length) {
var img = td.getChildren('img')[0];