summaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2010-07-07Format all news items using markdownDan McGee2-8/+35
Implements FS#13741. A preview function is also added so working with news items is easier to make sure you get the formatting right. This will result in some older news items looking a bit weird if they didn't put linebreaks in all the right places, we can fix a few of these as we notice them. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-07Make package search box look better with wider fontsDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-07Add note to package when version is in testingDan McGee1-9/+9
And the package has been flagged out of date. Should make people relax a bit. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-07Update code to use new flag_date columnDan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-06Show incomplete todo list packages in dev dashboardDan McGee1-0/+29
Implements FS#20081. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-06Add absolute URL method for todo listsDan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-03Add mirrorlist link to main pageDan McGee1-0/+2
Not terribly thrilled with the location, but it will have to do for now. If we get a better idea later it can definitely be moved. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-03mirrorlist: allow filtering by protocolDan McGee1-7/+12
And add some more "static" URLs to access the non-country filtered lists. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-03Link to the mirrorlist page from downloadsDan McGee1-0/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-03Get mirrorlist view ready for general useDan McGee1-1/+16
Make the page much more flexible- allow multiple countries to be selected rather than just one in the form. Also add a lot more text to the page, and move the 'all' option out into its own subheading rather than being in the same form. Both GET and POST requests are now allowed for ease of use from non-browser scenarios or those that wish to update their mirrorlist automatically and submit parameters to the URL. Signed-off-by: Dan McGee <dan@archlinux.org>
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>