summaryrefslogtreecommitdiffstats
path: root/media
AgeCommit message (Collapse)AuthorFilesLines
2011-05-15Remove stale JS remnantDan McGee1-35/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15releng: Place helptext closer to its option listTom Willemsen1-0/+1
Place all the elements with the helptext class that follow a <ul> closer to the <ul>. Signed-off-by: Tom Willemsen <ryuslash@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-02Ensure we can handle all values in file size columnsDan McGee1-1/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-02Add filesizeformat filter to sizes in reports/bigEvangelos Foutras1-0/+27
We also add a new 'filesize' tablesorter parser that handles all the suffixes found in django's filesizeformat filter. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29isotests: clean up submissin formDan McGee1-0/+2
Don't show stupid '-----' entries with radio buttons, remove the list item style since we have radio buttons or checkboxes everywhere anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: make the various pages a bit more usefulDan McGee1-0/+3
Instructions are nice, as are links to other pages that actually flow with the style of the rest of the site. Also fix the styling of the labels on the results entry page as it looked a bit funky before. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Simplify the dev dashboardDan McGee1-4/+0
Remove all the click to expand junk; just show the tables all the time. There is no form at the bottom of the page anymore, so if you don't want to read the tables on the bottom, just don't read them. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-21Fix news preview with CSRF and AJAX in Django 1.2.5Dan McGee1-6/+8
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-08Todo list styling and info cleanupsDan McGee1-6/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-17Read in optional deps and show in web interfaceDan McGee1-0/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-01Fix JS date parsing sort helperDan McGee1-3/+6
How could I ever forget the awesomeness that is the JS date constructor that takes a month value between 0-11, not 1-12. Total insanity. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-18Small JS clarification for finding table cellDan McGee1-1/+1
Although it happened to be the parent element in this case, we are really just looking for the containing cell. Change the call to closest so we are future-proofed. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-18Make package signoffs AJAX if JS is enabledDan McGee1-0/+23
This makes the signoffs page a heck of a lot more usable as you can go through and click a bunch at once without waiting for the rather slow page to reload. Hopefully the first step to bringing life back into this part of the site. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-15Use more efficient updateCell event after todo list clickDan McGee1-2/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-15Update tablesorter minified versionDan McGee1-1/+3
2011-01-14Update tablesorter cache after clicking todo list statusDan McGee1-1/+4
We didn't update this before, so sorting the last after checking off a few todos didn't work right, as it was using the old values. Fix it by adding a call to update; this can eventually be changed to the updateCell call commented out once I upgrade the minified tablesorter.js file. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-14Fix short date parsing in stock tablesorter JSDan McGee1-2/+2
This mirrors the change made to the minified file in 09bccb50e7. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-14Add non-minified tablesorter JS fileDan McGee1-0/+1031
Helpful for places like being on an airplane and needing to look at the source, and just for development purposes. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-14Fix JS null error when parsing non-matching dateDan McGee1-8/+8
We didn't escape early with some value, causing an invalid dereference. While fixing this, also touch up the other functions and move a few more thngs to parser dictionary attributes. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09Convert function expressions to declarationsDan McGee1-6/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09gjslint recommended javascript cleanupsDan McGee1-26/+28
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09Add a long datetime parser to table sorting codeDan McGee1-3/+19
This comes into play on our new developer clocks page, where the last column was not sorting at all as expected. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09Only match full text on built-in short date parserDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-26Make package differences JS a bit more efficientDan McGee1-14/+20
Use an id-based selector so we can get the necessary table rows to filter a lot more quickly than a lengthy CSS selector. Also use traversal rather than selectors when grabbing the package versions. This looked like a 3x-4x increase in speed while testing locally. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-26Upgrade to jQuery 1.4.3Dan McGee2-154/+166
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-21Show a message when filelist is out of dateDan McGee1-0/+2
This addresses FS#21394 and ensures that the website is less misleading when a package gets new files but they are not yet reflected in the shown list. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-21Apply testing style to multilib-testingDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-21Package differences small updatesDan McGee1-1/+1
* Add 'multilib-testing' to the CSS class list to hide for [multilib] * Select 'Only In Both' by default, which is probably the most useful option * Unselect 'Minor Version Mismatches' by default Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-05Fix executable mode on imageDan McGee1-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-05Make AirVM image an actual PNGDan McGee1-0/+0
I saved this in here as a PNG when in fact it was a GIF. Use optipng to convert it and get a smaller file size. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-05Update AirVM brandingDan McGee2-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-30Move most inline JS into script fileDan McGee1-0/+130
We're getting to the point where we are starting to have a good chunk of JS scattered about. Centralize a lot of it for maintenance and performance purposes. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Re-ID sponsors div so it skirts adblockDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Paginate the news list viewDan McGee1-0/+4
This view was getting huge with ~500 items on it, and most people are not really interested in seeing every single news item. Use the drop in pagination and add some controls that still allow browsing to any page of the list. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Implement package difference filteringDan McGee1-6/+5
This is done as client-side JS which makes the page nice and fast. Minor versions can be excluded, as can packages in [multilib]. In addition, architecture filtering is in place so you can limit the subset of shown packages to those in any, both, one or the other. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-07Make flagged style class apply to all tablesDan McGee1-3/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-03Add links to 'Versions Elsewhere' on package details pageDan McGee1-3/+5
This will allow clicking through to a few more associated packages from a given package, including those for the other architecture and potentially in other repositories. The box floats to the right with the package actions, which have also been restyled slightly so the whole area is a bit more styled and set off from the rest of the page. This should allow us to close the current oldest bug open in the Arch bug tracker, FS#7787. I remember the days when every bug was a four-digit number... Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Make public todolist view more usefulDan McGee1-7/+2
Show all the details the developer page does, make the lists always visible, and add JS table sorting to each table on the page. This commit also adds table sorting to the developer list view as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add styles for tablesorter sortingDan McGee4-4/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add jQuery tablesorter 2.0.3 pluginDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-01adjust some colors to match forums and wikiPierre Schmitz2-7/+8
2010-07-25Hide the details of the todo list until clickingDusty Phillips1-0/+10
Dan: don't load jQuery until late in the page load. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Remove ArchCon 2010 bannerDan McGee1-0/+0
FS#20276. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-07Get news markdown formatting working everywhereDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-07Format all news items using markdownDan McGee1-1/+1
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-06Set font color for package search boxDan McGee1-1/+1
Since we explicitly set a background color for this text input, we should set a foreground font color as well so those with dark themes don't see white text on a white background. Addresses FS#19290. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-03Add styling to errorlist classDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-03Add mirrorlist link to main pageDan McGee1-0/+0
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-03Get mirrorlist view ready for general useDan McGee1-0/+3
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>