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 | 1fe643357ffdfa927e4a0c048412d09ef478f8c0 (patch) | |
| tree | d4004e06333fe7955272e9ef6ddafc9ae4aca558 /ishtar/templates/sheet.html | |
| parent | c66f45d648982d0aa7f62104d8009cfae7c7ccf7 (diff) | |
| download | Ishtar-1fe643357ffdfa927e4a0c048412d09ef478f8c0.tar.bz2 Ishtar-1fe643357ffdfa927e4a0c048412d09ef478f8c0.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> |
