diff --git a/trac/htdocs/css/wiki.css b/trac/htdocs/css/wiki.css
|
a
|
b
|
|
| 1 | 1 | @import url(code.css); |
| | 2 | |
| | 3 | /* Styles for the path of hierarchical pages */ |
| | 4 | h1.path { margin: 0; padding: 0 0 .5em } |
| | 5 | h1.path :link, h1.path :visited { border: none; padding: 0 .2em; color: #b00 } |
| | 6 | h1.path .sep { color: #666; padding: 0 .1em } |
| | 7 | h1.path .pathentry { float: left } |
| 2 | 8 | |
| 3 | 9 | /* Styles for the page editing form */ |
| 4 | 10 | #edit #rows { float: right; font-size: 80% } |
diff --git a/trac/wiki/templates/wiki_view.html b/trac/wiki/templates/wiki_view.html
|
a
|
b
|
|
| 18 | 18 | |
| 19 | 19 | <body> |
| 20 | 20 | <div id="content" class="wiki"> |
| | 21 | |
| | 22 | <h1 class="path" py:if="'/' in page.name" py:with="parts = page.name.split('/')"> |
| | 23 | <py:for each="idx, part in enumerate(parts)"><a |
| | 24 | class="pathentry" title="View ${'/'.join(parts[:idx + 1])}" href="${href.wiki(*parts[:idx + 1])}">${part}</a><span |
| | 25 | class="pathentry sep" py:if="idx != len(parts) - 1">/</span></py:for> |
| | 26 | <br style="clear: both" /> |
| | 27 | </h1> |
| 21 | 28 | |
| 22 | 29 | <py:if test="version"> |
| 23 | 30 | <table id="info" summary="Revision info"> |