Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/websdk/templates/filer.html
blob: eb2a0034811a4624d1af4fb87cecc3e4794f19d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:py="http://genshi.edgewall.org/">
<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <title>Filer</title>
  <link rel="stylesheet" href="/static/css/main.css" type="text/css" />
<script src="/static/js/jquery-1.6.2.js" type="text/javascript"></script>
<script src="/static/js/jquery.corner.js" type="text/javascript"></script>
<!-- <script src="/static/js/jquery.plugin.svgimg.js" type="text/javascript"></script>
  <script src="js/jquery-plugins/json.js" type="text/javascript"></script>
  <script src="js/jquery-plugins/jquery.hotkeys-0.7.8.js" type="text/javascript"></script>
  <script src="js/jquery-plugins/jquery.intercept.js" type="text/javascript"></script> -->
</head>
<body>
    <div id="filer-header">
        <span>${absdir}/</span>
    </div>
    <div id="filer" class="bling">
    <ul>
        <li py:for="file in files">
        <a href="${file.href}" class="file">
        <img src="/static/icons/${file.icon}" />
        <span class="moz-file"><object type="image/svg+xml" 
                data="/static/icons/${file.icon}">
        </object></span>
        <br/>${file.name}
        </a></li>
    </ul>
    </div>
<script>
window.onload = function() {
    $('.file').corner("15px");
    $('.bling').show("slow");
    $('filer-header').slideDown("slow");
    if ($.browser.mozilla) {
        $('#filer img').hide(); 
        $('#filer span').show(); 
    }
};
</script>
</body>
</html>