hg-website / templates / base.html

{% from 'data' import downloads %}

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="/css/styles.css" type="text/css" rel="stylesheet">
        <script type="text/javascript" src="/js/typeface.js"></script>
        <script type="text/javascript" src="/js/optimer_regular.typeface.js"></script>
        <script type="text/javascript" src="/js/download.js"></script>
        <script type="text/javascript" src="/js/common.js"></script>
        <script language="javascript" type="text/javascript">
        {% set download = downloads[downloads['current']] %}
         var dl = new Download();
         dl.register_download('Windows', "{{ download['Windows']}}");
         dl.register_download('Mac OS X 10.6', "{{ download['Mac OS X 10.6']}}");
         dl.register_download('Mac OS X 10.5', "{{ download['Mac OS X 10.5']}}");
         dl.register_download('UNIX', "{{ download['Source code']}}");
         dl.register_download('Linux', "{{ download['Source code']}}");
        <link rel="shortcut icon" type="image/x-icon" href="/images/favicon.ico">

        <title>Mercurial SCM</title>
    <body id="home">
        <h1 id="logo"><a href="/">mercurial</a></h1>
        <ul id="nav" class="typeface-js">
            <li><a href="/about/">about</a></li>
            <li><a href="/guide/">guide</a></li>
            <li><a href="/downloads/">download</a></li>
            <li><a href="">extensions</a></li>
            <li><a href="">news/wiki</a></li>
            <li><a href="/sponsors/">sponsors</a></li>
        <form id="search" method="get" action="">
        <input type="hidden" name="action" value="fullsearch">
        <input type="hidden" name="context" value="180">
                <legend>Search form</legend>
                <label for="keyword">keyword</label>
                <input class="text" type="text" name="value"
                value="Search the Wiki" id="keyword" onclick="resetBar();">
                <input class="submit" type="submit" value="Title"
                name="titlesearch" alt="Search Titles"> 
        <div id="content">
            {% block main %}
                <div class="row">
                    <div class="col big">
                        {% block content %}
                            No content on this page yet.
                        {% endblock %}
                    <div class="col">
                        {% block sidebar %}
                        <a class="download typeface-js" href="#" onClick="javascript:dl.os_link()">
                                    <strong>Download now</strong>
                                    Mercurial <em>{{ downloads['current'] }}</em>
                                    <span><script language="javascript">dl.os_detection();</script></span>
                            <dt class="typeface-js">Requirements</dt>
                            <dd>Python 2.4 (<a href="">get python</a>)</dd>
                            <!--2.4 is necessary for TortoiseHG, Mercurial only needs 2.3-->

                            <dt>Another OS?<br><em>Get mercurial for:</em></dt>
                            <dd><a href="/downloads">Mac OS X</a></dd>
                            <dd><a href="/downloads">Windows</a></dd>
                            <dd><a href="/downloads">other</a></dd>
                        {% endblock %}
            {% endblock %}
        <div id="footer">
            design by <a href="">punct</a> /
            design courtesy of <a href="">bitbucket</a> /
            licensed under <a href="">GPLv2</a> /
            <a href="/thepage/">about this page</a>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.