{% extends 'allianceauth/base.html' %} {% load humanize %} {% block page_title %}PvE Dashboard{% endblock page_title %} {% block extra_css %} {% include 'bundles/datatables-css.html' %} {% endblock extra_css %} {% block content %}

PvE Dashboard

Running Averages

  • 1 month

    {% if averages.onemonth.actual_total %}

    {{ averages.onemonth.actual_total|floatformat|intcomma }}

    {{ averages.onemonth.helped_setups }} setup(s)

    {% else %}

    No activity in the last month

    {% endif %}
  • 3 months

    {% if averages.threemonth.actual_total %}

    {{ averages.threemonth.actual_total|floatformat|intcomma }}

    {{ averages.threemonth.helped_setups }} setup(s)

    {% else %}

    No activity in the last 3 months

    {% endif %}
  • 6 months

    {% if averages.sixmonth.actual_total %}

    {{ averages.sixmonth.actual_total|floatformat|intcomma }}

    {{ averages.sixmonth.helped_setups }} setup(s)

    {% else %}

    No activity in the last 6 months

    {% endif %}
  • 1 year

    {% if averages.oneyear.actual_total %}

    {{ averages.oneyear.actual_total|floatformat|intcomma }}

    {{ averages.oneyear.helped_setups }} setup(s)

    {% else %}

    No activity in the last year

    {% endif %}
{% if open_rots.count > 0 %}
{% for rotation in open_rots %} {% endfor %}
Name Age (days) Participants Current Total
{{ rotation.name }} {{ rotation.days_since }} {{ rotation.summary_count }} {{ rotation.estimated_total|floatformat|intcomma }}
{% else %}
No open rotations
{% endif %} {% if perms.allianceauth_pve.manage_rotations or user.is_superuser %} New Rotation {% endif %}
{% if closed_rots.count > 0 %}
{% for rotation in closed_rots %} {% endfor %}
Name Closed On Participants Total
{{ rotation.pk }} - {{ rotation.name }} {{ rotation.closed_at }} {{ rotation.summary_count }} {{ rotation.actual_total|floatformat|intcomma }}
{% else %}
No closed rotations
{% endif %}
{% if open_projects.count > 0 %} {% for project in open_projects %} {% endfor %}
Name Age (days) Estimated Total (Actual) Goal Completed (Actual)
{{ project.name }} {{ project.days_since }} {{ project.estimated_total|intcomma }} ({{ project.current_total|intcomma }}) {{ project.goal|intcomma }} {{ project.total_percentage|floatformat }} % ({{ project.actual_percentage|floatformat }} %)
{% else %}
No active projects
{% endif %}
{% if perms.allianceauth_pve.manage_funding_projects or user.is_superuser %} New Funding Project {% endif %}
{% if closed_projects.count > 0 %} {% for project in closed_projects %} {% endfor %}
Name Completed in (days) Goal Actual total
{{ project.name }} {{ project.completed_in_days }} {{ project.goal|intcomma }} {{ project.current_total|intcomma }}
{% else %}
No closed projects
{% endif %}
{% endblock content %} {% block extra_javascript %} {% include 'bundles/datatables-js.html' %} {% endblock extra_javascript %} {% block extra_script %} $(document).ready(function() { $('#open_rotations').DataTable({ columnDefs: [ { targets: [1, 2, 3], searchable: false} ], paging: true, ordering: false, searching: true }); $('#closed_rotations').DataTable({ columnDefs: [ { targets: [1, 2, 3], searchable: false} ], paging: true, ordering: false, searching: true }); $('#open_projects').DataTable({ columnDefs: [ { targets: [1, 2, 3, 4], searchable: false} ], paging: true, ordering: false, searching: true }); $('#closed_projects_table').DataTable({ columnDefs: [ { targets: [1, 2, 3], searchable: false} ], paging: true, ordering: false, searching: true }); }); {% endblock extra_script %}