Commit Graph

10 Commits

Author SHA1 Message Date
Dan McGee
29218aa752 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>
2010-10-20 17:39:42 -05:00
Dan McGee
3682fb285b Move most inline JS into script file
We're getting to the point where we are starting to have a good chunk of JS
scattered about. Centralize a lot of it for maintenance and performance
purposes.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-30 13:15:20 -05:00
Dan McGee
7409e1155f Fix package differences pkgrel comparison
Using the right index in the array might help; we were comparing pkgver
again and not pkgrel at all.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-20 10:33:20 -05:00
Dan McGee
1e4a9e159c Hide multilib by default
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-09 06:30:19 -05:00
Dan McGee
5062870c1b Remove leftover console.log
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08 09:57:22 -05:00
Dan McGee
9df541f95f Implement package difference filtering
This is done as client-side JS which makes the page nice and fast. Minor
versions can be excluded, as can packages in [multilib]. In addition,
architecture filtering is in place so you can limit the subset of shown
packages to those in any, both, one or the other.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08 00:09:13 -05:00
Dan McGee
21c9ba2e63 Use flagged style on versions in package differences
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-07 16:21:13 -05:00
Dan McGee
181573a74a Restore odd/even markup after JS sort
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 09:33:16 -05:00
Dan McGee
e247e0dd8c Add table sorting to a handful of pages
Anything that it makes sense to add it to gets the treatment here. Anything
with pagination can wait as that will be tougher. We also need to deal with
odd/even formatting.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 09:20:14 -05:00
Dan McGee
ae5483c230 Package Differences by Architecture view
Implements FS#20416. Port over the architecture differences view from
archlinux.de and reimplement in Django with our DB schema. Also use a far
simpler SQL query to do the dirty work rather than the triple UNION
operation. This is accomplished by doing a bit more of the fetching work in
code once we know what packages are actually involved.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25 13:45:04 -05:00