diff --git a/data/interfaces/default/config.html b/data/interfaces/default/config.html index 6f709ebc..75219f33 100644 --- a/data/interfaces/default/config.html +++ b/data/interfaces/default/config.html @@ -316,16 +316,18 @@ m<%inherit file="base.html"/>
Quality
- + - -
-
- - -
+ Preferred Bitrate: kbps
+
+ Reject if less than % or more than % of the target size (leave blank for no limit)

+
+ + +
+
+
@@ -848,6 +850,25 @@ m<%inherit file="base.html"/> { $("#nmaoptions").slideUp(); } + }); + if ($("#preferred_bitrate").is(":checked")) + { + $("#preferred_bitrate_options").show(); + } + else + { + $("#preferred_bitrate_options").hide(); + } + + $('input[type=radio]').change(function(){ + if ($("#preferred_bitrate").is(":checked")) + { + $("#preferred_bitrate_options").slideDown("fast"); + } + else + { + $("#preferred_bitrate_options").slideUp("fast"); + } }); $("#mirror").change(handleNewSelection); diff --git a/data/interfaces/default/css/style.css b/data/interfaces/default/css/style.css index 771d4db3..e171b4db 100644 --- a/data/interfaces/default/css/style.css +++ b/data/interfaces/default/css/style.css @@ -376,6 +376,10 @@ form .radio label { padding-top: 1px; width: auto; } +.override-float { + float: none !important; + margin-bottom: 0px !important; +} form .radio input { float: left; margin-bottom: 10px;