From 29ca22925d3fbdfdc2c7a09b1d99cc36b0874369 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 14 Feb 2018 15:46:19 +0100 Subject: Archaeological site: simple sheet (refs #3913) --- .../templates/ishtar/sheet_site.html | 44 ++++++++++++++++++++++ .../templates/ishtar/sheet_site_pdf.html | 14 +++++++ .../templates/ishtar/sheet_site_window.html | 3 ++ 3 files changed, 61 insertions(+) create mode 100644 archaeological_operations/templates/ishtar/sheet_site.html create mode 100644 archaeological_operations/templates/ishtar/sheet_site_pdf.html create mode 100644 archaeological_operations/templates/ishtar/sheet_site_window.html (limited to 'archaeological_operations/templates') diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html new file mode 100644 index 000000000..2f0ac9317 --- /dev/null +++ b/archaeological_operations/templates/ishtar/sheet_site.html @@ -0,0 +1,44 @@ +{% extends "ishtar/sheet.html" %} +{% load i18n window_tables window_header window_ope_tables window_field from_dict %} + +{% block head_title %}{{SITE_LABEL}} - {{item}}{% endblock %} + +{% block toolbar %} +{%comment%} +{% window_nav item window_id 'show-site' 'site_modify' 'show-historized-site' 'revert-site' previous next 1 %} +{%endcomment%} + +{% window_nav item window_id 'show-site' %} +{% endblock %} + +{% block content %} + +
+
+
+ {% include "ishtar/blocks/window_image.html" %} +
+
+
+ {{item.reference}} + {{item.name}} +
+
+ {% include "ishtar/blocks/sheet_external_id.html" %} +
+
+

+

+
+
+
+
+ +

{% trans "General"%}

+ +
+ {% include "ishtar/blocks/sheet_creation_section.html" %} + {% field_flex_multiple "Periods" item.periods %} + {% field_flex_multiple "Remains" item.remains %} +
+{% endblock %} \ No newline at end of file diff --git a/archaeological_operations/templates/ishtar/sheet_site_pdf.html b/archaeological_operations/templates/ishtar/sheet_site_pdf.html new file mode 100644 index 000000000..c180c27ed --- /dev/null +++ b/archaeological_operations/templates/ishtar/sheet_site_pdf.html @@ -0,0 +1,14 @@ +{% extends "ishtar/sheet_site.html" %} +{% block header %} +{% endblock %} +{% block main_head %} +{{ block.super }} +
+Ishtar – {{APP_NAME}} – {{item}} +
+{% endblock %} +{%block head_sheet%}{%endblock%} +{%block main_foot%} + + +{%endblock%} diff --git a/archaeological_operations/templates/ishtar/sheet_site_window.html b/archaeological_operations/templates/ishtar/sheet_site_window.html new file mode 100644 index 000000000..ed5a8027e --- /dev/null +++ b/archaeological_operations/templates/ishtar/sheet_site_window.html @@ -0,0 +1,3 @@ +{% extends "ishtar/sheet_site.html" %} +{% block main_head %}{%endblock%} +{% block main_foot %}{%endblock%} -- cgit v1.2.3