summaryrefslogtreecommitdiffstats
path: root/templates/public/index.html
AgeCommit message (Collapse)AuthorFilesLines
2014-02-16Ensure correct value gets submitted on package search typeaheadDan McGee1-0/+1
Populate the form field with the chosen item before submitting the form. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-28Cleanups and enhancments to JS package search typeaheadDan McGee1-1/+11
Remove the need to press enter twice when using this typeahead box. Submit the form on enter, regardless of whether an item is selected or not. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-12-14Fix some caching issues on the front pageDan McGee1-1/+1
The return value from get_recent_updates() was too big for memcached due to all the attached objects, so the cache never actually worked. This sucks, because we ended up doing all the work in this function and most of the time we didn't use it because template fragment caching kicked in. Remove the cache_function decorator from this method, and instead implement delayed calling of the function so we don't compute values we aren't going to use. Template fragment caching will help us in most cases. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-11-04Remove "Unofficial" from Beginners' Guide linkDario Giovannetti1-3/+3
Also avoid internal redirect to the Installation Guide article. Fixes FS#36111. Dan: remove "Official" from install guide link text as well to match wiki page name.
2013-06-20Add link to release listing page from public indexDan McGee1-0/+2
We didn't link this page from anywhere so it was hard to find. Also add it to the sitemap so it gets indexed. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-03-12Update home page todo lists linkDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-27Merge branch 'django-1.5'Dan McGee1-1/+0
Conflicts: requirements.txt requirements_prod.txt
2013-02-16Defer loading of some JS on public index pageDan McGee1-5/+7
We don't need typeahead and easter eggs working right away, so defer them into a onload event. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-09Remove {% load url from future %} from templatesDan McGee1-1/+0
This is now the default in Django 1.5. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-09Update Konami JSDan McGee1-6/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-03Move the home page script block further down the pageDan McGee1-1/+1
Put it after every bit of HTML content, including the page footer. Right now this was the only page using this block in the main template; we should move some other pages using a lot of JS to this format as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-03Remove some whitespace from index templateDan McGee1-9/+4
We had a lot going on here in the news section as far as Django template tags go, so remove some whitespace to prevent so many empty lines from being ommitted. This doesn't remove all of it from the generated HTML, but does cut it down significantly. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Add double click event handler to hide imageDan McGee1-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-16Add a little easter egg for people to findDan McGee1-0/+16
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Make link to mirror overview list publicDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-12Remove SevenL from sponsors listDan McGee1-5/+0
They've been good to us for several years, but our hardware requirements have changed and we've moved on to using different machines for the purposes this donated machine served. Thanks! Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-30Remove information regarding test ISOsThomas Bächler1-2/+0
The test builds are dead and nobody is taking care of them. With our monthly releases, they serve no purpose. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-27Remove usages of 'django.contrib.markup'Dan McGee1-3/+3
Switch to the news model being able to spit out the HTML version of the content, and don't use the markup contrib module. This is deprecated as of Django 1.5 so we can move off it now to save trouble down the road when it is fully removed. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-26Enable safe mode for markdown parsingDan McGee1-2/+2
Although we don't allow unauthenticated users to post content, we should still cover our bases here and ensure people can't inject stuff into the production website via an inadvertent XSS. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-15Convert Click & Pledge logo to PNGDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Fix template fragment caching on front pageDan McGee1-2/+3
Now that some users see staging packages and others do not, we need to be more careful about what variables the fragment depends on. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-26Use minified typeahead JS fileDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Add typeahead dropdown to front page packages searchDan McGee1-0/+18
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-08Remove 'new' markers from home pageDan McGee1-6/+3
These things aren't so new anymore. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-23Minor template touchupsDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-05-06Update SevenL sponsor verbiageDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-03Use https:// links for all internal sitesDan McGee1-4/+4
We already use HTTPS exclusively for wiki, bugs, forums, etc. and we have it available for our other sites, so link only to the https:// protocol locations when pointing users at other sites. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Begin removal of cdnprefix tagDan McGee1-10/+11
This starts the removal of this code I wrote a while ago in favor of the now core Django static files application and the helpful static template tag. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Use 'url from future' everywhereDan McGee1-15/+16
The old-style url template tag disappears in Django 1.5, so we can and should convert to the new-style tag now. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-12Show first 300 words of most recent news item on home pageDan McGee1-8/+4
And 100 words of every other news item. We might as well make the most recent item more prominent. I'm not displaying it in full only so the front page doesn't look like a blog; 95% of our news items are under 300 words. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-03Add dimensions to most inline imagesDan McGee1-12/+12
This prevents resizing jumps when fetching resources. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-02Reduce template caching time on main pageDan McGee1-2/+2
We can afford to update this more often. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-16Update sidebar linksDan McGee1-21/+12
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-09Master keys are new, not packagesDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-09Add new icon to new featuresDan McGee1-6/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-09Retitle package differences pageDan McGee1-1/+1
Now that this has two different tables on it, we should make the page title a bit more generic. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-09Add CSS classes to front page package update objectsDan McGee1-1/+1
This adds the repo name, 'staging', and 'testing' as appropriate to a classes field on the package updates object. This means we don't have to update the CSS stylesheet to include hardcoded names of repositories (e.g., 'kde-unstable'). Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-30Integrate master key into rest of siteDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-01Use copy of donate image in /media/Dan McGee1-1/+1
This ensures it gets served over HTTPS if the user was on a secure session to begin with. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-01Update donation text and linksDan McGee1-21/+4
We are finally set up through SPI and Click&Pledge. Add the necessary text, buttons, and links for our new donation home. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-05Add package visualizations pageDan McGee1-4/+4
Why the hell not? Have fun clicking all the pretty buttons. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-27Escape parameter to search AUR linkDan McGee1-1/+1
Addresses FS#25732. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16News frontpage layout changesOlivier Keun1-4/+27
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Tabs -> spaces in templatesDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: final touches before public showingDan McGee1-2/+2
* Move URL prefix to /releng/feedback/ * Move link on main page to Development, not Community Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29Remove more hardcoded isotests linksDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: Cleaned up the page titles and syncisos commandTom Willemsen1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: various changes and updatesTom Willemsen1-0/+2
* isotests/fixtures/clockchoices.json: changed 'default' to 'unchanged' * isotests/fixtures/filesystems.json: removed 'check the installed system' line from one of the options * isotests/fixtures/modules.json: added 'ext2','ext3','ext4','swap','xfs','jfs','reiserFS' * isotests/models.py: * Added RollbackOption abstract class that adds the functions get_rollback_success_test and get_rollback_failed_test on top of the IsoOption abstract class for use with the Filesystem and Module classes since Test uses these both in 2 ways (regular and rollback). This keeps them seperated. * renamed the related names of these properties from rollback_test to rollback_test_set (seems more in-tune with the other relations) * isotests/views.py: * changed the order of the fields, the automatic order makes no sense. * Added help texts to the fields success, filesystem, rollback_filesystem and rollback_modules. * Removed help text from modules (made no sense) * Added a website field, should remain empty, a simplistic way to hopefully reduce spambot entries. * templates/isotests/results.html: * Removed the rollback yes/no section * The rollback labels should check get_rollback_success_test and get_rollback_failed_test. * Rollback checkbox removed. * Clearly tell users that success must only be selected if everything works right. * Clearly tell users to only fill in the rollback options if they did a rollback. * Added a thanks page that tells people thanks. * Added links between the pages. * Added links to lists with tests of either a specific iso or of any iso where a specific option was selected. Signed-off-by: Dan McGee <dan@archlinux.org> Conflicts: templates/isotests/results.html
2011-04-05Collapse all split and similar packages in recent updates listDan McGee1-5/+3
I was getting sick of seeing the *-i18n packages completely blow away anything else useful out of the recent updates sidebar. Revamp the logic here again to do something about it. As we did before, grab packages from the database and attempt to group them, but this time do it by only repo and pkgbase. From there, if we have packages in the group with a pkgname matching pkgbase, we will link just those. If not, we will create some stub objects that link to our relatively new virtual package overview screen. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-24Remove dead merchandise linkDan McGee1-2/+0
Addresses FS#23399. Signed-off-by: Dan McGee <dan@archlinux.org>