{% extends "coachreports/base.html" %} {% comment %} This template is a basic skeleton around a d3 plot. It has the following parts: * Loads scripts necessary for d3 Visualizations (locally) * Has a div for plotting, and a div for status message (loading) You must: * Implement js function drawJsonChart(chart_div, json, xaxis, yaxis); - Get a JSON blob - Create the visualization chart and options - Dump to the chart div (by default: chart_div) * Implement template block axis_dropdown that contains: [other options with value=API key for that value, and nice text for it (via common views.py code) {% endcomment %} {% load i18n %} {% load my_filters %} {% load staticfiles %} {% block headcss %} {{ block.super }} {% endblock headcss %} {% block headjs %}{{ block.super }} {% endblock headjs %} {% block navbar_topics %}

{% trans "Topics Selected" %}:

{% endblock navbar_topics %} {% block content %} {% block navbar %}{{ block.super }}{% endblock navbar %}

{% trans "Loading topic tree... Please wait!" %}

{% block chart_div %}
{% endblock chart_div %}
{% block data_table %}
{% endblock data_table %}
{% block axis_dropdown %} [You must fill me in!!] {% comment "Stick this in here, as it will be silenced (but available as a block) %}{% endcomment %} {% block data_options %} {% for stat in stats %} {% if stat.type == "number" %} {% endif %} {% endfor %} {% endblock data_options %} {% endblock axis_dropdown %}
{% endblock content %}