diff --git a/src/Jackett.Common/Content/custom.css b/src/Jackett.Common/Content/custom.css index 5692e2a99..246be5a50 100644 --- a/src/Jackett.Common/Content/custom.css +++ b/src/Jackett.Common/Content/custom.css @@ -55,6 +55,10 @@ body { max-width: 255px; } +.setup-item-password { + max-width: 255px; +} + .setup-item-inputcheckbox label { padding: 0 1.5em; } diff --git a/src/Jackett.Common/Content/custom.js b/src/Jackett.Common/Content/custom.js index 2234d802b..6c13fa383 100644 --- a/src/Jackett.Common/Content/custom.js +++ b/src/Jackett.Common/Content/custom.js @@ -573,6 +573,9 @@ function getConfigModalJson(configForm) { case "inputstring": itemEntry.value = $el.find(".setup-item-inputstring input").val(); break; + case "password": + itemEntry.value = $el.find(".setup-item-password input").val(); + break; case "inputbool": itemEntry.value = $el.find(".setup-item-inputbool input").is(":checked"); break; diff --git a/src/Jackett.Common/Content/custom_mobile.css b/src/Jackett.Common/Content/custom_mobile.css index 3c9fe822a..578880907 100644 --- a/src/Jackett.Common/Content/custom_mobile.css +++ b/src/Jackett.Common/Content/custom_mobile.css @@ -55,6 +55,10 @@ body { max-width: 255px; } +.setup-item-password { + max-width: 255px; +} + .setup-item-inputbool input { max-width: 100px; height: 20px; diff --git a/src/Jackett.Common/Content/index.html b/src/Jackett.Common/Content/index.html index eaefcfb71..24213707b 100644 --- a/src/Jackett.Common/Content/index.html +++ b/src/Jackett.Common/Content/index.html @@ -235,6 +235,11 @@ {{/if}} +