Mercurial > hg-website
view hgscm/templates/base.html @ 78:8d25e34c21c2
templatetags: Add DownloadButton tag to display a download button according to operating system
This is somewhat a hacky way to do it, but it works, and we might redo it alter on.
author | David Soria Parra <dsp@php.net> |
---|---|
date | Fri, 20 Feb 2009 15:12:43 +0100 |
parents | e8119809dfab |
children | 7cf137affc0e |
line wrap: on
line source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="{{ MEDIA_URL }}css/styles.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="{{ MEDIA_URL }}javascript/typeface.js"></script> <script type="text/javascript" src="{{ MEDIA_URL }}javascript/optimer_regular.typeface.js"></script> <link rel="shortcut icon" type="image/x-icon" href="{{ MEDIA_URL }}images/favicon.ico"> <title>Mercurial SCM</title> </head> <body id="home"> <h1 id="logo"><a href="/">mercurial</a></h1> <ul id="nav" class="typeface-js"> <li><a href="{% url about %}">about</a></li> <li><a href="{% url downloads %}">download</a></li> <li><a href="javascript:void(0);">extensions</a></li> <li><a href="javascript:void(0);">docs</a></li> <li><a href="javascript:void(0);">community</a></li> </ul> <form id="search" method="post" action="search/"> <fieldset> <legend>Search form</legend> <label for="keyword">keyword</label> <input class="text" type="text" name="keyword" id="keyword"> <input class="submit" type="submit" value="search"> </fieldset> </form> <div id="content"> {% block content %} No content on this page yet. {% endblock %} </div> <div id="footer"> design by <a href="http://www.designpunct.ro">punct</a> / design courtesy of <a href="http://www.bitbucket.org/">bitbucket</a> / licensed under <a href="http://www.gnu.org/licenses/gpl-2.0.txt">GPLv2</a> / <a href="{% url thepage %}">about this page</a> </div> </body> </html>