mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
WebUI: check headings to have textual content
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
"html-validate:recommended"
|
||||
],
|
||||
"rules": {
|
||||
"empty-heading": "off",
|
||||
"long-title": "off",
|
||||
"no-conditional-comment": "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]" />
|
||||
<div>
|
||||
<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>
|
||||
<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>
|
||||
@@ -855,7 +855,7 @@
|
||||
const qbtVersion = window.parent.qBittorrent.Cache.qbtVersion.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;
|
||||
$("libtorrentVersion").textContent = buildInfo.libtorrent;
|
||||
$("boostVersion").textContent = buildInfo.boost;
|
||||
|
||||
Reference in New Issue
Block a user