Parent: [77df3f] (diff)

Download this file

import_file.html    48 lines (46 with data), 2.4 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--
# This Source Code Form of OSSEval is subject to the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE, v. 3.0. If a copy of the AGPL was not
# distributed with this file, You can obtain one at http://www.gnu.org/licenses/agpl.txt
#
# OSSeval is powered by the SOS Open Source AGPL edition.
# The AGPL requires that you do not remove the SOS Open Source attribution and copyright
# notices from the user interface (see section 5.d below).
# OSSEval Copyright 2014 Bitergium SLL
# SOS Open Source Copyright 2012 Roberto Galoppini
# Author: Davide Galletti
-->
{% 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>
{% if analysis_on_file.id %}
<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>
{% endif %}
<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>
{% if analysis_on_db.id %}
<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>
{% endif %}
<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 %}