1 {% extends basetemplate %}
 
   7 <script type='text/javascript' src='{% media  "/media/js/excanvas.min.js" %}'></script>
 
   8 <script type='text/javascript' src='{% media  "/media/js/jquery.flot.min.js" %}'></script>
 
   9 <script type="text/javascript">
 
  11         {% for graph in graphs %}
 
  12             var {{ graph.id }} = {{ graph.data }};
 
  13             var {{ graph.id }}_placeholder = $('#{{ graph.id }}');
 
  15             $.plot({{ graph.id }}_placeholder, [{{ graph.id }}], {
 
  16                 xaxis: { mode: "time" },
 
  17                 points: { show: false },
 
  25 {% block subtitle %}{% trans "Dashboard" %}{% endblock %}
 
  26 {% block pagename %}{% trans "Dashboard" %}{% endblock %}
 
  27 {% block description %}{% trans "Some simple graphics to help you get a notion of whats going on in your site." %}{% endblock %}
 
  29 {% block admincontent %}
 
  30 {% for graph in graphs %}
 
  31     {% include "osqaadmin/graph.html" %}