<div class="modal fade bd-example-modal-lg" id="exampleModal1" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="col-lg-12">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" style="font-size:2em;position: absolute;right: 15px;"></button>
<div name="form-search-normal-mobile" id="form-search-normal-mobile" class="div-svg-header">
<form action="{{ path('results') }}" style="display: flex; align-items: center; width: 100%">
<div class="container-form-mobile" style="display: flex;flex-direction: column;justify-content: center; ">
<div class="selectors mobile" style="display: flex; align-items: center; width: auto;">
<div id="transaction-drop" class="dropdown">
<div class="undroped">
<p class="undroped-header">Type de transaction</p>
<p name="transaction-type" class="undroped-subheader">Tous</p>
<input type="hidden" value="" class="input-subheader" name="transaction-type">
</div>
<div class="droped">
<div class="dropdown-header">Type de transaction</div>
<ul id="transaction-li" class="items">
<li class="item {% if app.session.get('filter') and not app.session.get('filter')['transaction-type'] %}selected{% endif %}" data-value="">Tous</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['transaction-type'] == 'Vente' %}selected{% endif %}" data-value ="Vente">Achat</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['transaction-type'] == 'Location' %}selected{% endif %}" data-value ="Location">Location</li>
{#
<li class="item" data-value ="Viager">Viager</li>
<li class="item" data-value ="Enchere">Enchère</li>
#}
</ul>
</div>
</div>
<div id="property-drop" class="dropdown">
<div class="undroped">
<p class="undroped-header">Type de biens</p>
<p name="property-type" class="undroped-subheader">Appartement, Bureau, ...</p>
<input type="hidden" value="" class="input-subheader" name="property-type">
</div>
{% set propertyTypeSelected = false %}
{% if propertiesApi is defined %}
{% for type in propertiesApi.getTypesProperties() %}
{% if app.session.get('filter') and app.session.get('filter')['property-type'] == type %}
{% set propertyTypeSelected = type %}
{% endif %}
{% endfor %}
{% endif %}
<div class="droped">
<div class="dropdown-header">Type de biens</div>
<ul id="property-li" class="items">
<li class="item {% if not propertyTypeSelected %}selected{% endif %}" data-value="all">Tous</li>
{% if propertiesApi is defined %}
{% for type in propertiesApi.getTypesProperties() %}
<li class="item {% if propertyTypeSelected == type %}selected{% endif %}" data-value="{{ type }}">{{ type }}</li>
{% endfor %}
{% endif %}
{#
<li class="item {% if app.session.get('filter') and app.session.get('filter')['property-type'] == 'Studio' %}selected{% endif %}" data-value="Studio">Studio</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['property-type'] == 'Appartement' %}selected{% endif %}" data-value="Appartement">Appartement</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['property-type'] == 'Maison' %}selected{% endif %}" data-value="Maison">Maison</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['property-type'] == 'Bureaux' %}selected{% endif %}" data-value="Bureaux">Bureau</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['property-type'] == 'Commerce' %}selected{% endif %}" data-value="Commerce">Commerce</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['property-type'] == 'Garage / Parking' %}selected{% endif %}" data-value="Garage / Parking">Garage / Parking</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['property-type'] == 'Immeuble' %}selected{% endif %}" data-value="Immeuble">Immeuble</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['property-type'] == 'Cave / Box' %}selected{% endif %}" data-value="Cave / Box">Cave / Box</li>
#}
</ul>
</div>
</div>
<div id="location-drop-mobile" class="dropdown">
<div class="undroped">
<p class="undroped-header">Localisation</p>
<p class="undroped-subheader">Choisissez une commune</p>
<input type="hidden" value="" class="input-subheader" name="location">
</div>
<div class="droped">
<div class="dropdown-header">Localisation</div>
<ul id="location-li-mobile" class="items">
{#
<li class="item" data-value ="Appartement">Luxembourg-Ville</li>
<li class="item" data-value ="Bureaux">Leudelange</li>
<li class="item" data-value ="Maison">Esch-Sur-Alzette</li>
#}
</ul>
</div>
</div>
</div>
<div id="sub-search-div-mobile" class="sub-search-div-mobile">
<div class="col-lg-3 div-form">
<input class="sub-search-input" name="budget" id="budget" type="text" placeholder="Budget max." value="{% if app.session.get('filter') and app.session.get('filter')['budget'] is defined and app.session.get('filter')['budget'] != '' %}{{ app.session.get('filter')['budget'] }}{% endif %}">
</div>
<div id="rooms-drop" class="dropdown">
<div class="undroped">
<p class="undroped-header transparent-font">
{% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['rooms'] != '' %}
{{ app.session.get('filter')['rooms'] }} chambre(s)
{% else %}
Nombre de chambres
{% endif %}
</p>
<p class="undroped-subheader good-place"></p>
<input type="hidden" class="input-subheader" name="rooms">
</div>
<div class="droped">
<div class="dropdown-header">Nombre de chambres</div>
<ul id="rooms-li" class="items">
<li class="item" data-value ="">Indifférent</li>
{% for i in 0..6 %}
<li class="item {% if app.session.get('filter') and app.session.get('filter')['rooms'] is defined and app.session.get('filter')['rooms'] == i %}selected{% endif %}" data-value ="{{ i }}">{{ i }} chambre(s)</li>
{% endfor %}
</ul>
</div>
</div>
<!--<input class="sub-search-input" id="area-minimum" name="area-minimum" type="text" placeholder="Surface min.">-->
<div id="area-drop" class="dropdown" style="border: 1px solid black;">
<div class="undroped">
<p class="undroped-header transparent-font">
{% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] != '' %}
{{ app.session.get('filter')['area-minimum'] }} m²
{% else %}
Surface minimum
{% endif %}
</p>
<p class="undroped-subheader good-place"></p>
<input type="hidden" class="input-subheader" name="area-minimum">
</div>
<div class="droped">
<div class="dropdown-header">Surface minimum</div>
<ul id="area-li" class="items">
<li class="item" data-value="">Indifférent</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 20 %}selected{% endif %}" data-value ="20">20 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 30 %}selected{% endif %}" data-value ="30">30 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 40 %}selected{% endif %}" data-value ="40">40 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 50 %}selected{% endif %}" data-value ="50">50 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 60 %}selected{% endif %}" data-value ="60">60 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 70 %}selected{% endif %}" data-value ="70">70 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 80 %}selected{% endif %}" data-value ="80">80 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 90 %}selected{% endif %}" data-value ="90">90 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 100 %}selected{% endif %}" data-value ="100">100 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 110 %}selected{% endif %}" data-value ="110">110 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 120 %}selected{% endif %}" data-value ="120">120 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 130 %}selected{% endif %}" data-value ="130">130 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 140 %}selected{% endif %}" data-value ="140">140 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 150 %}selected{% endif %}" data-value ="150">150 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 160 %}selected{% endif %}" data-value ="160">160 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 170 %}selected{% endif %}" data-value ="170">170 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 180 %}selected{% endif %}" data-value ="180">180 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 190 %}selected{% endif %}" data-value ="190">190 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 200 %}selected{% endif %}" data-value ="200">200 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 250 %}selected{% endif %}" data-value ="250">250 m²</li>
<li class="item {% if app.session.get('filter') and app.session.get('filter')['area-minimum'] is defined and app.session.get('filter')['area-minimum'] == 300 %}selected{% endif %}" data-value ="300">300 m²</li>
</ul>
</div>
</div>
</div>
<div>
<button style="background-color: transparent;border-color: transparent;" id="submit-search" type="submit">
<svg class="search-button" xmlns="http://www.w3.org/2000/svg" width="55.982" height="90.97" viewBox="0 0 55.982 90.97">
<g id="Groupe_3817" data-name="Groupe 3817" transform="translate(-1528.861 -105)">
<path id="Tracé_95" data-name="Tracé 95" d="M729.651,232.441H673.669v90.97l55.982-11.894Z" transform="translate(855.192 -127.441)" fill="#f6a400"/>
<g id="Groupe_3794" data-name="Groupe 3794" transform="translate(1545.335 126.696)">
<g id="np_search_1868241_000000">
<path id="Tracé_92" data-name="Tracé 92" d="M8.287,17.368A8.662,8.662,0,1,1,14.4,14.813a8.679,8.679,0,0,1-6.109,2.555Zm0-15.055a6.36,6.36,0,1,0,4.477,1.881A6.377,6.377,0,0,0,8.287,2.313Z" transform="translate(0.441 -0.012)" fill="#fff"/>
<path id="Tracé_93" data-name="Tracé 93" d="M57.82,59.567l1.626-1.633L67.4,65.852l-1.626,1.633Z" transform="translate(-44.591 -44.782)" fill="#fff"/>
</g>
</g>
</g>
</svg></button>
<button class="btn btn-primary" id="send" type="submit" style="display: none">Envoyer</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>