summaryrefslogtreecommitdiffstats
path: root/templates/packages
AgeCommit message (Collapse)AuthorFilesLines
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 McGee6-0/+6
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-25Fix some link title issuesDan McGee1-7/+3
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-17Redesigned flagged pageThayer Williams1-3/+10
* indentation * consistent semantics 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-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 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-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-04Fix invalid template syntaxDan McGee1-2/+2
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-04-29Package details view: Show the pkgbase if it differs from pkgnameThomas Bächler1-1/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-03Fix filelists AJAX replacementDan McGee2-12/+12
We were double nesting the filelist div. Have the AJAX call only return the contents and not the enclosing div. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27Move package maintainer off of package modelDan McGee3-6/+11
This is an attempt to fix our long-standing problems dealing with maintainer information. Move the actual maintainer information off of the package model into a PackageRelation object, which has some flexibility to later represent more than just maintainership. This solves multiple problems: * If a package gets accidentally deleted, so did the maintainer info * Testing packages have always shown up as orphans * With split packages, it was easy to miss some of the sub-packages This commit does not include the deletion of the original maintainer column; that will come at a later time when I feel more confident that the data was migrated correctly. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-12Add link from files back to packageDan McGee1-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06Use repo.testing flag instead of test-based checksDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-03Make files view use jquery CDN template tagDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-02Add '(testing)' suffix to dependencies listDan McGee1-2/+2
Just like it already was in the required by list. This should address FS#10475. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-02Fix up HTML titles on a lot of pagesDan McGee3-2/+3
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-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-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-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 McGee1-0/+13
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-01Get the calendar widget workingDan McGee1-1/+2
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 McGee2-16/+27
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-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>
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-10-17Port archweb_pub commit 1f96c7a1182ef75279c18986b708e683f89dd690 to ↵Thomas Bächler1-1/+1
archweb_dev. This is the original commit message by Dan: "Make package SVN links always work This should clean up the links for all varieties of things- different arches (including any), different repos (community and community-testing), and split packages. All of the logic is in one place now and any further changes should be made to the method on the package object."
2009-09-12Fix community links.Dusty Phillips1-1/+1
2009-08-18Apparently you couldn't view the packages page if the user wasn't logged ↵Dusty Phillips1-1/+1
into the admin.
2009-04-14FS#11325. Add a 'Target Repo' column to the signoffs page.Dusty Phillips1-1/+3
2009-04-14Aaron says maintainer column isn't necessary (FS#11325)Dusty Phillips1-2/+0
2009-01-31Add package count to the top of the search table.Dusty Phillips1-1/+26
2009-01-01display the license field on package descriptionsDusty Phillips1-0/+3
2008-10-12drop jquery dependencyDusty Phillips1-5/+0
2008-10-10use standard messagingDusty Phillips1-6/+0
2008-10-10drop search/ url and just go to packagesDusty Phillips1-8/+8