Commit Graph

237 Commits

Author SHA1 Message Date
Dan McGee
b6efa3443e Fix template syntax error
Whoops, forgot the closing tag when I was playing with autoescape.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-20 21:52:50 -05:00
Dan McGee
0a3b943416 Move scripts to bottom of package search
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-20 21:26:38 -05:00
Dan McGee
4aea408397 Fix missing calendar icon
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-20 18:55:47 -05:00
Dan McGee
0251885a8d Fix autoescape in plain text emails
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-16 22:40:43 -05:00
Dan McGee
b3059dd3e8 Remove action when submitting to same URL
It looks like the `action="."` business was screwing up some browsers,
notably lynx and links. We don't need it as the default is to submit to the
same page anyway, so kill this gunk and see if it fixes a login CSRF issue.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-11 17:29:46 -05:00
Dan McGee
408288719e Enhance base package listing in package details
Add two methods to the package class, base_package() and split_packages(),
that allow us to grab other related packages to one we are interested in.
This allows us to list the Base Package on the package details page as a
link.

With the split_packages() method, we can also now list and link all
sub-packages on the package details page; e.g. for 'kernel26' we can now
link through to 'kernel26-firmware' and 'kernel26-headers'.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-09 16:16:45 -05:00
Dan McGee
bad2825fab Updates for CSRF protection in Django 1.2.X
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-05 12:58:31 -05:00
Dan McGee
7646f8ea7c Fix some validation issues
We had a few issues with unescaped ampersands and extra or missing tags.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-02 10:58:57 -05:00
Dan McGee
32f6f7a4da Rename todolist email template
More in line with our other templates that have .txt extensions.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-02 10:44:02 -05:00
Dan McGee
f4fd8ceea1 Fix flagged styling in package search results
We had 'style=' instead of 'class=' here, making the highlight disappear.
Fix it and things will work again. Fixes FS#19652.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-31 15:24:17 -05:00
Dan McGee
debec14b73 Add ability to download package from web interface
After adding filename to the database, this is a rather simple request (see
FS#19546). Right now the "randomly" chosen mirror happens to always be
mirrors.kernel.org as it is the only one filed under the 'Any' country which
is what we screen on. Perhaps this logic could be improved in the future but
I don't see these links being all that high traffic anyway.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-26 10:50:03 -05:00
Dan McGee
c426fbebb7 Highlight 'Packages' in navbar when browsing packages
Get this working by doing some class business with CSS in order to highlight
the correct tab. I had to add some stuff to a variety of pages but it should
be working correctly now. Addresses FS#19591.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-26 09:59:37 -05:00
Dan McGee
277117ba34 Move package flagging URLs below the package
We were still using the user-facing package IDs here which we have
eliminated everywhere else Change it to use the same user-friendly URL
pattern we are using elsewhere.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-26 09:30:43 -05:00
Dan McGee
8f11dd9065 Fix missing version in checksums on download page
Forgot to move the 'endwith' tag a bit further down the page below the last
version reference. Fixes FS#19584.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-26 08:52:40 -05:00
Dan McGee
da67c4a736 Fix some link title issues
We can't wrap inside the title attribute on links, so fix all the places
where this was happening. The following command helped:

    $ grep -R --color 'title="[^"]*$' templates/

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-25 14:25:05 -05:00
Dan McGee
a24e503a63 Fix navbar links
They were still set up for the redesign development environment. Obviously
we need a better way to do these, that will be coming down the road.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 23:16:24 -05:00
Dan McGee
bf7f97ec03 Front page refinements
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 16:43:07 -05:00
Thayer Williams
f5ac1bf3ae Redesigned Dashboard
* descriptive semantics
* proper django cell cycling
* link titles throughout

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 15:55:39 -05:00
Thayer Williams
3a39352883 Redesigned flagged page
* indentation
* consistent semantics

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 15:55:38 -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
Thayer Williams
5813ec1819 Filelists: Touch up the HTML of file list views
Remove some unnecessary classes and touch up the direct and AJAX views.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 15:55:38 -05:00
Dan McGee
c31d474f6d Kill td_input template and tag 2010-05-17 15:55:38 -05:00
Thayer Williams
ebf292292f Redesigned Package Search page
* moved non-tabular data out of tables
* added tbody for pretty printing
* form accessibility
* descriptive href titles throughout
* code cleanup (removing unnecessary line breaks, styling, etc.)
* renamed page to Package Database
* add descriptive text to bottom of database pages

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 15:55:38 -05:00
Thayer Williams
67f22221b2 Redesigned feeds page, added additional feeds from sub-sites
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 15:55:38 -05:00
Thayer Williams
663aa383ff Redesigned Signoffs page
* descriptive href titles
* better semantics (page titles, etc)
* added tbody for prettier printing
* proper django cycling

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
1c8e8eb5e6 Updated form semantics for accessibility
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
08f886380c Redesigned dev mirrorlist page, proper django cycling, semantics
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
7657c59782 Redesigned TU profiles, semantics, page title
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Dan McGee
1341dbdab8 Revamp download page
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Dan McGee
d5f065fe53 Revamp donate page
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
49651ce0d5 Redesigned developer profiles
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
035fff3328 Redesigned artwork page with updated image paths
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
3945c52682 Redesigned News Pages
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
06f5261352 Updated template page semantics
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
465a74eddb Updated generic form for accessibility
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Dan McGee
7aa129155f Touch up download page a tad more
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
780c19c209 Redesigned mirrorlist generator page
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
23c99a7472 Redesigned login and logout pages
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
5c8f957904 Redesigned flaghelp page
* better semantics
* consistent appearance with archweb theme
* descriptive href titles

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
d7d0b26593 Redesigned flag page
* form accessibility
* descriptive href titles
* better semantics

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
b26e0d1fd6 Redesigned Package Details page
* better semantics
* removed unnecessary CSS
* form accessibility
* dynamic/descriptive href titles throughout

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
febca4d7ee Redesigned home page
* descriptive IDs and classes
* descriptive href titles throughout
* linear headings and other semantics
* accessible forms
* re-arranged sidebar links
* added paypal donation button

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:43 -05:00
Thayer Williams
55f562a19b Redesigned base template
* content now above sidebar text in source code
* new dev navbar
* descriptive href titles
* added body class block
* cleaned up footer

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:43 -05:00
Thayer Williams
dd9f1e3e91 Updated error page semantics
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:43 -05:00
Dan McGee
04f5b3e2f7 Fix display issues in IE/Chrome on developer list page
They did not like the self-closing anchor tag, causing the link style to get
applied to the entire profile section. Not too cool. Gecko didn't seem to
have a problem with it but IE and Chrome (all Webkit?) did.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 10:51:44 -05:00
Dan McGee
c7e8686f19 A few more changes to the download page
Update links and styles, etc.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 10:23:21 -05:00
Dan McGee
e7a58b9d57 Donor page rework for list formatting
Instead of doing slicing and ugly table-based layout, move to a CSS-based
organization of the donor list. Shoot for 4 columns but should degrade
gracefully to fewer, and will look just fine with no CSS at all (one big
tall list).

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 10:19:24 -05:00
Dan McGee
073e00ca70 Switch out donate button image
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 10:19:21 -05:00
Dan McGee
dde4bbcd5f Update download page for new release
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-16 14:04:32 -05:00
Dan McGee
c546630ad8 Fix invalid template syntax
Django 1.1 doesn't support arbitrary logic in if statements, but we can use
ifnotequal instead. Fixes breakage from commit 58566e.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04 10:49:33 -05:00