summaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2010-03-02Fix up HTML titles on a lot of pagesDan McGee11-2/+11
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-02Unify spelling of 'Todo'Dan McGee1-2/+3
We used 'Todo', 'ToDo', and 'To-do' in different places. Unify them all to the first. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-02Fix busted HTML on flag package pageDan McGee1-1/+2
Missing a closing div and no real need for the br tag. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Show message if no files availableDan McGee2-3/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27files: template reuseDan McGee2-8/+1
Get rid of the copy/paste by including the sub-template. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Make files view AJAX if supportedDan McGee2-1/+26
This will put the filelist inline on the package details page if using a capable browser. It should still fallback to a separate page if necessary (e.g. all those users using links on the site). Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Re-add link to package filesDan McGee1-3/+2
Put the link that has been commented back on the page, and point it at the new URL for package files. Also fix the page title to be more in line with all the other pages on the site. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Make the package files view look betterDan McGee1-5/+10
Make it look more like the dependencies and required-by panes on the main package details page. Some day you might even find it shows up below there too via an AJAX call or something. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Implement AJAX flagging for todo itemsEvangelos Foutras1-0/+21
[Some trailing whitespace got killed in the process. :3] Dan: I made a few small changes including moving the jQuery include down above the other script block; since it is not needed right away it can be loaded later in the page. Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Make template changes to show additional informationDan McGee1-0/+9
Make package size, installed size, and build date available in the UI. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Add UK IRC channelDan McGee1-0/+3
Thanks to Dan Griffiths for the hard work and effort he sunk into this one. Addresses FS#18480. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-18News: make add/edit page form largerDan McGee1-1/+1
Make both the title entry and the text area a lot larger so it is easier to add and edit news items from the developer side. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-17ToDo: Use pkgr2,pkgr1 classes with the cycle tagEvangelos Foutras1-2/+2
This brings back the alternating colors in the table and makes it much easier to flag the correct package. Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-11art: actually fix all remaining validation issuesDan McGee1-7/+7
Great work with the <a/> tags by myself on a previous occasion. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-09Move /jsi18n/ back out of /admin/ appDan McGee1-1/+1
This way we can skip the redirect to HTTPS on the real site that is not necessary by any means, and it works out for the best. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-09Add OpenSearch support to the siteDan McGee2-0/+14
Implements FS#14185. It is a bit more complex than listed there as I wanted to not hardcode the URLs in the descriptor file; to do this we need to make it a template and fill some things in. We also need to serve the file using the correct mime type. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-09Make the feeds overview page suck lessDan McGee1-11/+26
There was way too much going on there before and it wasn't laid out that well. This should be a ton better. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-06Make recent updates group multiple architecturesDan McGee1-1/+1
It isn't the most elegant operation in the world, but attempt to only show one line per package, grouping by architecture if multiple were updated in the same go. This makes the recent packages view a bit more useful as a heads up view. Implements FS#17304. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-05feeds: add per arch, per repo feed abilityDan McGee2-1/+29
Make the feed framework a lot more flexible and give the possibility to have a feed for each architecture. You can drill down even more than also get a feed for a particular repo; some might find this helpful for something like tracking [testing]. Implements FS#12939. I also bumped up the number of items available in each of these feeds; since it is full of a bunch of small items it might be more helpful to have more available and it should also prevent fewer ones from being missed. The UI isn't exactly spectacular, but I figured some sort of page is better than none listing all the various feeds you can pull from. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01Spruce up the developer view pagesDan McGee4-19/+5
Quite a few changes here. Unify the developer view pages into one actual django view and template, and use different dispatches from urls.py to set up the three different queries for who to display and what message and group name to show. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01Arch art: add alt text to imagesDan McGee1-16/+16
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01More profile page cleanupDan McGee1-14/+14
* Use {% with %} to make getting things out of the profile easier * Remove HTML exemption as it was causing unescaped entities to get through to the page * Link URLs instead of just printing them to the page Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01Dev list: use username as link anchorDan McGee1-2/+2
Guaranteed unique, and also a whole lot less likely to break validation given we have several users with special characters (and even spaces) in their first names. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01Get the calendar widget workingDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01Clean up media declarationsDan McGee1-3/+3
And make sure each of them have a type. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01More template cleanup: flag packageDan McGee1-23/+20
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01Provide SVN links to trunk/ for each packageDan McGee1-1/+2
This is, at least for me, more useful than the link to a specific build of a package. We provide both so no one should lose here. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01More validation fixupsDan McGee5-30/+41
Random stupids in our HTML, this should be a little better at least. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Touch up the depends and requiredby display in package detailsDan McGee1-4/+12
This started out as a validation fix for the W3 validator: we had some <ul/> elements that ended up on that page with no inner <li/> elements, so it was invalid markup. I then realized we don't need to call the methods multiple times so use the 'with' template tag. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Fix up doctype header as recommended by w3 validatorDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Handle empty pkgdesc and url a bit betterDan McGee1-2/+2
Put an actual NULL in the database and handle it for both display and import. Also add a migration to clean up any bad data we currently have in there. Fixes FS#17144. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Make bugs link more usefulDan McGee1-1/+1
Link directly to the right project in Flyspray instead of whatever the user looked at last. Fixes FS#13166. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Fix up the packages search pageDan McGee1-11/+14
* Don't show checkboxes for non-authenticated users * Fix up the adopt buttons to not be a table row * Fix the form which didn't have a closing tag Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Update beginners' guide namingDan McGee1-1/+1
FS#17287. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Make the copyright year always be rightDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Update download page to match the kernel on the current ISO imagePierre Schmitz1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Modify dev menu to also be top to bottomDan McGee1-7/+7
Just as commit 5faf6566 did for the main menu items, do the same for the dev menu. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Modify menu items order to be from top to bottomIsmael Carnales1-5/+5
The menu was rendered bottom to top in the html because the elements were floated to the right. This caused text browsers visitors (no CSS rendering) to see the menu backwards. I've modified the menu order and made the items float to the left so the menu is correctly rendered in text browsers. Signed-off-by: Ismael Carnales <icarnales@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Upgrade jQuery to 1.4.1Dan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Add Costa Rica IRC channelAaron Griffin1-0/+3
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-17added #archlinux-gaelic channel, sorted listAndrea Scarpino1-19/+22
2009-11-10Fix highlighting on main site tabsDan McGee1-6/+6
We should always highlight 'Home' when on the Django site. The sole exception is the download page which has its own special place. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-10updated packages template files from code of pubIsmael Carnales2-14/+17
2009-11-10update packages detail template with code from pubIsmael Carnales1-13/+20
also added user restrictions
2009-11-10added missing packages views from archweb_pubIsmael Carnales4-0/+71
2009-11-10updated news list templateIsmael Carnales1-3/+5
- added title - added permission checks
2009-11-10added mirrors app from archweb_pubIsmael Carnales2-0/+38
2009-11-10added feeds from archweb_pubIsmael Carnales4-0/+7
2009-11-10made every public view return a RequestContextIsmael Carnales1-1/+1
RequestContexts are needed to check if the user is logged in NOTE: Generic views as direct_to_template and object_list always return a request context, so is good to use them :) Later will add a render_template shortcut that adds the RequestContext automatically
2009-11-10changed landing viewIsmael Carnales2-60/+12
- moved devel.views.siteindex to public.views.index - using template from public view with added devel menu - added extra styles and images