Mercurial > hg-website
annotate hgscm/templates/base.html @ 218:7ba358bcf795
Changed the search form to search the wiki.
author | Arne Babenhauserheide <bab@draketo.de> |
---|---|
date | Fri, 10 Jul 2009 10:36:15 +0200 |
parents | 2e9f9bc797f6 |
children | 101601f15bf5 |
rev | line source |
---|---|
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
2 "http://www.w3.org/TR/html4/loose.dtd"> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
3 <html> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
4 <head> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
6 <link href="{{ MEDIA_URL }}css/styles.css" type="text/css" rel="stylesheet"> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
7 <script type="text/javascript" src="{{ MEDIA_URL }}javascript/typeface.js"></script> |
75 | 8 <script type="text/javascript" src="{{ MEDIA_URL }}javascript/optimer_regular.typeface.js"></script> |
9 <link rel="shortcut icon" type="image/x-icon" href="{{ MEDIA_URL }}images/favicon.ico"> | |
10 | |
47
5cbab8b1194c
templates: Use "Mercurial SCM" as a title
David Soria Parra <dsp@php.net>
parents:
46
diff
changeset
|
11 <title>Mercurial SCM</title> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
12 </head> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
13 <body id="home"> |
82
15424b1a24a5
base-template: replace 'page' with 'site' in WIP warning
Dennis Brakhane <brakhane@googlemail.com>
parents:
81
diff
changeset
|
14 <div class="wip-warning">Please note that this site is <em>work in progress and incomplete</em>! You probably want to <a href="http://www.selenic.com/mercurial" style="color: #3d3dfa">visit the official mercurial homepage</a> instead.</div> |
26
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 <h1 id="logo"><a href="/">mercurial</a></h1> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
17 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
18 <ul id="nav" class="typeface-js"> |
46
2c9642c7fa43
templates: Use url helper to provide the right link
David Soria Parra <dsp@php.net>
parents:
45
diff
changeset
|
19 <li><a href="{% url about %}">about</a></li> |
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:
82
diff
changeset
|
20 <li><a href="{% url workflow_guide %}">guide</a></li> |
70
bef09338eceb
downloads: add initial handling for downloads
David Soria Parra <dsp@php.net>
parents:
65
diff
changeset
|
21 <li><a href="{% url downloads %}">download</a></li> |
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:
82
diff
changeset
|
22 <li><a href="http://www.selenic.com/mercurial/wiki/UsingExtensions">extensions</a></li> |
212
2e9f9bc797f6
renamed docs into docs/news
Arne Babenhauserheide <bab@draketo.de>
parents:
170
diff
changeset
|
23 <li><a href="http://www.selenic.com/mercurial">docs/news</a></li> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
24 </ul> |
218
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
25 <!-- original Search form: |
45
7276388fc71b
about: integrate about page in django version
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
26 <form id="search" method="post" action="search/"> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
27 <fieldset> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
28 <legend>Search form</legend> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
29 <label for="keyword">keyword</label> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
30 <input class="text" type="text" name="keyword" id="keyword"> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
31 <input class="submit" type="submit" value="search"> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
32 </fieldset> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
33 </form> |
218
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
34 --> |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
35 <!-- Search form for the wiki --> |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
36 <form id="search" method="get" action="http://mercurial.selenic.com/wiki/Mercurial"> |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
37 <input type="hidden" name="action" value="fullsearch"> |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
38 <input type="hidden" name="context" value="180"> |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
39 <fieldset> |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
40 <legend>Search form</legend> |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
41 <label for="keyword">keyword</label> |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
42 <input class="text" type="text" name="value" |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
43 value="Search the Wiki" id="keyword"> |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
44 <input class="submit" type="submit" value="Title" |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
45 name="titlesearch" alt="Search Titles"> |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
46 </fieldset> |
7ba358bcf795
Changed the search form to search the wiki.
Arne Babenhauserheide <bab@draketo.de>
parents:
212
diff
changeset
|
47 </form> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
48 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
49 <div id="content"> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
50 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
51 {% block content %} |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
52 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
53 No content on this page yet. |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
54 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
55 {% endblock %} |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
56 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
57 </div> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
58 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
59 <div id="footer"> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
60 design by <a href="http://www.designpunct.ro">punct</a> / |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
61 design courtesy of <a href="http://www.bitbucket.org/">bitbucket</a> / |
65 | 62 licensed under <a href="http://www.gnu.org/licenses/gpl-2.0.txt">GPLv2</a> / |
63 <a href="{% url thepage %}">about this page</a> | |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
64 </div> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
65 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
66 </body> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
67 </html> |