mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Implement new icon/color theme
Co-authored-by: xavier2k6 <42386382+xavier2k6@users.noreply.github.com>
This commit is contained in:
parent
c47e29c7c8
commit
199d770e15
169 changed files with 279 additions and 791 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue