summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3bceec4)
raw | patch | inline | side by side (parent: 3bceec4)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 9 May 2003 03:43:22 +0000 (03:43 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 9 May 2003 03:43:22 +0000 (03:43 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1701 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
templates/classic/html/issue.index.html | patch | blob | history | |
templates/classic/html/style.css | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index e67226d68d74bab7b3ca7197719ff2e8341d6063..2db947bd5d98d711eb8dbb88cb4ca8371574937a 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
- added Windows Service mode for roundup-server when daemonification is
attempted on Windows.
- sort HTMLClass.properties results by name (sf feature 724738)
+- nicer index navigation (sf feature 676866)
Fixed:
- applied unicode patch. All data is stored in utf-8. Incoming messages
index ae9480dd213f0366bc47e3bf6b36b2f0c672a6fd..0d331c5b56116cf9c4578a363b0b9dc102134019 100644 (file)
</tr>
</tal:block>
- <tr class="navigation" tal:define="colspan python:len(request.columns)">
- <th tal:attributes="colspan python:colspan/2">
- <a tal:define="prev batch/previous" tal:condition="prev"
- tal:attributes="href python:request.indexargs_url(request.classname,
- {':startwith':prev.first, ':pagesize':prev.size})"><< previous</a>
-
- </th>
- <th tal:attributes="colspan python:colspan/2 + colspan%2">
- <a tal:define="next batch/next" tal:condition="next"
- tal:attributes="href python:request.indexargs_url(request.classname,
- {':startwith':next.first, ':pagesize':next.size})">next >></a>
-
+
+ <tr tal:condition="batch">
+ <th tal:attributes="colspan python:len(request.columns)">
+ <table width="100%">
+ <tr class="navigation">
+ <th>
+ <a tal:define="prev batch/previous" tal:condition="prev"
+ tal:attributes="href python:request.indexargs_href(request.classname,
+ {':startwith':prev.first, ':pagesize':prev.size})"><< previous</a>
+
+ </th>
+ <th tal:content="python: '%d...%d out of %d'%(batch.start,
+ batch.start+batch.length-1, batch.sequence_length)">current</th>
+ <th>
+ <a tal:define="next batch/next" tal:condition="next"
+ tal:attributes="href python:request.indexargs_href(request.classname,
+ {':startwith':next.first, ':pagesize':next.size})">next >></a>
+
+ </th>
+ </tr>
+ </table>
</th>
</tr>
</table>
index bfd49430a6715539bfb66ed461c3578f8e38f878..6c31365204c0809add9e000f29d80f8520cdc4ad 100644 (file)
}
table.list tr.navigation th {
- text-align: right;
+ width: 33%;
+ border-style: hidden;
+ text-align: center;
+}
+table.list tr.navigation td {
+ border: none
}
table.list tr.navigation th:first-child {
text-align: left;
}
+table.list tr.navigation th:last-child {
+ text-align: right;
+}
/* style for message displays */
font-weight: bold;
text-align: left;
}
+/* SHA: 1c2bdea9d2295da079168403292e5c9039bb5088 */