<commit_before>{% extends '::base_inner.html.twig' %}
{% block javascripts %}
{{ include ('InfoMapBundle:Front:mapScript.js.twig', {'items':items,'entity':entity}) }}
{% endblock %}

{% block stylesheets %}
<link href="{{ asset("bundles/infomap/css/front.css") }}" rel="stylesheet"/>
{% endblock %}

{% block body %}

    <h1 class="title">{{ 'map.title'|trans({}, 'InfoMapBundle') }}</h1>

    {% for entitytype, itemlist in items %}
        <input class="map_filter" type="checkbox" name="{{ entitytype }}">{{ ('checkbox.'~entitytype) |trans({}, 'InfoMapBundle') }}<br>
    {% endfor %}
    <div class="main-map">
        <div class="big-map" id="map-canvas-front" style="height: 487px"></div>

        <i class="map-top"></i>
        <i class="map-right"></i>
        <i class="map-bottom"></i>
        <i class="map-left"></i>
        <a href="{{ path('infomap_all_list') }}" class="map-list-link">смотреть списком</a>
        <div class="clear"></div>
    </div>
{% endblock %}<commit_msg>ELS-43 Добавить возможность фильтрации на карте<commit_after>{% extends '::base_inner.html.twig' %}
{% block javascripts %}
{{ include ('InfoMapBundle:Front:mapScript.js.twig', {'items':items,'entity':entity}) }}
{% endblock %}

{% block stylesheets %}
<link href="{{ asset("bundles/infomap/css/front.css") }}" rel="stylesheet"/>
{% endblock %}

{% block body %}

    <h1 class="title">{{ 'map.title'|trans({}, 'InfoMapBundle') }}</h1>

    {% for entitytype, itemlist in items %}
        <input class="map_filter" type="checkbox" name="{{ entitytype }}" {% if (entity =='all' or entity == entitytype) %}checked="checked"{% endif %}>{{ ('checkbox.'~entitytype) |trans({}, 'InfoMapBundle') }}<br>
    {% endfor %}
    <div class="main-map">
        <div class="big-map" id="map-canvas-front" style="height: 487px"></div>

        <i class="map-top"></i>
        <i class="map-right"></i>
        <i class="map-bottom"></i>
        <i class="map-left"></i>
        <a href="{{ path('infomap_all_list') }}" class="map-list-link">смотреть списком</a>
        <div class="clear"></div>
    </div>
{% endblock %}
{'fraction_non_alphanumeric': 0.23714285714285716, 'fraction_numerical': 0.005714285714285714, 'mean_word_length': 3.9786729857819907, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4935748', 'n_tokens_mistral': 763, 'n_tokens_neox': 720, 'n_words': 137}