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

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

{{ corp.corporation_name }} {% trans "Statistics" %}

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

{% trans "FATs By Ship Type" %}

{% trans "FATs By Time" %}

{% trans "FATs By Weekday" %}

{{ corp.corporation_name }} {% trans "Members" %}

{% for key, value in chars.items %} {% endfor %}
{% trans "Character" %} {% trans "FATs" %} {% trans "Character Stats" %}
{{ key }} {{ value.0 }}
{% 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'); $('#corp-members').DataTable(); }); {% endblock %}