{% extends 'aa_moonregistry/base.html' %} {% load i18n %} {% load humanize %} {% block header_nav_brand %} {% translate "Moon Registry" %} {% endblock %} {% block details %} {% csrf_token %} {% verbatim %}
{% endverbatim %} {% endblock %} {% block extra_css %} {% endblock %} {% block extra_javascript %} {% autoescape off %} {% include 'aa_moonregistry/vue/autocomplete.html' %} {% include 'aa_moonregistry/vue/moonlist-component.html' %} {% include 'aa_moonregistry/vue/moonscan-component.html' %} {% endautoescape %} {% endblock %} {% block extra_script %} document.addEventListener("DOMContentLoaded", function () { var theme = document.documentElement.getAttribute("data-theme"); if (theme) { if (theme === "darkly") { var style = document.createElement("style"); style.innerHTML = ` .registry-input > .fa-close { color: #ddd; } .structure-yield-control label, .structure-filter-and { color: #fff; } `; document.head.appendChild(style); } } }); {% endblock %}