From 04c8c4e8461db0f77503a6d4f78a4f6a099f3f62 Mon Sep 17 00:00:00 2001 From: Sepro Date: Thu, 11 Jun 2020 15:37:15 +0200 Subject: [PATCH] Add newRule and removeRule buttons to RSS downloader WebUI New buttons for the basic actions instead of only relying on the context menu. --- .../www/private/views/rssDownloader.html | 64 +++++++++++++++++-- 1 file changed, 57 insertions(+), 7 deletions(-) diff --git a/src/webui/www/private/views/rssDownloader.html b/src/webui/www/private/views/rssDownloader.html index 4e42c4578..cb605a5c5 100644 --- a/src/webui/www/private/views/rssDownloader.html +++ b/src/webui/www/private/views/rssDownloader.html @@ -83,6 +83,46 @@ #ruleSettings { padding: 4px 10px 4px 10px } + + #topMenuBar { + height: 26px; + } + + #rulesTableDesc { + vertical-align: middle; + } + + .imageButton { + height: 22px; + width: 24px; + margin: 1px 2px 1px 2px; + border: 1px solid; + border-radius: 2px; + background-color: #efefef; + border-color: #767676; + background-position: center center; + vertical-align: middle; + } + + .imageButton:hover { + background-color: #e5e5e5; + border-color: #4f4f4f; + } + + .imageButton:active { + background-color: #f5f5f5; + border-color: #8d8d8d; + } + + #newRuleButton { + float: right; + background-image: url('icons/document-new.svg'); + } + + #deleteRuleButton { + float: right; + background-image: url('icons/list-remove.svg'); + }
@@ -90,7 +130,11 @@ QBT_TR(Auto downloading of RSS torrents is disabled now! You can enable it in application settings.)QBT_TR[CONTEXT=AutomatedRssDownloader]
- QBT_TR(Download Rules)QBT_TR[CONTEXT=AutomatedRssDownloader] +
+ QBT_TR(Download Rules)QBT_TR[CONTEXT=AutomatedRssDownloader] + + +