<commit_before>{% extends "geodata/geodata_base.html" %}
{% load staticfiles %}
{% load i18n %}

{% block extra_style %}
{{ block.super }}
<link href="{% static "css/ol.css" %}" type="text/css" rel="stylesheet">

<!--[if IE]>
<style type="text/css">
  /* This fixes the mouse offset issues in IE. */
  #{{ id }}_map { position: static; vertical-align: top; }
  /* `font-size: 0` fixes the 1px border between tiles, but borks LayerSwitcher.
      Thus, this is disabled until a better fix is found.
  #{{ id }}_map { width: {{ map_width }}px; height: {{ map_height }}px; font-size: 0; } */
</style>
<![endif]-->

{% block extra_extra_style %}
<link href="{% static "css/bigmap.css" %}?v=1.1" type="text/css" rel="stylesheet">
{% endblock %}
{% endblock %}

{% block extra_script %}
<script type="text/javascript" src="{% static "js/ol.js" %}"></script>
<script type="text/javascript">
//<![CDATA[
{% include "geodata/bigmap.js" %}
//]]>
</script>
{{ block.super }}
{% endblock %}

{% block bigmap %}
<div class="map-toolbox">
  <div class="geodata-bigmap" id="{{ module }}_map"></div>
  <div class="geodata-info" id="{{ module }}_info"></div>

  <div class="map-overlay">
  {% if not request.user.is_authenticated %}
    <div class="cartoterra-header text-center">
      <div class="container">
        {% include "_sidebar.html" %}
      </div>
    </div>
  {% endif %}
    <div class="geodata-side-toolbar">
      <div id="{{ module }}_controls"></div>
      <div class="geodata-list panel-group" id="geodata-list">
        <div class="panel panel-default">
          <div class="panel-heading">
            <a href="#collapse-building" class="panel-title accordion-toggle tooltip-geodata collapsed" title="{% trans "Buildings" %}" data-toggle="collapse" data-parent="#geodata-list">
              <img src="{% static "img/building_icon_h25.png" %}" width="25" height="25" alt="" /> {% trans "Buildings" %}
            </a>
          </div>
          <div id="collapse-building" class="panel-collapse collapse">
            <div class="panel-body">
              <ul>
                <li><a href="{% url "show_building_all" %}"><img src="{% static "img/building_icon_h25.png" %}" width="10" height="10" alt="" /> {% trans "All buildings" %}</a></li>
                <li><a href="{% url "show_building_unesco" %}"><img src="{% static "img/building_dot.png" %}" width="10" height="10" alt="" /> {% trans "World Heritage" %}</a></li>
                <li><a href="{% url "show_building_contemporary" %}"><img src="{% static "img/building_dot.png" %}" width="10" height="10" alt="" /> {% trans "Contemporary" %}</a></li>
                <li><a href="{% url "show_building_vernacular" %}"><img src="{% static "img/building_dot.png" %}" width="10" height="10" alt="" /> {% trans "Heritage" %}</a></li>
                <li><a href="{% url "show_building_normal" %}"><img src="{% static "img/building_dot.png" %}" width="10" height="10" alt="" /> {% trans "Other" %}</a></li>
              </ul>
              <div class="geodata-rss">
                <a rel="rss" href="{% url "feed_building" %}"><img src="{% static "img/feed-icon-14x14.png" %}" width="15" heigth="15" alt="" /> {% trans "Buildings" %}</a>
              </div>
            </div>
          </div>
        </div>
        <div class="panel panel-default">
          <div class="panel-heading">
            <a href="#collapse-worksite" class="panel-title accordion-toggle tooltip-geodata collapsed" title="{% trans "Worksites" %}" data-toggle="collapse" data-parent="#geodata-list"><img src="{% static "img/worksite_icon_h25.png" %}" width="25" height="25" alt="" /> {% trans "Worksites" %}</a>
          </div>
          <div id="collapse-worksite" class="panel-collapse collapse">
            <div class="panel-body">
              <ul>
                <li><a href="{% url "show_worksite_all" %}"><img src="{% static "img/worksite_icon_h25.png" %}" width="10" height="10" alt="" /> {% trans "All worksites" %}</a></li>
                <li><a href="{% url "show_worksite_participative" %}"><img src="{% static "img/worksite_dot.png" %}" width="10" height="10" alt="" /> {% trans "Participative" %}</a></li>
                <li><a href="{% url "show_worksite_normal" %}"><img src="{% static "img/worksite_dot.png" %}" width="10" height="10" alt="" /> {% trans "Normal" %}</a></li>
              </ul>
              <div class="geodata-rss">
                <a rel="rss" href="{% url "feed_worksite" %}"><img src="{% static "img/feed-icon-14x14.png" %}" width="15" heigth="15" alt="" /> {% trans "Worksites" %}</a>
              </div>
            </div>
          </div>
        </div>
        <div class="panel panel-default">
          <div class="panel-heading">
            <a href="#collapse-event" class="panel-title accordion-toggle tooltip-geodata collapsed" title="{% trans "Events" %}" data-toggle="collapse" data-parent="#geodata-list"><img src="{% static "img/event_icon_h25.png" %}" width="25" height="25" alt="" /> {% trans "Events" %}</a>
          </div>
          <div id="collapse-event" class="panel-collapse collapse">
            <div class="panel-body">
              <ul>
                <li><a href="{% url "show_event_all" %}"><img src="{% static "img/event_icon_h25.png" %}" width="10" height="10" alt="" /> {% trans "All events" %}</a></li>
                <li><a href="{% url "show_event_of_type" "seminar" %}"><img src="{% static "img/event_dot.png" %}" width="10" height="10" alt="" /> {% trans "Seminar" %}</a></li>
                <li><a href="{% url "show_event_of_type" "training" %}"><img src="{% static "img/event_dot.png" %}" width="10" height="10" alt="" /> {% trans "Training" %}</a></li>
                <li><a href="{% url "show_event_of_type" "conference" %}"><img src="{% static "img/event_dot.png" %}" width="10" height="10" alt="" /> {% trans "Conference" %}</a></li>
                <li><a href="{% url "show_event_of_type" "exhibition" %}"><img src="{% static "img/event_dot.png" %}" width="10" height="10" alt="" /> {% trans "Exhibition" %}</a></li>
              </ul>
              <div class="geodata-rss">
                <a rel="rss" href="{% url "feed_event" %}"><img src="{% static "img/feed-icon-14x14.png" %}" width="15" heigth="15" alt="" /> {% trans "Events" %}</a>
              </div>
            </div>
          </div>
        </div>
        <div class="panel panel-default">
          <div class="panel-heading">
            <a href="#collapse-stakeholder" class="panel-title accordion-toggle tooltip-geodata collapsed" title="{% trans "Stakeholders" %}" data-toggle="collapse" data-parent="#geodata-list"><img src="{% static "img/stakeholder_icon_h25.png" %}" width="25" height="25" alt="" /> {% trans "Stakeholders" %}</a>
          </div>
          <div id="collapse-stakeholder" class="panel-collapse collapse">
            <div class="panel-body">
              <ul>
                <li><a href="{% url "show_stakeholder_all" %}"><img src="{% static "img/stakeholder_icon_h25.png" %}" width="10" height="10" alt="" /> {% trans "All stakeholders" %}</a></li>
                <li><a href="{% url "show_stakeholder_of_role" "architect" %}"><img src="{% static "img/stakeholder_dot.png" %}" width="10" height="10" alt="" /> {% trans "Architects" %}</a></li>
              </ul>
              <div class="geodata-rss">
                <a rel="rss" href="{% url "feed_stakeholder"
                    %}"><img src="{% static "img/feed-icon-14x14.png" %}"
                width="15" heigth="15" alt="" /> {% trans "Stakeholders" %}</a>
              </div>
            </div>
          </div>
        </div>

      {% if user.is_authenticated %}
        <div class="panel panel-default">
          <div class="panel-heading">
            <a href="#collapse-toolbox" class="panel-title accordion-toggle tooltip-geodata collapsed" title="{% trans "Toolbox" %}" data-toggle="collapse" data-parent="#geodata-list">{% trans "Toolbox" %}</a>
          </div>
          <div id="collapse-toolbox" class="panel-collapse collapse">
            <div class="panel-body">
              <ul>
                <li>
                  <a href="#collapse-add" class="accordion-toggle tooltip-geodata collapsed" title="{% trans "Add geodata" %}" data-toggle="collapse" data-parent="#collapse-toolbox"><span class="glyphicon glyphicon-plus-sign"></span> {% trans "Add geodata" %}</a>
                  <ul id="collapse-add" class="collapse">
                    <li><a href="{% url "add_building" %}"><img src="{% static "img/building_icon_h25.png" %}" width="15" height="15" alt="{% trans "Add Building" %}" /> {% trans "Building" %}</a></li>
                    <li><a href="{% url "add_worksite" %}"><img src="{% static "img/worksite_icon_h25.png" %}" width="15" height="15" alt="{% trans "Add Worksite" %}" /> {% trans "Worksite" %}</a></li>
                    <li><a href="{% url "add_event" %}"><img src="{% static "img/event_icon_h25.png" %}" width="15" height="15" alt="{% trans "Add Event" %}" /> {% trans "Event" %}</a></li>
                    <li><a href="{% url "add_stakeholder" %}"><img src="{% static "img/stakeholder_icon_h25.png" %}" width="15" height="15" alt="{% trans "Add Stakeholder" %}" /> {% trans "Stakeholder" %}</a></li>
                  </ul>
                </li>
                {% block extra_geodata_toolbox %}<commit_msg>fix carriage return bug (stakeholder feed url)<commit_after>{% extends "geodata/geodata_base.html" %}
{% load staticfiles %}
{% load i18n %}

{% block extra_style %}
{{ block.super }}
<link href="{% static "css/ol.css" %}" type="text/css" rel="stylesheet">

<!--[if IE]>
<style type="text/css">
  /* This fixes the mouse offset issues in IE. */
  #{{ id }}_map { position: static; vertical-align: top; }
  /* `font-size: 0` fixes the 1px border between tiles, but borks LayerSwitcher.
      Thus, this is disabled until a better fix is found.
  #{{ id }}_map { width: {{ map_width }}px; height: {{ map_height }}px; font-size: 0; } */
</style>
<![endif]-->

{% block extra_extra_style %}
<link href="{% static "css/bigmap.css" %}?v=1.1" type="text/css" rel="stylesheet">
{% endblock %}
{% endblock %}

{% block extra_script %}
<script type="text/javascript" src="{% static "js/ol.js" %}"></script>
<script type="text/javascript">
//<![CDATA[
{% include "geodata/bigmap.js" %}
//]]>
</script>
{{ block.super }}
{% endblock %}

{% block bigmap %}
<div class="map-toolbox">
  <div class="geodata-bigmap" id="{{ module }}_map"></div>
  <div class="geodata-info" id="{{ module }}_info"></div>

  <div class="map-overlay">
  {% if not request.user.is_authenticated %}
    <div class="cartoterra-header text-center">
      <div class="container">
        {% include "_sidebar.html" %}
      </div>
    </div>
  {% endif %}
    <div class="geodata-side-toolbar">
      <div id="{{ module }}_controls"></div>
      <div class="geodata-list panel-group" id="geodata-list">
        <div class="panel panel-default">
          <div class="panel-heading">
            <a href="#collapse-building" class="panel-title accordion-toggle tooltip-geodata collapsed" title="{% trans "Buildings" %}" data-toggle="collapse" data-parent="#geodata-list">
              <img src="{% static "img/building_icon_h25.png" %}" width="25" height="25" alt="" /> {% trans "Buildings" %}
            </a>
          </div>
          <div id="collapse-building" class="panel-collapse collapse">
            <div class="panel-body">
              <ul>
                <li><a href="{% url "show_building_all" %}"><img src="{% static "img/building_icon_h25.png" %}" width="10" height="10" alt="" /> {% trans "All buildings" %}</a></li>
                <li><a href="{% url "show_building_unesco" %}"><img src="{% static "img/building_dot.png" %}" width="10" height="10" alt="" /> {% trans "World Heritage" %}</a></li>
                <li><a href="{% url "show_building_contemporary" %}"><img src="{% static "img/building_dot.png" %}" width="10" height="10" alt="" /> {% trans "Contemporary" %}</a></li>
                <li><a href="{% url "show_building_vernacular" %}"><img src="{% static "img/building_dot.png" %}" width="10" height="10" alt="" /> {% trans "Heritage" %}</a></li>
                <li><a href="{% url "show_building_normal" %}"><img src="{% static "img/building_dot.png" %}" width="10" height="10" alt="" /> {% trans "Other" %}</a></li>
              </ul>
              <div class="geodata-rss">
                <a rel="rss" href="{% url "feed_building" %}"><img src="{% static "img/feed-icon-14x14.png" %}" width="15" heigth="15" alt="" /> {% trans "Buildings" %}</a>
              </div>
            </div>
          </div>
        </div>
        <div class="panel panel-default">
          <div class="panel-heading">
            <a href="#collapse-worksite" class="panel-title accordion-toggle tooltip-geodata collapsed" title="{% trans "Worksites" %}" data-toggle="collapse" data-parent="#geodata-list"><img src="{% static "img/worksite_icon_h25.png" %}" width="25" height="25" alt="" /> {% trans "Worksites" %}</a>
          </div>
          <div id="collapse-worksite" class="panel-collapse collapse">
            <div class="panel-body">
              <ul>
                <li><a href="{% url "show_worksite_all" %}"><img src="{% static "img/worksite_icon_h25.png" %}" width="10" height="10" alt="" /> {% trans "All worksites" %}</a></li>
                <li><a href="{% url "show_worksite_participative" %}"><img src="{% static "img/worksite_dot.png" %}" width="10" height="10" alt="" /> {% trans "Participative" %}</a></li>
                <li><a href="{% url "show_worksite_normal" %}"><img src="{% static "img/worksite_dot.png" %}" width="10" height="10" alt="" /> {% trans "Normal" %}</a></li>
              </ul>
              <div class="geodata-rss">
                <a rel="rss" href="{% url "feed_worksite" %}"><img src="{% static "img/feed-icon-14x14.png" %}" width="15" heigth="15" alt="" /> {% trans "Worksites" %}</a>
              </div>
            </div>
          </div>
        </div>
        <div class="panel panel-default">
          <div class="panel-heading">
            <a href="#collapse-event" class="panel-title accordion-toggle tooltip-geodata collapsed" title="{% trans "Events" %}" data-toggle="collapse" data-parent="#geodata-list"><img src="{% static "img/event_icon_h25.png" %}" width="25" height="25" alt="" /> {% trans "Events" %}</a>
          </div>
          <div id="collapse-event" class="panel-collapse collapse">
            <div class="panel-body">
              <ul>
                <li><a href="{% url "show_event_all" %}"><img src="{% static "img/event_icon_h25.png" %}" width="10" height="10" alt="" /> {% trans "All events" %}</a></li>
                <li><a href="{% url "show_event_of_type" "seminar" %}"><img src="{% static "img/event_dot.png" %}" width="10" height="10" alt="" /> {% trans "Seminar" %}</a></li>
                <li><a href="{% url "show_event_of_type" "training" %}"><img src="{% static "img/event_dot.png" %}" width="10" height="10" alt="" /> {% trans "Training" %}</a></li>
                <li><a href="{% url "show_event_of_type" "conference" %}"><img src="{% static "img/event_dot.png" %}" width="10" height="10" alt="" /> {% trans "Conference" %}</a></li>
                <li><a href="{% url "show_event_of_type" "exhibition" %}"><img src="{% static "img/event_dot.png" %}" width="10" height="10" alt="" /> {% trans "Exhibition" %}</a></li>
              </ul>
              <div class="geodata-rss">
                <a rel="rss" href="{% url "feed_event" %}"><img src="{% static "img/feed-icon-14x14.png" %}" width="15" heigth="15" alt="" /> {% trans "Events" %}</a>
              </div>
            </div>
          </div>
        </div>
        <div class="panel panel-default">
          <div class="panel-heading">
            <a href="#collapse-stakeholder" class="panel-title accordion-toggle tooltip-geodata collapsed" title="{% trans "Stakeholders" %}" data-toggle="collapse" data-parent="#geodata-list"><img src="{% static "img/stakeholder_icon_h25.png" %}" width="25" height="25" alt="" /> {% trans "Stakeholders" %}</a>
          </div>
          <div id="collapse-stakeholder" class="panel-collapse collapse">
            <div class="panel-body">
              <ul>
                <li><a href="{% url "show_stakeholder_all" %}"><img src="{% static "img/stakeholder_icon_h25.png" %}" width="10" height="10" alt="" /> {% trans "All stakeholders" %}</a></li>
                <li><a href="{% url "show_stakeholder_of_role" "architect" %}"><img src="{% static "img/stakeholder_dot.png" %}" width="10" height="10" alt="" /> {% trans "Architects" %}</a></li>
              </ul>
              <div class="geodata-rss">
                <a rel="rss" href="{% url "feed_stakeholder" %}"><img src="{% static "img/feed-icon-14x14.png" %}" width="15" heigth="15" alt="" /> {% trans "Stakeholders" %}</a>
              </div>
            </div>
          </div>
        </div>

      {% if user.is_authenticated %}
        <div class="panel panel-default">
          <div class="panel-heading">
            <a href="#collapse-toolbox" class="panel-title accordion-toggle tooltip-geodata collapsed" title="{% trans "Toolbox" %}" data-toggle="collapse" data-parent="#geodata-list">{% trans "Toolbox" %}</a>
          </div>
          <div id="collapse-toolbox" class="panel-collapse collapse">
            <div class="panel-body">
              <ul>
                <li>
                  <a href="#collapse-add" class="accordion-toggle tooltip-geodata collapsed" title="{% trans "Add geodata" %}" data-toggle="collapse" data-parent="#collapse-toolbox"><span class="glyphicon glyphicon-plus-sign"></span> {% trans "Add geodata" %}</a>
                  <ul id="collapse-add" class="collapse">
                    <li><a href="{% url "add_building" %}"><img src="{% static "img/building_icon_h25.png" %}" width="15" height="15" alt="{% trans "Add Building" %}" /> {% trans "Building" %}</a></li>
                    <li><a href="{% url "add_worksite" %}"><img src="{% static "img/worksite_icon_h25.png" %}" width="15" height="15" alt="{% trans "Add Worksite" %}" /> {% trans "Worksite" %}</a></li>
                    <li><a href="{% url "add_event" %}"><img src="{% static "img/event_icon_h25.png" %}" width="15" height="15" alt="{% trans "Add Event" %}" /> {% trans "Event" %}</a></li>
                    <li><a href="{% url "add_stakeholder" %}"><img src="{% static "img/stakeholder_icon_h25.png" %}" width="15" height="15" alt="{% trans "Add Stakeholder" %}" /> {% trans "Stakeholder" %}</a></li>
                  </ul>
                </li>
                {% block extra_geodata_toolbox %}
{'fraction_non_alphanumeric': 0.2236117791673347, 'fraction_numerical': 0.016567794345572123, 'mean_word_length': 2.8717152907097043, 'pattern_counts': {'":': 0, '<': 419, '<?xml version=': 0, '>': 419, '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': '2761514', 'n_tokens_mistral': 6577, 'n_tokens_neox': 6012, 'n_words': 1398}