* templates/dir_new.ezt
Followup to r1335. Drop whitespace from the icon column, and stop setting the font-size to 0 there. git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1337 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/commonize-navdata
parent
4c96e86027
commit
171670a621
|
@ -12,7 +12,7 @@
|
||||||
[end]
|
[end]
|
||||||
</a>
|
</a>
|
||||||
</th>
|
</th>
|
||||||
<th style="width: 96px; font-size: 0" class="vc_header"> </th>
|
<th style="width: 96px" class="vc_header"> </th>
|
||||||
<th class="vc_header[is sortby "rev"]_sort[end]">
|
<th class="vc_header[is sortby "rev"]_sort[end]">
|
||||||
<a href="[sortby_rev_href]#dirlist">Last Change
|
<a href="[sortby_rev_href]#dirlist">Last Change
|
||||||
[is sortby "rev"]
|
[is sortby "rev"]
|
||||||
|
@ -49,55 +49,64 @@
|
||||||
[if-any entries.errors]
|
[if-any entries.errors]
|
||||||
<td colspan="2">[for entries.errors]<em>[entries.errors]</em>[end]</td>
|
<td colspan="2">[for entries.errors]<em>[entries.errors]</em>[end]</td>
|
||||||
[else]
|
[else]
|
||||||
<td style="width: 96px; font-size: 0">
|
[define log_icon_link][if-any entries.log_href]<a
|
||||||
|
href="[entries.log_href]"
|
||||||
|
title="View Log"><img
|
||||||
|
src="[docroot]/images/log.png"
|
||||||
|
alt="View Log"
|
||||||
|
class="vc_icon" /></a>[end][end]
|
||||||
|
|
||||||
[# Icon column. We might want to add more icons like a tarball
|
[is entries.pathtype "dir"]
|
||||||
# icon for directories or a diff to previous icon for files. ]
|
[is roottype "cvs"]
|
||||||
|
[# no point in showing icon when there's only one to choose from]
|
||||||
[if-any entries.log_href]
|
[define view_icon_link][end]
|
||||||
<a href="[entries.log_href]"><img
|
[else]
|
||||||
src="[docroot]/images/log.png"
|
[define view_icon_link]<a
|
||||||
alt="View Log" class="vc_icon" /></a>
|
href="[entries.view_href]"
|
||||||
|
title="View Directory Listing"><img
|
||||||
|
src="[docroot]/images/list.png"
|
||||||
|
alt="View Directory Listing"
|
||||||
|
class="vc_icon" /></a>[end]
|
||||||
[end]
|
[end]
|
||||||
|
[end]
|
||||||
|
|
||||||
[is entries.pathtype "dir"]
|
[is entries.pathtype "file"]
|
||||||
[is roottype "cvs"]
|
[define view_icon_link][if-any entries.view_href]<a
|
||||||
[# no point in showing icon when there's only one to choose from]
|
href="[entries.view_href]"
|
||||||
[else]
|
title="View File"><img
|
||||||
<a href="[entries.view_href]"><img
|
src="[docroot]/images/view.png"
|
||||||
src="[docroot]/images/list.png"
|
alt="View File"
|
||||||
alt="View Directory Listing" class="vc_icon" /></a>
|
class="vc_icon" /></a>[end][end]
|
||||||
[end]
|
|
||||||
[end]
|
|
||||||
|
|
||||||
[is entries.pathtype "file"]
|
[define graph_icon_link][if-any entries.graph_href]<a
|
||||||
[if-any entries.graph_href]
|
href="[entries.graph_href]"
|
||||||
<a href="[entries.graph_href]"
|
|
||||||
title="View Revision Graph"><img
|
title="View Revision Graph"><img
|
||||||
src="[docroot]/images/cvsgraph_16x16.png"
|
src="[docroot]/images/cvsgraph_16x16.png"
|
||||||
alt="View Revision Graph" class="vc_icon" />
|
alt="View Revision Graph"
|
||||||
</a>
|
class="vc_icon" /></a>[end][end]
|
||||||
[end]
|
|
||||||
|
|
||||||
[if-any entries.view_href]
|
[define download_icon_link][if-any entries.download_href]<a
|
||||||
<a href="[entries.view_href]"><img
|
href="[entries.download_href]"
|
||||||
src="[docroot]/images/view.png"
|
title="Download File"><img
|
||||||
alt="View File" class="vc_icon" /></a>
|
src="[docroot]/images/download.png"
|
||||||
[end]
|
alt="Download File"
|
||||||
|
class="vc_icon" /></a>[end][end]
|
||||||
|
|
||||||
[if-any entries.download_href]
|
[define annotate_icon_link][if-any entries.annotate_href]<a
|
||||||
<a href="[entries.download_href]"><img
|
href="[entries.annotate_href]"
|
||||||
src="[docroot]/images/download.png"
|
title="Annotate File"><img
|
||||||
alt="Download File" class="vc_icon" /></a>
|
src="[docroot]/images/annotate.png"
|
||||||
[end]
|
alt="Annotate File"
|
||||||
|
class="vc_icon" /></a>[end][end]
|
||||||
|
[end]
|
||||||
|
|
||||||
|
<td style="width: 96px"
|
||||||
|
>[# Icon column. We might want to add more icons like a tarball
|
||||||
|
# icon for directories or a diff to previous icon for files.
|
||||||
|
# Make sure this sucker has no whitespace in it, or the fixed
|
||||||
|
# widthness of will suffer for large font sizes
|
||||||
|
][log_icon_link][view_icon_link][graph_icon_link][download_icon_link][annotate_icon_link]</td>
|
||||||
|
|
||||||
[if-any entries.annotate_href]
|
|
||||||
<a href="[entries.annotate_href]"><img
|
|
||||||
src="[docroot]/images/annotate.png"
|
|
||||||
alt="Annotate File" class="vc_icon" /></a>
|
|
||||||
[end]
|
|
||||||
[end]
|
|
||||||
</td>
|
|
||||||
<td>
|
<td>
|
||||||
[if-any entries.rev]
|
[if-any entries.rev]
|
||||||
<strong>[if-any entries.revision_href]<a href="[entries.revision_href]">[entries.rev]</a>[else][entries.rev][end]</strong>
|
<strong>[if-any entries.revision_href]<a href="[entries.revision_href]">[entries.rev]</a>[else][entries.rev][end]</strong>
|
||||||
|
|
Loading…
Reference in New Issue