Parent: [fdd613] (diff)

Download this file

analysis_report.html    103 lines (99 with data), 5.0 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
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
<!--
# 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 %}
{% load custom_tags %}
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]>--><html class=" js canvas canvastext" lang="en"><!--<![endif]-->
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>opensourceprojects.eu - Open Source Evaluation: "{{ analysis.graph }}"</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.js"></script>
<script type="text/javascript" src="{% static "js/osseval.js" %}"></script>
<script> $(function() { $( document ).tooltip(); }); </script>
</head>
<body class="wiki-Home" id="forge">
<header id="site-header">
<div class="wrapper">
<a id="header-logo" title="opensourceprojects.eu logo" href="https://opensourceprojects.eu/"><img src="{% static "images/logo.png" %}"></a>
</div>
</header>
<h2>
"{{ analysis.name }}" created on {{ analysis.created }} by {{ analysis.user_login }}
{% if weight_scenario.name != "" %}
<br>Questions are weighted according to "{{ weight_scenario.name }}" profile.
{% endif %}
</h2>
<h3>
{% if analysis.description != "" %}
<hr>{{ analysis.description }}
{% endif %}
{% if analysis.comment != "" %}
<hr>{{ analysis.comment }}
{% endif %}
</h3>
<fieldset><legend><h3>Summary</h3></legend>
<p>{% autoescape off %}{{ analysis.comment }}{% endautoescape %}</p>
<table>
<tr><td width='60%'>{% autoescape off %}{% methodology_version_radar_chart analysis.methodology_version.id weight_scenario.id %}{% endautoescape %}</td>
<td width='40%'>{% autoescape off %}{% methodology_version_bar_chart analysis.methodology_version.id weight_scenario.id %}{% endautoescape %}</td></tr>
<tr><td colspan='2'>
{% autoescape off %}{{ trend_script }}{% endautoescape %}
</td></tr>
</table>
</fieldset>
{% for p in analysis.methodology_version.page_set.all %}
<fieldset><legend><h3>{{ p.name }}</h3></legend>
<fieldset><legend><h2>Graphs</h2></legend>
<table><tr>
<td width='60%'>{% autoescape off %}{% page_radar_chart p.id weight_scenario.id %}{% endautoescape %}</td>
<td width='40%'>{% autoescape off %}{% page_bar_chart p.id weight_scenario.id %}{% endautoescape %}</td>
</tr></table>
</fieldset>
{% for p1 in p.page_set.all %}
<fieldset><legend><h2>{{ p1.name }}</h2></legend>
<table width='100%'>
<tr>
<td width='{{ td_width }}%'></td>
{% for instance in analysis.instance_set.all %}
<td width='{{ td_width }}%'>{% instance_score_page instance.id p1.id %}</strong></td>
{% endfor %}
</tr>
{% for q in p1.question_set.all %}
<tr>
<td width='{{ td_width }}%'>
{{ q.text }}
{% question_weight q.id weight_scenario %}
</td>
{% for instance in analysis.instance_set.all %}
<td width='{{ td_width }}%'>{% instance_score_question instance.id q.id %}</td>
{% endfor %}
</tr>
{% endfor %}
</table>
</fieldset>
{% endfor %}
</fieldset>
{% endfor %}
<footer id="site-footer">
<div class="footer-container" style="horizontal-align: center">
<table>
<tr><td style="vertical-align:middle">Powered by </td><td width="20">&nbsp;</td><td style="vertical-align:middle"><a href="http://sosopensource.com" target="_blank"><img src="{% static "images/icon.png" %}"></a></td></tr>
</table>
</div>
</footer>
</body>
</html>