From 1cd62e7c523cf339bd2a18ec3f093fc838db563a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 23 Aug 2016 20:18:49 +0200 Subject: UI: new (and nicer) layout for sheet header --- .../templates/ishtar/blocks/window_nav.html | 41 ++++++++++++++++++++++ ishtar_common/templates/ishtar/sheet.html | 32 ++++++++++++++--- 2 files changed, 69 insertions(+), 4 deletions(-) create mode 100644 ishtar_common/templates/ishtar/blocks/window_nav.html (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/blocks/window_nav.html b/ishtar_common/templates/ishtar/blocks/window_nav.html new file mode 100644 index 000000000..6f4d94d6b --- /dev/null +++ b/ishtar_common/templates/ishtar/blocks/window_nav.html @@ -0,0 +1,41 @@ +{% load url from future %} +{% load i18n %} +{% if previous or next %} +
+{% if previous %} + + + + + +
{{previous}} +
+{% endif %} +{% if next %} + + + + + +
{% trans "Restaure" %} +
+ + + + + +
{{next}} +
+{% endif %} +
+{% endif %} +
+ + + + + + +ODT PDF +
+
diff --git a/ishtar_common/templates/ishtar/sheet.html b/ishtar_common/templates/ishtar/sheet.html index 5da837ab4..bfefd5eb6 100644 --- a/ishtar_common/templates/ishtar/sheet.html +++ b/ishtar_common/templates/ishtar/sheet.html @@ -18,11 +18,35 @@
- -{% trans "Close" %} - -{% trans "Close all windows" %} - + + + + + + + + + + + + + +

{% block head_title %}{% endblock %}