Commit Graph

17 Commits

Author SHA1 Message Date
Dan McGee
943ef2e8e4 Convert to and enable staticfiles contrib application
This moves our site static files into the sitestatic directory if they
are shared resources, and also moves a handful of things (such as the
artwork logos) into application-specific static/ directories. This
allows the staticfiles contrib app to work after a few settings tweaks,
a run of collectstatic, and massaging the hardcoded '/media/' prefix out
of our templates.

Django 1.4 is going to make this a lot easier to move things to a CDN
and provides better template tags; for now this is setting the stage
before we can move to that.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-05 23:06:10 -06:00
Dan McGee
9fd7174029 Use date template filter on datetime field display
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-15 00:00:12 -05:00
Dan McGee
e82a4d5b9c Todo list styling and info cleanups
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-07 21:23:42 -06:00
Dan McGee
eaa76ae758 Improve todo list view page
Add total package count and incomplete package count columns. Also reduce
the number of total queries by killing the query per row that was happening
before.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-09 13:36:41 -05:00
Dan McGee
538f57c744 Make public todolist view more useful
Show all the details the developer page does, make the lists always visible,
and add JS table sorting to each table on the page. This commit also adds
table sorting to the developer list view as well.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 10:04:00 -05:00
Dan McGee
ff427f6d9b Mark todolist description as being safe to contain HTML
Hopefully we can trust our developers on this one. :)

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27 09:50:55 -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
Dusty Phillips
8ce58ee97a Remove an extra trailing slash that is causing a broken url on todolists.
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25 15:49:06 -05:00
Dan McGee
cb9c74eff8 Add absolute URL method for todo lists
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-05 22:20:28 -05:00
Thayer Williams
c1711f002a Redesigned todo list pages
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 15:55:38 -05:00
Dan McGee
8777ccf001 Fix up HTML titles on a lot of pages
We didn't include them on many pages, or the ones we did weren't always
useful. Also try to keep the boilerplate to a minimum so you can see the
important bits in the title. 'Arch Linux - ' comes first in all titles, and
from there it can be filled in with something useful.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-01 21:43:52 -06:00
Dusty Phillips
7437235460 use funky model layout for permissions 2008-06-27 22:18:51 -04:00
Dusty Phillips
28464f50f4 improve indentation 2008-06-27 21:06:41 -04:00
eliott
1bac739c5c Implemented todolist javascript sorting 2008-04-05 13:26:48 -07:00
eliott
4fc36de2ae Added alternating row coloration to make it easier to relate left to right
side items.
2007-12-30 17:44:27 -05:00
eliott
39a548fd26 Initial import for public release...
Special Note
  Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!
2007-11-03 03:45:10 -04:00