--- a/templates/results.html Fri Jul 17 01:04:17 2015 +0800
+++ b/templates/results.html Fri Jul 17 01:06:02 2015 +0800
- <a href="{{ setrev() }}">back to tip</a>
- {% set prevrev = changesets[0]['rev'] + 120 if changesets else None %}
- {% if prevrev %}<a href="{{ setrev(prevrev) }}">prev page</a>{% end %}
- {% set nextrev = changesets[-1]['rev'] - 1 if changesets else None %}
- {% if nextrev > -1 %}<a href="{{ setrev(nextrev) }}">next page</a>{% end %}
- <span style="color: #777;">
- hover things for a tooltip; red means slow, green means fast; first
- color and time means without .hg/cache, second means with .hg/cache.
+ <a href="{{ setrev() }}">back to tip</a>
+ {% set prevrev = changesets[0]['rev'] + 120 if changesets else None %}
+ {% if prevrev %}<a href="{{ setrev(prevrev) }}">prev page</a>{% end %}
+ {% set nextrev = changesets[-1]['rev'] - 1 if changesets else None %}
+ {% if nextrev > -1 %}<a href="{{ setrev(nextrev) }}">next page</a>{% end %}
+ <span style="color: #777;">
+ hover things for a tooltip; red means slow, green means fast; first
+ color and time means without .hg/cache, second means with .hg/cache.
local colors (<a href="{{ setlocal(None) }}">switch to global colors</a>)
global colors (<a href="{{ setlocal(1) }}">switch to local colors</a>)
{% for mark, desc in marks.items() %}
-<a href="{{ setmarks(remove=mark) }}" title="{{ desc }}">{{ mark }}</a>
+<a href="{{ setmarks(add=mark) }}" title="{{ desc }}">{{ mark }}</a>
*<a href="{{ setmarks() }}">all</a>
- <a href="{{ setrev() }}">back to tip</a>
- {% if prevrev %}<a href="{{ setrev(prevrev) }}">prev page</a>{% end %}
- {% if nextrev > -1 %}<a href="{{ setrev(nextrev) }}">next page</a>{% end %}
+ <a href="{{ setrev() }}">back to tip</a>
+ {% if prevrev %}<a href="{{ setrev(prevrev) }}">prev page</a>{% end %}
+ {% if nextrev > -1 %}<a href="{{ setrev(nextrev) }}">next page</a>{% end %}