Parent: [2c9463] (diff)

Child: [77df3f] (diff)

Download this file

import_file.html    30 lines (30 with data), 1.8 kB

 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
{% extends "base.html" %}
{% load staticfiles %}
{% block content %}
<h2>Import Methodology and/or Analysis</h2>
<p>You have uploaded <strong>{{ file }}</strong></p>
<h3>The file you have uploaded contains:</h3>
<p>Methodology "{{ analysis_on_file.methodology_version.methodology.name }}" (ID {{ analysis_on_file.methodology_version.id }}) - Version: {{ analysis_on_file.methodology_version.number }}</p>
<p>Analysis "{{ analysis_on_file.name }}" (ID {{ analysis_on_file.id }}) created on the {{ analysis_on_file.created }} by {{ analysis_on_file.user_login }}</p>
<h3>I searched on the database and this is what I have found with the same IDs:</h3>
<p>Methodology "{{ analysis_on_db.methodology_version.methodology.name }}" (ID {{ analysis_on_db.methodology_version.id }}) - Version: {{ analysis_on_db.methodology_version.number }}</p>
<p>Analysis "{{ analysis_on_db.name }}" (ID {{ analysis_on_db.id }}) created on the {{ analysis_on_db.created }} by {{ analysis_on_db.user_login }}</p>
<hr>
<form action="{% url 'perform_import' %}" method="post">{% csrf_token %}
{{ import_choice_form.as_p }}
<p>
<input type="submit" value="Import file now">
</p>
</form>
{% endblock %}
{% block left_menu %}
<div class="magic_bar_osp">
<div id="top_nav" class="">
<a href="{% url 'analysis_list' %}" class="">All analyses</a>
<a href="{% url 'analysis_new' %}" class="">New</a>
<a href="{% url 'upload_page' %}" class="active">Import</a>
</div>
<div id="sidebar">
</div>
</div>
{% endblock %}