summaryrefslogtreecommitdiffstats
path: root/retro
AgeCommit message (Collapse)AuthorFilesLines
2013-04-17Various minor code cleanups and fixesDan McGee1-1/+0
Most of these were suggested by PyCharm, and include everything from little syntax issues and other bad smells to dead or bad code. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-03Run pngcrush and optipng over most static contentDan McGee3-0/+0
The programs have improved a bit and found some room for optimization, especially in the static logo content. Some files were reduced in size by 50% or more. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-21Switch to using the cached STATICFILES_STORAGE backendDan McGee2-4/+2
This should finally let us crank up the Expires: header to far-future values in production since updates to JS and CSS files will take effect immediately. Some minor removals were made from retro stylesheets as they were referencing files that don't actually exist because they were missing from the web archive. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-25Replace deprecated direct_to_template() with render() shortcutDan McGee1-2/+2
Now that Django actually provides a concise way to use a RequestContext object without instantiating it, we can use that rather than the old function-based generic view that worked well to do the same. Additionally, these function-based generic views will be gone in Django 1.5, so might as well make the move now. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Convert retro pages to use {% retro_static %} template tagDan McGee11-92/+90
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Add retro_static template tagDan McGee2-0/+13
Unfortunately {% static %} cannot interpret any context variables passed into it, so we need to customize things in order to use it here since our resources are sorted by year. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Add favicon retro resources and correctly link themDan McGee14-12/+12
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-23Remove actual link to PayPal from retro viewsDan McGee3-30/+3
The logo will still be there, but no need to have anyone click through to the actual donation box. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-19Add retro views from 2003 through 2011Dan McGee85-5/+6929
These follow the prior commit adding the framework and an initial 2002 retro view. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-19Add a retro site view and link it to a URLDan McGee8-0/+301
This is from our friends at web.archive.org, who's earliest capture of the Arch Linux website was on March 28, 2002. Seems like something nice to do around the 10th anniversary of the website being up and the distro being around, and not hotlinking their servers also seems like a good idea. Signed-off-by: Dan McGee <dan@archlinux.org>