summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-12 15:15:09 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-12 15:15:09 +0100
commit1da20a5b5bb591c0789f570399d9c644ec3e4263 (patch)
tree910c99cc3b67c0cd914547692e3a540c10df8181 /archaeological_finds/templates
parent158ea3c4c1c03d014f12b94f29b38a4a2697d77c (diff)
downloadIshtar-1da20a5b5bb591c0789f570399d9c644ec3e4263.tar.bz2
Ishtar-1da20a5b5bb591c0789f570399d9c644ec3e4263.zip
Manage treatment / treatment files sources
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatmentfilesource.html12
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatmentfilesource_pdf.html18
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatmentfilesource_window.html3
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatmentsource.html12
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatmentsource_pdf.html18
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatmentsource_window.html3
6 files changed, 66 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentfilesource.html b/archaeological_finds/templates/ishtar/sheet_treatmentfilesource.html
new file mode 100644
index 000000000..e456b6fe0
--- /dev/null
+++ b/archaeological_finds/templates/ishtar/sheet_treatmentfilesource.html
@@ -0,0 +1,12 @@
+{% extends "ishtar/sheet_source.html" %}
+{% load i18n window_field window_header link_to_window %}
+
+{% block head_title %}{% trans "Treatement file source" %}{% endblock %}
+
+{% block window_nav %}
+{% window_nav item window_id 'show-treatmentfilesource' 'treatmentfile_source_modify' %}
+{% endblock %}
+
+{% block related %}
+{% field "Related treatment file" item.owner '' item.owner|link_to_window %}
+{% endblock %}
diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentfilesource_pdf.html b/archaeological_finds/templates/ishtar/sheet_treatmentfilesource_pdf.html
new file mode 100644
index 000000000..d0a0ec8e7
--- /dev/null
+++ b/archaeological_finds/templates/ishtar/sheet_treatmentfilesource_pdf.html
@@ -0,0 +1,18 @@
+{% extends "ishtar/sheet_treatmentfilesource.html" %}
+{% block header %}
+<link rel="stylesheet" href="{{STATIC_URL}}/media/style_basic.css?ver={{VERSION}}" />
+{% endblock %}
+{% block main_head %}
+{{ block.super }}
+<div id="pdfheader">
+Ishtar &ndash; {{APP_NAME}} &ndash; {{item}}
+</div>
+{% endblock %}
+{%block head_sheet%}{%endblock%}
+{%block main_foot%}
+<div id="pdffooter">
+&ndash; <pdf:pagenumber/> &ndash;
+</div>
+</body>
+</html>
+{%endblock%}
diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentfilesource_window.html b/archaeological_finds/templates/ishtar/sheet_treatmentfilesource_window.html
new file mode 100644
index 000000000..4ebf9c02a
--- /dev/null
+++ b/archaeological_finds/templates/ishtar/sheet_treatmentfilesource_window.html
@@ -0,0 +1,3 @@
+{% extends "ishtar/sheet_treatmentfilesource.html" %}
+{% block main_head %}{%endblock%}
+{% block main_foot %}{%endblock%}
diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentsource.html b/archaeological_finds/templates/ishtar/sheet_treatmentsource.html
new file mode 100644
index 000000000..0825810ad
--- /dev/null
+++ b/archaeological_finds/templates/ishtar/sheet_treatmentsource.html
@@ -0,0 +1,12 @@
+{% extends "ishtar/sheet_source.html" %}
+{% load i18n window_field window_header link_to_window %}
+
+{% block head_title %}{% trans "Treatment source" %}{% endblock %}
+
+{% block window_nav %}
+{% window_nav item window_id 'show-treatmentsource' 'treatment_source_modify' %}
+{% endblock %}
+
+{% block related %}
+{% field "Related treatment" item.owner '' item.owner|link_to_window %}
+{% endblock %}
diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentsource_pdf.html b/archaeological_finds/templates/ishtar/sheet_treatmentsource_pdf.html
new file mode 100644
index 000000000..c38764559
--- /dev/null
+++ b/archaeological_finds/templates/ishtar/sheet_treatmentsource_pdf.html
@@ -0,0 +1,18 @@
+{% extends "ishtar/sheet_treatmentsource.html" %}
+{% block header %}
+<link rel="stylesheet" href="{{STATIC_URL}}/media/style_basic.css?ver={{VERSION}}" />
+{% endblock %}
+{% block main_head %}
+{{ block.super }}
+<div id="pdfheader">
+Ishtar &ndash; {{APP_NAME}} &ndash; {{item}}
+</div>
+{% endblock %}
+{%block head_sheet%}{%endblock%}
+{%block main_foot%}
+<div id="pdffooter">
+&ndash; <pdf:pagenumber/> &ndash;
+</div>
+</body>
+</html>
+{%endblock%}
diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentsource_window.html b/archaeological_finds/templates/ishtar/sheet_treatmentsource_window.html
new file mode 100644
index 000000000..2af5ff708
--- /dev/null
+++ b/archaeological_finds/templates/ishtar/sheet_treatmentsource_window.html
@@ -0,0 +1,3 @@
+{% extends "ishtar/sheet_treatmentsource.html" %}
+{% block main_head %}{%endblock%}
+{% block main_foot %}{%endblock%}