Mercurial > hg-website
annotate hgscm/templates/base.html @ 81:cbd90a4980e6
templates: Make the WIP warning more prominent.
This required some changes on unrelated CSS classes. Hooray for pixel-perfect web designs!
author | Dennis Brakhane <brakhane@googlemail.com> |
---|---|
date | Sun, 22 Feb 2009 16:50:14 +0100 |
parents | 7cf137affc0e |
children | 15424b1a24a5 |
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"> |
81
cbd90a4980e6
templates: Make the WIP warning more prominent.
Dennis Brakhane <brakhane@googlemail.com>
parents:
80
diff
changeset
|
14 <div class="wip-warning">Please note that this page 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> |
70
bef09338eceb
downloads: add initial handling for downloads
David Soria Parra <dsp@php.net>
parents:
65
diff
changeset
|
20 <li><a href="{% url downloads %}">download</a></li> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
21 <li><a href="javascript:void(0);">extensions</a></li> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
22 <li><a href="javascript:void(0);">docs</a></li> |
80 | 23 <li><a href="http://www.selenic.com/mercurial">wiki</a></li> |
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
24 </ul> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
25 |
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> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
34 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
35 <div id="content"> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
36 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
37 {% block content %} |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
38 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
39 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
|
40 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
41 {% endblock %} |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
42 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
43 </div> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
44 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
45 <div id="footer"> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
46 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
|
47 design courtesy of <a href="http://www.bitbucket.org/">bitbucket</a> / |
65 | 48 licensed under <a href="http://www.gnu.org/licenses/gpl-2.0.txt">GPLv2</a> / |
49 <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
|
50 </div> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
51 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
52 </body> |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
53 </html> |