Download:
child 21:0a913a93173d
parent 19:4a77e5b067b8
20:2121bac8dcf0
Anton Shestakov <engored@ya.ru>, Mon, 11 May 2015 01:31:25 +0800
viewer: move links to <header> and <footer> elements

1 файлов изменено, 12 вставок(+), 8 удалений(-) [+]
templates/results.html file | annotate | diff | comparison | revisions
--- a/templates/results.html Mon May 11 01:21:16 2015 +0800
+++ b/templates/results.html Mon May 11 01:31:25 2015 +0800
@@ -31,11 +31,13 @@
</style>
</head>
<body>
- <a href="/results.html">back to tip</a>
- {% set prevrev = changesets[0]['rev'] + 120 if changesets else None %}
- {% if prevrev %}<a href="?rev=rev({{ prevrev }})">prev page</a>{% end %}
- {% set nextrev = changesets[-1]['rev'] - 1 if changesets else None %}
- {% if nextrev > -1 %}<a href="?rev=rev({{ nextrev }})">next page</a>{% end %}
+ <header>
+ <a href="/results.html">back to tip</a>
+ {% set prevrev = changesets[0]['rev'] + 120 if changesets else None %}
+ {% if prevrev %}<a href="?rev=rev({{ prevrev }})">prev page</a>{% end %}
+ {% set nextrev = changesets[-1]['rev'] - 1 if changesets else None %}
+ {% if nextrev > -1 %}<a href="?rev=rev({{ nextrev }})">next page</a>{% end %}
+ </header>
<table>
<thead>
<tr>
@@ -76,8 +78,10 @@
{% end %}
</tbody>
</table>
- <a href="/results.html">back to tip</a>
- {% if prevrev %}<a href="?rev=rev({{ prevrev }})">prev page</a>{% end %}
- {% if nextrev > -1 %}<a href="?rev=rev({{ nextrev }})">next page</a>{% end %}
+ <footer>
+ <a href="/results.html">back to tip</a>
+ {% if prevrev %}<a href="?rev=rev({{ prevrev }})">prev page</a>{% end %}
+ {% if nextrev > -1 %}<a href="?rev=rev({{ nextrev }})">next page</a>{% end %}
+ </footer>
</body>
</html>