summaryrefslogtreecommitdiffstats
path: root/sitestatic
AgeCommit message (Collapse)AuthorFilesLines
2012-10-27Convert silhouette.png to an 8-bit colormapDan McGee1-0/+0
This cuts the size from 33KB to just 2KB. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-21Remove 'table' tag specifier from '.arch-bio-entry'Dan McGee1-7/+7
Class-based selectors make sense here, we don't need the table tag too. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-21More navbar styling cleanupDan McGee1-6/+5
Use ID-only rules, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-21Remove dead CSSDan McGee1-4/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-21css: with ID selectors, no need for tag selectorDan McGee1-31/+31
This simplifies a lot of the CSS and brings it in line with recommendations to use ID-based selectors when possible. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-21Fix navbar logo stylingDan McGee1-1/+1
The relative path to the logo PNG image wasn't correct, and too much of the other styles got deleted when removing the IE6 compatibility shim. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-21Update tablesorter JSDan McGee3-320/+472
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-15Remove logo override for IE6Dan McGee3-16/+2
We don't need this anymore. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-15Inline global navbar stylesheetDan McGee1-5/+32
It is silly to have to load an external resource when we can simply cram all of this in the same single stylesheet used for the site. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-15Remove print stylesheetDan McGee1-11/+0
This hasn't been updated in ages, and who is printing out pages from the website anyway? Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-15Convert Click & Pledge logo to PNGDan McGee2-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-08archweb.js: Fix syntax error in filter_signoffs()Evangelos Foutras1-0/+2
Commit 1decbc079ff8ab9798cef0ca02310357f8f4ba0c "JSLint suggested script cleanups" mistakenly removed the closing brace and parenthesis of a jQuery .each() call, along with a following comment. This commit brings back the two removed lines. Signed-off-by: Evangelos Foutras <evangelos@foutrelis.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-02JSLint suggested script cleanupsDan McGee1-25/+26
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-01Collapse long lists of related packagesDan McGee1-1/+23
Just like we did with the rows of depends and required by, collapse down conflicts, provides, etc. comma-separated lists if they grow too large. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Update jQuery to 1.8.2Dan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Don't auto-select the first item in typeaheadDan McGee2-5/+6
This assumption was baked into the Twitter bootstrap JS; kill it so it is still easy to do a freeform search if wanted. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Add typeahead dropdown to front page packages searchDan McGee1-0/+25
This uses the existing OpenSearch query endpoint to perform the search and displays the results accordingly. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Add stock Bootstrap typeahead JS filesDan McGee2-0/+301
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-18Minor updates to Kartenzia linkageDan McGee1-0/+0
And add some transparent rounded corners to the logo so it fits in better with the rest of our sponsor buttons. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Reduce Kartenzia button size with OptiPNGDan McGee1-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Switch to Kartenzia PNG logoDan McGee2-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15donate.html: Add kartenzia.deFlorian Pritz1-0/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-09-15Make todolist filtering functions more genericDan McGee1-6/+8
This will allow us to use them elsewhere in a future commit. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-05Upgrade jQuery to 1.8.1Dan McGee2-4/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-05Add some HTML5-ization in JS of various input attributesDan McGee1-0/+10
On the login page, give focus to the username box when the page loads as well as turning autocorrection and auto-capitalization off on the username box. For the developer profile page, we can add some minor validation and typing of certain form fields that allow things like iPhone and Android to customize the presented keyboard to the user, as well as allowing browsers to do some client-side validation. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-08-04Add support to templates for make/check dependsDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-08-04Make tablesorter filesize sorter more flexibleDan McGee1-1/+15
Accept a few more prefixes, and also handle both 'MB' and 'MiB' style sizes. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-31Update several bits and pieces for staging packagesDan McGee1-0/+1
This will prevent [staging] packages from cluttering normal user's view on the website, but allow us to still import everything from this repository for developer use. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-29Upgrade to jQuery 1.7.2 and a maintained tablesorterDan McGee8-1217/+1207
This touches a wide variety of files as well as makes updates to some of our own code to be fully compatible. We also use some of the newer locale/accent sorting features of tablesorter to make tables with developer names sort in a more sane fashion. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-25Add arch and repo filter to todolist packagesDan McGee1-0/+9
This matches what we do on signoffs. Also beef up the styling a bit and add the dynamically updated package count info. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-24Enable filtering of todolist packagesDan McGee1-0/+23
This matches the filtering options we have on the signoffs and package differences pages. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-24Ensure package files JS can support corner casesDan McGee1-1/+11
We should handle the cases dealing with no filelist available, outdated filelist, or a package without files, just as the HTML server-side page does. Add a bit more info to the JSON returned so we can do so. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-24Generate package filelist in JavaScript via AJAXDan McGee1-4/+9
This is a super-simple template to follow to make the filelists work, so we can do all the "hard" work client-side. This also removes the need for a header-dependent '/files/' URL, as we are now just using the JSON representation instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-24Clean up package file list stylesDan McGee1-5/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-09Don't remove approval CSS class when updating signoff listDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-09Make collapseDependsList() a bit smarterDan McGee1-5/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-06Collapse the dependencies and required by lists when they are longDan McGee1-2/+24
For now, this happens when the lists are over 20 items. Using JS, hide the 21st and following packages listed in the list and replace them with a 'Show More...' link that users can click to get the full list. For a package such as glibc with 444 'Required By' entries, this can make quite a visual difference. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-05-02Opensearch enhancementsDan McGee1-0/+0
* Add a 64x64 icon as indicated in the Opensearch specification. * Add suggestions capability and a new view providing suggestions based on package name starting with the typed value. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-05-01Add a 144x144 apple-touch-icon to the resourcesDan McGee1-0/+0
This is used on the high-resolution display of newer iPads, as well as other tablets sure to come with high-resolution displays. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-05-01Refresh apple-touch-icon logosDan McGee3-0/+0
Rerun optipng on them to shrink them a bit more, and add the 'TM' text to the 114x114 icon since it is big enough to hold it and still be visible. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-27Make sorting by time on clocks page more predictableDan McGee1-0/+4
This is a little bit of a hack but works well. Add the timezone name to the end of the sort so those in the same time zone end up next to each other. For timezones like CEST that have many different specifiers, it makes more sense to group them by 'Europe/Berlin', 'Europe/Paris', etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-27Tweak the PGP key visualization a bitDan McGee1-8/+0
* Add mouseover/mouseout events to highlight the incoming and outgoing signatures from a given key when moused over. * Change the border color of each developer key based on how many signatures from keys besides the master key they have. Thus, devs that have a lot of signatures from other devs will have a more green border; those with none will have a white border. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-26Add hover header links to the developer profiles pagesDan McGee1-0/+10
This is a lot like you can see in the Python API documentation, and makes it easy to copy a link to a given place on a page. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-26Package files display tweaksDan McGee1-0/+7
Slightly gray out the directories when displaying file lists, drawing more attention to the file names instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-26Developer list styles updatesDan McGee1-18/+31
* Make the developer name more prominent in dividing the blocks * Reduce the in-your-faceness of the <th> elements in every section * Other small tweaks Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-25Clean up mirrorlist generation form a bitDan McGee1-0/+10
Rename template since it really isn't an index of mirrors at all, and convert the form to use multiple checkboxes for both ftp/http and ipv4/ipv6 selection. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-25Mirror status page cleanupDan McGee1-0/+5
Remove the 'last sync' column; it is not totally useless but mostly covered by the average delay column, and we are running out of usable real estate here. Also tweak a few columns so wrapping is permissible. Thank you to "Macedonia, The Former Yugoslav Republic of" for this. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-25Finish django countries implementationDan McGee1-19/+0
* Add a migration to drop the old countries field. * Update all templates/views/utility methods to point at the new country field and dereference it as necessary. * Add the flags images to a few views where it makes sense. * Cleanup the download page layout quite a bit. * Bump the mirror status JSON version to 3; add country_code attribute. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-07Allow sorting of lower table on master keys pageDan McGee1-0/+17
Add some styling for sortable pretty2 tables to the CSS, and convert the header row into a single row since that is all tablesorter seems to support correctly when assigning styles. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-29Add developer status table to master keys pageDan McGee1-0/+8
This shows the cross-product of each master key with each developer key so you can see who has been signed, where signatures are missing, etc. Signed-off-by: Dan McGee <dan@archlinux.org>