{% extends 'cmStructureRegistry/base.html' %} {% load i18n %} {% load humanize %} {% block header_nav_brand %} {% translate "Structure Registry" %} {% endblock %} {% block details %} {% csrf_token %} {% verbatim %}
{% endverbatim %} {% endblock %} {% block extra_css %} {% endblock %} {% block extra_javascript %} {% autoescape off %} {% include 'cmStructureRegistry/vue/autocomplete.html' %} {% include 'cmStructureRegistry/vue/structure-component.html' %} {% include 'cmStructureRegistry/vue/structure-add-registry.html' %} {% include 'cmStructureRegistry/vue/structure-add-bulk.html' %} {% include 'cmStructureRegistry/vue/structure-fit.html' %} {% include 'cmStructureRegistry/vue/structure-vulnerability.html' %} {% include 'cmStructureRegistry/vue/structure-remove.html' %} {% include 'cmStructureRegistry/vue/structure-review.html' %} {% include 'cmStructureRegistry/vue/timer-add-component.html' %} {% endautoescape %} {% endblock %} {% block extra_script %} countdown.setLabels( 'ms|s|m|h|d|w| month| year| decade| century| millennium', 'ms|s|m|h|d|w| months| years| decades| centuries| millennia', ' ', ' ', '', function(n){ return n.toString(); }); toastr.options = { "positionClass": "toast-bottom-center", "preventDuplicates": true, "onclick": null, "showDuration": "300", "hideDuration": "1000", "timeOut": "4000", "extendedTimeOut": "1000" } 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; } `; document.head.appendChild(style); } } }); {% endblock %}