{% extends 'imicusfat/base.html' %} {% load filters %} {% load evelinks %} {% load i18n %} {% load static %} {% block page_title %}{{ alliance }} {% translate "Statistics" %}{% endblock %} {% block imicusfat_header %}
{% include 'imicusfat/menu.html' %}

{{ alliance }} {% translate "Statistics" %}

{% endblock %} {% block imicusfat_body %}

{% if month == '1' %} {% else %} {% endif %} {{ month|month }} {{ year }} {% if month_next > month_current and year_next > year_current %} {% elif month == '12' %} {% else %} {% endif %}

{% translate "FATs By Ship Type" %}

{% translate "FATs By Time" %}

{% translate "FATs By Weekday" %}

{% translate "Average FATs By Corporation" %}

{{ alliance }} {% translate "Member Corps" %}

{% for key, value in corps.items %} {% endfor %}
{% translate "Corporation" %} {% translate "FATs" %} {% translate "Avg FATs" %} {% translate "Corporation Stats" %}
{{ key }}{{ key }} {{ value.1 }} {{ value.2 }}
{% endblock %} {% block extra_javascript %} {% include 'bundles/datatables-js.html' %} {% include 'bundles/moment-js.html' %} {% endblock %} {% block extra_css %} {% include 'bundles/datatables-css.html' %} {% endblock %} {% block extra_script %} $.fn.dataTable.moment = function(format, locale) { var types = $.fn.dataTable.ext.type; // Add type detection types.detect.unshift(function(d) { return moment(d, format, locale, true).isValid() ? 'moment-'+format : null; }); // Add sorting method - use an integer for the sorting types.order[ 'moment-'+format+'-pre' ] = function(d) { return moment(d, format, locale, true).unix(); }; }; $(document).ready(function() { $.fn.dataTable.moment('YYYY-MMM-D, HH:mm'); $('#member-corps').DataTable(); }); {% endblock %}