mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -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"
|
||||
],
|
||||
"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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue