blob: ec5e714de287c1155774de543eaa4f7e7e1ae0f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{% extends "base.html" %}
{% load i18n inline_formset %}
{% block pre_container %}
{% if autorefresh_available %}
<button id="autorefreshpage"
class="nav-button btn btn-sm btn-secondary disabled"
data-link="{% url 'current_imports_table' %}"
data-div="import-container"
title="{% trans 'Autorefresh the table (useful when waiting for an import result)' %}">
<i class="fa fa-refresh" aria-hidden="true"></i>
</button>
{% endif %}
<form action="." method="post">{% csrf_token %}
{% endblock %}
{% block content %}
{% if can_create_import %}<div class="text-center m-3">
{% if has_import_table %}<a href="{% url 'new_import' %}" class="btn btn-success">
<i class="fa fa-plus"></i> {% trans 'import (table)' %}
</a>{% endif %}
{% if has_import_gis %}<a href="{% url 'new_import_gis' %}" class="btn btn-success">
<i class="fa fa-plus"></i> {% trans 'import (GIS)' %}
</a>{% endif %}
{% if has_import_group %}<a href="{% url 'new_import_group' %}" class="btn btn-success">
<i class="fa fa-plus"></i> {% trans 'import (group)' %}
</a>{% endif %}
</div>{% endif %}
<div id="import-container">
{% include "ishtar/import_table.html" %}
</div>
{% endblock %}
{% block footer %}
<div id="footer">
<div id='validation-bar' class="row text-center">
<div class="col-sm">
<button type="submit" id="submit_form" name='validate'
value="validate" class="btn btn-success" onclick="long_wait();return true;">
{% trans "Validate" %}
</button>
</div>
</div>
{% include 'ishtar/blocks/footer.html' %}
</div>
</form>
{% endblock %}
|