{% block javascript %}
<script src="{{ asset('bundles/atlas/js/filterModule.js') }}"></script>
<script>
$(function() {
runFilterModule('{{ path('heatProtection') }}');
{% if construction_link is defined and construction_link != '' %}
$('#breadcrumb').append(' {{ bc_sep()|raw }} <a href="{{ path('heatProtection') }}/{{ construction_link }}" name="breadcrumbLink">{{ construction_name }}</a>');
{% endif %}
{% if type_link is defined and type_link != '' %}
$('#breadcrumb').append(' {{ bc_sep()|raw }} <a href="{{ path('heatProtection') }}/{{ type_link }}" name="breadcrumbLink">{{ type_name }}</a>');
{% endif %}
{% if element is defined and element['element'].getName() is not empty %}
$('#breadcrumb').append(' {{ bc_sep()|raw }} <a href="{{ path('heatProtection') }}/{{ element_link }}"'
+ ' name="breadcrumbLink" id="element">{{ element['element'].getName() }}</a>');
{% endif %}
{% if type_names is defined %}
$('#breadcrumb').append(' {{ bc_sep()|raw }} <a href="{{ path('heatProtection') }}/{{ origin_search|join('/') }}" name="breadcrumbLink" id="search">{{ type_names|join(' | ') }}</a>');
{% endif %}
});
</script>
{% endblock %}
{% block filter %}
<div id="filter_selection">
<div>
<input name="select_by" type="radio" id="select_form" data-filtermodule-show='#filter_form'>
<label for="select_form">
<img src="{{ asset('bundles/atlas/images/icn_filter_constructions.png') }}" alt="Auswahl über Konstruktionen" border="0"/>
Konstruktionen
</label>
<input name="select_by" type="radio" checked="checked" id="select_wo_ge" data-filtermodule-show='#filter_wo_ge'>
<label for="select_wo_ge" class="sm-hide">
<img src="{{ asset('bundles/atlas/images/icn_filter_wo_ge.png') }}" alt="Auswahl über Wohngebäude" border="0"/>
Wohngebäude
</label>
</div>
</div>
<div class="filtermodule-tab" id="filter_form" style="display:none;">
<div class="wrapper-header">
<h2 class="filter">Konstruktionen</h2>
<a class="filter_close" href="#" data-to-close=".wrapper-form">
<img src="{{ asset('bundles/atlas/images/icn_filter_close.png') }}" alt="Filter ausblenden" width="19"
height="19"
border="0"/>
<img src="{{ asset('bundles/atlas/images/icn_filter_open.png') }}" alt="Filter einblenden" width="19"
height="19"
border="0" style="display:none"/>
</a>
<div class="clear"></div>
</div>
<div class="wrapper-bottom">
<div class="wrapper-form">
<form action="{{ path('heatProtection') }}" id="filter_module_form" method="GET">
<fieldset>
<select id="construction_search" name="construction_search">
{% for construction in constructions %}
<option value="{{ construction.getId() }}" selected>{{ construction.getName() }}</option>
{% endfor %}
</select>
<label for="wb">Wärmebrücken-Anschluss</label>
{% for cid, types in typesConstruction %}
<div class="custom-select">
<select id="wb_{{ cid }}" name="wbId">
<option value="0">Wärmebrücken-Anschluss auswählen</option>
{% for type in types %}
<option value="{{ type.getId() }}"
{% if wbId is defined and wbId == type.getId() %}selected{% endif %}>{{ type.getName() }}</option>
{% endfor %}
</select>
</div>
{% endfor %}
<label>Suche</label>
<input type="text"
value=""
placeholder="Ihre Suchbegriffe" name="searchTerm" id="searchTerm"/>
<input class="submit-border" type="submit" value="Filter anwenden"/>
<div class="clear"></div>
</fieldset>
</form>
</div>
</div>
</div>
<div class="filtermodule-tab sm-hide" id="filter_wo_ge" style="display:none;">
<div class="wrapper-header">
<h2 class="filter">Wohngebäude</h2>
<a class="filter_close" href="#" data-to-close="#wrapper-woge, #filter_wb">
<img src="{{ asset('bundles/atlas/images/icn_filter_close.png') }}" alt="Filter ausblenden" width="19"
height="19"
border="0"/>
<img src="{{ asset('bundles/atlas/images/icn_filter_open.png') }}" alt="Filter einblenden" width="19"
height="19"
border="0" style="display:none"/>
</a>
<div class="clear"></div>
</div>
<div class="wrapper-bottom">
<div id="wrapper-woge">
<object type="image/svg+xml" data="{{ asset('bundles/atlas/images/svg/wohngebaeude_front.svg') }}"
id="woge_front_svg" width="580px" height="570px">
<p>Leider unterstützt Ihr Browser keine SVG-Grafiken. Bitte Installieren Sie eine aktuelle Version.</p>
</object>
<object type="image/svg+xml" data="{{ asset('bundles/atlas/images/svg/wohngebaeude_rueckansicht.svg') }}"
id="woge_back_svg" width="500px" height="370px"
style="display:none;">
<p>Leider unterstützt Ihr Browser keine SVG-Grafiken. Bitte Installieren Sie eine aktuelle Version.</p>
</object>
</div>
</div>
</div>
<div class="filtermodule-tab sm-hide" id="filter_wi_ge" style="display:none;">
<div class="wrapper-header">
<h2 class="filter">Wirtschaftsgebäude</h2>
<a class="filter_close" href="#" data-to-close="#wrapper-wigeb, #filter_wb">
<img src="{{ asset('bundles/atlas/images/icn_filter_close.png') }}" alt="Filter ausblenden" width="19"
height="19"
border="0"/>
<img src="{{ asset('bundles/atlas/images/icn_filter_open.png') }}" alt="Filter einblenden" width="19"
height="19"
border="0" style="display:none"/>
</a>
<div class="clear"></div>
</div>
<div id="wrapper-wigeb">
<a href="#" class="toggle_view"><img src="{{ asset('bundles/atlas/images/icn_flip_left.png') }}"
alt="Ansicht drehen" border="0"/></a>
<object type="image/svg+xml" data="{{ asset('bundles/atlas/images/svg/wirtschaftsgebaeude_front.svg') }}"
id="wige_front_svg" width="500px" height="370px">
<!-- fallback image here -->
</object>
<object type="image/svg+xml" data="{{ asset('bundles/atlas/images/svg/wirtschaftsgebaeude_rueckansicht.svg') }}"
id="wige_back_svg" width="500px" height="370px"
style="display:none;">
<!-- fallback image here -->
</object>
<a href="#" class="toggle_view"><img src="{{ asset('bundles/atlas/images/icn_flip_right.png') }}"
alt="Ansicht drehen" border="0"/></a>
</div>
</div>
<div class="clear"></div>
{% endblock %}