Browse Source

Merge pull request #12893 from Chocobo1/icon

Move qbittorrent32.png to WebUI images folder
adaptive-webui-19844
Mike Tzou 5 years ago committed by GitHub
parent
commit
1c1c82ce4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/icons/.svgo.yml
  2. 13
      src/icons/README.md
  3. 1
      src/icons/icons.qrc
  4. 2
      src/webui/www/private/index.html
  5. 0
      src/webui/www/public/images/qbittorrent32.png
  6. 2
      src/webui/www/public/index.html
  7. 1
      src/webui/www/webui.qrc

8
src/icons/.svgo.yml

@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
# config file for [SVGO](https://github.com/svg/svgo)
# SVGO: Node.js tool for optimizing SVG files
# svgo --config=<this file> <svg file>
multipass: true
js2svg:
pretty: true
indent: ' '

13
src/icons/README.md

@ -1,7 +1,12 @@ @@ -1,7 +1,12 @@
qBittorrent Theme Icons
------------------------------------------
Initial `qbt-theme` icons created by Bert Verhelst (<verhelstbert@gmail.com>).
# qBittorrent Icons
Icons are based on the `Font-Awesome` icon-set: [link](http://fontawesome.io/icons/).
Initial `qbt-theme` icons created by Bert Verhelst (<verhelstbert@gmail.com>).
Icons are based on the `Font-Awesome` icon-set: [link](http://fontawesome.io/icons/).
If you need to add an icon that qBittorrent does not already use, you can take an icon from the SVG fork of `Font-Awesome`: [link](https://github.com/encharm/Font-Awesome-SVG-PNG).
## Optimizing SVG
Use [svgcleaner](https://github.com/RazrFalcon/svgcleaner)

1
src/icons/icons.qrc

@ -329,7 +329,6 @@ @@ -329,7 +329,6 @@
<file>qbittorrent-tray-with-font.svg</file>
<file>qbittorrent-tray.svg</file>
<file>qbittorrent.ico</file>
<file>qbittorrent32.png</file>
<file>qbittorrent_file.ico</file>
<file>queued.svg</file>
<file>ratio.svg</file>

2
src/webui/www/private/index.html

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=10" />
<title>qBittorrent Web UI</title>
<link rel="icon" type="image/png" href="icons/qbittorrent32.png" />
<link rel="icon" type="image/png" href="images/qbittorrent32.png" />
<link rel="icon" type="image/svg+xml" href="icons/qbittorrent-tray.svg" />
<link rel="stylesheet" type="text/css" href="css/dynamicTable.css?v=${CACHEID}" />
<link rel="stylesheet" type="text/css" href="css/style.css?v=${CACHEID}" />

0
src/icons/qbittorrent32.png → src/webui/www/public/images/qbittorrent32.png

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

2
src/webui/www/public/index.html

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8" />
<title>qBittorrent QBT_TR(Web UI)QBT_TR[CONTEXT=OptionsDialog]</title>
<link rel="icon" type="image/png" href="icons/qbittorrent32.png" />
<link rel="icon" type="image/png" href="images/qbittorrent32.png" />
<link rel="icon" type="image/svg+xml" href="icons/qbittorrent-tray.svg" />
<link rel="stylesheet" type="text/css" href="css/login.css?v=${CACHEID}" />
<noscript>

1
src/webui/www/webui.qrc

@ -74,6 +74,7 @@ @@ -74,6 +74,7 @@
<file>private/views/transferlist.html</file>
<file>public/css/login.css</file>
<file>public/css/noscript.css</file>
<file>public/images/qbittorrent32.png</file>
<file>public/index.html</file>
<file>public/scripts/login.js</file>
</qresource>

Loading…
Cancel
Save