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

@ -417,7 +417,7 @@ window.addEvent('load', function() {
const create_link = function(hash, text, count) {
const html = '<a href="#" onclick="setCategoryFilter(' + hash + ');return false;">'
+ '<img src="icons/inode-directory.svg"/>'
+ '<img src="icons/view-categories.svg"/>'
+ window.qBittorrent.Misc.escapeHtml(text) + ' (' + count + ')' + '</a>';
const el = new Element('li', {
id: hash,
@ -474,7 +474,7 @@ window.addEvent('load', function() {
const createLink = function(hash, text, count) {
const html = '<a href="#" onclick="setTagFilter(' + hash + ');return false;">'
+ '<img src="icons/inode-directory.svg"/>'
+ '<img src="icons/tags.svg"/>'
+ window.qBittorrent.Misc.escapeHtml(text) + ' (' + count + ')' + '</a>';
const el = new Element('li', {
id: hash,
@ -528,7 +528,7 @@ window.addEvent('load', function() {
const createLink = function(hash, text, count) {
const html = '<a href="#" onclick="setTrackerFilter(' + hash + ');return false;">'
+ '<img src="icons/network-server.svg"/>'
+ '<img src="icons/trackers.svg"/>'
+ window.qBittorrent.Misc.escapeHtml(text.replace("%1", count)) + '</a>';
const el = new Element('li', {
id: hash,