Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/app/templates/filer.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/filer.html')
-rw-r--r--app/templates/filer.html17
1 files changed, 11 insertions, 6 deletions
diff --git a/app/templates/filer.html b/app/templates/filer.html
index 2aefc5b..7667ae7 100644
--- a/app/templates/filer.html
+++ b/app/templates/filer.html
@@ -27,22 +27,23 @@
<body>
<div style="position:absolute; height:24px; z-index: -1;width:${width}px;" class="filer-header">
</div>
- <div style="height:24px;" class="filer-header">
- <ul py:if="files != []" id="icons" style="float:left;padding-left:7px;" class="ui-widget ui-helper-clearfix">
+ <div style="height:24px;position:fixed;" class="filer-header">
+ <ul py:if="files != [] or project_name.startswith('Last')" id="icons" style="float:left;padding-left:7px;" class="ui-widget ui-helper-clearfix">
<li onclick="location='/fileshome/'" class="ui-state-default ui-corner-all" title="Project Home"><span class="ui-icon ui-icon-home"></span></li>
<li class="ui-state-default ui-corner-all" title="New Directory"><span class="ui-icon ui-icon-folder-open"></span></li>
<li onclick="parent.frame1.location='/edit/'" class="ui-state-default ui-corner-all" title="New File"><span class="ui-icon ui-icon-document"></span></li>
</ul>
+ <ul style="float:right;margin-right:10px;" id="icons" class="ui-widget ui-helper-clearfix">
+ <li onclick="toggle_files()" class="ui-state-default ui-corner-all" title="New Directory"><span class="ui-icon ui-icon-arrowstop-1-n"></span></li>
+ <li onclick="location='/history'" class="ui-state-default ui-corner-all" title=".ui-icon-clock"><span class="ui-icon ui-icon-clock"></span></li>
+ </ul>
<div style="padding-top:7px;width:100%;">
<span style="padding-left:10px;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 style="width:${width}px;float:${float}" id="filer" >
<div id="noproject" py:if="files == []" style="color:gray;">
no active project
</div>
@@ -60,6 +61,10 @@
</ul>
</div>
<script>
+function toggle_files() {
+ var fm = top.document.getElementsByTagName("FRAMESET").item(0);
+ fm.rows = (fm.rows != '*,32px' ? '*,32px' : '*,155px' );
+}
jQuery.fn.center = function () {
this.css("position","absolute");
this.css("top", (($(window).height() - this.outerHeight()) / 2) + $(window).scrollTop() + "px");