WebUI: Support managing web seeds

Closes #8475.
PR #21055.
This commit is contained in:
Thomas Piccirello 2024-09-28 00:37:36 -07:00 committed by GitHub
parent a23f45cc70
commit 81def39d8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 304 additions and 87 deletions

View file

@ -50,7 +50,8 @@ window.qBittorrent.DynamicTable ??= (() => {
RssArticleTable: RssArticleTable,
RssDownloaderRulesTable: RssDownloaderRulesTable,
RssDownloaderFeedSelectionTable: RssDownloaderFeedSelectionTable,
RssDownloaderArticlesTable: RssDownloaderArticlesTable
RssDownloaderArticlesTable: RssDownloaderArticlesTable,
TorrentWebseedsTable: TorrentWebseedsTable
};
};
@ -3251,6 +3252,14 @@ window.qBittorrent.DynamicTable ??= (() => {
}
});
const TorrentWebseedsTable = new Class({
Extends: DynamicTable,
initColumns: function() {
this.newColumn("url", "", "QBT_TR(URL)QBT_TR[CONTEXT=HttpServer]", 500, true);
},
});
return exports();
})();
Object.freeze(window.qBittorrent.DynamicTable);