annotate templates/base.html @ 415:b40d4f1881cf

say that the editor opens on commit and note how to avoid that.
author drak@kaverne
date Thu, 18 Sep 2014 10:55:08 +0200
parents 7336a790df11
children af50c4dda1f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
367
bb27170e2218 Updated from typeface.js 0.13 to 0.15 for IE9 compat.
Tatham Oddie <tatham@oddie.com.au>
parents: 349
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
2 "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
3 <html>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
4 <head>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
397
29d4b5e45423 Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents: 367
diff changeset
6 <link href="{{ url_for('static', filename='css/styles.css') }}" type="text/css" rel="stylesheet">
29d4b5e45423 Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents: 367
diff changeset
7 <script type="text/javascript" src="{{ url_for('static', filename='js/common.js') }}"></script>
402
4e908cffaa62 Add static.js symlink
David Soria Parra <davidsp@fb.com>
parents: 399
diff changeset
8 <script type="text/javascript" src="{{ url_for('static', filename='sources.js') }}"></script>
397
29d4b5e45423 Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents: 367
diff changeset
9 <script type="text/javascript" src="{{ url_for('static', filename='js/download.js') }}"></script>
349
fb3ce83c1a48 download: use sources.js instead of jinja static templates
David Champion <dgc@uchicago.edu>
parents: 347
diff changeset
10 <script language="javascript">
fb3ce83c1a48 download: use sources.js instead of jinja static templates
David Champion <dgc@uchicago.edu>
parents: 347
diff changeset
11 Downloader.init(sources);
fb3ce83c1a48 download: use sources.js instead of jinja static templates
David Champion <dgc@uchicago.edu>
parents: 347
diff changeset
12 var dl = Downloader.select();
260
dd7fababf8b6 Working version of the download button with simple OS detection
David Soria Parra <dsp@php.net>
parents: 259
diff changeset
13 </script>
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
14 <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
15
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
16 <title>Mercurial SCM</title>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
17 </head>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
18 <body id="home">
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
19 <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
20
398
1004393230cf Remove typeface and rely on @font-face
David Soria Parra <davidsp@fb.com>
parents: 397
diff changeset
21 <ul id="nav">
397
29d4b5e45423 Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents: 367
diff changeset
22 <li><a href="/about">about</a></li>
29d4b5e45423 Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents: 367
diff changeset
23 <li><a href="/guide">guide</a></li>
29d4b5e45423 Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents: 367
diff changeset
24 <li><a href="/downloads">download</a></li>
265
9e56363c57a5 Use mercurial.selenic.com instead of selenic.com/mercurial
David Soria Parra <dsp@php.net>
parents: 261
diff changeset
25 <li><a href="http://mercurial.selenic.com/wiki/UsingExtensions">extensions</a></li>
273
f255cc055e78 Rename docs/news to news/wiki
David Soria Parra <dsp@php.net>
parents: 268
diff changeset
26 <li><a href="http://mercurial.selenic.com/wiki/">news/wiki</a></li>
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
27 </ul>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
28
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
29 <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
30 <input type="hidden" name="action" value="fullsearch">
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
31 <input type="hidden" name="context" value="180">
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
32 <fieldset>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
33 <legend>Search form</legend>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
34 <label for="keyword">keyword</label>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
35 <input class="text" type="text" name="value"
276
6916a7e4fbf0 base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents: 273
diff changeset
36 value="Search the Wiki" id="keyword" onclick="resetBar();">
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
37 <input class="submit" type="submit" value="Title"
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
38 name="titlesearch" alt="Search Titles">
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
39 </fieldset>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
40 </form>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
41
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
42 <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
43 {% block main %}
3efd1dcf92c7 Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents: 248
diff changeset
44 <div class="row">
3efd1dcf92c7 Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents: 248
diff changeset
45 <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
46 {% block content %}
3efd1dcf92c7 Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents: 248
diff changeset
47 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
48 {% endblock %}
3efd1dcf92c7 Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents: 248
diff changeset
49 </div>
3efd1dcf92c7 Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents: 248
diff changeset
50 <div class="col">
3efd1dcf92c7 Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents: 248
diff changeset
51 {% block sidebar %}
398
1004393230cf Remove typeface and rely on @font-face
David Soria Parra <davidsp@fb.com>
parents: 397
diff changeset
52 <a class="download" href="/downloads" onClick="return dl.download();">
255
4a52186008ee Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents: 252
diff changeset
53 <strong>Download now</strong>
349
fb3ce83c1a48 download: use sources.js instead of jinja static templates
David Champion <dgc@uchicago.edu>
parents: 347
diff changeset
54 Mercurial <em><script language="Javascript">dl.write('version');</script></em>
fb3ce83c1a48 download: use sources.js instead of jinja static templates
David Champion <dgc@uchicago.edu>
parents: 347
diff changeset
55 <span><script language="javascript">dl.write('desc');</script></span>
255
4a52186008ee Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents: 252
diff changeset
56 </a>
4a52186008ee Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents: 252
diff changeset
57 <dl>
343
b2a8c4590630 base: Add notice about Python included in binary packages
Adrian Buehlmann <adrian@cadifra.com>
parents: 313
diff changeset
58 <dt>Another OS?<br><em>Get Mercurial for:</em></dt>
255
4a52186008ee Add a first version of the sidebar
David Soria Parra <dsp@php.net>
parents: 252
diff changeset
59 <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
60 <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
61 <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
62 </dl>
252
3efd1dcf92c7 Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents: 248
diff changeset
63 {% endblock %}
3efd1dcf92c7 Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents: 248
diff changeset
64 </div>
3efd1dcf92c7 Refactor the block structure a bit, and convert the about page.
Steve Losh <steve@stevelosh.com>
parents: 248
diff changeset
65 </div>
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
66 {% endblock %}
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
67 </div>
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
68
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
69 <div id="footer">
413
7336a790df11 Add google+ link to verify site
David Soria Parra <davidsp@fb.com>
parents: 409
diff changeset
70 <a href="https://plus.google.com/112477627281544607334"
7336a790df11 Add google+ link to verify site
David Soria Parra <davidsp@fb.com>
parents: 409
diff changeset
71 rel="publisher">G+</a> /
248
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> /
409
b84223150592 Fix hrefs to not ending in /
David Soria Parra <davidsp@fb.com>
parents: 402
diff changeset
75 <a href="/thepage">about this page</a>
248
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>