|
a |
|
b/OSSEval/analysis/templates/analysis/analysis_edit.html |
|
|
1 |
<!--
|
|
|
2 |
# This Source Code Form of OSSEval is subject to the terms of the GNU AFFERO
|
|
|
3 |
# GENERAL PUBLIC LICENSE, v. 3.0. If a copy of the AGPL was not
|
|
|
4 |
# distributed with this file, You can obtain one at http://www.gnu.org/licenses/agpl.txt
|
|
|
5 |
#
|
|
|
6 |
# OSSeval is powered by the SOS Open Source AGPL edition.
|
|
|
7 |
# The AGPL requires that you do not remove the SOS Open Source attribution and copyright
|
|
|
8 |
# notices from the user interface (see section 5.d below).
|
|
|
9 |
# Commercial licenses are available and do not require any SOS Open Source attributions
|
|
|
10 |
# or visible copyright notices but they are not permitted under this license.
|
|
|
11 |
|
|
|
12 |
# OSSEval Copyright 2014 Bitergium SLL
|
|
|
13 |
# SOS Open Source Copyright 2012 Roberto Galoppini
|
|
|
14 |
# Author: Davide Galletti
|
|
|
15 |
-->
|
|
|
16 |
|
|
|
17 |
{% extends "base.html" %}
|
|
|
18 |
{% load staticfiles %}
|
|
|
19 |
{% block content %}
|
|
|
20 |
<form id="new_analysisForm" action="{% url 'analysis_new' %}" method="post">{% csrf_token %}
|
|
|
21 |
{{ form.as_p }}
|
|
|
22 |
<input type="submit" value="Save" />
|
|
|
23 |
</form>
|
|
|
24 |
{% endblock %}
|
|
|
25 |
{% block left_menu %}
|
|
|
26 |
{% if analysis.id > 0 %}
|
|
|
27 |
{% include "analysis/analysis_left_menu.html" %}
|
|
|
28 |
<script type="text/javascript">$("#edit_anaysis").addClass("active");</script>
|
|
|
29 |
{% else %}
|
|
|
30 |
{% include "analysis/analysis_left_menu_short.html" %}
|
|
|
31 |
<script type="text/javascript">$("#new_anaysis").addClass("active");</script>
|
|
|
32 |
{% endif %}
|
|
|
33 |
{% endblock %} |