Commit graph

16 commits

Author SHA1 Message Date
Yorhel
3db1283a16 Change to more minimalistic website design + few HTML modernizations
I didn't touch the actual man page pages yet, but they seem to have
mostly survived my CSS changes. There's a LOT of general UI improvements
to be done, while this commit is really just a different style of paint.
2021-12-12 17:29:26 +01:00
Yorhel
98e4f014ba Rewrite Perl web backend to modern TUWF style
Lots of churn for no real benefit. \o/
2021-06-09 13:43:42 +02:00
Yorhel
09af881767 Add TOC listing + more section/lang select back into a nav menu 2016-11-09 18:43:10 +01:00
Yorhel
4affcec7c3 Homepage: Add "less" button after clicking on "more" 2016-10-15 16:55:23 +02:00
Yorhel
20daba820f Complete revamp of navigation menu on man pages
This removes the navigation menu on the right, leaving more space for
the actual contents. Instead, there are now a few links/tabs at the top
of the page. There's also a 'permalink' now.

The previous navigation combined the selection of man page versions,
translations and sections in a single menu. While handy in some cases,
in most cases it was just slow and messy. It also didn't scale very
well, some man pages have so many versions that it significantly
affected the page load time.

The 'locations' table has now also been moved into tab and is loaded
asynchronously as well, for the same performance reasons.

I had hoped that this new navigation would be much easier and more
convenient, but honestly, it's still a mess. At least the new code is
more maintainable, so perhaps I'll be able to make some incremental
improvements in the future.
2016-10-15 16:06:18 +02:00
Yorhel
7e17853326 Remove HTML-formatted man pages 2016-10-03 20:04:23 +02:00
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