diff options
author | Sebastian Silva <sebastian@sugarlabs.org> | 2011-11-16 07:56:19 (GMT) |
---|---|---|
committer | Sebastian Silva <sebastian@sugarlabs.org> | 2011-11-16 07:56:19 (GMT) |
commit | 82511a6fe2d29d50c1cdca4b2abb23ff681a1943 (patch) | |
tree | ff6359d68287417abfaaf49e492e2630239e60c9 /app/templates/filer.html | |
parent | 61517139f02df2ce417f465dfabdbf5dbe8f4063 (diff) |
Major improvements in IDE usability.
Diffstat (limited to 'app/templates/filer.html')
-rw-r--r-- | app/templates/filer.html | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/app/templates/filer.html b/app/templates/filer.html new file mode 100644 index 0000000..18ce136 --- /dev/null +++ b/app/templates/filer.html @@ -0,0 +1,71 @@ +<!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" /> + <link rel="stylesheet" href="/static/css/sugar-theme/jquery-ui-1.8.16.sugar.css" /> +<script src="/static/js/jquery-1.6.2.js" type="text/javascript"></script> +<script src="/static/js/jquery-ui-1.8.16.sugar.min.js" type="text/javascript"></script> +<script src="/static/js/jquery.corner.js" type="text/javascript"></script> +<script src="/static/js/websdk-1.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> --> + <style type="text/css"> + .demoHeaders { margin-top: 2em; } + #dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;} + #dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;} + ul#icons {margin: 0; padding: 0;} + ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left; list-style: none;} + ul#icons span.ui-icon {float: left; margin: 0 4px;} + </style> +</head> +<body> + <div style="position:absolute; height:24px; z-index: -1" class="filer-header"> + </div> + <div style="height:24px;width:${width}px;" class="filer-header"> + <ul id="icons" style="float:left" class="ui-widget ui-helper-clearfix"> + <li onclick="location='/fileshome/'" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-home"></span></li> + </ul> + <div style="margin-left:15px;padding-top:7px;"> + <span style="color:gray">[${project_name}]</span> /${absdir} + </div> + <!-- ul id="icons" class="ui-widget ui-helper-clearfix"> + <li class="ui-state-default ui-corner-all" title=".ui-icon-home"><span class="ui-icon ui-icon-home"></span></li> + </ul--> + </div> + + <div style="width:${width}px;" id="filer" > + <div py:if="files == []" style="width:100%;text-align:center;color:gray;"> + no active project + </div> + <ul> + <li py:for="file in files"> + <a py:if="file.mode == 'dir'" href="${file.href}" class="file"> + <img src="/static/icons/${file.icon}" style="border:none;"/> + <br/>${file.name} + </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> +document.ready = function() { + $('.file').corner("15px"); + $("#filer").show("slow"); + /*if ($.browser.mozilla) { + $('#filer img').hide(); + $('#filer span').show(); + }*/ + $( "input:button" ).button(); +}; +</script> +</body> +</html> |