Mercurial > hg-website
view hgscm/templates/frontpage.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 | bef09338eceb |
children | cbd90a4980e6 |
line wrap: on
line source
{% extends "base.html" %} {% load extras %} {% block content %} <div class="row"> <div class="col big"> <h1>Work easier <br> Work faster</h1> <h2>Mercurial is a free, distributed source control management tool. It efficiently handles projects of any size and offers an easy and intuitive interface. <strong>Please notice, this page is currently under development and based on a mockup.</strong></h2> </div> <div class="col"> {% download_button 'true' %} </div> </div> <div class="row"> <div class="col big"> <h3>How you can benefit from Mercurial</h3> <ol> <!-- The three sections should now grow more compact as you go down, with power and speed the longest and just works only two simple, clean sentences. --> <li class="i-1"> <h4>It is <a href="{% url about %}">fast and powerful</a></h4> <p>Mercurial offers you the power and speed to efficiently handle <a href="./who_uses_mercurial">projects of any size and kind</a>. Every clone contains the whole project history, so committing, branching, tagging and merging are local operations which makes them fast and convenient. You can use a multitude of <a href="./workflows">workflows</a> and easily enhance its functionality with <a href="./extensions">extensions</a>.</p> </li> <li class="i-2"> <h4>It is <a href="./learn_mercurial">easy to learn</a></h4> <p>You can follow our simple <a href="guide">guide</a> to learn how to revision your documents with Mercurial, or just use the <a href="./quick_start">quick start</a> to get going instantly. If you already know Subversion, please see <a href="mercurial_for_svn_users">Mercurial for svn users</a>.</p> </li> <li class="i-3"> <h4>And it <a href="./testimonies">just works</a></h4> <p>Mercurial strives to deliver on each of its promises. Most tasks simply work on the first try and without requiring arcane knowledge. <!--(If one doesn't, that's most likely no feature but a <a href="http://selenic.com/mercurial/bugs/">bug</a>. Please <a href="http://selenic.com/mercurial/bugs/">tell us about it</a>!) commented out because it feels awkward.--></p> </li> </ol> </div> <div class="col"> <h3>Quick Start</h3> <p><em>Clone a project and create a patch</em> <pre>$ hg clone http://hg-scm.org/hello $ cd hello $ (edit files) $ hg add (new files) $ hg commit -m 'My changes' $ hg export > patch.diff </pre> </p> <p><em>Create a project and commit</em> <pre>$ cd (project-directory) $ hg init $ (add some files) $ hg add $ hg commit -m 'Initial commit' </pre> </p> <!--Change into project dir before initiating repo to avoid a possible stumbling point.--> </div> </div> {% endblock %}