Commit graph

10 commits

Author SHA1 Message Date
Yorhel
03d278e4ff Normalize package info tables + change browsing URLs
This splits the 'package' table into 'packages' and 'package_versions',
which should improve performance in some cases and simplify some future
queries.

Previously it wasn't very well defined whether packages were uniquely
identified by (system, name) or by (system, category, name). This is now
normalized to the latter form. This required changes to the package URLs
to include the category.
2016-10-02 20:07:57 +02:00
Yorhel
2ed30b214c js: Drop trailing a's from the nav view code
They hold no real information.
2012-08-15 09:45:55 +02:00
Yorhel
bf84ea2d73 Remember display of nav bar when selecting different man versions
This improves usability *a lot*. Too bad the code's quite ugly...
2012-07-18 19:48:04 +02:00
Yorhel
4fd6da6e4e Various styling improvements 2012-07-18 11:01:17 +02:00
Yorhel
4d699d8d47 Added quick-and-dirty javascript dropdown search thing 2012-07-17 20:18:19 +02:00
Yorhel
9da5d16480 Some changes to the navigation thing
Hopefully this is an improvement...
2012-07-11 15:27:25 +02:00
Yorhel
4f6ae4c539 Fix 'more...' links on the homepage 2012-07-05 11:59:42 +02:00
Yorhel
531882296f Added and indexed early Debian versions 2012-07-04 12:34:08 +02:00
Yorhel
311b4ee327 Wrote a more dynamic navigation bar
Not finished yet, though.
2012-07-04 09:10:03 +02:00
Yorhel
43eca4c20e Generate nav bar in JS + various optimizations
This allows for a more dynamic nav bar without inserting insanely huge
HTML code in the page (as the previous version did in some cases) and
without having to contact the server again.

The 'intro' man page has around 1500 versions, and only generates a page
of ~52KiB (~9.5KiB after compression). The previous HTML version was
106KiB (~10.3KiB after compression). Page generation times have been
improved on the server side (by 50ms for the intro man page), but I've
no idea how significant the effect is of JS is. Feels fast enough,
though.
2012-07-02 16:45:51 +02:00