Python to generate nice looking SVG graph http://pygal.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
917 B

{% extends '_layout.jinja2' %}
{% block section %}
<dl>
<dt>All types</dt>
{% for style in styles %}
<dd><a href="{{ url_for('all', style=style) }}">{{ style }}</a></dd>
{% endfor %}
</dl>
<a href="{{ url_for('interpolation') }}">Interpolation</a>
<a href="{{ url_for('rotation') }}">Rotations test</a>
<hr />
<h3>Quick tests</h3>
<dl>
{% for link in links %}
{% if link.endswith('_for') %}
<dd>{{ link.replace('test_', '').replace('_for', '').replace('_', ' ') | title }}
<small>
{% for chart_name in charts_name %}
<a href="{{ url_for(link, chart=chart_name) }}">{{ chart_name | title }}</a>
{% endfor %}
</small>
</dd>
{% else %}
<dd><a href="{{ url_for(link) }}">{{ link.replace('test_', '').replace('_', ' ') | title }}</a></dd>
{% endif %}
{% endfor %}
</dl>
{% endblock section %}