comparison templates/frontpage.html @ 248:53a5e100b497

Convert the frontpage, except for the download button.
author Steve Losh <steve@stevelosh.com>
date Wed, 23 Sep 2009 20:34:42 -0400
parents
children 3efd1dcf92c7
comparison
equal deleted inserted replaced
247:3e6869f76b8d 248:53a5e100b497
1 {% extends "base.html" %}
2
3 {% block content %}
4
5 <div class="row">
6 <div class="col big">
7 <h1>Work easier <br> Work faster</h1>
8 <h2>Mercurial is a free, distributed source control management tool. It efficiently handles projects of any size and offers an easy and intuitive interface.</h2>
9 </div>
10 <div class="col">
11 {# TODO: download button #}
12 </div>
13 </div>
14
15 <div class="row">
16 <div class="col big">
17 <h3>How you can benefit from Mercurial</h3>
18 <ol>
19 <!-- 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. -->
20 <li class="i-1">
21 <h4>It is <a href="/about/">fast and powerful</a></h4>
22 <p>Mercurial offers you the power and speed to efficiently handle <a href="/who/">projects of any size and kind</a><!--Reference: http://www.selenic.com/mercurial/wiki/ProjectsUsingMercurial -->. 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="http://www.selenic.com/mercurial/wiki/Workflows">workflows</a> and easily enhance its functionality with <a href="http://www.selenic.com/mercurial/wiki/UsingExtensions">extensions</a>.</p>
23 </li>
24 <li class="i-2">
25 <h4>It is <a href="/learn/">easy to learn</a></h4> <!-- point to a site which begins with a random "easy to learn" testimonial and then shows ways to learn Mercurial, from quick start to indepth -->
26 <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="/quickstart/">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>
27 </li>
28 <li class="i-3">
29 <h4>And it just works</h4>
30 <!--<p><em>Random quote about usability.</em></p>-->
31 <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>!)
32 commented out because it feels awkward.--></p>
33 </li>
34 </ol>
35 </div>
36 <div class="col">
37 <h3>Quick Start</h3>
38
39 <p><em>Clone a project and create a patch</em>
40 <pre>$ hg clone http://hg-scm.org/hello
41 $ cd hello
42 $ (edit files)
43 $ hg add (new files)
44 $ hg commit -m 'My changes'
45 $ hg export tip &gt; patch.diff
46
47 </pre>
48 </p>
49
50 <p><em>Create a project and commit</em>
51 <pre>$ hg init (project-directory)
52 $ cd (project-directory)
53 $ (add some files)
54 $ hg add
55 $ hg commit -m 'Initial commit'
56 </pre>
57 </p>
58 <!--Change into project dir before initiating repo to avoid a possible stumbling point.-->
59 </div>
60 </div>
61
62 {% endblock %}