* templates/default/docroot/images/lock-icon.gif

New icon file.

* templates/default/directory.ezt,
* templates/default/docroot/styles.css
  Add template bits for displaying a lock-icon "overlay" for locked
  items in the directory view.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@2774 8cb11bc2-c004-0410-86c3-e597b4017df7
trunk
cmpilato 2012-06-19 20:01:39 +00:00
parent 698e9db4f2
commit 1a6390d78a
3 changed files with 8 additions and 2 deletions

View File

@ -63,7 +63,7 @@
<td style="width: 200px" [if-any click_href]onclick="jumpTo('[click_href]')"[end]>
[if-any click_href]<a name="[entries.anchor]" href="[click_href]" title="[is entries.pathtype "dir"]View Directory Contents[else][if-any entries.prefer_markup]View[else]Download[end] File Contents[end]">[end]
<img src="[docroot]/images/[is entries.pathtype "dir"]dir[else][is entries.state "dead"]broken[else]text[end][end].png" alt="" class="vc_icon" />
[entries.name][is entries.pathtype "dir"]/[end][if-any click_href]</a>[end]
[entries.name][is entries.pathtype "dir"]/[end][if-any click_href]</a>[end][if-any entries.lockinfo]<img src="[docroot]/images/lock-icon.gif" alt="locked" class="vc_overlay" title="Locked by [entries.lockinfo]" />[end]
[is entries.state "dead"](dead)[end]
</td>

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 B

View File

@ -53,7 +53,13 @@ address { font-style: normal; display: inline; }
border: none;
padding: 0 1px;
}
.vc_overlay {
width: 12px;
height: 12px;
border: none;
padding: 0 1px;
vertical-align: top;
}
#vc_header {
padding: 0 0 10px 0;
border-bottom: 10px solid #94bd5e;