diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-03-10 00:29:26 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-03-10 00:29:26 +0100 |
| commit | f437e1cf2fca65f0642ea82a29cc96de0d57c06d (patch) | |
| tree | d4004e06333fe7955272e9ef6ddafc9ae4aca558 /ishtar/templates/sheet.html | |
| parent | bd9e6483dd3d7416e1b228e82a70b5d6ba6d3ce6 (diff) | |
| download | Ishtar-f437e1cf2fca65f0642ea82a29cc96de0d57c06d.tar.bz2 Ishtar-f437e1cf2fca65f0642ea82a29cc96de0d57c06d.zip | |
Manage multiple windows
Diffstat (limited to 'ishtar/templates/sheet.html')
| -rw-r--r-- | ishtar/templates/sheet.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ishtar/templates/sheet.html b/ishtar/templates/sheet.html index c157b61a0..8da56345c 100644 --- a/ishtar/templates/sheet.html +++ b/ishtar/templates/sheet.html @@ -12,8 +12,13 @@ </head> <body> {% endblock %} -<div class="sheet"> -<div class="head"><a href='#' onclick='$("#window").hide("slow")'>{% trans "Close" %}</a></div> +<div class="sheet" id='{{window_id}}'> +<script type="text/javascript">var last_window='{{window_id}}';</script> +<div class="head"> +<a href='#' onclick='$("#{{window_id}}").hide("slow")'>{% trans "Close" %}</a> - +<a href='#' onclick='$("#window > div").hide("slow");$("#window").html("")'> +{% trans "Close all windows" %} +</a></div> <div class="body"> {% block content %}{% endblock %} </div> |
