diff --git a/src/webui/webapplication.h b/src/webui/webapplication.h
index 6ceb28593..aca56b641 100644
--- a/src/webui/webapplication.h
+++ b/src/webui/webapplication.h
@@ -187,8 +187,10 @@ private:
{{u"torrents"_s, u"editCategory"_s}, Http::METHOD_POST},
{{u"torrents"_s, u"editTracker"_s}, Http::METHOD_POST},
{{u"torrents"_s, u"editWebSeed"_s}, Http::METHOD_POST},
+ {{u"torrents"_s, u"fetchMetadata"_s}, Http::METHOD_POST},
{{u"torrents"_s, u"filePrio"_s}, Http::METHOD_POST},
{{u"torrents"_s, u"increasePrio"_s}, Http::METHOD_POST},
+ {{u"torrents"_s, u"parseMetadata"_s}, Http::METHOD_POST},
{{u"torrents"_s, u"reannounce"_s}, Http::METHOD_POST},
{{u"torrents"_s, u"recheck"_s}, Http::METHOD_POST},
{{u"torrents"_s, u"removeCategories"_s}, Http::METHOD_POST},
diff --git a/src/webui/www/private/addtorrent.html b/src/webui/www/private/addtorrent.html
new file mode 100644
index 000000000..23df8c8fa
--- /dev/null
+++ b/src/webui/www/private/addtorrent.html
@@ -0,0 +1,395 @@
+
+
+
+
+
+ QBT_TR(Add torrent)QBT_TR[CONTEXT=AddNewTorrentDialog]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/webui/www/private/css/Layout.css b/src/webui/www/private/css/Layout.css
index fb940cbf1..457a33e0e 100644
--- a/src/webui/www/private/css/Layout.css
+++ b/src/webui/www/private/css/Layout.css
@@ -155,7 +155,8 @@ Required by:
width: 5px;
}
-#desktopNavbar li ul li a {
+#desktopNavbar li ul li a,
+#desktopNavbar li ul li div.anchor {
color: var(--color-text-default);
font-weight: normal;
min-width: 155px;
@@ -163,7 +164,8 @@ Required by:
position: relative;
}
-#desktopNavbar li ul li a:hover {
+#desktopNavbar li ul li a:hover,
+#desktopNavbar li ul li div.anchor:hover {
background-color: var(--color-background-hover);
color: var(--color-text-white);
}
diff --git a/src/webui/www/private/css/Window.css b/src/webui/www/private/css/Window.css
index 9aeaf365f..99128aecd 100644
--- a/src/webui/www/private/css/Window.css
+++ b/src/webui/www/private/css/Window.css
@@ -184,6 +184,16 @@ div.mochaToolbarWrapper.bottom {
width: 16px;
}
+.mochaErrorIcon {
+ background: url("../images/error.svg") no-repeat;
+ background-size: 16px;
+ bottom: 7px;
+ height: 16px;
+ left: 6px;
+ position: absolute;
+ width: 16px;
+}
+
.mochaIframe {
width: 100%;
}
diff --git a/src/webui/www/private/css/style.css b/src/webui/www/private/css/style.css
index 3540cae2d..0a940f8f4 100644
--- a/src/webui/www/private/css/style.css
+++ b/src/webui/www/private/css/style.css
@@ -672,6 +672,17 @@ td.generalLabel {
width: 1px;
}
+td.fullWidth {
+ box-sizing: border-box;
+ max-width: none;
+ width: 100%;
+ word-break: break-all;
+}
+
+td.noWrap {
+ white-space: nowrap;
+}
+
#tristate_cb {
margin-bottom: 0;
margin-top: 0;
@@ -835,7 +846,8 @@ td.statusBarSeparator {
color: var(--color-text-green);
}
-#torrentFilesTableDiv .dynamicTable tr.nonAlt:hover {
+#torrentFilesTableDiv .dynamicTable tr.nonAlt:hover,
+#addTorrentFilesTableDiv .dynamicTable tr.nonAlt:hover {
background-color: var(--color-background-hover);
color: var(--color-text-white);
}
diff --git a/src/webui/www/private/download.html b/src/webui/www/private/download.html
index 53921e64d..a69965df3 100644
--- a/src/webui/www/private/download.html
+++ b/src/webui/www/private/download.html
@@ -3,17 +3,17 @@
- QBT_TR(Add Torrent Links)QBT_TR[CONTEXT=downloadFromURL]
+ QBT_TR(Add Torrent Links)QBT_TR[CONTEXT=DownloadFromURLDialog]
-
-
-