{% extends "base.html" %} {% block title %}Home{% endblock %} {% block onready %} var home_chart; $(document).ready(function() { home_chart = new Highcharts.Chart({ chart: { renderTo: 'leaderBoard', type: 'bar', height: 750 }, title: { text: 'Current Point Standings' }, subtitle: { text: 'Source: DailyMile.com/api' }, xAxis: { categories: [ {% for p in all_points %} "{{ p.friend.display_name }}", {% endfor %} ] }, yAxis: { min: 0, title: { text: 'Points' } }, legend: { layout: 'vertical', align: 'right', verticalAlign: 'top', x: -100, y: 100, floating: true, borderWidth: 1, backgroundColor: Highcharts.theme.legendBackgroundColor || '#FFFFFF', shadow: true }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 } }, series: [{ name: 'Points', data: [ {% for p in all_points %} {{ p.points }}, {% endfor %} ] }] }); }); {% endblock %} {% block leaderBoard %}
The {{ iteration.description }} run of GFGP ends at {{ iteration.end_time|date:"SHORT_DATETIME_FORMAT" }}. If you have any questions or comments, talk with Jack. (jacks@teamddm.com).
{% endblock %} {% block secondary %} {% endblock %}