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.

33 lines
1.0 KiB

13 years ago
{% extends '_layout.jinja2' %}
{% block section %}
<h1>Moulin Rouge</h1>
<ul>
{% for style in styles %}
<li>
<embed src="{{ url_for('sparkline', style=style) }}" type="image/svg+xml" />
<a href="{{ url_for('all', style=style) }}">{{ style | title }}</a>
</li>
{% endfor %}
</ul>
<a href="{{ url_for('interpolation') }}">Interpolation</a>
13 years ago
<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>
13 years ago
{% endblock section %}