{% extends "admin/base_site_gridpivot.html" %} {% load i18n %} {% block extrahead %}{{block.super}} {% if args.0 %}{% endif %} {% endblock %} {% block contextmenus %} {% include "resourcecontext.html" %} {% include "locationcontext.html" %}
{% endblock %} {% block tools %}{% if args.0 %} {% include "resourcetabs.html" %} {% endif %}{{block.super}} {% endblock %} {% block before_table %} {% if args.0 %}

 

{% blocktrans %}frePPLe needs Adobe Flash Player to display graphs. If you're unable to see the chart here, it means that your browser does not seem to have the Flash Player installed.
You can downloaded it here for free.{% endblocktrans %}

{% endif %}{% endblock %} {% block crosses %} function graph(cellvalue, options, rowdata) { var str = [''); return str.join(''); }; function drawGraphs() { $('.sparkline').sparkline('html', { type:'bar', disableHiddenCheck:true, stackedBarColor:['#F6BD0F','#2B95EC','#AFD8F8','#8BBA00','#FF0000'], width:'100px', height:'80px' }); }; function crosses (cellvalue, options, rowdata) { var result = cellvalue[0] + '
' + cellvalue[1] + '
' + cellvalue[2] + '
'; if (cellvalue[3] != 0.0) result += cellvalue[3] + "
"; else result += '0.0
'; if (cellvalue[4] > 95) result += '' + cellvalue[4] + '%'; else result += cellvalue[4] + '%'; return result; }; {% endblock %} {% block extra_grid %}gridComplete: drawGraphs, {% endblock %}