mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Move all icon resources to icon folder root
This commit is contained in:
parent
841536c9c5
commit
ab91d546e5
166 changed files with 353 additions and 396 deletions
|
@ -386,7 +386,7 @@ window.addEvent('load', function() {
|
|||
|
||||
const create_link = function(hash, text, count) {
|
||||
const html = '<a href="#" onclick="setCategoryFilter(' + hash + ');return false;">'
|
||||
+ '<img src="images/qbt-theme/inode-directory.svg"/>'
|
||||
+ '<img src="images/inode-directory.svg"/>'
|
||||
+ window.qBittorrent.Misc.escapeHtml(text) + ' (' + count + ')' + '</a>';
|
||||
const el = new Element('li', {
|
||||
id: hash,
|
||||
|
@ -443,7 +443,7 @@ window.addEvent('load', function() {
|
|||
|
||||
const createLink = function(hash, text, count) {
|
||||
const html = '<a href="#" onclick="setTagFilter(' + hash + ');return false;">'
|
||||
+ '<img src="images/qbt-theme/inode-directory.svg"/>'
|
||||
+ '<img src="images/inode-directory.svg"/>'
|
||||
+ window.qBittorrent.Misc.escapeHtml(text) + ' (' + count + ')' + '</a>';
|
||||
const el = new Element('li', {
|
||||
id: hash,
|
||||
|
@ -497,7 +497,7 @@ window.addEvent('load', function() {
|
|||
|
||||
const createLink = function(hash, text, count) {
|
||||
const html = '<a href="#" onclick="setTrackerFilter(' + hash + ');return false;">'
|
||||
+ '<img src="images/qbt-theme/network-server.svg"/>'
|
||||
+ '<img src="images/network-server.svg"/>'
|
||||
+ window.qBittorrent.Misc.escapeHtml(text.replace("%1", count)) + '</a>';
|
||||
const el = new Element('li', {
|
||||
id: hash,
|
||||
|
@ -737,17 +737,17 @@ window.addEvent('load', function() {
|
|||
|
||||
switch (serverState.connection_status) {
|
||||
case 'connected': {
|
||||
$('connectionStatus').src = 'images/skin/connected.svg';
|
||||
$('connectionStatus').src = 'images/connected.svg';
|
||||
$('connectionStatus').alt = 'QBT_TR(Connection status: Connected)QBT_TR[CONTEXT=MainWindow]';
|
||||
}
|
||||
break;
|
||||
case 'firewalled': {
|
||||
$('connectionStatus').src = 'images/skin/firewalled.svg';
|
||||
$('connectionStatus').src = 'images/firewalled.svg';
|
||||
$('connectionStatus').alt = 'QBT_TR(Connection status: Firewalled)QBT_TR[CONTEXT=MainWindow]';
|
||||
}
|
||||
break;
|
||||
default: {
|
||||
$('connectionStatus').src = 'images/skin/disconnected.svg';
|
||||
$('connectionStatus').src = 'images/disconnected.svg';
|
||||
$('connectionStatus').alt = 'QBT_TR(Connection status: Disconnected)QBT_TR[CONTEXT=MainWindow]';
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue