Parent: [77df3f] (diff)

Download this file

analysis_tabs.html    30 lines (27 with data), 1.5 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
<!--
# 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
-->
{% load staticfiles %}
<h2>Analysis "{{ analysis.name }}" - {{ analysis.created }}</h2>
<div id="detail">
{% autoescape off %}{{ analysis_detail }}{% endautoescape %}
</div>
<script type="text/javascript">
$('div#detail').tabs();
id_selected_instance = $('div#detail').tabs().data().uiTabs.active.find("a").attr('id_instance');
$('div#detail').bind('tabsactivate', function(event, ui) {
id_selected_instance = ui.newTab.find("a").attr('id_instance');
updateAnswers(id_selected_instance);
updateMetadata(id_selected_instance);
});
</script>
<hr>