diff options
Diffstat (limited to 'studio/templates/filer.html')
-rw-r--r-- | studio/templates/filer.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/studio/templates/filer.html b/studio/templates/filer.html index 5ca87e7..f03f3ac 100644 --- a/studio/templates/filer.html +++ b/studio/templates/filer.html @@ -39,10 +39,15 @@ <div id="filer" class="bling"> <ul> <li py:for="file in files"> - <a href="${file.href}" class="file"> + <a py:if="file.mode == 'dir'" href="${file.href}" class="file"> <img src="/static/icons/${file.icon}" style="border:none;"/> <br/>${file.name} - </a></li> + </a> + <a py:if="file.mode != 'dir'" target="frame1" href="${file.href}" class="file"> + <img src="/static/icons/${file.icon}" style="border:none;"/> + <br/>${file.name} + </a> + </li> </ul> </div> <script> |