Age | Commit message (Collapse) | Author |
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
And add some more "static" URLs to access the non-country filtered lists.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Whoops, forgot the closing tag when I was playing with autoescape.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We had a few issues with unescaped ampersands and extra or missing tags.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
More in line with our other templates that have .txt extensions.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* descriptive semantics
* proper django cell cycling
* link titles throughout
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* indentation
* consistent semantics
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Remove some unnecessary classes and touch up the direct and AJAX views.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
* 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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* descriptive href titles
* better semantics (page titles, etc)
* added tbody for prettier printing
* proper django cycling
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* better semantics
* consistent appearance with archweb theme
* descriptive href titles
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* form accessibility
* descriptive href titles
* better semantics
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* better semantics
* removed unnecessary CSS
* form accessibility
* dynamic/descriptive href titles throughout
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* 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>
|