Switch to unified view

a/OSSEval/analysis/templates/analysis/analysis_report.html b/OSSEval/analysis/templates/analysis/analysis_report.html
...
...
23
            <p>{% autoescape off %}{{ analysis.comment }}{% endautoescape %}</p>
23
            <p>{% autoescape off %}{{ analysis.comment }}{% endautoescape %}</p>
24
            <table>
24
            <table>
25
              <tr><td width='60%'>{% autoescape off %}{{ analysis.methodology_version.radar_chart }}{% endautoescape %}</td>
25
              <tr><td width='60%'>{% autoescape off %}{{ analysis.methodology_version.radar_chart }}{% endautoescape %}</td>
26
                  <td width='40%'>{% autoescape off %}{{ analysis.methodology_version.bar_chart }}{% endautoescape %}</td></tr>
26
                  <td width='40%'>{% autoescape off %}{{ analysis.methodology_version.bar_chart }}{% endautoescape %}</td></tr>
27
              <tr><td colspan='2'>
27
              <tr><td colspan='2'>
28
                <script type="text/javascript" src="//www.google.com/trends/embed.js?q=eucalyptus,+OpenNebula,+OpenStack&content=1&cid=TIMESERIES_GRAPH_0&export=5&w=500&h=330"></script>
28
                {% autoescape off %}{{ trend_script }}{% endautoescape %}
29
              </td></tr>
29
              </td></tr>
30
            </table>
30
            </table>
31
        </fieldset>
31
        </fieldset>
32
        
32
        
33
        {% for p in analysis.methodology_version.page_set.all %}
33
        {% for p in analysis.methodology_version.page_set.all %}
...
...
47
                    <td width='{{ td_width }}%'>{% instance_score_page instance.id p1.id %}</strong></td>
47
                    <td width='{{ td_width }}%'>{% instance_score_page instance.id p1.id %}</strong></td>
48
                    {% endfor %}
48
                    {% endfor %}
49
                  </tr>
49
                  </tr>
50
                  {% for q in p1.question_set.all %}
50
                  {% for q in p1.question_set.all %}
51
                  <tr>
51
                  <tr>
52
                    <td width='{{ td_width }}%'>{{ q.text }}</td>
52
                    <td width='{{ td_width }}%'>
53
                      {{ q.text }}
54
                      {% question_weight q.id weight_scenario %}
55
                    </td>
53
                    {% for instance in analysis.instance_set.all %}
56
                    {% for instance in analysis.instance_set.all %}
54
                    <td width='{{ td_width }}%'>{% instance_score_question instance.id q.id %}</td>
57
                    <td width='{{ td_width }}%'>{% instance_score_question instance.id q.id %}</td>
55
                    {% endfor %}
58
                    {% endfor %}
56
                  </tr>
59
                  </tr>
57
                  {% endfor %}
60
                  {% endfor %}