Skip to content

Commit f2ac141

Browse files
23.03.2025_remouve alt graph because of api and result problems
1 parent 7ef0ef3 commit f2ac141

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

chrono_des_vignes/admin/parcours/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ def parcours_page(event_name):
126126
return render_template("parcours.html", user_data=user, event_data=event, archived_parcours=archived_parcours, active_parcours=active_parcours, event_modif=True, form=form)
127127

128128
def build_alt_graph(graph_data):
129+
return None
130+
129131
points = []
130132
to_request=[]
131133
last_point=None

chrono_des_vignes/admin/parcours/templates/modify_parcours.html

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
<!--
2+
* Chrono Des Vignes
3+
* a timing system for sports events
4+
*
5+
* Copyright © 2024-2025 Romain Maurer
6+
* This file is part of Chrono Des Vignes
7+
*
8+
* Chrono Des Vignes is free software: you can redistribute it and/or modify it under
9+
* the terms of the GNU General Public License as published by the Free Software Foundation,
10+
* either version 3 of the License, or (at your option) any later version.
11+
*
12+
* Chrono Des Vignes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13+
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14+
* See the GNU General Public License for more details.
15+
* You should have received a copy of the GNU General Public License along with Foobar.
16+
* If not, see <https://www.gnu.org/licenses/>.
17+
*
18+
* You may contact me at chrono-des-vignes@ikmail.com
19+
-->
20+
121
{% extends 'layout.html' %}
222
{% from 'macro.html' import form_field, submit, boolean_field, color_field %}
323
{% block content %}
@@ -193,7 +213,7 @@ <h4>{{ element.name }}</h4>
193213
{% endfor %}
194214
</ul>
195215
</div>
196-
</div>
216+
</div>{#
197217
<div>{# alt graph #}
198218
<!--chart.js-->
199219
<script src="https://cdn.jsdelivr.net/npm/chart.js/dist/chart.umd.min.js"></script>
@@ -260,4 +280,5 @@ <h4>{{ element.name }}</h4>
260280
var myChart = new Chart(ctx, config);
261281
</script>
262282
</div>
283+
#}
263284
{% endblock content %}

0 commit comments

Comments
 (0)