Now includes chart! [skip ci]

This commit is contained in:
James Cole
2015-05-17 18:03:16 +02:00
parent c9df265c9b
commit 6580752bde
4 changed files with 69 additions and 2 deletions

View File

@@ -69,7 +69,15 @@
</div>
{% endblock %}
{% block scripts %}
<!-- load the libraries and scripts necessary for Google Charts: -->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript" src="js/gcharts.options.js"></script>
<script type="text/javascript" src="js/gcharts.js"></script>
<script type="text/javascript">
var year = {{ start.year }};
var month = {{ start.month }};
var shared = {% if shared %}'/shared'{% else %}''{% endif %};
var incomeTopLength = {{ incomeTopLength }};
var expenseTopLength = {{ expenseTopLength }};