diff --git a/src/Jackett.Common/Content/custom.css b/src/Jackett.Common/Content/custom.css index 8c97a6dc6..6a459feda 100644 --- a/src/Jackett.Common/Content/custom.css +++ b/src/Jackett.Common/Content/custom.css @@ -270,6 +270,11 @@ table td.fit{ text-align: right; margin-right: 1em; } -input#searchquery{ + +input#searchquery { width:400px; } + +#proxy-warning { + color: red; +} diff --git a/src/Jackett.Common/Content/custom.js b/src/Jackett.Common/Content/custom.js index de1cf7f51..295b960d2 100644 --- a/src/Jackett.Common/Content/custom.js +++ b/src/Jackett.Common/Content/custom.js @@ -99,6 +99,7 @@ function loadJackettSettings() { doNotify(value, "danger", "glyphicon glyphicon-alert", false); }) + proxyWarning(data.proxy_url); reloadIndexers(); }); } @@ -1221,4 +1222,15 @@ function bindUIButtons() { doNotify("Request to Jackett server failed", "danger", "glyphicon glyphicon-alert"); }); }); + + $('#jackett-proxy-url').on('input', function () { + proxyWarning($(this).val()); + }); +} + +function proxyWarning(input) { + if (input.trim() != "") + $('#proxy-warning').show(); + else + $('#proxy-warning').hide(); } diff --git a/src/Jackett.Common/Content/custom_mobile.css b/src/Jackett.Common/Content/custom_mobile.css index 21bd214aa..43f89518b 100644 --- a/src/Jackett.Common/Content/custom_mobile.css +++ b/src/Jackett.Common/Content/custom_mobile.css @@ -281,6 +281,10 @@ div#jackett-releases-datatable_wrapper { width: 100%; overflow-x: scroll; } -input#searchquery{ +input#searchquery { width:50%; } + +#proxy-warning { + color: red; +} diff --git a/src/Jackett.Common/Content/index.html b/src/Jackett.Common/Content/index.html index e607f36ef..0c6286610 100644 --- a/src/Jackett.Common/Content/index.html +++ b/src/Jackett.Common/Content/index.html @@ -34,8 +34,8 @@ - - + + @@ -87,8 +87,10 @@