<commit_before>{% extends "instance_base.html" %}
{% load l10n %}
{% load i18n %}
{% load auth_extras %}
{% load instance_config %}

{% block page_title %} | {% trans "Manage" %} | {% block admin_title %}{% endblock %}{% endblock %}

{% block activeexplore %}
{% endblock %}

{% block activemanagement %}
    active
{% endblock %}

{% block header %}
{% endblock header %}
{% block subhead %}
{% endblock subhead %}

{% block content %}
    <div class="image-background"></div>
    <div id="management" data-update-url="{% url 'admin_counts' instance_url_name=request.instance.url_name %}">
        <div  class="management-container">
            <div class="management-sidebar tab-list" id="tab-list">
                <table class="map-switcher">
                    <tbody>
                    <tr>
                        <td class="brand-icon-container">
                            <div class="brand-icon">
                                <i class="icon-tree"></i>
                            </div>
                        </td>
                        <td>
                            <div class="full-section brand">
                                {{ request.instance.name }}
                            </div>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <table class="nav nav-list">
                    <tbody>
                    {% block extra_menu_items %}
                    {% endblock extra_menu_items %}
                    </tbody>
                </table>
            </div>

            <div class="management-content tab-content">
                {% block tab_content %}
                {% endblock tab_content %}
            </div>
        </div>
    </div>
{% endblock content %}

{% block templates %}
    {{ block.super }}

    {# No search on management pages #}
    {% block searchscripts %}
    {% endblock searchscripts %}

    {% verbatim %}
    <script id="field-error-template" type="text/x-mustache-template">
        <ul class="list-unstyled">
            {{#errors}}
            <li>{{field}}: {{message}}</li>
            {{/errors}}
        </ul>
    </script>

    <script id="global-errors-template" type="text/x-mustache-template">
        <ul class="list-unstyled">
            {{#globalErrors}}
            <li>{{.}}</li>
            {{/globalErrors}}
        </ul>
    </script>
    {% endverbatim %}
{% endblock templates %}

{% block head_extra %}
    <!-- Start of opentreemap Zendesk Widget script -->
    <script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(c){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("https://assets.zendesk.com/embeddable_framework/main.js","opentreemap.zendesk.com");/*]]>*/</script>
    <!-- End of opentreemap Zendesk Widget script -->
{% endblock head_extra %}<commit_msg>PR fixup: Move ZenDesk widget to otm-addons<commit_after>{% extends "instance_base.html" %}
{% load l10n %}
{% load i18n %}
{% load auth_extras %}
{% load instance_config %}

{% block page_title %} | {% trans "Manage" %} | {% block admin_title %}{% endblock %}{% endblock %}

{% block activeexplore %}
{% endblock %}

{% block activemanagement %}
    active
{% endblock %}

{% block header %}
{% endblock header %}
{% block subhead %}
{% endblock subhead %}

{% block content %}
    <div class="image-background"></div>
    <div id="management" data-update-url="{% url 'admin_counts' instance_url_name=request.instance.url_name %}">
        <div  class="management-container">
            <div class="management-sidebar tab-list" id="tab-list">
                <table class="map-switcher">
                    <tbody>
                    <tr>
                        <td class="brand-icon-container">
                            <div class="brand-icon">
                                <i class="icon-tree"></i>
                            </div>
                        </td>
                        <td>
                            <div class="full-section brand">
                                {{ request.instance.name }}
                            </div>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <table class="nav nav-list">
                    <tbody>
                    {% block extra_menu_items %}
                    {% endblock extra_menu_items %}
                    </tbody>
                </table>
            </div>

            <div class="management-content tab-content">
                {% block tab_content %}
                {% endblock tab_content %}
            </div>
        </div>
    </div>
{% endblock content %}

{% block templates %}
    {{ block.super }}

    {# No search on management pages #}
    {% block searchscripts %}
    {% endblock searchscripts %}

    {% verbatim %}
    <script id="field-error-template" type="text/x-mustache-template">
        <ul class="list-unstyled">
            {{#errors}}
            <li>{{field}}: {{message}}</li>
            {{/errors}}
        </ul>
    </script>

    <script id="global-errors-template" type="text/x-mustache-template">
        <ul class="list-unstyled">
            {{#globalErrors}}
            <li>{{.}}</li>
            {{/globalErrors}}
        </ul>
    </script>
    {% endverbatim %}
{% endblock templates %}
{'fraction_non_alphanumeric': 0.16931571022251965, 'fraction_numerical': 0.0016730801405387319, 'mean_word_length': 1.7804651162790697, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '377228', 'n_tokens_mistral': 1860, 'n_tokens_neox': 1673, 'n_words': 293}