annotate hgscm/templates/frontpage.html @ 170:6ebe8ec48a77

Work on the front page. Now we only need the quick_start, the testimonies for ease of use and the projects_using_mercurial - TODO: Check if we can find a nice svn transition guide.
author Arne Babenhauserheide <bab@draketo.de>
date Thu, 14 May 2009 03:17:12 +0200
parents 5451a67b896f
children 2e3d82c01ea5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
1 {% extends "base.html" %}
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
2
78
8d25e34c21c2 templatetags: Add DownloadButton tag to display a download button according to operating system
David Soria Parra <dsp@php.net>
parents: 70
diff changeset
3 {% load extras %}
26
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
4 {% block content %}
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
5
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
6 <div class="row">
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
7 <div class="col big">
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
8 <h1>Work easier <br> Work faster</h1>
81
cbd90a4980e6 templates: Make the WIP warning more prominent.
Dennis Brakhane <brakhane@googlemail.com>
parents: 78
diff changeset
9 <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>
26
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
10 </div>
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
11 <div class="col">
78
8d25e34c21c2 templatetags: Add DownloadButton tag to display a download button according to operating system
David Soria Parra <dsp@php.net>
parents: 70
diff changeset
12 {% download_button 'true' %}
26
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
13 </div>
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
14 </div>
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
15
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
16 <div class="row">
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
17 <div class="col big">
48
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
18 <h3>How you can benefit from Mercurial</h3>
26
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
19 <ol>
69
a7dceecdbd46 Added more specific information to the benefit section.
Arne Babenhauserheide <bab@draketo.de>
parents: 67
diff changeset
20 <!-- 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. -->
26
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
21 <li class="i-1">
60
37a0375fbddc templates: Use url helper to provide the link to about page
David Soria Parra <dsp@php.net>
parents: 59
diff changeset
22 <h4>It is <a href="{% url about %}">fast and powerful</a></h4>
170
6ebe8ec48a77 Work on the front page. Now we only need the quick_start, the testimonies for ease of use and the projects_using_mercurial - TODO: Check if we can find a nice svn transition guide.
Arne Babenhauserheide <bab@draketo.de>
parents: 155
diff changeset
23 <p>Mercurial offers you the power and speed to efficiently handle <a href="./who_uses_mercurial">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>
26
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
24 </li>
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
25 <li class="i-2">
112
96ad42e4c2db Added comment with structure idea to the front page.
Arne Babenhauserheide <bab@draketo.de>
parents: 109
diff changeset
26 <h4>It is <a href="./learn_mercurial">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 -->
170
6ebe8ec48a77 Work on the front page. Now we only need the quick_start, the testimonies for ease of use and the projects_using_mercurial - TODO: Check if we can find a nice svn transition guide.
Arne Babenhauserheide <bab@draketo.de>
parents: 155
diff changeset
27 <p>You can follow our simple <a href="workflow_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>
26
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
28 </li>
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
29 <li class="i-3">
48
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
30 <h4>And it <a href="./testimonies">just works</a></h4>
94
55590dd8b231 Added commented out section which could be used for quotes about usability -> show that Mercurial just works as opposed to only saying that it intends to do so.
Arne Babenhauserheide <bab@draketo.de>
parents: 93
diff changeset
31 <!--<p><em>Random quote about usability.</em></p>-->
48
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
32 <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>!)
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
33 commented out because it feels awkward.--></p>
26
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
34 </li>
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
35 </ol>
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
36 </div>
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
37 <div class="col">
48
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
38 <h3>Quick Start</h3>
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
39
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
40 <p><em>Clone a project and create a patch</em>
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
41 <pre>$ hg clone http://hg-scm.org/hello
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
42 $ cd hello
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
43 $ (edit files)
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
44 $ hg add (new files)
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
45 $ hg commit -m 'My changes'
109
73cc830ff069 FIX Quickstart: 'hg export tip'
Arne Babenhauserheide <bab@draketo.de>
parents: 94
diff changeset
46 $ hg export tip &gt; patch.diff
48
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
47
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
48 </pre>
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
49 </p>
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
50
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
51 <p><em>Create a project and commit</em>
92
6aa30181ae14 Fixed quickstart: First init, then cd.
Arne Babenhauserheide <bab@draketo.de>
parents: 48
diff changeset
52 <pre>$ hg init (project-directory)
6aa30181ae14 Fixed quickstart: First init, then cd.
Arne Babenhauserheide <bab@draketo.de>
parents: 48
diff changeset
53 $ cd (project-directory)
48
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
54 $ (add some files)
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
55 $ hg add
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
56 $ hg commit -m 'Initial commit'
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
57 </pre>
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
58 </p>
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
59 <!--Change into project dir before initiating repo to avoid a possible stumbling point.-->
26
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
60 </div>
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
61 </div>
b3d9cbb33d54 adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff changeset
62
48
360d682148ce frontpage: Add quickstart and sync benifit from mercurial text
David Soria Parra <dsp@php.net>
parents: 26
diff changeset
63 {% endblock %}