summaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2010-07-03Remove arch from mirrorlist generationDan McGee1-1/+1
With pacman 3.4.0, we can now use the $arch variable so we don't need architecture-specific mirrorlists. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-03Add some text when no packages could be foundDan McGee1-0/+7
This text also includes a link to search the AUR for the same keywords. This implements FS#19904. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-25Get unit tests up and running againDan McGee1-3/+3
We had some dependency issues between migrations that needed to be explicitly defined in order to get things fully moving, and do to some braindeadness in Django tests not including the project url config, we need to do some clever business when using the url tag in the base template so tests don't doe with a NoReverseMatch exception. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-21Fix template syntax errorDan McGee2-2/+2
Whoops, forgot the closing tag when I was playing with autoescape. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-21Move scripts to bottom of package searchDan McGee1-5/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-21Fix missing calendar iconDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-17Fix autoescape in plain text emailsDan McGee2-7/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-12Remove action when submitting to same URLDan McGee8-8/+8
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-09Enhance base package listing in package detailsDan McGee1-3/+22
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-05Updates for CSRF protection in Django 1.2.XDan McGee11-11/+11
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-02Fix some validation issuesDan McGee3-2/+2
We had a few issues with unescaped ampersands and extra or missing tags. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-02Rename todolist email templateDan McGee1-0/+0
More in line with our other templates that have .txt extensions. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-31Fix flagged styling in package search resultsDan McGee1-1/+1
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-26Add ability to download package from web interfaceDan McGee1-0/+1
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-26Highlight 'Packages' in navbar when browsing packagesDan McGee8-8/+12
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-26Move package flagging URLs below the packageDan McGee1-2/+2
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-26Fix missing version in checksums on download pageDan McGee1-1/+1
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-25Fix some link title issuesDan McGee3-16/+9
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-18Fix navbar linksDan McGee1-4/+4
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-17Front page refinementsDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned DashboardThayer Williams1-99/+153
* descriptive semantics * proper django cell cycling * link titles throughout Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned flagged pageThayer Williams1-3/+10
* indentation * consistent semantics Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned todo list pagesThayer Williams4-103/+112
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Filelists: Touch up the HTML of file list viewsThayer Williams2-13/+14
Remove some unnecessary classes and touch up the direct and AJAX views. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Kill td_input template and tagDan McGee1-5/+0
2010-05-17Redesigned Package Search pageThayer Williams1-109/+126
* 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-17Redesigned feeds page, added additional feeds from sub-sitesThayer Williams1-26/+98
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned Signoffs pageThayer Williams1-17/+26
* 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-17Updated form semantics for accessibilityThayer Williams1-17/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned dev mirrorlist page, proper django cycling, semanticsThayer Williams1-29/+37
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned TU profiles, semantics, page titleThayer Williams1-5/+8
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Revamp download pageDan McGee1-104/+148
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Revamp donate pageDan McGee1-49/+77
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned developer profilesThayer Williams1-52/+60
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned artwork page with updated image pathsThayer Williams1-71/+122
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned News PagesThayer Williams4-63/+103
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Updated template page semanticsThayer Williams1-5/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Updated generic form for accessibilityThayer Williams1-19/+17
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Touch up download page a tad moreDan McGee1-5/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned mirrorlist generator pageThayer Williams1-17/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned login and logout pagesThayer Williams2-20/+18
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned flaghelp pageThayer Williams1-21/+31
* better semantics * consistent appearance with archweb theme * descriptive href titles Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned flag pageThayer Williams1-22/+34
* form accessibility * descriptive href titles * better semantics Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned Package Details pageThayer Williams1-113/+145
* better semantics * removed unnecessary CSS * form accessibility * dynamic/descriptive href titles throughout Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned home pageThayer Williams1-101/+165
* 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-17Redesigned base templateThayer Williams1-63/+80
* 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-17Updated error page semanticsThayer Williams3-12/+12
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Fix display issues in IE/Chrome on developer list pageDan McGee1-1/+1
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-17A few more changes to the download pageDan McGee1-13/+17
Update links and styles, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Donor page rework for list formattingDan McGee1-28/+11
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>