Implement new icon/color theme

Co-authored-by: xavier2k6 <42386382+xavier2k6@users.noreply.github.com>
This commit is contained in:
Nowshed H. Imran 2021-11-21 21:59:38 +06:00
parent c47e29c7c8
commit 199d770e15
No known key found for this signature in database
GPG key ID: 82529DE1688AE562
169 changed files with 279 additions and 791 deletions

View file

@ -327,7 +327,7 @@ window.qBittorrent.DynamicTable = (function() {
});
const createLi = function(columnName, text) {
const html = '<a href="#' + columnName + '" ><img src="icons/checked.svg"/>' + window.qBittorrent.Misc.escapeHtml(text) + '</a>';
const html = '<a href="#' + columnName + '" ><img src="icons/checked-completed.svg"/>' + window.qBittorrent.Misc.escapeHtml(text) + '</a>';
return new Element('li', {
html: html
});
@ -947,10 +947,10 @@ window.qBittorrent.DynamicTable = (function() {
state = "uploading";
break;
case "pausedDL":
state = "paused";
state = "media-playback-pause";
break;
case "pausedUP":
state = "completed";
state = "checked-completed";
break;
case "queuedDL":
case "queuedUP":
@ -961,7 +961,7 @@ window.qBittorrent.DynamicTable = (function() {
case "queuedForChecking":
case "checkingResumeData":
case "moving":
state = "checking";
state = "force-recheck";
break;
case "unknown":
case "missingFiles":
@ -2180,7 +2180,7 @@ window.qBittorrent.DynamicTable = (function() {
img_path = 'icons/application-rss+xml.svg';
break;
case 'hasError':
img_path = 'icons/unavailable.svg';
img_path = 'icons/task-reject.svg';
break;
case 'isLoading':
img_path = 'images/spinner.gif';