mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
WebUI: check headings to have textual content
This commit is contained in:
parent
7119de9b8d
commit
adde3c3f65
2 changed files with 2 additions and 3 deletions
|
@ -3,7 +3,6 @@
|
||||||
"html-validate:recommended"
|
"html-validate:recommended"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"empty-heading": "off",
|
|
||||||
"long-title": "off",
|
"long-title": "off",
|
||||||
"no-conditional-comment": "off",
|
"no-conditional-comment": "off",
|
||||||
"no-inline-style": "off",
|
"no-inline-style": "off",
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<img src="images/mascot.png" style="float: left;" alt="QBT_TR(qBittorrent Mascot)QBT_TR[CONTEXT=AboutDialog]" />
|
<img src="images/mascot.png" style="float: left;" alt="QBT_TR(qBittorrent Mascot)QBT_TR[CONTEXT=AboutDialog]" />
|
||||||
<div>
|
<div>
|
||||||
<img src="images/qbittorrent-tray.svg" style="float: left; height: 1.5em;" alt="QBT_TR(qBittorrent icon)QBT_TR[CONTEXT=AboutDialog]" />
|
<img src="images/qbittorrent-tray.svg" style="float: left; height: 1.5em;" alt="QBT_TR(qBittorrent icon)QBT_TR[CONTEXT=AboutDialog]" />
|
||||||
<h3 id="qbittorrentVersion"></h3>
|
<h3 id="qbittorrentVersion">qBittorrent</h3>
|
||||||
</div>
|
</div>
|
||||||
<p>QBT_TR(An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar.)QBT_TR[CONTEXT=AboutDialog]</p>
|
<p>QBT_TR(An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar.)QBT_TR[CONTEXT=AboutDialog]</p>
|
||||||
<p>Copyright © 2006-2024 The qBittorrent project</p>
|
<p>Copyright © 2006-2024 The qBittorrent project</p>
|
||||||
|
@ -855,7 +855,7 @@
|
||||||
const qbtVersion = window.parent.qBittorrent.Cache.qbtVersion.get();
|
const qbtVersion = window.parent.qBittorrent.Cache.qbtVersion.get();
|
||||||
const buildInfo = window.parent.qBittorrent.Cache.buildInfo.get();
|
const buildInfo = window.parent.qBittorrent.Cache.buildInfo.get();
|
||||||
|
|
||||||
$("qbittorrentVersion").innerText = `qBittorrent ${qbtVersion} QBT_TR(WebUI)QBT_TR[CONTEXT=OptionsDialog]`;
|
$("qbittorrentVersion").textContent = `qBittorrent ${qbtVersion} QBT_TR(WebUI)QBT_TR[CONTEXT=OptionsDialog]`;
|
||||||
$("qtVersion").textContent = buildInfo.qt;
|
$("qtVersion").textContent = buildInfo.qt;
|
||||||
$("libtorrentVersion").textContent = buildInfo.libtorrent;
|
$("libtorrentVersion").textContent = buildInfo.libtorrent;
|
||||||
$("boostVersion").textContent = buildInfo.boost;
|
$("boostVersion").textContent = buildInfo.boost;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue