summaryrefslogtreecommitdiff
path: root/ishtar/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar/templates')
-rw-r--r--ishtar/templates/account_activation_email.txt13
-rw-r--r--ishtar/templates/admin/base_site.html10
-rw-r--r--ishtar/templates/base.html89
-rw-r--r--ishtar/templates/dashboard_file.html215
-rw-r--r--ishtar/templates/dashboard_main.html82
-rw-r--r--ishtar/templates/dashboard_operation.html510
-rw-r--r--ishtar/templates/form_snippet.html13
-rw-r--r--ishtar/templates/index.html2
-rw-r--r--ishtar/templates/ishtar/wizard/confirm_wizard.html34
-rw-r--r--ishtar/templates/ishtar/wizard/default_wizard.html44
-rw-r--r--ishtar/templates/registration/activate.html18
-rw-r--r--ishtar/templates/registration/activation_email.txt6
-rw-r--r--ishtar/templates/registration/activation_email_subject.txt1
-rw-r--r--ishtar/templates/registration/login.html19
-rw-r--r--ishtar/templates/registration/logout.html8
-rw-r--r--ishtar/templates/registration/password_change_done.html8
-rw-r--r--ishtar/templates/registration/password_change_form.html14
-rw-r--r--ishtar/templates/registration/password_reset_complete.html10
-rw-r--r--ishtar/templates/registration/password_reset_confirm.html21
-rw-r--r--ishtar/templates/registration/password_reset_done.html8
-rw-r--r--ishtar/templates/registration/password_reset_email.html5
-rw-r--r--ishtar/templates/registration/password_reset_form.html15
-rw-r--r--ishtar/templates/registration/registration_complete.html8
-rw-r--r--ishtar/templates/registration/registration_form.html14
-rw-r--r--ishtar/templates/search.html28
-rw-r--r--ishtar/templates/sheet.html30
-rw-r--r--ishtar/templates/sheet_contextrecord.html135
-rw-r--r--ishtar/templates/sheet_contextrecord_window.html3
-rw-r--r--ishtar/templates/sheet_file.html132
-rw-r--r--ishtar/templates/sheet_file_pdf.html18
-rw-r--r--ishtar/templates/sheet_file_window.html3
-rw-r--r--ishtar/templates/sheet_ope.html146
-rw-r--r--ishtar/templates/sheet_ope_modif.html182
-rw-r--r--ishtar/templates/sheet_operation.html183
-rw-r--r--ishtar/templates/sheet_operation_pdf.html18
-rw-r--r--ishtar/templates/sheet_operation_window.html3
-rw-r--r--ishtar/templates/towns_wizard.html40
-rw-r--r--ishtar/templates/window.html45
-rw-r--r--ishtar/templates/wizard_closing_done.html6
-rw-r--r--ishtar/templates/wizard_delete_done.html6
-rw-r--r--ishtar/templates/wizard_done.html6
-rw-r--r--ishtar/templates/wizard_done_summary.html18
-rw-r--r--ishtar/templates/wizard_done_summary_2.html23
-rw-r--r--ishtar/templates/wizard_list_search_result.html25
44 files changed, 0 insertions, 2217 deletions
diff --git a/ishtar/templates/account_activation_email.txt b/ishtar/templates/account_activation_email.txt
deleted file mode 100644
index 2dcc77d3e..000000000
--- a/ishtar/templates/account_activation_email.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-{% load i18n %}
-
-{% blocktrans %}Your account on {{app_name}} has been created or modified.{% endblocktrans %}
-
- * {% trans "Login:" %} {{login}}
- * {% trans "Password:" %} {{password}}
-
-{% trans "You can log in here:" %} http://{{site}}{%url auth_login%}
-
-{% trans "Thank you for you interest in the project." %}
-
---
-{% blocktrans %}The {{app_name}} team{% endblocktrans %}
diff --git a/ishtar/templates/admin/base_site.html b/ishtar/templates/admin/base_site.html
deleted file mode 100644
index 3282d4f5a..000000000
--- a/ishtar/templates/admin/base_site.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{% extends "admin/base.html" %}
-{% load i18n %}
-
-{% block title %}{{ title }} | {% trans 'Ishtar administration' %}{% endblock %}
-
-{% block branding %}
-<h1 id="site-name">{% trans 'Ishtar administration' %}</h1>
-{% endblock %}
-
-{% block nav-global %}{% endblock %}
diff --git a/ishtar/templates/base.html b/ishtar/templates/base.html
deleted file mode 100644
index 630fe666e..000000000
--- a/ishtar/templates/base.html
+++ /dev/null
@@ -1,89 +0,0 @@
-{% load i18n %}
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
-<head>
- <link rel="shortcut icon" href="{{MEDIA_URL}}/media/images/favicon.png"/>
- <title>{% block title %}Ishtar{% if APP_NAME %} - {{APP_NAME}}{%endif%}{% endblock %}
- </title>
- <script language="javascript" type="text/javascript">
- var url_path = "{{URL_PATH}}";
- </script>
- <script language="javascript" type="text/javascript" src="{{JQUERY_URL}}"></script>
- <script language="javascript" type="text/javascript" src="{{JQUERY_UI_URL}}jquery-ui.js"></script>
- <script language="javascript" type="text/javascript" src="{{JQUERY_UI_URL}}ui/i18n/jquery.ui.datepicker-{{COUNTRY}}.js"></script>
- <script language="javascript" type="text/javascript" src="{{MEDIA_URL}}/js/ishtar.js"></script>
- <link type="text/css" href="{{JQUERY_UI_URL}}css/smoothness/jquery-ui.css" rel="stylesheet" />
- <link rel="stylesheet" href="{{MEDIA_URL}}/media/style.css" />
- {% block extra_head %}
- {% endblock %}
-</head>
-<body>
- <div id="header">
- {% block header %}
- {% if user.is_authenticated %}
- {% trans "Logged in" %}: {{ user.username }}
- (<a href="{% url auth_logout %}">{% trans "Log out" %}</a> |
- <a href="{% url auth_password_change %}">{% trans "Change password" %}</a>)
- {% else %}
- <strong><a href="{% url auth_login %}">{% trans "Log in" %}</a></strong>
- {% endif %}
- {% endblock %}
- </div>
- <div id="window"></div>
- <div id="logo">
-{% if APP_NAME %}<p id="app_name">{{APP_NAME}}</p>{%endif%}
- </div>
- <div id="context_menu">
- {% block context %}{% if current_menu %}
- <form method="post" action="{% url update-current-item %}">
- <fieldset>
- <legend>{% trans "Default items"%}</legend>
- <table id='current_items'>
- {% for lbl, model_name, items in current_menu %}
- <tr>
- <td><label for="current_{{model_name}}">{{lbl}}</label></td>
- <td>
- <select id='current_{{model_name}}'>
- <option value=''>--</option>
- {% for val, label, selected in items %}<option value='{{val}}'{%if selected%} selected="selected"{%endif%}>{{label}}</option>
- {% endfor %}</select>
- </td>
- </tr>
- {% endfor %}
- </table>
- </fieldset>
- </form>
- {% endif %}{% endblock %}
- </div>
- <div id="main_menu">
- <ul>
- {% for section in MENU.childs %}
- {% if section.available %}<li>{{section.label}}
- <ul>
- {% for menu_item in section.childs %}{%if menu_item.available%}
- {% if menu_item.childs %}<li>{{menu_item.label}}
- <ul>
- {% for menu_subitem in menu_item.childs %}{%if menu_subitem.available%}
- <li{%ifequal menu_subitem.idx CURRENT_ACTION%} class='selected'{%endifequal%}><a href='{% url action menu_subitem.idx%}'>{{menu_subitem.label}}</a></li>
- {%endif%}{% endfor %}</ul></li>
- {%else%}
- <li{%ifequal menu_item.idx CURRENT_ACTION%} class='selected'{%endifequal%}><a href='{% url action menu_item.idx%}'>{{menu_item.label}}</a></li>
- {%endif%}{% endif %}{% endfor %}
- </ul>
- </li>{%endif%}
- {% endfor %}
- </ul>
- </div>
- <div id="content">
- {% block content %}{% endblock %}
- </div>
-
- <div id="footer">
- {% block footer %}
- {% endblock %}
- </div>
-</body>
-
-</html>
diff --git a/ishtar/templates/dashboard_file.html b/ishtar/templates/dashboard_file.html
deleted file mode 100644
index cebd147f4..000000000
--- a/ishtar/templates/dashboard_file.html
+++ /dev/null
@@ -1,215 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% load range %}
-{% block extra_head %}
-{{form.media}}
-{% endblock %}
-{% block content %}
-<div class='dashboard'>
- <h2>{% trans "Archaeological files" %}</h2>
- <div>
- <h3>{% trans "Global informations" %}</h3>
-
- <p><strong>{% trans "Total:" %}</strong> {{dashboard.total_number}}</p>
- {% for type in dashboard.types %}
- <p><strong>{{type.file_type__label}}{% trans ":"%}</strong> {{type.number}}</p>
- {% endfor %}
- <div class='table'>
- <table>
- <caption>{% trans "By year"%}</caption>
- <tr>
- {% for year in dashboard.by_year %}<th>{{year.date.year}}</th>{% endfor %}
- </tr>
- <tr>
- {% for year in dashboard.by_year %}<td>{{year.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By month"%}</caption>
- <tr>
- {% for month in dashboard.by_month %}<th>{{month.date|date:"F Y"|capfirst}}</th>{% endfor %}
- </tr>
- <tr>
- {% for month in dashboard.by_month %}<td>{{month.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- </div>
- <div>
-
- <h3>{% trans "Research archaeology" %}</h3>
-
- <p><strong>{% trans "Total:" %}</strong> {{dashboard.research.total_number}}</p>
- <div class='table'>
- <table>
- <caption>{% trans "By year"%}</caption>
- <tr>
- {% for year in dashboard.research.by_year %}<th>{{year.date.year}}</th>{% endfor %}
- </tr>
- <tr>
- {% for year in dashboard.research.by_year %}<td>{{year.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By month"%}</caption>
- <tr>
- {% for month in dashboard.research.by_month %}<th>{{month.date|date:"F Y"|capfirst}}</th>{% endfor %}
- </tr>
- <tr>
- {% for month in dashboard.research.by_month %}<td>{{month.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By department"%}</caption>
- <tr>
- {% for dpt in dashboard.research.by_dpt %}<th>{{dpt.department__label}}</th>{% endfor %}
- </tr>
- <tr>
- {% for dpt in dashboard.research.by_dpt %}<td>{{dpt.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Main towns"%}</caption>
- <tr>
- {% for town in dashboard.research.towns %}<th>{{town.town__name}}</th>{% endfor %}
- </tr>
- <tr>
- {% for town in dashboard.research.towns %}<td>{{town.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- </div>
- <div>
-
- <h3>{% trans "Rescue archaeology" %}</h3>
-
- <p><strong>{% trans "Total:" %}</strong> {{dashboard.rescue.total_number}}</p>
-
- <div class='table'>
- <table>
- <caption>{% trans "By saisine type"%}</caption>
- <tr>
- {% for saisine in dashboard.rescue.saisine %}<th>{{saisine.saisine_type__label}}</th>{% endfor %}
- </tr>
- <tr>
- {% for saisine in dashboard.rescue.saisine %}<td>{{saisine.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By administrative act"%}</caption>
- <tr>
- {% for act in dashboard.rescue.administrative_act %}<th>{{act.act_type__label}}</th>{% endfor %}
- </tr>
- <tr>
- {% for act in dashboard.rescue.administrative_act %}<td>{{act.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By year"%}</caption>
- <tr>
- {% for year in dashboard.rescue.by_year %}<th>{{year.date.year}}</th>{% endfor %}
- </tr>
- <tr>
- {% for year in dashboard.rescue.by_year %}<td>{{year.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By month"%}</caption>
- <tr>
- {% for month in dashboard.rescue.by_month %}<th>{{month.date|date:"F Y"|capfirst}}</th>{% endfor %}
- </tr>
- <tr>
- {% for month in dashboard.rescue.by_month %}<td>{{month.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <p><strong>{% trans "Archaeological files linked to at least one operation:" %}</strong> {{dashboard.rescue.with_associated_operation}}</p>
- <p><strong>{% trans "Archaeological files linked to at least one operation (%):" %}</strong> {{dashboard.rescue.with_associated_operation_percent}}</p>
-
- <div class='table'>
- <table>
- <caption>{% trans "Archaeological files linked to at least one operation (%)"%}</caption>
- <tr>
- {% for year in dashboard.rescue.operational_by_year %}<th>{{year.date.year}}</th>{% endfor %}
- </tr>
- <tr>
- {% for year in dashboard.rescue.operational_by_year %}<td>{{year.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By department"%}</caption>
- <tr>
- {% for dpt in dashboard.rescue.by_dpt %}<th>{{dpt.department__label}}</th>{% endfor %}
- </tr>
- <tr>
- {% for dpt in dashboard.rescue.by_dpt %}<td>{{dpt.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Surface by department (m²)"%}</caption>
- <tr>
- {% for dpt in dashboard.rescue.surface_by_dpt %}<th>{{dpt.department__label}}</th>{% endfor %}
- </tr>
- <tr>
- {% for dpt in dashboard.rescue.surface_by_dpt %}<td>{{dpt.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Main towns by number"%}</caption>
- <tr>
- {% for town in dashboard.rescue.towns %}<th>{{town.town__name}}</th>{% endfor %}
- </tr>
- <tr>
- {% for town in dashboard.rescue.towns %}<td>{{town.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Main towns by surface (m²)"%}</caption>
- <tr>
- {% for town in dashboard.rescue.surface_by_town %}<th>{{town.town__name}}</th>{% endfor %}
- </tr>
- <tr>
- {% for town in dashboard.rescue.surface_by_town %}<td>{{town.number}}</td>{% endfor%}
- </tr>
- </table>
- </div>
-
- </div>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/dashboard_main.html b/ishtar/templates/dashboard_main.html
deleted file mode 100644
index e710dbe16..000000000
--- a/ishtar/templates/dashboard_main.html
+++ /dev/null
@@ -1,82 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% load range %}
-{% block extra_head %}
-{{form.media}}
-{% endblock %}
-{% block content %}
-<div class='dashboard'>
-{% for lbl, dashboard in items %}
- <div>
- <h3>{{lbl}}</h3>
- <h4>{% trans "Numbers" %}</h4>
- <p><strong>{% trans "Total:" %}</strong> {{dashboard.total_number}}</p>
- <div class='table'>
- <table>
- {% for idx, lbl, values in dashboard.values %}
- <tr class='idx {% if forloop.counter0|divisibleby:"2" %}even{%else%}odd{%endif%}'>
- <th>{{lbl}}</th>
- {% for value in values %}<td>{{value}}</td>{% endfor%}
- </tr>
- {% endfor%}
- </table>
- </div>
- {% if dashboard.years %}
- <h4>{% trans "By years" %}</h4>
- <ul>
- <li><strong>{% trans "Average:" %}</strong> {{dashboard.average}}</li>
- <li><strong>{% trans "Variance:" %}</strong> {{dashboard.variance}}</li>
- <li><strong>{% trans "Standard deviation:" %}</strong> {{dashboard.standard_deviation}}</li>
- <li><strong>{% trans "Median:" %}</strong> {{dashboard.median}}</li>
- <li><strong>{% trans "Mode:" %}</strong> {{dashboard.mode}}</li>
- </ul>
- {% endif %}
- {% if dashboard.operation_average %}
- <h4>{% trans "By operations" %}</h4>
- <ul>
- <li><strong>{% trans "Average:" %}</strong> {{dashboard.operation_average}}</li>
- <li><strong>{% trans "Variance:" %}</strong> {{dashboard.operation_variance}}</li>
- <li><strong>{% trans "Standard deviation:" %}</strong> {{dashboard.operation_standard_deviation}}</li>
- <li><strong>{% trans "Median:" %}</strong> {{dashboard.operation_median}}</li>
- <li><strong>{% trans "Mode:" %}</strong> {{dashboard.operation_mode}}</li>
- </ul>
- {% endif %}
- <h4>{% trans "Created last" %}</h4>
- <div class='table'>
- <table>
- <tr><th>{{lbl}}</th><th>{% trans "Created" %}</th><th></th></tr>
- {% for item in dashboard.lasts %}<tr>
- <td class='ref'>{{item}}</td>
- <td>{{item.history_date}}</td>
- <td>{% if item.get_show_url %}<a href="#" onclick='load_window("{{item.get_show_url}}")'>{%trans "Show"%}</a>{%endif%}</td>
- </tr>{% endfor %}
- </table>
- </div>
- <h4>{% trans "Recent changes" %}</h4>
- <div class='table'>
- <table>
- <tr><th>{{lbl}}</th><th>{% trans "Modified" %}</th><th></th></tr>
- {% for item in dashboard.recents %}<tr>
- <td class='ref'>{{item}}</td>
- <td>{{item.history_date}}</td>
- <td>{% if item.get_show_url %}<a href="#" onclick='load_window("{{item.get_show_url}}")'>{%trans "Show"%}</a>{%endif%}</td>
- </tr>{% endfor %}
- </table>
- </div>
- </div>
-{% endfor%}
- <div>
- <h3>{% trans "Users" %}</h3>
- <div class='table'>
- <table>
- <tr><th>{% trans "User type" %}</th><th>{% trans "Number" %}</th></tr>
- {% for user_type in ishtar_users.types %}
- <tr>
- <td class='string'>{{user_type.person__person_type__label}}</td>
- <td>{{user_type.number}}</td>
- </tr>
- {% endfor%}
- </table>
- </div>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/dashboard_operation.html b/ishtar/templates/dashboard_operation.html
deleted file mode 100644
index 28f1dd9c6..000000000
--- a/ishtar/templates/dashboard_operation.html
+++ /dev/null
@@ -1,510 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% load range %}
-{% block extra_head %}
-{{form.media}}
-{% endblock %}
-{% block content %}
-<div class='dashboard'>
- <h2>{% trans "Operations" %}</h2>
- <div>
- <h3>{% trans "Global informations" %}</h3>
-
- <div class='table'>
- <table>
- <caption>{% trans "Total" %}</caption>
- <tr>
- <th>{% trans "Status" %}</th><th>{% trans "Number" %}</th>
- </tr>
- {% for lbl, nb in dashboard.total %}
- <tr>
- <th class='sub'>{{lbl}}</th><td>{{nb}}</td>
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Area by type of operation" %}</caption>
- <tr>
- <th>{% trans "Status" %}</th><th>{% trans "Area (m²)" %}</th>
- </tr>
- {% for surface in dashboard.surface_by_type %}
- <tr>
- <th class='sub'>{{surface.operation_type__label}}</th><td>{{surface.number}}</td>
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By types" %}</caption>
- <tr>
- <th>{% trans "State" %}</th>{%for typ in dashboard.types %}<th>{{typ.label}}</th>{% endfor %}
- </tr>
- {% for lbl, types in dashboard.by_type %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in types %}<td>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By year" %}</caption>
- <tr>
- <th>{% trans "State" %}</th>{%for yr in dashboard.years %}<th>{{yr}}</th>{% endfor %}
- </tr>
- {% for lbl, years in dashboard.by_year %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in years %}<td>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By realisation year" %}</caption>
- <tr>
- <th>{% trans "State" %}</th>{%for yr in dashboard.realisation_years %}<th>{{yr.year}}</th>{% endfor %}
- </tr>
- {% for lbl, years in dashboard.by_realisation_year %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in years %}<td>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Effective operation by type and year" %}</caption>
- <tr>
- <th>{% trans "Type" %}</th>{%for yr in dashboard.years %}<th>{{yr}}</th>{% endfor %}
- </tr>
- {% for lbl, years in dashboard.effective %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in years %}<td>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By realisation month" %}</caption>
- <tr>
- <th>{% trans "State" %}</th>{%for mt in dashboard.last_months %}<th>{{mt.date|date:"F Y"|capfirst}}</th>{% endfor %}
- </tr>
- {% for lbl, months in dashboard.by_realisation_month %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in months %}<td>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- </div>
- <div>
-
- <h3>{% trans "Survey informations" %}</h3>
-
- <div class='table'>
- <table>
- <caption>{% trans "Total" %}</caption>
- <tr>
- <th>{% trans "Status" %}</th><th>{% trans "Number" %}</th>
- </tr>
- {% for lbl, nb in dashboard.survey.total %}
- <tr>
- <th class='sub'>{{lbl}}</th><td>{{nb}}</td>
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By year" %}</caption>
- <tr>
- <th>{% trans "State" %}</th>{%for yr in dashboard.years %}<th>{{yr}}</th>{% endfor %}
- </tr>
- {% for lbl, years in dashboard.survey.by_year %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in years %}<td>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By realisation year" %}</caption>
- <tr>
- <th>{% trans "State" %}</th>{%for yr in dashboard.realisation_years %}<th>{{yr.year}}</th>{% endfor %}
- </tr>
- {% for lbl, years in dashboard.survey.by_realisation_year %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in years %}<td>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Current year" %}</caption>
- <tr>
- <th>{% trans "Status" %}</th>{% for lbl in dashboard.filters_label %}<th>{{lbl}}</th>{%endfor%}
- </tr>
- <tr>
- <th class='sub'>{% trans "Area"%}</th>{% for nb in dashboard.survey.area %}<td>{{nb}}</td>{%endfor%}
- </tr>
- <tr>
- <th class='sub'>{% trans "Man-day"%}</th>{% for nb in dashboard.survey.manday %}<td>{{nb}}</td>{%endfor%}
- </tr>
- <tr>
- <th class='sub'>{% trans "Man-day/hectare"%}</th>{% for nb in dashboard.survey.mandayhect %}<td>{{nb}}</td>{%endfor%}
- </tr>
- </table></div>
-
- <p><strong>{% trans "Man-day/hectare for effective operations (current year):" %}</strong> {{dashboard.survey.mandayhect_effective}}</p>
-
- <div class='table'>
- <table>
- <caption>{% trans "Organizations (current year)" %}</caption>
- <tr>
- <th>&nbsp;</th><th>{% trans "Area" %}</th><th>{% trans "Man-day" %}</th><th>{% trans "Man-day/hectare" %}</th>
- </tr>
- {% for org in dashboard.survey.org %}
- <tr>
- <th class='sub'>{{org.in_charge__attached_to__name}}</th><td>{{org.area}}</td><td>{{org.manday}}</td><td>{{org.mandayhect}}</td>
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Current realisation year" %}</caption>
- <tr>
- <th>{% trans "Status" %}</th>{% for lbl in dashboard.filters_label %}<th>{{lbl}}</th>{%endfor%}
- </tr>
- <tr>
- <th class='sub'>{% trans "Area"%}</th>{% for nb in dashboard.survey.area_realised %}<td>{{nb}}</td>{%endfor%}
- </tr>
- <tr>
- <th class='sub'>{% trans "Man-day"%}</th>{% for nb in dashboard.survey.manday_realised %}<td>{{nb}}</td>{%endfor%}
- </tr>
- <tr>
- <th class='sub'>{% trans "Man-day/hectare"%}</th>{% for nb in dashboard.survey.mandayhect_realised %}<td>{{nb}}</td>{%endfor%}
- </tr>
- </table></div>
-
- <p><strong>{% trans "Man-day/hectare for effective operations (current realisation year):" %}</strong> {{dashboard.survey.mandayhect_real_effective}}</p>
-
- <div class='table'>
- <table>
- <caption>{% trans "Organizations (current realisation year)" %}</caption>
- <tr>
- <th>&nbsp;</th><th>{% trans "Area" %}</th><th>{% trans "Man-day" %}</th><th>{% trans "Man-day/hectare" %}</th>
- </tr>
- {% for org in dashboard.survey.org_realised %}
- <tr>
- <th class='sub'>{{org.in_charge__attached_to__name}}</th><td>{{org.area}}</td><td>{{org.manday}}</td><td>{{org.mandayhect}}</td>
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Area by organization by year" %}</caption>
- <tr>
- <th>{% trans "Organization" %}</th>{% for yr in dashboard.years%}<th>{{yr}}</th>{% endfor %}
- </tr>
- {% for org, vals in dashboard.survey.org_by_year %}
- <tr>
- <th class='sub'>{{org}}</th>{% for area, cost in vals %}<td>{{area}}</td>{% endfor %}
- </tr>
- {% endfor %}
- <tr>
- <th>{% trans "Mean" %}</th>{% for area in dashboard.survey.org_by_year_area_mean %}<td>{{area}}</td>{% endfor %}
- </tr>
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Effective operations areas (m²)" %}</caption>
- <tr>
- <th>&nbsp;</th>{% for yr in dashboard.years%}<th>{{yr}}</th>{% endfor %}
- </tr>
- <tr>
- <th>{% trans "Sum" %}</th>{% for nb, mean in dashboard.survey.effective %}<td>{{nb}}</td>{% endfor %}
- </tr>
- <tr>
- <th>{% trans "Average" %}</th>{% for nb, avg in dashboard.survey.effective %}<td>{{avg}}</td>{% endfor %}
- </tr>
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Man-Days/hectare by Year" %}</caption>
- <tr>
- <th>&nbsp;</th>{% for yr in dashboard.years%}<th>{{yr}}</th>{% endfor %}
- </tr>
- <tr>
- <th>{% trans "Man-Days/hectare" %}</th>{% for nb, mean in dashboard.survey.mandayshect %}<td>{{nb}}</td>{% endfor %}
- </tr>
- <tr>
- <th>{% trans "Average" %}</th>{% for nb, avg in dashboard.survey.mandayshect %}<td>{{avg}}</td>{% endfor %}
- </tr>
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By month" %}</caption>
- <tr>
- <th>{% trans "State" %}</th>{%for mt in dashboard.last_months %}<th>{{mt.date|date:"F Y"|capfirst}}</th>{% endfor %}
- </tr>
- {% for lbl, months in dashboard.survey.by_month %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in months %}<td>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By department" %}</caption>
- <tr>
- <th>{% trans "Department" %}</th>{%for yr in dashboard.years %}<th>{{yr}}</th>{% endfor %}<th>{% trans "Sum" %}</th>
- </tr>
- {% for lbl, years in dashboard.survey.by_dpt %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in years %}<td{%if forloop.last%} class='sub'{%endif%}>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Effective operation by department" %}</caption>
- <tr>
- <th rowspan='2'>{% trans "Department" %}</th>{%for yr in dashboard.years %}<th colspan='2'>{{yr}}</th>{% endfor %}<th colspan='2'>{% trans "Sum" %}</th>
- </tr>
- <tr>
- {%for yr in dashboard.years %}<th>{%trans "Nb."%}</th><th>{%trans "Area"%}</th>{% endfor %}<th>{%trans "Nb."%}</th><th>{%trans "Area"%}</th>
- </tr>
- {% for lbl, years in dashboard.survey.effective_by_dpt %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb, area, cost, fnap in years %}<td{%if forloop.last%} class='sub'{%endif%}>{{nb}}</td><td{%if forloop.last%} class='sub'{%endif%}>{{area}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Main towns by number" %}</caption>
- <tr>
- <th>{% trans "Town" %}</th><th>{% trans "Number" %}</th>
- </tr>
- {% for lbl, nb in dashboard.survey.towns %}
- <tr>
- <th class='sub'>{{lbl}}</th><td>{{nb}}</td>
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Main towns by surface" %}</caption>
- <tr>
- <th>{% trans "Town" %}</th><th>{% trans "Total surface (m²)" %}</th>
- </tr>
- {% for lbl, nb in dashboard.survey.towns_surface %}
- <tr>
- <th class='sub'>{{lbl}}</th><td>{{nb}}</td>
- </tr>
- {% endfor %}
- </table></div>
-
-
- </div>
- <div>
-
- <h3>{% trans "Excavation informations" %}</h3>
-
- <div class='table'>
- <table>
- <caption>{% trans "Total" %}</caption>
- <tr>
- <th>{% trans "Status" %}</th><th>{% trans "Number" %}</th>
- </tr>
- {% for lbl, nb in dashboard.excavation.total %}
- <tr>
- <th class='sub'>{{lbl}}</th><td>{{nb}}</td>
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By year" %}</caption>
- <tr>
- <th>{% trans "State" %}</th>{%for yr in dashboard.years %}<th>{{yr}}</th>{% endfor %}
- </tr>
- {% for lbl, years in dashboard.excavation.by_year %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in years %}<td>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By realisation year" %}</caption>
- <tr>
- <th>{% trans "State" %}</th>{%for yr in dashboard.realisation_years %}<th>{{yr.year}}</th>{% endfor %}
- </tr>
- {% for lbl, years in dashboard.excavation.by_realisation_year %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in years %}<td>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Current realisation year" %}</caption>
- <tr>
- <th>{% trans "Status" %}</th>{% for lbl in dashboard.filters_label %}<th>{{lbl}}</th>{%endfor%}
- </tr>
- <tr>
- <th class='sub'>{% trans "Area"%}</th>{% for nb in dashboard.excavation.area_realised %}<td>{{nb}}</td>{%endfor%}
- </tr>
- <tr>
- <th class='sub'>{% trans "Man-day"%}</th>{% for nb in dashboard.excavation.manday_realised %}<td>{{nb}}</td>{%endfor%}
- </tr>
- <tr>
- <th class='sub'>{% trans "Man-day/hectare"%}</th>{% for nb in dashboard.excavation.mandayhect_realised %}<td>{{nb}}</td>{%endfor%}
- </tr>
- </table></div>
-
- <p><strong>{% trans "Man-day/hectare for effective operations (current realisation year):" %}</strong> {{dashboard.excavation.mandayhect_real_effective}}</p>
-
- <div class='table'>
- <table>
- <caption>{% trans "Organizations (current realisation year)" %}</caption>
- <tr>
- <th>&nbsp;</th><th>{% trans "Area" %}</th><th>{% trans "Man-day" %}</th><th>{% trans "Man-day/hectare" %}</th>
- </tr>
- {% for org in dashboard.excavation.org_realised %}
- <tr>
- <th class='sub'>{{org.in_charge__attached_to__name}}</th><td>{{org.area}}</td><td>{{org.manday}}</td><td>{{org.mandayhect}}</td>
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Area by organization by year" %}</caption>
- <tr>
- <th>{% trans "Organization" %}</th>{% for yr in dashboard.years%}<th>{{yr}}</th>{% endfor %}
- </tr>
- {% for org, vals in dashboard.excavation.org_by_year %}
- <tr>
- <th class='sub'>{{org}}</th>{% for area, cost in vals %}<td>{{area}}</td>{% endfor %}
- </tr>
- {% endfor %}
- <tr>
- <th>{% trans "Sum" %}</th>{% for area in dashboard.excavation.org_by_year_area_sum %}<td>{{area}}</td>{% endfor %}
- </tr>
- <tr>
- <th>{% trans "Mean" %}</th>{% for area in dashboard.excavation.org_by_year_area_mean %}<td>{{area}}</td>{% endfor %}
- </tr>
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Area by organization by realisation year" %}</caption>
- <tr>
- <th>{% trans "Organization" %}</th>{% for yr in dashboard.years%}<th>{{yr}}</th>{% endfor %}
- </tr>
- {% for org, vals in dashboard.excavation.org_by_year %}
- <tr>
- <th class='sub'>{{org}}</th>{% for area, cost in vals %}<td>{{area}}</td>{% endfor %}
- </tr>
- {% endfor %}
- <tr>
- <th>{% trans "Sum" %}</th>{% for area in dashboard.excavation.org_by_year_area_sum %}<td>{{area}}</td>{% endfor %}
- </tr>
- <tr>
- <th>{% trans "Mean" %}</th>{% for area in dashboard.excavation.org_by_year_area_mean %}<td>{{area}}</td>{% endfor %}
- </tr>
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By month" %}</caption>
- <tr>
- <th>{% trans "State" %}</th>{%for mt in dashboard.last_months %}<th>{{mt.date|date:"F Y"|capfirst}}</th>{% endfor %}
- </tr>
- {% for lbl, months in dashboard.excavation.by_month %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in months %}<td>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "By department" %}</caption>
- <tr>
- <th>{% trans "Department" %}</th>{%for yr in dashboard.years %}<th>{{yr}}</th>{% endfor %}<th>{% trans "Sum" %}</th>
- </tr>
- {% for lbl, years in dashboard.excavation.by_dpt %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb in years %}<td{%if forloop.last%} class='sub'{%endif%}>{{nb}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Effective operation by department" %}</caption>
- <tr>
- <th rowspan='2'>{% trans "Department" %}</th>{%for yr in dashboard.years %}<th colspan='3'>{{yr}}</th>{% endfor %}<th colspan='3'>{% trans "Sum" %}</th>
- </tr>
- <tr>
- {%for yr in dashboard.years %}<th>{%trans "Nb."%}</th><th>{%trans "Cost"%}</th><th>{%trans "FNAP cost"%}</th>{% endfor %}<th>{%trans "Nb."%}</th><th>{%trans "Cost"%}</th><th>{%trans "FNAP cost"%}</th>
- </tr>
- {% for lbl, years in dashboard.excavation.effective_by_dpt %}
- <tr>
- <th class='sub'>{{lbl}}</th>{%for nb, area, cost, fnap in years %}<td{%if forloop.last%} class='sub'{%endif%}>{{nb}}</td><td{%if forloop.last%} class='sub'{%endif%}>{{cost}}</td><td{%if forloop.last%} class='sub'{%endif%}>{{fnap}}</td>{% endfor %}
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Main towns by number" %}</caption>
- <tr>
- <th>{% trans "Town" %}</th><th>{% trans "Number" %}</th>
- </tr>
- {% for lbl, nb in dashboard.excavation.towns %}
- <tr>
- <th class='sub'>{{lbl}}</th><td>{{nb}}</td>
- </tr>
- {% endfor %}
- </table></div>
-
- <div class='table'>
- <table>
- <caption>{% trans "Main towns by cost" %}</caption>
- <tr>
- <th>{% trans "Town" %}</th><th>{% trans "Cost (€)" %}</th>
- </tr>
- {% for lbl, nb in dashboard.excavation.towns_cost %}
- <tr>
- <th class='sub'>{{lbl}}</th><td>{{nb}}</td>
- </tr>
- {% endfor %}
- </table></div>
-
-
- </div>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/form_snippet.html b/ishtar/templates/form_snippet.html
deleted file mode 100644
index 2f841e078..000000000
--- a/ishtar/templates/form_snippet.html
+++ /dev/null
@@ -1,13 +0,0 @@
-{% load i18n %}
- {% if form.non_field_errors %}<tr class='errors'>
- <td colspan='3'>{{form.non_field_errors}}</td>
- </tr>{%endif%}
- {% for field in form %}{% if not field.is_hidden %}
- <tr{% if field.field.required %} class='required'{% endif %}>
- <th>{{ field.label_tag }}</th>
- <td> {{ field.errors }}{{field|safe}}</td>{% if field.help_text %}
- <td><a href="#{{field.auto_id}}" class="help_display" title="{% trans "Help"%}">?</a></td>
- </tr>
- <tr class="help_text" id="{{field.auto_id}}_help">
- <td colspan="3"><div>{{field.help_text}}</div></td>
- {%endif%}</tr>{% else %}{{field}}{% endif %}{% endfor %}
diff --git a/ishtar/templates/index.html b/ishtar/templates/index.html
deleted file mode 100644
index c4c0b0f2a..000000000
--- a/ishtar/templates/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
diff --git a/ishtar/templates/ishtar/wizard/confirm_wizard.html b/ishtar/templates/ishtar/wizard/confirm_wizard.html
deleted file mode 100644
index bd80e3967..000000000
--- a/ishtar/templates/ishtar/wizard/confirm_wizard.html
+++ /dev/null
@@ -1,34 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% load range %}
-{% block content %}
-<form action="." method="post">{% csrf_token %}
-<ul id='form_path'>
-{% for step in previous_steps %}
- <li>&raquo;&nbsp;<button name="form_prev_step" value="{{forloop.counter0}}">{{step.form_label}}</button></li>
-{% endfor %}
- <li class='current'>&raquo;&nbsp;<a href='#'>{{current_step.form_label}}</a></li>
-</ul>
-<div class='form'>
- <p>{%if confirm_msg %}{{confirm_msg|safe}}{%else%}{% trans "You have entered the following informations:" %}{%endif%}</p>
- {% for form_label, form_data in datas %}
- <table class='confirm'>
- <caption>{{form_label}}</caption>
- {% for label, data, cls in form_data %}
- <tr{%if cls%} class='{{cls}}'{%endif%}><th>{{label}}</th><td>{{data}}</td></tr>
- {% endfor %}
- </table>
- {% endfor %}
-{{wizard.management_form}}
- {%if not wizard.form.is_hidden %}
- <table>
- {{ wizard.form.as_table }}
- </table>
- {%endif%}
- <p>{%if confirm_end_msg %}{{confirm_end_msg|safe}}{%else%}{% trans "Would you like to save them?" %}{%endif%}</p>
- <input type="hidden" name="{{ step_field }}" value="{{ step0 }}" />
- {{ previous_fields|safe }}
- <input type="submit" value="{% trans "Validate" %}"/>
-</div>
-</form>
-{% endblock %}
diff --git a/ishtar/templates/ishtar/wizard/default_wizard.html b/ishtar/templates/ishtar/wizard/default_wizard.html
deleted file mode 100644
index 1996f4e46..000000000
--- a/ishtar/templates/ishtar/wizard/default_wizard.html
+++ /dev/null
@@ -1,44 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% load range %}
-{% load table_form %}
-{% block extra_head %}
-{{form.media}}
-{% endblock %}
-{% block content %}
-<form action="." method="post" name='wizard'>{% csrf_token %}
-<ul id='form_path'>
-{% for step in previous_steps %}
- <li>&raquo;&nbsp;<button name="form_prev_step" value="{{forloop.counter0}}">{{step.form_label}}</button></li>
-{% endfor %}
- <li class='current'>&raquo;&nbsp;<a href='#'>{{current_step.form_label}}</a></li>
-{% for step in next_steps %}
- <li>&raquo;&nbsp;<button name="form_prev_step" value="{{forloop.counter|add:previous_step_counter}}">{{step.form_label}}</button></li>
-{% endfor %}
-</ul>
-<div class='form'>
-{% if reminder %}<div class='reminder'>{{ reminder }}</div>{%endif%}
-{{ wizard.form.media }}
-{{ wizard.management_form }}
-{% if wizard.form.forms %}
- {{ wizard.form.management_form }}
-<div class='top_button'><input type="submit" id="submit_form" value="{% trans "Validate" %}"/></div>
-<table class='formset'>
- {%if wizard.form.non_form_errors%}<tr class='error'><th colspan='2'>{{wizard.form.non_form_errors}}</th></tr>{%endif%}
- {% for formsetform in wizard.form.forms %}
- {% table_form formsetform %}
- {% endfor %}
- <tr class='modify'><td colspan="2"><button name="formset_modify" value="{{form_step}}">{% trans "Add/Modify" %}</button></td></tr></li>
-</table>
-{% else %}
-<table>
-{% table_form wizard.form %}
-</table>
-{% endif %}
-<input type="hidden" name="{{ step_field }}" value="{{ step0 }}" />
-{{ previous_fields|safe }}
-<input type="submit" id="submit_form" name='validate' value="{% trans "Validate" %}"/>
-{% if next_steps %}<input type="submit" id="submit_end_form" name='validate_and_end' value="{% trans "Validate and end" %}"/>{% endif %}
-</div>
-</form>
-{% endblock %}
diff --git a/ishtar/templates/registration/activate.html b/ishtar/templates/registration/activate.html
deleted file mode 100644
index 0dcbccc00..000000000
--- a/ishtar/templates/registration/activate.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-{% if account %}
-
-<p>{% trans "Account successfully activated" %}</p>
-
-<p><a href="{% url auth_login %}">{% trans "Log in" %}</a></p>
-
-{% else %}
-
-<p>{% trans "Account activation failed" %}</p>
-
-{% endif %}
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/activation_email.txt b/ishtar/templates/registration/activation_email.txt
deleted file mode 100644
index b30035969..000000000
--- a/ishtar/templates/registration/activation_email.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-{% load i18n %}
-{% trans "Activate account at" %} {{ site.name }}:
-
-http://{{ site.domain }}{% url registration_activate activation_key %}
-
-{% blocktrans %}Link is valid for {{ expiration_days }} days.{% endblocktrans %}
diff --git a/ishtar/templates/registration/activation_email_subject.txt b/ishtar/templates/registration/activation_email_subject.txt
deleted file mode 100644
index 24f477cbb..000000000
--- a/ishtar/templates/registration/activation_email_subject.txt
+++ /dev/null
@@ -1 +0,0 @@
-{% load i18n %}{% trans "Account activation on" %} {{ site.name }}
diff --git a/ishtar/templates/registration/login.html b/ishtar/templates/registration/login.html
deleted file mode 100644
index ada4f6aa9..000000000
--- a/ishtar/templates/registration/login.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='form'>
-<form method="post" action=".">{% csrf_token %}
-<table id='login'>
- <caption>{%trans "Log in"%}</caption>
-{{ form.as_table }}
- <tr class='submit'><td colspan='2'><input type="submit" value="{% trans 'Log in' %}" /></td></tr>
- <input type="hidden" name="next" value="{{ next }}" />
-</table>
-</form>
-</div>
-<div class='info'>
-<p>{% trans "Forgot password?" %} <a href="{% url auth_password_reset %}">{% trans "Reset it" %}</a></p>
-<p>{% trans "Not member?" %} <a href="{% url registration_register %}">{% trans "Register" %}</a></p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/logout.html b/ishtar/templates/registration/logout.html
deleted file mode 100644
index 029a0c25b..000000000
--- a/ishtar/templates/registration/logout.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-<p>{% trans "Logged out" %}</p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/password_change_done.html b/ishtar/templates/registration/password_change_done.html
deleted file mode 100644
index 9d442360c..000000000
--- a/ishtar/templates/registration/password_change_done.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-<p>{% trans "Password changed" %}</p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/password_change_form.html b/ishtar/templates/registration/password_change_form.html
deleted file mode 100644
index 84d915eaa..000000000
--- a/ishtar/templates/registration/password_change_form.html
+++ /dev/null
@@ -1,14 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='form'>
-<form method="post" action=".">{% csrf_token %}
- <table>
- {{ form.as_table }}
-
- <tr><td colspan='2'><input type="submit" value="{% trans 'Submit' %}" /></td></tr>
- </table>
-</form>
-</p>
-{% endblock %}
diff --git a/ishtar/templates/registration/password_reset_complete.html b/ishtar/templates/registration/password_reset_complete.html
deleted file mode 100644
index dfa3ce682..000000000
--- a/ishtar/templates/registration/password_reset_complete.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-<p>{% trans "Password reset successfully" %}</p>
-
-<p><a href="{% url auth_login %}">{% trans "Log in" %}</a></p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/password_reset_confirm.html b/ishtar/templates/registration/password_reset_confirm.html
deleted file mode 100644
index b0e2cc142..000000000
--- a/ishtar/templates/registration/password_reset_confirm.html
+++ /dev/null
@@ -1,21 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-
-{% if validlink %}
-<div class='form'>
-<form method="post" action=".">{% csrf_token %}
- <table>
- {{ form.as_table }}
- <tr><td colspan='2'><input type="submit" value="{% trans 'Submit' %}" /></td></tr>
- </table>
-</form>
-</div>
-{% else %}
-<div class='info'>
-<p>{% trans "Password reset failed" %}</p>
-</div>
-{% endif %}
-
-{% endblock %}
diff --git a/ishtar/templates/registration/password_reset_done.html b/ishtar/templates/registration/password_reset_done.html
deleted file mode 100644
index cc7d9b40e..000000000
--- a/ishtar/templates/registration/password_reset_done.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-<p>{% trans "Email with password reset instructions has been sent." %}</p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/password_reset_email.html b/ishtar/templates/registration/password_reset_email.html
deleted file mode 100644
index a55c86958..000000000
--- a/ishtar/templates/registration/password_reset_email.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% load i18n %}
-{% blocktrans %}Reset password at {{ site_name }}{% endblocktrans %}:
-{% block reset_link %}
-{{ protocol }}://{{ domain }}{% url auth_password_reset_confirm uidb36=uid, token=token %}
-{% endblock %}
diff --git a/ishtar/templates/registration/password_reset_form.html b/ishtar/templates/registration/password_reset_form.html
deleted file mode 100644
index d6fad7a0a..000000000
--- a/ishtar/templates/registration/password_reset_form.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='form'>
-<form method="post" action=".">{% csrf_token %}
- <caption>{% trans "Reset password" %}</caption>
- <table>
- {{ form.as_table }}
-
- <tr><td colspan='2'><input type="submit" value="{% trans 'Submit' %}" /></td></tr>
- </table>
-</form>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/registration_complete.html b/ishtar/templates/registration/registration_complete.html
deleted file mode 100644
index e9f487444..000000000
--- a/ishtar/templates/registration/registration_complete.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-<p>{% trans "You are now registered. Activation email sent." %}</p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/registration_form.html b/ishtar/templates/registration/registration_form.html
deleted file mode 100644
index b15f0e74b..000000000
--- a/ishtar/templates/registration/registration_form.html
+++ /dev/null
@@ -1,14 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='form'>
-<form method="post" action=".">{% csrf_token %}
- <table>
- <caption>{% trans "Register" %}</caption>
- {{ form.as_table }}
- <tr><td colspan='2'><input type="submit" value="{% trans 'Submit' %}" /></td></tr>
- </table>
-</form>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/search.html b/ishtar/templates/search.html
deleted file mode 100644
index 1b5829820..000000000
--- a/ishtar/templates/search.html
+++ /dev/null
@@ -1,28 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% load range %}
-{% block extra_head %}
-{{form.media}}
-{% endblock %}
-{% block content %}
-<ul id='form_path'>
- <li class='current'>&raquo;&nbsp;<a href='#'>{{form.form_label}}</a></li>
-</ul>
-<div class='form'>
-{% if form.forms %}
-<div class='top_button'><input type="submit" id="submit_form" value="{% trans "Validate" %}"/></div>
-<table class='formset'>
- {%if form.non_form_errors%}<tr class='error'><th colspan='2'>{{form.non_form_errors}}</th></tr>{%endif%}
- {{ form.management_form }}
- {% for formsetform in form.forms %}
- {{ formsetform.as_table }}
- {% endfor %}
- <tr class='modify'><td colspan="2"><button name="formset_modify" value="{{form_step}}">{% trans "Add/Modify" %}</button></td></tr></li>
-</table>
-{% else %}
-<table>
- {{ form.as_table }}
-</table>
-{% endif %}
-</div>
-{% endblock %}
diff --git a/ishtar/templates/sheet.html b/ishtar/templates/sheet.html
deleted file mode 100644
index 5608a684f..000000000
--- a/ishtar/templates/sheet.html
+++ /dev/null
@@ -1,30 +0,0 @@
-{% load i18n %}
-{% block main_head %}
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>{% block title %}Ishtar{% if APP_NAME %} - {{APP_NAME}}{%endif%}{% endblock %}
- </title>
- {% block css_head %}
- <link rel="stylesheet" href="{{MEDIA_URL}}/media/style.css" />
- {% endblock %}
-</head>
-<body>
-{% endblock %}
-<div class="sheet" id='{{window_id}}'>
-{% block head_sheet %}
-<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='closeAllWindows();'>
-{% trans "Close all windows" %}
-</a></div>{% endblock %}
-<div class="body">
-{% block content %}{% endblock %}
-</div>
-</div>
-{%block main_foot%}
-</body>
-</html>
-{%endblock%}
diff --git a/ishtar/templates/sheet_contextrecord.html b/ishtar/templates/sheet_contextrecord.html
deleted file mode 100644
index c2b94bafe..000000000
--- a/ishtar/templates/sheet_contextrecord.html
+++ /dev/null
@@ -1,135 +0,0 @@
-{% extends "sheet.html" %}
-{% load i18n %}
-{% block content %}
-<div class='tool'>{%trans "Export as:"%} <a href='{% url show-file item.pk "odt" %}'>{%trans "OpenOffice.org file"%}</a>, <a href='{% url show-file item.pk "pdf" %}'>{%trans "PDF file"%}</a></div>
-
-<h3>{% trans "Context Record"%}</h3>
-
-{% if item.operation.code_patriarche %}
-<p><label>{%trans "Complete ID:"%}</label>
-{% else %}
-<p class='alert'><label>{%trans "Patriarche OA code not yet recorded!"%}</label></p>
-<p><label>{%trans "Temporary ID:"%}</label>
-{%endif%}
-<span class='value'>{{item.full_label}}</span></p>
-{%if item.unit %}
-<p><label>{% trans "Type:" %}</label> <span class='value'>{{ item.unit }}</span></p>
-{%endif%}
-<p><label>{% trans "Chronology:" %}</label> <span class='value'>{{ item.datings.all|join:", " }}</span></p>
-<p><label>{% trans "Place:" %}</label> <span class='value'>{{ item.parcel.town }}</span></p>
-<p><label>{% trans "Parcel:" %}</label> <span class='value'>{{ item.parcel.short_label }}</span></p>
-
-{% if item.description or item.lenght or item.width or item.depth %}
-<h3>{% trans "Description"%}</h3>
-
-<p><label>{% trans "Description:" %}</label> <span class='value'>{{ item.description }}</span></p>
-{% if item.lenght %}<p><label>{% trans "Length (cm):" %}</label> <span class='value'>{{ item.length }}</span></p>{%endif%}
-{% if item.width %}<p><label>{% trans "Width (cm):" %}</label> <span class='value'>{{ item.width }}</span></p>{%endif%}
-{% if item.depth %}<p><label>{% trans "Depth (cm):" %}</label> <span class='value'>{{ item.depth }}</span></p>{%endif%}
-{% endif %}
-
-{% if item.activity or item.identification or item.interpretation %}
-<h3>{% trans "Interpretation"%}</h3>
-
-{% if item.activity %}<p><label>{% trans "Activity:" %}</label> <span class='value'>{{ item.activity }}</span></p>{%endif%}
-{% if item.identification %}<p><label>{% trans "Identification:" %}</label> <span class='value'>{{ item.identification }}</span></p>{%endif%}
-{% if item.interpretation %}<p><label>{% trans "Interpretation:" %}</label> <span class='value'>{{ item.interpretation }}</span></p>{%endif%}
-{% endif %}
-
-{% if item.taq or item.taq_estimated or item.tpq or item.tpq_estimated %}
-<h3>{% trans "Datations"%}</h3>
-{% if item.taq %}<p><label>{% trans "TAQ:" %}</label> <span class='value'>{{ item.taq }}</span></p>{%endif%}
-{% if item.taq_estimated %}<p><label>{% trans "TAQ estimated:" %}</label> <span class='value'>{{ item.taq_estimated }}</span></p>{%endif%}
-{% if item.tpq %}<p><label>{% trans "TPQ:" %}</label> <span class='value'>{{ item.tpq }}</span></p>{%endif%}
-{% if item.tpq_estimated %}<p><label>{% trans "TPQ estimated:" %}</label> <span class='value'>{{ item.tpq_estimated }}</span></p>{%endif%}
-{%endif%}
-
-{% if item.operation %}
-<h3>{% trans "Operation resume"%}</h3>
-<p><label>{%trans "Year:"%}</label> <span class='value'>{{ item.operation.year }}</span></p>
-<p><label>{%trans "Numerical reference:"%}</label> <span class='value'>{{ item.operation.operation_code }}</span></p>
-{% if item.operation.code_patriarche %}
-<p><label>{%trans "Patriarche OA code:"%}</label>
-<span class='value'>{{ item.operation.code_patriarche }}</span></p>
-{% else %}<p class='alert'><label>{%trans "Patriarche OA code not yet recorded!"%}</label></p>
-{%endif%}
-{#<p><label>{%trans "Operation's name:"%}</label><span class='value'>{{ item.operation.internal_reference }}</span></p>#}
-<p><label>{%trans "Head scientist:"%}</label>
-<span class='value'>{{ item.operation.in_charge.full_label }}</span></p>
-<p><label>{%trans "State:"%}</label>
-{% if item.operation.is_active %}
-<span class='value'>{%trans "Active file"%}</span></p>
-{% else %}
-<span class='value'>{%trans "Closed operation"%}</span></p>
-<p><label>{%trans "Closing date:"%}</label> <span class='value'>{{ item.operation.closing.date }}
-<strong>{%trans "by" %}</strong> {{ item.operation.closing.user }}</span></p>
-{% endif %}
-<p><label>{%trans "Type:"%}</label> <span class='value'>{{ item.operation.operation_type }}</span></p>
-<p><label>{%trans "Remains:"%}</label> <span class='value'>{{ item.operation.remains.all|join:", " }}</span></p>
-<p><label>{%trans "Periods:"%}</label> <span class='value'>{{ item.operation.periods.all|join:", " }}</span></p>
-{% if item.operation.comment %}<p><label>{%trans "Comment:"%}</label> <span class='value'>{{ item.operation.comment }}</span></p>{%endif%}
-<h3>{% trans "Localisation"%}</h3>
-<p><label>{%trans "Towns:"%}</label> <span class='value'>{{ item.operation.towns.all|join:", " }}</span></p>
-<p><label>{%trans "Related operation:"%}</label>
-<span class='value'><a href="#" onclick='load_window("{% url show-operation item.operation.pk ''%}");'>{{ item.operation }}</a></span></p>
-{# TODO: Displayed as Year/index/Commune/Common_name This should be a link to the file sheet of the related operation #}
-{% else %}<p class='alert'><label>{%trans "No operation linked to this context unit!"%}</label></p>
-{% endif %}
-
-<table>
- <caption>{%trans "Documents"%}</caption>
- <tr>
- <th>{% trans "Title" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Authors" %}</th>
- {#<th>{% trans "Localisation" %}</th>#}
- </tr>
- {% for doc in item.source.all %}
- <tr>
- <td class='string'>{{ doc.title }}</td>
- <td class='string'>{{doc.source_type}}</td>
- <td class='string'>{{ doc.authors.all|join:", " }}</td>
- {#<td>{{ doc.localisation }}</td>#}
- </tr>
- {% empty %}
- <tr><td colspan="4" class='no_items'>{% trans "No document associated to this context record" %}</td></tr>
- {% endfor %}
-</table>
-
-<table>
- <caption>{%trans "Finds"%}</caption>
- <tr>
- <th>{% trans "Find" %}</th>
- <th>{% trans "Material type" %}</th>
- <th>{% trans "Context record" %}</th>
- <th>{% trans "Periods" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Weight" %}</th>
- <th>{% trans "Numbers" %}</th>
- <th>{% trans "Parcel" %}</th>
- <th class='link'>&nbsp;</th>
- </tr>
- {% for find in item.base_items.all %}
- <tr>
- <td>{{ find.full_label }}</td>
-{# Displayed as (Patriarche operation code)-(Record unit label)-(Finds label). #}
-{# or displayed as (Year)-(index)-(Record unit label)-(Finds label). #}
- <td>{{ find.material_type_label }}</td>
-{# Displayed as (Patriarche operation code)-(Record unit label)-(material code)-(Finds label indexed by material type). #}
-{# or displayed as (Year)-(index)-(Record unit label)-(material code)-(Finds label indexed by material type) #}
-
- <td class='string'>{{find.context_record}}</td>
- <td>{{ find.get_last_item.dating}}</td>{# TODO .all|join:", " ? #}
- <td>{{ find.get_last_item.description }}</td>
- <td>{{ find.get_last_item.weight }}</td>
- <td>{{ find.get_last_item.item_number }}</td>
- <td>{{ item.context_record.parcel.short_label }}</td>
- <td class='link'><a href="#">{% trans "Details" %}</a></td>
- {#<a href="#" onclick='load_window("{% url show-find find.pk%}");'>{%trans "Details"%}</a></td>#}
- </tr>
- {% empty %}
- <tr><td colspan="9" class='no_items'>{% trans "No find associated to this context record" %}</td></tr>
- {% endfor %}
-</table>
-
-{% endblock %}
diff --git a/ishtar/templates/sheet_contextrecord_window.html b/ishtar/templates/sheet_contextrecord_window.html
deleted file mode 100644
index 7ff65d1e7..000000000
--- a/ishtar/templates/sheet_contextrecord_window.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% extends "sheet_contextrecord.html" %}
-{% block main_head %}{%endblock%}
-{% block main_foot %}{%endblock%}
diff --git a/ishtar/templates/sheet_file.html b/ishtar/templates/sheet_file.html
deleted file mode 100644
index 88ef1b3a2..000000000
--- a/ishtar/templates/sheet_file.html
+++ /dev/null
@@ -1,132 +0,0 @@
-{% extends "sheet.html" %}
-{% load i18n %}
-{% block content %}
-{% if previous or next %}
-<div class='tool'>
-{%if previous%}
-<a href="#" onclick='load_window("{% url show-historized-file item.pk previous|date:"c"%}");$("#{{window_id}}").hide();return false;'>{%trans "Previous version"%} ({{previous}})</a>
-{% endif %}
-{% if previous and next %} - {% endif %}
-{%if next%}
-<a href="#" onclick='if(confirm("{%trans "Are you sure to rollback to this version?"%}")){load_url("{% url revert-file item.pk item.history_date|date:"c"%}");closeAllWindows();load_window("{% url show-file item.pk None %}");}'>Rollback</a> -
-<a href="#" onclick='load_window("{% url show-historized-file item.pk next|date:"c" %}");$("#{{window_id}}").hide();return false;'>{%trans "Next version"%} ({{next}})</a>
-{% endif %}
-</div>
-{% endif %}
-<div class='tool'>{%trans "Export as:"%} <a href='{% url show-file item.pk "odt" %}'>{%trans "OpenOffice.org file"%}</a>, <a href='{% url show-file item.pk "pdf" %}'>{%trans "PDF file"%}</a></div>
-<h3>{% trans "General"%}</h3>
-<p><label>{%trans "Year:"%}</label> <span class='value'>{{ item.year }}</span></p>
-<p><label>{%trans "Numerical reference:"%}</label> <span class='value'>{{ item.numeric_reference }}</span></p>
-
-<p><label>{%trans "File's name:"%}</label> <span class='value'>{{ item.internal_reference }}</span></p>
-
-<p><label>{%trans "Edition date:"%}</label> <span class='value'>{{ item.history_date }}</span></p> <!-- date = now -->
-{% if item.reception_date %}<p><label>{%trans "Reception date:"%}</label> <span class='value'>{{ item.reception_date }}</span></p>{% endif %}
-<p><label>{%trans "Creation date:"%}</label> <span class='value'>{{ item.creation_date }}</span></p>
-{% comment %}
-{% if item.deadline_date and not item.acts %}
- <p><label>{%trans "Deadline:"%}</label> <span class='value'>{% item.deadline_date %}</span></p> <!-- calculated deadline for some preventive files , see saisine_type, not displayed if an act as been send -->
-{% endif %}
-{% endcomment %}
-
-<p><label>{%trans "In charge:"%}</label> <span class='value'>{{ item.in_charge.full_label }}</span></p>
-<p><label>{%trans "State:"%}</label> <span class='value'>{% if item.is_active %}{%trans "Active file"%}</span></p>
-{% else %}{%trans "Closed file"%}</span></p>
-<p><label>{%trans "Closing date:"%}</label> <span class='value'>{{ item.closing.date }} <strong>{%trans "by" %}</strong> {{ item.closing.user }}</span></p>
-{% endif %}
-
-<p><label>{%trans "Type:"%}</label> <span class='value'>{{ item.file_type }}</span></p>
-
-{% if item.related_file %}<p><label>{%trans "Related file:"%}</label> <span class='value'><a href='#' onclick='load_window("{% url show-file item.related_file.pk ''%}")'>{{ item.related_file }}</a></span></p>{% endif %} <!-- Displayed as Year/index/Commune/Common_name This should be a link to the file sheet of the related file -->
-{% if item.comment %}<p><label>{%trans "Comment:"%}</label> <span class='value'>{{ item.comment }}</span></p>{%endif%}
-
-<h3>{% trans "Localisation"%}</h3>
-<p><label>{%trans "Towns:"%}</label> <span class='value'>{{ item.towns.all|join:", " }}</span></p>
-
-<p><label>{%trans "Main address:"%}</label> <span class='value'>{{ item.address }}</span></p>
-{% if item.address_complement %}<p><label>{%trans "Complement:"%}</label> <span class='value'>{{ item.address_complement }}</span></p>{%endif%}
-{% if item.postal_code %}<p><label>{%trans "Postal code:"%}</label> <span class='value'>{{ item.postal_code }}</span></p>{%endif%}
-
-<p><label>{%trans "Surface:"%}</label>{% if item.total_surface %} <span class='value'>{{ item.total_surface }} m<sup>2</sup> ({{ item.total_surface_ha }} ha)</span>{%endif%}</p>
-
-
-
-{% if item.is_preventive %}
-<h3>{% trans "Preventive archaelogical file"%}</h3>
-<p><label>{%trans "Planed surface:"%}</label> <span class='value'>{{ item.total_developed_surface }} m<sup>2</sup> ({{ item.total_developed_surface_ha }} ha)</span></p>
-<p><label>{%trans "Saisine type:"%}</label> <span class='value'>{{ item.saisine_type }}</span></p>
-{% if item.town_planning_service %}<p><label>{%trans "Town planning service:"%}</label> <span class='value'>{{ item.town_planning_service }}</span></p>{% endif %}
-{% if item.permit_type %}<p><label>{%trans "Permit type:"%}</label> <span class='value'>{{ item.permit_type }}</span></p>{% endif %}
-{% if item.permit_reference %}<p><label>{%trans "Permit reference:"%}</label> <span class='value'>{{ item.permit_reference }}</span></p>{% endif %}
-{% if item.general_contractor.attached_to %}<p><label>{%trans "General contractor organisation:"%}</label> <span class='value'>{{ item.general_contractor.attached_to }}</span></p>{% endif %} <!-- Contractor's organisation displayed as concat of Name/Adress/postal_code/city -->
-{% if item.general_contractor %}<p><label>{%trans "General contractor:"%}</label> <span class='value'>{{ item.general_contractor.full_label }}</span></p>{% endif %}
-{% endif %}
-
-<table>
- <caption>{%trans "Admninistrative acts"%}</caption>
- <tr>
- <th>{% trans "Year" %}</th>
- <th>{% trans "Reference" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Date" %}</th>
- </tr>
- {% for act in item.administrative_act.all %}
- <tr>
- <td>{{act.signature_date.year}}</td>
- <td>{{act.ref_sra}}</td>
- <td class='string'>{{act.act_type}}</td>
- <td>{{act.signature_date}}</td>
- </tr>
- {% empty %}
- <tr><td colspan="4" class='no_items'>{% trans "No administrative act associated to this archaelogical file" %}</td></tr>
- {% endfor %}
-</table>
-
-<table>
- <caption>{%trans "Associated operations"%}</caption>
- <tr>
- <th>{% trans "Year" %}</th>
- <th>{% trans "Reference" %}</th>
- <th>Code Patriarche</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "In charge" %}</th>
- <th>{% trans "Start date" %}</th>
- <th>{% trans "Excavation end date" %}</th>
- <th class='link'>&nbsp;</th>
- </tr>
- {% for operation in item.operations.all %}
- <tr>
- <td>{{operation.year}}</td>
- <td>{{operation.operation_code}}</td>
- <td>{{operation.code_patriarche|default:""}}</td>
- <td class='string'>{{operation.operation_type}}</td>
- <td class='string'>{{operation.in_charge|default:""}}</td>
- <td>{{operation.start_date|default:""}}</td>
- <td>{{operation.excavation_end_date|default:""}}</td>
- <td class='link'><a href="#" onclick='load_window("{%url show-operation operation.pk ''%}")'>{% trans "Details" %}</a></td>
- </tr>
- {% empty %}
- <tr><td colspan="8" class='no_items'>{% trans "No operation associated to this archaelogical file" %}</td></tr>
- {% endfor %}
-</table>
-
-<table>
- <caption>{%trans "Admninistrative acts linked to associated operations"%}</caption>
- <tr>
- <th>{% trans "Year" %}</th>
- <th>{% trans "Reference" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Date" %}</th>
- </tr>
- {% for act in item.operation_acts %}
- <tr>
- <td>{{act.signature_date.year}}</td>
- <td>{{act.ref_sra}}</td>
- <td class='string'>{{act.act_type}}</td>
- <td>{{act.signature_date}}</td>
- </tr>
- {% empty %}
- <tr><td colspan="4" class='no_items'>{% trans "No administrative act linked to operations" %}</td></tr>
- {% endfor %}
-</table>
-{% endblock %}
diff --git a/ishtar/templates/sheet_file_pdf.html b/ishtar/templates/sheet_file_pdf.html
deleted file mode 100644
index 3c77c75f8..000000000
--- a/ishtar/templates/sheet_file_pdf.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{% extends "sheet_file.html" %}
-{% block css_head %}
-<link rel="stylesheet" href="{{MEDIA_URL}}/media/style_basic.css" />
-{% 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/ishtar/templates/sheet_file_window.html b/ishtar/templates/sheet_file_window.html
deleted file mode 100644
index e9debdd0d..000000000
--- a/ishtar/templates/sheet_file_window.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% extends "sheet_file.html" %}
-{% block main_head %}{%endblock%}
-{% block main_foot %}{%endblock%}
diff --git a/ishtar/templates/sheet_ope.html b/ishtar/templates/sheet_ope.html
deleted file mode 100644
index dbe3297b3..000000000
--- a/ishtar/templates/sheet_ope.html
+++ /dev/null
@@ -1,146 +0,0 @@
-{% extends "sheet.html" %}
-{% load i18n %}
-{% block content %}
-<div class='tool'>{%trans "Export as:"%} <a href='{% url show-file item.pk "odt" %}'>{%trans "OpenOffice.org file"%}</a>, <a href='{% url show-file item.pk "pdf" %}'>{%trans "PDF file"%}</a></div>
-<h3>{% trans "General"%}</h3>
-<p><label>{%trans "Year:"%}</label> <span class='value'>{{ item.year }}</span></p>
-<p><label>{%trans "Numerical reference:"%}</label> <span class='value'>{{ item.numeric_reference }}</span></p>
-
-{% if item.patriarche_code %}<p><label>{%trans "Patriarche OA code:"%}</label> <span class='value'>{{ item.patriarche_code }}</span></p>{%endif%}
-{% if item.patriarche_code_not_recorded %}<p><label>{%trans "Patriarche OA code not yet recorded !"%}</label></p>{%endif%}
-
-<p><label>{%trans "Operation's name:"%}</label> <span class='value'>{{ item.internal_reference }}</span></p>
-
-<p><label>{%trans "Edition date:"%}</label> <span class='value'>{{ item.history.all.0.history_date }}</span></p> <!-- date = now -->
-
-<p><label>{%trans "Begining date:"%}</label> <span class='value'>{{ item.begin_date }}</span></p>
-<p><label>{%trans "Field work end date:"%}</label> <span class='value'>{{ item.end_date }}</span></p>
-
-<p><label>{%trans "Head scientist:"%}</label> <span class='value'>{{ item.head_scientist.full_label }}</span></p>
-<p><label>{%trans "State:"%}</label> <span class='value'>{% if item.is_active %}{%trans "Active file"%}</span></p>
-{% else %}{%trans "Closed operation"%}</span></p>
-<p><label>{%trans "Closing date:"%}</label> <span class='value'>{{ item.closing.date }} <strong>{%trans "by" %}</strong> {{ item.closing.user }}</span></p>
-{% endif %}
-<p><label>{%trans "Type:"%}</label> <span class='value'>{{ item.operation_type }}</span></p>
-<p><label>{%trans "Surface:"%}</label> <span class='value'>{{ item.total_surface }} m<sup>2</sup> ({{ item.total_surface_ha }} ha)</span></p>
-<p><label>{%trans "Cost:"%}</label> <span class='value'>{{ item.cost }} Euros, ({{ item.cost_by_m2 }} Euros/m<sup>2</sup>)</span></p>
-<p><label>{%trans "Duration:"%}</label> <span class='value'>{{ item.duration }} {%trans "Day"%}s</span></p>
-
-<p><label>{%trans "Remains:"%}</label> <span class='value'>{{ item.remains.all|join:", " }}</span></p>
-<p><label>{%trans "Periods:"%}</label> <span class='value'>{{ item.periods.all|join:", " }}</span></p>
-
-{% if item.related_file %}
-<p><label>{%trans "Related file:"%}</label> <span class='value'><a href='{% url show-file item.related_file.pk ''%}'>{{ item.related_file }}</a></span></p><!-- Displayed as Year/index/Commune/Common_name This should be a link to the file sheet of the related file -->
-{% if item.related_file.is_preventive %}
-{% if item.operator_reference_code %}<p><label>{%trans "Operator's reference code:"%}</label> <span class='value'>{{ item.operator_reference_code }}</span></p>{% endif %}
-{% if item.related_file.town_planning_service %}<p><label>{%trans "Town planning service:"%}</label> <span class='value'>{{ item.related_file.town_planning_service }}</span></p>{% endif %}
-{% if item.related_file.permit_type %}<p><label>{%trans "Permit type:"%}</label> <span class='value'>{{ item.related_file.permit_type }}</span></p>{% endif %}
-{% if item.related_file.permit_reference %}<p><label>{%trans "Permit reference:"%}</label> <span class='value'>{{ item.related_file.permit_reference }}</span></p>{% endif %}
-{% if item.related_file.general_contractor.attached_to %}<p><label>{%trans "General contractor organisation:"%}</label> <span class='value'>{{ item.related_file.general_contractor.attached_to }}</span></p>{% endif %} <!-- Contractor's organisation displayed as concat of Name/Adress/postal_code/city -->
-{% if item.related_file.general_contractor %}<p><label>{%trans "General contractor:"%}</label> <span class='value'>{{ item.related_file.general_contractor.full_label }}</span></p>{% endif %}
-{% endif %}
-{% endif %}
-
-{% if item.comment %}<p><label>{%trans "Comment:"%}</label> <span class='value'>{{ item.comment }}</span></p>{%endif%}
-
-<h3>{% trans "Localisation"%}</h3>
-<p><label>{%trans "Towns:"%}</label> <span class='value'>{{ item.towns.all|join:", " }}</span></p>
-
-<p><label>{%trans "Main address:"%}</label> <span class='value'>{{ item.address }}</span></p>
-{% if item.address_complement %}<p><label>{%trans "Complement:"%}</label> <span class='value'>{{ item.address_complement }}</span></p>{%endif%}
-{% if item.postal_code %}<p><label>{%trans "Postal code:"%}</label> <span class='value'>{{ item.postal_code }}</span></p>{%endif%}
-
-<p><label>{%trans "Lambert X:"%}</label> <span class='value'>{{ item.lambert_x }}</span></p>
-<p><label>{%trans "Lambert Y:"%}</label> <span class='value'>{{ item.lambert_y }}</span></p>
-<p><label>{%trans "Altitude (m NGF):"%}</label> <span class='value'>{{ item.altitude }}</span></p>
-
-<table>
- <caption>{%trans "Associated parcels"%}</caption>
- <tr>
- <th>{% trans "Commune" %}</th>
- <th>{% trans "Year" %}</th>
- <th>{% trans "Section" %}</th>
- <th>{% trans "Parcel" %}</th>
- <th>{% trans "Owner" %}</th>
- </tr>
- {% for parcels in item.parcel.all %}
- <tr>
- <td>{{operation.commune}}</td>
- <td>{{operation.year}}</td>
- <td>{{operation.section}}</td>
- <td>{{operation.parcel}}</td>
- <td class='string'>{{operation.parcel.owner}}</td>
- </tr>
- {% empty %}
- <tr><td colspan="5" class='no_items'>{% trans "No parcel associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-<h3>{% trans "Admninistrative acts"%}</h3>
-<table>
- <caption>{%trans "Admninistrative acts"%}</caption>
- <tr>
- <th>{% trans "Year" %}</th>
- <th>{% trans "Reference" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Date" %}</th>
- </tr>
- {% for act in item.administrative_act.all %}
- <tr>
- <td>{{act.signature_date.year}}</td>
- <td>{{act.ref_sra}}</td>
- <td class='string'>{{act.act_type}}</td>
- <td>{{act.signature_date}}</td>
- </tr>
- {% empty %}
- <tr><td colspan="4" class='no_items'>{% trans "No administrative act associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-<h3>{% trans "Documentation"%}</h3>
-<table>
- <caption>{%trans "Documents"%}</caption>
- <tr>
- <th>{% trans "Title" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Authors" %}</th>
- <th>{% trans "Localisation" %}</th>
- </tr>
- {% for doc in item.doc.all %}
- <tr>
- <td>{{ doc.title }}</td>
- <td class='string'>{{doc.type}}</td>
- <td>{{ doc.author.all|join:", " }}</td>
- <td>{{ doc.localisation }}</td>
- </tr>
- {% empty %}
- <tr><td colspan="4" class='no_items'>{% trans "No document associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-<h3>{% trans "Recording Units"%}</h3>
-<table>
- <caption>{%trans "Recording Units"%}</caption>
- <tr>
- <th>{% trans "ID" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Chronology" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Parcel" %}</th>
- <th class='link'>&nbsp;</th>
- </tr>
- {% for record_unit in item.record_unit.all %}
- <tr>
- <td>{{ record_unit.label }}</td>
- <td class='string'>{{record_unit.unit_type}}</td>
- <td>{{ record_unit.period.all|join:", " }}</td>
- <td>{{ record_unit.description }}</td>
- <td>{{ record_unit.section_and_parcel }}</td><!-- Displayed as (Section)-(parcel number). A record unit can be linked to only one parcel. -->
- <td class='link'><a href="#{#{%url show-record_unit record_unit.pk%}#}">{% trans "Details" %}</a></td>
- </tr>
- {% empty %}
- <tr><td colspan="6" class='no_items'>{% trans "No recording unit associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-{% endblock %}
diff --git a/ishtar/templates/sheet_ope_modif.html b/ishtar/templates/sheet_ope_modif.html
deleted file mode 100644
index cc3a4492e..000000000
--- a/ishtar/templates/sheet_ope_modif.html
+++ /dev/null
@@ -1,182 +0,0 @@
-{% extends "sheet.html" %}
-{% load i18n %}
-{% block content %}
-<div class='tool'>{%trans "Export as:"%} <a href='{% url show-file item.pk "odt" %}'>{%trans "OpenOffice.org file"%}</a>, <a href='{% url show-file item.pk "pdf" %}'>{%trans "PDF file"%}</a></div>
-<h3>{% trans "General"%}</h3>
-<p><label>{%trans "Year:"%}</label> <span class='value'>{{ item.year }}</span></p>
-<p><label>{%trans "Numerical reference:"%}</label> <span class='value'>{{ item.numeric_reference }}</span></p>
-
-{% if item.patriarche_code %}<p><label>{%trans "Patriarche OA code:"%}</label> <span class='value'>{{ item.patriarche_code }}</span></p>{%endif%}
-{% if item.patriarche_code_not_recorded %}<p><label>{%trans "Patriarche OA code not yet recorded !"%}</label></p>{%endif%}
-
-<p><label>{%trans "Operation's name:"%}</label> <span class='value'>{{ item.internal_reference }}</span></p>
-
-<p><label>{%trans "Edition date:"%}</label> <span class='value'>{{ item.history.all.0.history_date }}</span></p> <!-- date = now -->
-
-<p><label>{%trans "Begining date:"%}</label> <span class='value'>{{ item.begin_date }}</span></p>
-<p><label>{%trans "Field work end date:"%}</label> <span class='value'>{{ item.end_date }}</span></p>
-
-<p><label>{%trans "Head scientist:"%}</label> <span class='value'>{{ item.head_scientist.full_label }}</span></p>
-<p><label>{%trans "State:"%}</label> <span class='value'>{% if item.is_active %}{%trans "Active file"%}</span></p>
-{% else %}{%trans "Closed operation"%}</span></p>
-<p><label>{%trans "Closing date:"%}</label> <span class='value'>{{ item.closing.date }} <strong>{%trans "by" %}</strong> {{ item.closing.user }}</span></p>
-{% endif %}
-<p><label>{%trans "Type:"%}</label> <span class='value'>{{ item.operation_type }}</span></p>
-<p><label>{%trans "Surface:"%}</label> <span class='value'>{{ item.total_surface }} m<sup>2</sup> ({{ item.total_surface_ha }} ha)</span></p>
-<p><label>{%trans "Cost:"%}</label> <span class='value'>{{ item.cost }} Euros, ({{ item.cost_by_m2 }} Euros/m<sup>2</sup>)</span></p>
-<p><label>{%trans "Duration:"%}</label> <span class='value'>{{ item.duration }} {%trans "Day"%}s</span></p>
-
-<p><label>{%trans "Remains:"%}</label> <span class='value'>{{ item.remains.all|join:", " }}</span></p>
-<p><label>{%trans "Periods:"%}</label> <span class='value'>{{ item.periods.all|join:", " }}</span></p>
-
-{% if item.related_file %}
-<p><label>{%trans "Related file:"%}</label> <span class='value'><a href='{% url show-file item.related_file.pk ''%}'>{{ item.related_file }}</a></span></p><!-- Displayed as Year/index/Commune/Common_name This should be a link to the file sheet of the related file -->
-{% if item.related_file.is_preventive %}
-{% if item.operator_reference_code %}<p><label>{%trans "Operator's reference code:"%}</label> <span class='value'>{{ item.operator_reference_code }}</span></p>{% endif %}
-{% if item.related_file.town_planning_service %}<p><label>{%trans "Town planning service:"%}</label> <span class='value'>{{ item.related_file.town_planning_service }}</span></p>{% endif %}
-{% if item.related_file.permit_type %}<p><label>{%trans "Permit type:"%}</label> <span class='value'>{{ item.related_file.permit_type }}</span></p>{% endif %}
-{% if item.related_file.permit_reference %}<p><label>{%trans "Permit reference:"%}</label> <span class='value'>{{ item.related_file.permit_reference }}</span></p>{% endif %}
-{% if item.related_file.general_contractor.attached_to %}<p><label>{%trans "General contractor organisation:"%}</label> <span class='value'>{{ item.related_file.general_contractor.attached_to }}</span></p>{% endif %} <!-- Contractor's organisation displayed as concat of Name/Adress/postal_code/city -->
-{% if item.related_file.general_contractor %}<p><label>{%trans "General contractor:"%}</label> <span class='value'>{{ item.related_file.general_contractor.full_label }}</span></p>{% endif %}
-{% endif %}
-{% endif %}
-
-{% if item.comment %}<p><label>{%trans "Comment:"%}</label> <span class='value'>{{ item.comment }}</span></p>{%endif%}
-
-<h3>{% trans "Localisation"%}</h3>
-<p><label>{%trans "Towns:"%}</label> <span class='value'>{{ item.towns.all|join:", " }}</span></p>
-
-<p><label>{%trans "Main address:"%}</label> <span class='value'>{{ item.address }}</span></p>
-{% if item.address_complement %}<p><label>{%trans "Complement:"%}</label> <span class='value'>{{ item.address_complement }}</span></p>{%endif%}
-{% if item.postal_code %}<p><label>{%trans "Postal code:"%}</label> <span class='value'>{{ item.postal_code }}</span></p>{%endif%}
-
-<p><label>{%trans "Lambert X:"%}</label> <span class='value'>{{ item.lambert_x }}</span></p>
-<p><label>{%trans "Lambert Y:"%}</label> <span class='value'>{{ item.lambert_y }}</span></p>
-<p><label>{%trans "Altitude (m NGF):"%}</label> <span class='value'>{{ item.altitude }}</span></p>
-
-<table>
- <caption>{%trans "Associated parcels"%}</caption>
- <tr>
- <th>{% trans "Commune" %}</th>
- <th>{% trans "Year" %}</th>
- <th>{% trans "Section" %}</th>
- <th>{% trans "Parcel" %}</th>
- <th>{% trans "Owner" %}</th>
- </tr>
- {% for parcels in item.parcel.all %}
- <tr>
- <td>{{operation.commune}}</td>
- <td>{{operation.year}}</td>
- <td>{{operation.section}}</td>
- <td>{{operation.parcel}}</td>
- <td class='string'>{{operation.parcel.owner}}</td>
- </tr>
- {% empty %}
- <tr><td colspan="5" class='no_items'>{% trans "No parcel associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-<h3>{% trans "Admninistrative acts"%}</h3>
-<table>
- <caption>{%trans "Admninistrative acts"%}</caption>
- <tr>
- <th>{% trans "Year" %}</th>
- <th>{% trans "Reference" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Date" %}</th>
- </tr>
- {% for act in item.administrative_act.all %}
- <tr>
- <td>{{act.signature_date.year}}</td>
- <td>{{act.ref_sra}}</td>
- <td class='string'>{{act.act_type}}</td>
- <td>{{act.signature_date}}</td>
- </tr>
- {% empty %}
- <tr><td colspan="4" class='no_items'>{% trans "No administrative act associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-<h3>{% trans "Documentation"%}</h3>
-<table>
- <caption>{%trans "Documents"%}</caption>
- <tr>
- <th>{% trans "Title" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Authors" %}</th>
- <th>{% trans "Localisation" %}</th>
- </tr>
- {% for doc in item.doc.all %}
- <tr>
- <td>{{ doc.title }}</td>
- <td class='string'>{{doc.type}}</td>
- <td>{{ doc.author.all|join:", " }}</td>
- <td>{{ doc.localisation }}</td>
- </tr>
- {% empty %}
- <tr><td colspan="4" class='no_items'>{% trans "No document associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-<h3>{% trans "Recording Units"%}</h3><!-- The list of context units must be listed here -->
-<table>
- <caption>{%trans "Recording Units"%}</caption>
- <tr>
- <th>{% trans "ID" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Chronology" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Parcel" %}</th>
- <th class='link'>&nbsp;</th>
- </tr>
- {% for record_unit in item.record_unit.all %}
- <tr>
- <td>{{ record_unit.label }}</td>
- <td class='string'>{{record_unit.unit_type}}</td>
- <td>{{ record_unit.period.all|join:", " }}</td>
- <td>{{ record_unit.description }}</td>
- <td>{{ record_unit.section_and_parcel }}</td><!-- Displayed as (Section)-(parcel number). A record unit can be linked to only one parcel. -->
- <td class='link'><a href="#{#{%url show-record_unit record_unit.pk%}#}">{% trans "Details" %}</a></td>
- </tr>
- {% empty %}
- <tr><td colspan="6" class='no_items'>{% trans "No recording unit associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-<h3>{% trans "Finds"%}</h3><!-- The list of finds must be listed here -->
-<table>
- <caption>{%trans "Finds"%}</caption>
- <tr>
- <th>{% trans "Find_complete_Label" %}</th>
- <th>{% trans "Find_complete_material_type_Label" %}</th>
- <th>{% trans "Context_record" %}</th>
- <th>{% trans "Periods" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Weight" %}</th>
- <th>{% trans "Numbers" %}</th>
- <th>{% trans "Parcel" %}</th>
- <th class='link'>&nbsp;</th>
- </tr>
- {% for find in item.find.all %}
- <tr>
-
- {% if item.patriarche_code %}<th>{% trans "find.complete_label" %}</th><!-- Displayed as (Patriarche operation code)-(Record unit label)-(Finds label). -->{%endif%}
- {% if item.patriarche_code_not_recorded %}<th>{% trans "find.not_patriarche_complete_label" %}</th><!-- Displayed as (Year)-(index)-(Record unit label)-(Finds label). -->{%endif%}
-
- {% if item.patriarche_code %}<th>{% trans "find.material_type_complete_label" %}</th><!-- Displayed as (Patriarche operation code)-(Record unit label)-(material code)-(Finds label indexed by material type). -->{%endif%}
- {% if item.patriarche_code_not_recorded %}<th>{% trans "find.material_type_not_patriarche_complete_label" %}</th><!-- Displayed as (Year)-(index)-(Record unit label)-(material code)-(Finds label indexed by material type). -->{%endif%}
-
- <td class='string'>{{find.context_record}}</td>
- <td>{{ find.period.all|join:", " }}</td>
- <td>{{ find.description }}</td>
- <td>{{ find.weight }}</td>
- <td>{{ find.numbers }}</td>
- <td>{{ find.record_unit.section_and_parcel }}</td><!-- Displayed as (Section)-(parcel number). A record unit can be linked to only one parcel. -->
- <td class='link'><a href="#{#{%url show-find find.pk%}#}">{% trans "Details" %}</a></td>
- </tr>
- {% empty %}
- <tr><td colspan="9" class='no_items'>{% trans "No find associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-{% endblock %}
diff --git a/ishtar/templates/sheet_operation.html b/ishtar/templates/sheet_operation.html
deleted file mode 100644
index aa571d20c..000000000
--- a/ishtar/templates/sheet_operation.html
+++ /dev/null
@@ -1,183 +0,0 @@
-{% extends "sheet.html" %}
-{% load i18n %}
-{% block content %}
-<div class='tool'>{%trans "Export as:"%} <a href='{% url show-operation item.pk "odt" %}'>{%trans "OpenOffice.org file"%}</a>, <a href='{% url show-operation item.pk "pdf" %}'>{%trans "PDF file"%}</a></div>
-<h3>{% trans "General"%}</h3>
-<p><label>{%trans "Year:"%}</label> <span class='value'>{{ item.year }}</span></p>
-<p><label>{%trans "Numerical reference:"%}</label> <span class='value'>{{ item.operation_code }}</span></p>
-
-{% if item.code_patriarche %}<p><label>{%trans "Patriarche OA code:"%}</label> <span class='value'>{{ item.code_patriarche }}</span></p>{%else%}
-<p class='alert'>{%trans "Patriarche OA code not yet recorded!"%}</p>{%endif%}
-
-{#<p><label>{%trans "Operation's name:"%}</label> <span class='value'>{{ item.internal_reference }}</span></p>#}
-
-<p><label>{%trans "Edition date:"%}</label> <span class='value'>{{ item.history.all.0.history_date }}</span></p> <!-- date = now -->
-
-{% if item.start_date %}<p><label>{%trans "Begining date:"%}</label> <span class='value'>{{ item.start_date }}</span></p>
-<p><label>{%trans "Excavation end date:"%}</label> <span class='value'>{{ item.excavation_end_date|default:"-" }}</span></p>
-{%endif%}
-{% if item.in_charge %}<p><label>{%trans "Head scientist:"%}</label> <span class='value'>{{ item.in_charge.full_label }}</span></p>{%endif%}
-<p><label>{%trans "State:"%}</label> <span class='value'>{% if item.is_active %}{%trans "Active file"%}</span></p>
-{% else %}{%trans "Closed operation"%}</span></p>
-<p><label>{%trans "Closing date:"%}</label> <span class='value'>{{ item.closing.date }} <strong>{%trans "by" %}</strong> {{ item.closing.user }}</span></p>
-{% endif %}
-<p><label>{%trans "Type:"%}</label> <span class='value'>{{ item.operation_type }}</span></p>
-{% if item.surface %}<p><label>{%trans "Surface:"%}</label> <span class='value'>{{ item.surface }} m<sup>2</sup> ({{ item.surface_ha }} ha)</span></p>{% endif %}
-{% if item.cost %}<p><label>{%trans "Cost:"%}</label> <span class='value'>{{ item.cost }} &euro;{% if item.cost_by_m2 %}, ({{ item.cost_by_m2 }} &euro;/m<sup>2</sup>){%endif%}</span></p>{%endif%}
-{% if item.duration %}<p><label>{%trans "Duration:"%}</label> <span class='value'>{{ item.duration }} {%trans "Day"%}s</span></p>{%endif%}
-
-<p><label>{%trans "Remains:"%}</label> <span class='value'>{{ item.remains.all|join:", " }}</span></p>
-<p><label>{%trans "Periods:"%}</label> <span class='value'>{{ item.periods.all|join:", " }}</span></p>
-
-{% if item.associated_file %}
-<p><label>{%trans "Associated file:"%}</label> <span class='value'><a href='#' onclick='load_window("{% url show-file item.associated_file.pk ''%}")'>{{ item.associated_file }}</a></span></p><!-- Displayed as Year/index/Commune/Common_name This should be a link to the file sheet of the related file -->
-{% if item.associated_file.is_preventive %}
-{#{% if item.operator_reference_code %}<p><label>{%trans "Operator's reference code:"%}</label> <span class='value'>{{ item.operator_reference_code }}</span></p>{% endif %}#}
-{% if item.associated_file.town_planning_service %}<p><label>{%trans "Town planning service:"%}</label> <span class='value'>{{ item.associated_file.town_planning_service }}</span></p>{% endif %}
-{% if item.associated_file.permit_type %}<p><label>{%trans "Permit type:"%}</label> <span class='value'>{{ item.associated_file.permit_type }}</span></p>{% endif %}
-{% if item.associated_file.permit_reference %}<p><label>{%trans "Permit reference:"%}</label> <span class='value'>{{ item.associated_file.permit_reference }}</span></p>{% endif %}
-{% if item.associated_file.general_contractor.attached_to %}<p><label>{%trans "General contractor organisation:"%}</label> <span class='value'>{{ item.associated_file.general_contractor.attached_to }}</span></p>{% endif %} <!-- Contractor's organisation displayed as concat of Name/Adress/postal_code/city -->
-{% if item.associated_file.general_contractor %}<p><label>{%trans "General contractor:"%}</label> <span class='value'>{{ item.associated_file.general_contractor.full_label }}</span></p>{% endif %}
-{% endif %}
-{% endif %}
-
-{% if item.comment %}<p><label>{%trans "Comment:"%}</label> <span class='value'>{{ item.comment }}</span></p>{%endif%}
-
-<h3>{% trans "Localisation"%}</h3>
-<p><label>{%trans "Towns:"%}</label> <span class='value'>{{ item.towns.all|join:", " }}</span></p>
-
-<p><label>{%trans "Main address:"%}</label> <span class='value'>{{ item.associated_file.address }}</span></p>
-{% if item.associated_file.address_complement %}<p><label>{%trans "Complement:"%}</label> <span class='value'>{{ item.associated_file.address_complement }}</span></p>{%endif%}
-{% if item.associated_file.postal_code %}<p><label>{%trans "Postal code:"%}</label> <span class='value'>{{ item.associated_file.postal_code }}</span></p>{%endif%}
-
-{% comment %}
-<p><label>{%trans "Lambert X:"%}</label> <span class='value'>{{ item.lambert_x }}</span></p>
-<p><label>{%trans "Lambert Y:"%}</label> <span class='value'>{{ item.lambert_y }}</span></p>
-<p><label>{%trans "Altitude (m NGF):"%}</label> <span class='value'>{{ item.altitude }}</span></p>
-{% endcomment %}
-<table>
- <caption>{%trans "Associated parcels"%}</caption>
- <tr>
- <th>{% trans "Commune" %}</th>
- <th>{% trans "Year" %}</th>
- <th>{% trans "Section" %}</th>
- <th>{% trans "Parcel" %}</th>
- {#<th>{% trans "Owner" %}</th>#}
- </tr>
- {% for parcel in item.parcels.all %}
- <tr>
- <td class='string'>{{parcel.town}}</td>
- <td>{{parcel.year}}</td>
- <td>{{parcel.section}}</td>
- <td>{{parcel.parcel_number}}</td>
- {#<td class='string'>{{operation.parcel.owner}}</td>#}
- </tr>
- {% empty %}
- <tr><td colspan="4" class='no_items'>{% trans "No parcel associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-<table>
- <caption>{%trans "Admninistrative acts"%}</caption>
- <tr>
- <th>{% trans "Year" %}</th>
- <th>{% trans "Reference" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Date" %}</th>
- </tr>
- {% for act in item.administrative_act.all %}
- <tr>
- <td>{{act.signature_date.year}}</td>
- <td>{{act.ref_sra}}</td>
- <td class='string'>{{act.act_type}}</td>
- <td class="string">{{act.signature_date}}</td>
- </tr>
- {% empty %}
- <tr><td colspan="4" class='no_items'>{% trans "No acts associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-<h3>{% trans "Scientific documentation"%}</h3>
-<table>
- <caption>{%trans "Documents"%}</caption>
- <tr>
- <th>{% trans "Title" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Authors" %}</th>
- {#<th>{% trans "Localisation" %}</th>#}
- </tr>
- {% for doc in item.source.all %}
- <tr>
- <td class='string'>{{ doc.title }}</td>
- <td class='string'>{{doc.source_type}}</td>
- <td class='string'>{{ doc.authors.all|join:", " }}</td>
- {#<td>{{ doc.localisation }}</td>#}
- </tr>
- {% empty %}
- <tr><td colspan="4" class='no_items'>{% trans "No scientific document associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-
-<table>
- <caption>{%trans "Context records"%}</caption>
- <tr>
- <th>{% trans "ID" %}</th>
- <th>{% trans "Type" %}</th>
- <th>{% trans "Chronology" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Parcel" %}</th>
- <th class='link'>&nbsp;</th>
- </tr>
- {% for context_record in item.context_record.all %}
- <tr>
- <td class='string'>{{ context_record.label }}</td>
- <td class='string'>{{context_record.unit|default:""}}</td>
- <td class='string'>{{ context_record.datings.all|join:", " }}</td>{# periods ?#}
- <td class='string'>{{ context_record.description }}</td>
- <td class='string'>{{ context_record.parcel.section }} - {{context_record.parcel.parcel_number}}</td>
- <td class='link'><a href="#" onclick='load_window("{%url show-contextrecord context_record.pk ''%}")'>{% trans "Details" %}</a></td>
- </tr>
- {% empty %}
- <tr><td colspan="6" class='no_items'>{% trans "No context record associated to this operation" %}</td></tr>
- {% endfor %}
-</table>
-<div class='table'>
-<table>
- <caption>{%trans "Finds"%}</caption>
- <tr>
- <th>{% trans "Find" %}</th>
- <th>{% trans "Material type" %}</th>
- <th>{% trans "Context record" %}</th>
- <th>{% trans "Periods" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Weight" %}</th>
- <th>{% trans "Numbers" %}</th>
- <th>{% trans "Parcel" %}</th>
- <th class='link'>&nbsp;</th>
- </tr>
- {% for context_record in item.context_record.all %}
- {% for find in context_record.base_items.all %}
- <tr>
- <td class="ref">{{ find.full_label }}</td>
-{# Displayed as (Patriarche operation code)-(Record unit label)-(Finds label). #}
-{# or displayed as (Year)-(index)-(Record unit label)-(Finds label). #}
- <td class="ref">{{ find.material_type_label }}</td>
- <td>{{find.context_record.label}}</td>
- <td class='string'>{{ find.get_last_item.dating}}</td>{# TODO .all|join:", " ? #}
- <td class='string'>{{ find.get_last_item.description }}</td>
- <td>{{ find.get_last_item.weight }}</td>
- <td>{{ find.get_last_item.item_number }}</td>
- <td class="ref">{{ context_record.parcel.short_label }}</td>
- <td class='link'><a href="#">{% trans "Details" %}</a></td>
- {#<a href="#" onclick='load_window("{% url show-find find.pk%}");'>{%trans "Details"%}</a></td>#}
- </tr>
- {% empty %}
- <tr><td colspan="9" class='no_items'>{% trans "No find associated to context record" %} {{context_record.short_label}}</td></tr>
- {% endfor %}
- {% empty %}
- <tr><td colspan="9" class='no_items'>{% trans "No find associated to parcel" %} {{parcel.short_label}} {% trans "(no context record)" %}</td></tr>
- {% endfor %}
-</table>
-</div>
-
-{% endblock %}
diff --git a/ishtar/templates/sheet_operation_pdf.html b/ishtar/templates/sheet_operation_pdf.html
deleted file mode 100644
index 3397d5f43..000000000
--- a/ishtar/templates/sheet_operation_pdf.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{% extends "sheet_operation.html" %}
-{% block css_head %}
-<link rel="stylesheet" href="{{MEDIA_URL}}/media/style_basic.css" />
-{% 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/ishtar/templates/sheet_operation_window.html b/ishtar/templates/sheet_operation_window.html
deleted file mode 100644
index 9c595a1e9..000000000
--- a/ishtar/templates/sheet_operation_window.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% extends "sheet_operation.html" %}
-{% block main_head %}{%endblock%}
-{% block main_foot %}{%endblock%}
diff --git a/ishtar/templates/towns_wizard.html b/ishtar/templates/towns_wizard.html
deleted file mode 100644
index 115ac9838..000000000
--- a/ishtar/templates/towns_wizard.html
+++ /dev/null
@@ -1,40 +0,0 @@
-{% extends "default_wizard.html" %}
-{% load i18n %}
-{% load range %}
-{% block extra_head %}
-{{form.media}}
-{% endblock %}
-{% block content %}
-<form action="." method="post" name='wizard'>{% csrf_token %}
-<ul id='form_path'>
-{% for step in previous_steps %}
- <li>&raquo;&nbsp;<button name="form_prev_step" value="{{forloop.counter0}}">{{step.form_label}}</button></li>
-{% endfor %}
- <li class='current'>&raquo;&nbsp;<a href='#'>{{current_step.form_label}}</a></li>
-</ul>
-<div class='form'>
-{% if extra_context.TOWNS %}
-{% if form.forms %}
-<div class='top_button'><input type="submit" id="submit_form" value="{% trans "Validate" %}"/></div>
-<table class='formset'>
- {%if form.non_form_errors%}<tr class='error'><th colspan='2'>{{form.non_form_errors}}</th></tr>{%endif%}
- {{ form.management_form }}
- {% for formsetform in form.forms %}
- {{ formsetform.as_table }}
- {% endfor %}
- <tr class='modify'><td colspan="2"><button name="formset_modify" value="{{form_step}}">{% trans "Add/Modify" %}</button></td></tr></li>
-</table>
-{% else %}
-<table>
- {{ form.as_table }}
-</table>
-{% endif %}
-{% else %}
-<p class='alert'>{% trans "No town set in the associated file." %}</p>
-{% endif %}
-<input type="hidden" name="{{ step_field }}" value="{{ step0 }}" />
-{{ previous_fields|safe }}
-<input type="submit" id="submit_form" value="{% trans "Validate" %}"/>
-</div>
-</form>
-{% endblock %}
diff --git a/ishtar/templates/window.html b/ishtar/templates/window.html
deleted file mode 100644
index a92f859ab..000000000
--- a/ishtar/templates/window.html
+++ /dev/null
@@ -1,45 +0,0 @@
-{% load i18n %}
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
-<head>
- <link rel="shortcut icon" href="{{MEDIA_URL}}/media/images/favicon.png">
- <title>{% block title %}Ishtar{% if APP_NAME %} - {{APP_NAME}}{%endif%}{% endblock %}
- </title>
- <script language="javascript" type="text/javascript">
- var url_path = "{{URL_PATH}}";
- </script>
- <script language="javascript" type="text/javascript" src="{{JQUERY_URL}}"></script>
- <script language="javascript" type="text/javascript" src="{{JQUERY_UI_URL}}jquery-ui.js"></script>
- <script language="javascript" type="text/javascript" src="{{JQUERY_UI_URL}}ui/i18n/jquery.ui.datepicker-{{COUNTRY}}.js"></script>
- <script language="javascript" type="text/javascript" src="{{MEDIA_URL}}/js/ishtar.js"></script>
- <link type="text/css" href="{{JQUERY_UI_URL}}css/smoothness/jquery-ui.css" rel="stylesheet" />
- <link rel="stylesheet" href="{{MEDIA_URL}}/media/style.css" />
- {% block extra_head %}
- {% endblock %}
-</head>
-<body>
-{% if new_item_label %}
-<script type='text/javascript' language='javascript'>
-save_and_close_window("{{parent_name}}", "{{parent_pk}}", "{{new_item_label}}", "{{new_item_pk}}");
-</script>
-{% endif %}
-<div id="window_content">
- <h3>{{title}}</h3>
- <form action="." method="post" class='form'>{% csrf_token %}
- <table>
- {% for field in form %}
- <tr{% if field.field.required %} class='required'{% endif %}>
- <th><label for="{{ field.label }}">{{ field.label_tag }}</th>
- <td> {{ field.errors }}{{field|safe}}</td>
- </tr>{% endfor %}
- <tr><td colspan='2' class='submit_button'><input type="submit" id="submit_new_item" value="{% trans "Add" %}"/></td></tr>
- </table>
- </form>
- </div>
-
-</div>
-</body>
-
-</html>
diff --git a/ishtar/templates/wizard_closing_done.html b/ishtar/templates/wizard_closing_done.html
deleted file mode 100644
index 54990a629..000000000
--- a/ishtar/templates/wizard_closing_done.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% block content %}
-<p>{%trans "Item successfully closed"%}</p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/wizard_delete_done.html b/ishtar/templates/wizard_delete_done.html
deleted file mode 100644
index 854341aa3..000000000
--- a/ishtar/templates/wizard_delete_done.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% block content %}
-<p>{%trans "Item successfully deleted"%}</p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/wizard_done.html b/ishtar/templates/wizard_done.html
deleted file mode 100644
index a7068bbab..000000000
--- a/ishtar/templates/wizard_done.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{% block content %}
-<p>{%trans "Item successfully saved"%}</p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/wizard_done_summary.html b/ishtar/templates/wizard_done_summary.html
deleted file mode 100644
index 53650dafe..000000000
--- a/ishtar/templates/wizard_done_summary.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{% extends "wizard_done.html" %}
-{% load i18n %}
-{% block content %}
-
-<div class='form'>
- <p>{% trans "You have entered the following informations:" %}</p>
- {% for form_label, form_data in datas %}
- <table class='confirm'>
- <caption>{{form_label}}</caption>
- {% for label, data, cls in form_data %}
- <tr{%if cls%} class='{{cls}}'{%endif%}><th>{{label}}</th><td>{{data}}</td></th>
- {% endfor %}
- </table>
- {% endfor %}
- <p>{% trans {%trans "Item successfully saved"%} %}</p>
-</div>
-
-{% endblock %}
diff --git a/ishtar/templates/wizard_done_summary_2.html b/ishtar/templates/wizard_done_summary_2.html
deleted file mode 100644
index 66a572542..000000000
--- a/ishtar/templates/wizard_done_summary_2.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{% extends "wizard_done.html" %}
-{% load i18n %}
-{% block content %}
-
-<div class='form'>
- <p>{% trans {%trans "Item successfully saved"%} %}</p>
- <p>{% trans "You have saved the following informations:" %}</p>
- <p>{% trans {%trans "The file must be processed before :"%} %} {% calculated_deadline %} </p>
- <p>{% trans {%trans "The person in charge is : "%} %} {% responsible %} </p>
- <p>{% trans {%trans "The internal reference of this file is :"%} %} {% Year %} - {% ref_index %} [{% ref_string %}]</p>
-
- {% for form_label, form_data in datas %}
- <table class='confirm'>
- <caption>{{form_label}}</caption>
- {% for label, data, cls in form_data %}
- <tr{%if cls%} class='{{cls}}'{%endif%}><th>{{label}}</th><td>{{data}}</td></th>
- {% endfor %}
- </table>
- {% endfor %}
-
-</div>
-
-{% endblock %}
diff --git a/ishtar/templates/wizard_list_search_result.html b/ishtar/templates/wizard_list_search_result.html
deleted file mode 100644
index 6cbafb930..000000000
--- a/ishtar/templates/wizard_list_search_result.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% extends "wizard_done.html" %}
-{% load i18n %}
-{% block content %}
-
-<div class='form'>
- <p>{% trans {%trans "PLease note that the file must be processed before :"%} %} {% calculated_deadline %} </p>
-
- <p>{% trans {%trans "Item successfully saved"%} %}</p>
- <p>{% trans "You have saved the following informations:" %}</p>
-
- <p>{% trans {%trans "The person in charge is : "%} %} {% responsible %} </p>
- <p>{% trans {%trans "The internal reference of this file is :"%} %} {% Year %} - {% ref_index %} [{% ref_string %}]</p>
-
- {% for form_label, form_data in datas %}
- <table class='confirm'>
- <caption>{{form_label}}</caption>
- {% for label, data, cls in form_data %}
- <tr{%if cls%} class='{{cls}}'{%endif%}><th>{{label}}</th><td>{{data}}</td></th>
- {% endfor %}
- </table>
- {% endfor %}
-
-</div>
-
-{% endblock %}