summaryrefslogtreecommitdiffstats
path: root/templates/base.html
AgeCommit message (Collapse)AuthorFilesLines
2013-02-09Remove {% load url from future %} from templatesDan McGee1-1/+1
This is now the default in Django 1.5. 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-01-16Add a little easter egg for people to findDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Make link to mirror overview list publicDan McGee1-1/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-04Add charset to meta tagsDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-21Remove charset declaration <meta/> tagDan McGee1-1/+0
This belongs in HTTP headers, not here. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-15Remove print stylesheetDan McGee1-1/+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-05-01Add a 144x144 apple-touch-icon to the resourcesDan McGee1-0/+1
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-03-24Begin removal of cdnprefix tagDan McGee1-8/+8
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-24Remove some unneeded whitespace and comments from base tempateDan McGee1-14/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Use 'url from future' everywhereDan McGee1-7/+7
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>
2011-12-06Convert to and enable staticfiles contrib applicationDan McGee1-7/+7
This moves our site static files into the sitestatic directory if they are shared resources, and also moves a handful of things (such as the artwork logos) into application-specific static/ directories. This allows the staticfiles contrib app to work after a few settings tweaks, a run of collectstatic, and massaging the hardcoded '/media/' prefix out of our templates. Django 1.4 is going to make this a lot easier to move things to a CDN and provides better template tags; for now this is setting the stage before we can move to that. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-03Switch to HTML5 doctype for base templateDan McGee1-3/+2
This moves us from XHTML strict to the more useful HTML5 doctype. One old holdover table attribute (cellspacing) is also fixed. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-24Add icons for Apple iOS web application bookmarksDan McGee1-0/+3
These will be used for an icon if adding a bookmark as a Home Screen icon on iOS devices. We add the three recommended sizes for old iPhone screen size, the new iPhone resolution, and the iPad. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Add some more developer linksDan McGee1-4/+8
This should take care of FS#24022 as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-04Remove multiple account login/logout URLsDan McGee1-1/+1
And slightly spruce up the logout template with a header. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Link to dev clocks pageDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-29Convert a bunch of links to HTTPSDan McGee1-4/+4
Now that the wiki is HTTPS for the most part, we should skip the redirects and link directly. Also switch some www links for mailman resources to the mailman subdomain. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-29Use HTTPS for links to AURDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-23Update BBS and bugs links to use HTTPSDan McGee1-2/+2
Since we only do HTTPS now on these services, no point in sending someone through a useless redirect. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Add links to arch differences pageDan McGee1-1/+2
Hopefully finishes FS#20416. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-25Get unit tests up and running againDan McGee1-3/+3
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>
2010-05-26Highlight 'Packages' in navbar when browsing packagesDan McGee1-8/+5
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-18Fix navbar linksDan McGee1-4/+4
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>
2010-05-17Redesigned base templateThayer Williams1-63/+80
* content now above sidebar text in source code * new dev navbar * descriptive href titles * added body class block * cleaned up footer Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-20Switch some hardcoded urls to url tag usageDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-09Add OpenSearch support to the siteDan McGee1-0/+1
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-01Clean up media declarationsDan McGee1-3/+3
And make sure each of them have a type. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Fix up doctype header as recommended by w3 validatorDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Make the copyright year always be rightDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Modify dev menu to also be top to bottomDan McGee1-7/+7
Just as commit 5faf6566 did for the main menu items, do the same for the dev menu. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Modify menu items order to be from top to bottomIsmael Carnales1-5/+5
The menu was rendered bottom to top in the html because the elements were floated to the right. This caused text browsers visitors (no CSS rendering) to see the menu backwards. I've modified the menu order and made the items float to the left so the menu is correctly rendered in text browsers. Signed-off-by: Ismael Carnales <icarnales@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-10Fix highlighting on main site tabsDan McGee1-6/+6
We should always highlight 'Home' when on the Django site. The sole exception is the download page which has its own special place. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-10updated base template to use menu from archweb_pub base templateIsmael Carnales1-6/+6
2009-09-16Add a basic mirror view for the dev siteDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-07Remove unneeded link for the dev siteDan McGee1-1/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-01-19Apparently its not available on https. Bad Dan.Dusty Phillips1-1/+1
2009-01-19Add Dan's stats page to the dev menu.Dusty Phillips1-0/+1
2009-01-16Copyright infringementDusty Phillips1-1/+1
2008-10-31only show dev toolbar if user is logged inDusty Phillips1-9/+11
2008-10-07use user messages to communicate statusDusty Phillips1-0/+8
2008-10-07rearrange top menu to refer more accurately to dev vs real siteDusty Phillips1-3/+4
2008-10-06drop references to the wikiDusty Phillips1-1/+1
2008-08-16add signoffs to the main menuDusty Phillips1-0/+1
2008-06-22FS 10156 Linux Trademark AttributionDusty Phillips1-1/+3
2008-03-23Removed ads from the devel siteeliott1-19/+0
2008-01-13Changed AdSense AccountSimo Leone1-1/+1
Like that guy on the corner, all the cash goes in the big hat. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-10Some tweaks for the dev navigationeliott1-6/+13
2008-01-10Cherry pick of Thayer's archweb_pub retheme workeliott1-81/+66
2007-12-30removed all the no longer referenced logoseliott1-1/+1