{% extends 'allianceauth/base.html' %} {% load evelinks %} {% load i18n %} {% load static %} {% block page_title %}{{ alliance }} {% trans "Statistics" %}{% endblock %} {% block content %}

{% include 'afat/menu.html' %}

{{ alliance }} {% trans "Statistics" %}

{{ month|month }} {{ year }}

{% trans "FATs By Ship Type" %}

{% trans "FATs By Time" %}

{% trans "FATs By Weekday" %}

{% trans "Average FATs By Corporation" %}

{{ alliance }} {% trans "Member Corps" %}

{% for key, value in corps.items %} {% endfor %}
{% trans "Corporation" %} {% trans "FATs" %} {% trans "Avg FATs" %} {% trans "Corporation Stats" %}
{{ 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 %}