diff options
author | Dan McGee <dan@archlinux.org> | 2010-10-20 17:39:42 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-20 17:39:42 -0500 |
commit | 29218aa752dad072278fbb59ad166697f5dc719c (patch) | |
tree | 9803ecbd5269e7c37809e293430c819240d8fa60 | |
parent | fe3858eee160a200e70d6e4b558c70ce8d520bf8 (diff) |
Package differences small updates
* Add 'multilib-testing' to the CSS class list to hide for [multilib]
* Select 'Only In Both' by default, which is probably the most useful option
* Unselect 'Minor Version Mismatches' by default
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | media/archweb.js | 2 | ||||
-rw-r--r-- | templates/packages/differences.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/media/archweb.js b/media/archweb.js index ea287ab0..5e315f35 100644 --- a/media/archweb.js +++ b/media/archweb.js @@ -79,7 +79,7 @@ filter_packages = function() { // start with all rows, and then remove ones we shouldn't show var rows = $(".results tbody tr"); if(!$('#id_multilib').is(':checked')) { - rows = rows.not(".multilib"); + rows = rows.not(".multilib").not(".multilib-testing"); } var arch = $("#id_archonly").val(); if(arch !== "all") { diff --git a/templates/packages/differences.html b/templates/packages/differences.html index 49f23b74..a5db39a6 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -13,7 +13,7 @@ <div><label for="id_archonly" title="Limit packages to selected architecture">Architecture Limitation</label> <select name="archonly" id="id_archonly"> <option value="all">Show All</option> - <option value="both">Only In Both</option> + <option value="both" selected="selected">Only In Both</option> <option value="{{ arch_a.name }}">In {{ arch_a.name }} Only</option> <option value="{{ arch_b.name }}">In {{ arch_b.name }} Only</option> </select> @@ -21,7 +21,7 @@ <div><label for="id_multilib" title="Show multilib packages"><tt>[multilib]</tt> Visible</label> <input type="checkbox" name="multilib" id="id_multilib" value="multilib"/></div> <div><label for="id_minor" title="Show minor version mismatches">Minor Version Mismatches</label> - <input type="checkbox" checked="checked" name="minor" id="id_minor" value="minor"/></div> + <input type="checkbox" name="minor" id="id_minor" value="minor"/></div> <div ><label> </label><input title="Reset search criteria" type="button" id="criteria_reset" value="Reset"/></div> </fieldset> </form> |