{% extends 'allianceauth/base.html' %} {% load i18n %} {% load humanize %} {% block page_title %}{% trans 'Moon Info' %}{% endblock %} {% block content %}

{% include 'moonstuff/moonmenu.html' %}

{% trans "Moon Information" %} - {{ moon.name }}

Moon Resource Information

{% if res|length_is:"0" %}

There are no resources recorded for {{ moon.name }}. {% if perms.moonstuff.add_moon %} Why not add a moon scan? {% endif %}

{% else %} {% for res in res %}
  • {{ res.0 }}

    {{ res.2 }}% {{ res.0 }}
    {{ res.2 }}%
{% endfor %} {% endif %}
{% if not res|length_is:"0" and perms.add_resource %}
Moon Value

Value for a 30 day pull: {{ value_per_month|floatformat:2|intcomma }}
{% endif %}

Next Pulls

{% if pulls|length_is:"0" %} {% else %} {% for pull in pulls %} {% endfor %} {% endif %}
Date(EVE/UTC)
No Pulls for this moon in the next month.
{{ pull.arrival_time }}

Past Pulls

{% if ppulls|length_is:"0" %} {% else %} {% for pull in ppulls %} {% endfor %} {% endif %}
Date (EVE/UTC)
No Past Pulls recorded for this moon.
{{ pull.arrival_time }}
{% endblock %} {% block extra_javascript %} {% include 'bundles/datatables-js.html' %} {% endblock %} {% block extra_css %} {% include 'bundles/datatables-css.html' %} {% endblock %} {% block extra_script %} $(document).ready(function(){ $('#past-events').DataTable(); $('#days').slider(); $('#days').on("slide", function(slideEvt){$('#daysVal').text(slideEvt.value); $('#pullVal').text(numeral(slideEvt.value * {{ value_per_day }}).format('0,0.00'));}); }); {% endblock %}