Mercurial > hg-website
annotate templates/base.html @ 259:b18d0f96829d
Merge sjl/hg-website
author | David Soria Parra <dsp@php.net> |
---|---|
date | Sun, 04 Oct 2009 04:21:47 +0200 |
parents | 4a52186008ee 37c381bc813d |
children | dd7fababf8b6 |
rev | line source |
---|---|
258
37c381bc813d
Pull out the download list into a new file.
Steve Losh <steve@stevelosh.com>
parents:
257
diff
changeset
|
1 {% from 'data' import downloads %} |
257
cebed91e780d
Add a sample of passing the download list with jinja.
Steve Losh <steve@stevelosh.com>
parents:
252
diff
changeset
|
2 |
248
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
4 "http://www.w3.org/TR/html4/loose.dtd"> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
5 <html> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
6 <head> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
8 <link href="/css/styles.css" type="text/css" rel="stylesheet"> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
9 <script type="text/javascript" src="/javascript/typeface.js"></script> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
10 <script type="text/javascript" src="/javascript/optimer_regular.typeface.js"></script> |
255
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
11 <script type="text/javascript" src="/javascript/download.js"></script> |
248
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
12 <link rel="shortcut icon" type="image/x-icon" href="/images/favicon.ico"> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
13 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
14 <title>Mercurial SCM</title> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
15 </head> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
16 <body id="home"> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
17 <h1 id="logo"><a href="/">mercurial</a></h1> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
18 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
19 <ul id="nav" class="typeface-js"> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
20 <li><a href="/about/">about</a></li> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
21 <li><a href="/guide/">guide</a></li> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
22 <li><a href="/downloads/">download</a></li> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
23 <li><a href="http://www.selenic.com/mercurial/wiki/UsingExtensions">extensions</a></li> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
24 <li><a href="http://www.selenic.com/mercurial">docs/news</a></li> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
25 </ul> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
26 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
27 <form id="search" method="get" action="http://mercurial.selenic.com/wiki/Mercurial"> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
28 <input type="hidden" name="action" value="fullsearch"> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
29 <input type="hidden" name="context" value="180"> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
30 <fieldset> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
31 <legend>Search form</legend> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
32 <label for="keyword">keyword</label> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
33 <input class="text" type="text" name="value" |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
34 value="Search the Wiki" id="keyword"> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
35 <input class="submit" type="submit" value="Title" |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
36 name="titlesearch" alt="Search Titles"> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
37 </fieldset> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
38 </form> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
39 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
40 <div id="content"> |
252
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
41 {% block main %} |
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
42 <div class="row"> |
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
43 <div class="col big"> |
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
44 {% block content %} |
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
45 No content on this page yet. |
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
46 {% endblock %} |
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
47 </div> |
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
48 <div class="col"> |
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
49 {% block sidebar %} |
255
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
50 <a class="download typeface-js" href="/downloads"> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
51 <strong>Download now</strong> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
52 Mercurial <em>1.3.1</em> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
53 <span><script language="javascript">os_detection();</script></span> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
54 </a> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
55 <dl> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
56 <dt class="typeface-js">Requirements</dt> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
57 <dd>Python 2.4 (<a href="http://www.python.org">get python</a>)</dd> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
58 <!--2.4 is necessary for TortoiseHG, Mercurial only needs 2.3--> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
59 |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
60 <dt>Another OS?<br><em>Get mercurial for:</em></dt> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
61 <dd><a href="/downloads">Mac OS X</a></dd> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
62 <dd><a href="/downloads">Windows</a></dd> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
63 <dd><a href="/downloads">other</a></dd> |
4a52186008ee
Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents:
252
diff
changeset
|
64 </dl> |
252
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
65 {% endblock %} |
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
66 </div> |
3efd1dcf92c7
Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents:
248
diff
changeset
|
67 </div> |
248
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
68 {% endblock %} |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
69 </div> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
70 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
71 <div id="footer"> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
72 design by <a href="http://www.designpunct.ro">punct</a> / |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
73 design courtesy of <a href="http://www.bitbucket.org/">bitbucket</a> / |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
74 licensed under <a href="http://www.gnu.org/licenses/gpl-2.0.txt">GPLv2</a> / |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
75 <a href="/about-page/">about this page</a> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
76 </div> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
77 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
78 </body> |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
79 </html> |