summaryrefslogtreecommitdiff
path: root/templates/base.html
AgeCommit message (Collapse)Author
2015-08-05Merge branch 'archweb' into archweb-genericLuke Shumaker
2015-04-13Add JSON-LD search engine configurationDan McGee
Implemented as documented here: http://googlewebmastercentral.blogspot.com/2014/09/improved-sitelinks-search-box.html Signed-off-by: Dan McGee <dan@archlinux.org>
2015-04-13Use UTF-8 copyright sign; save a few bytesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-04-21Merge branch 'archweb' into archweb-generic2Luke Shumaker
Conflicts: devel/views.py feeds.py public/views.py settings.py sitestatic/archweb.js templates/base.html templates/devel/profile.html templates/mirrors/status.html templates/news/view.html templates/packages/flaghelp.html templates/packages/opensearch.xml templates/public/download.html templates/public/feeds.html templates/public/index.html templates/registration/login.html templates/releng/results.html templates/todolists/public_list.html
2013-04-21add BUGTRACKER_URLLuke Shumaker
2013-04-20remove /mailman from the MAILMAN_BASE_URL, use it every timeLuke Shumaker
2013-04-20add MAILMAN_BASE_URL to abstract mailing list linksLuke Shumaker
2013-04-19Abstract ArchWiki URLs and references.Luke Shumaker
Notable things: * Standardize on "ArchWiki", instead of also having "Arch Wiki", via BRANDING_WIKINAME * Link to the article "Install_Guide" instead of "Official_Arch_Linux_Install_Guide", it's a redirect anyway. * On the download page, it assumes the that the version is just appended to the URL for the wiki link. * For the wiki RSS link, It now uses "/${title}?feed=rss" instead of "?title=${title}&feed=rss".
2013-04-19replace a bunch more instances of "Arch" in templates manuallyLuke Shumaker
2013-03-27find templates -type f -exec sed -i 's/\({% block title %}\)Arch Linux/\1{{ ↵Luke Shumaker
BRANDING_DISTRONAME }}/' {} +
2013-02-09Remove {% load url from future %} from templatesDan McGee
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 McGee
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-15Add a little easter egg for people to findDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Make link to mirror overview list publicDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-04Add charset to meta tagsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-21Remove charset declaration <meta/> tagDan McGee
This belongs in HTTP headers, not here. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-14Remove print stylesheetDan McGee
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 McGee
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 McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-23Use 'url from future' everywhereDan McGee
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-05Convert to and enable staticfiles contrib applicationDan McGee
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 McGee
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 McGee
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-14Add some more developer linksDan McGee
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 McGee
And slightly spruce up the logout template with a header. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Link to dev clocks pagerelease_2011-01-08Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-28Convert a bunch of links to HTTPSDan McGee
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-28Use HTTPS for links to AURDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-22Update BBS and bugs links to use HTTPSDan McGee
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 McGee
Hopefully finishes FS#20416. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-24Get unit tests up and running againDan McGee
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 packagesrelease_2010-05-26Dan McGee
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-17Fix navbar linksDan McGee
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 Williams
* 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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-08Add OpenSearch support to the siteDan McGee
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-01-31Clean up media declarationsDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Make the copyright year always be rightDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Modify dev menu to also be top to bottomDan McGee
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 Carnales
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 McGee
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-09updated base template to use menu from archweb_pub base templateIsmael Carnales
2009-09-15Add a basic mirror view for the dev siteDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-07Remove unneeded link for the dev siteDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-01-18Apparently its not available on https. Bad Dan.Dusty Phillips
2009-01-18Add Dan's stats page to the dev menu.Dusty Phillips
2009-01-16Copyright infringementDusty Phillips
2008-10-30only show dev toolbar if user is logged inDusty Phillips