{% import 'page/macro/breadcrumbs.html.twig' as breadcrumbNode %}
<div data-component="SearchVacancy" data-facet-limit="{{ config_setting('site_vacancy_facet_limit') }}"
data-limit="{{ config_setting('site_vacancy_limit_per_page') }}" data-base-url="{{ path('vacancies') }}"
class="row vacancies-overview vacancies-overview__first-version">
{% if breadcrumbs is defined %}
<div class="col-12">
{{ breadcrumbNode.generate(breadcrumbs) }}
</div>
{% endif %}
<aside class="sidebar col-12 col-md-4">
<div class="block-filters">
<h2 class="animation-element fadeup-element is-color-base">{{ 'Filter results'|trans }}</h2>
<form action="{{ path('vacancies') }}" id="vacancy_options_form" method="post">
<script id="facetSelectionTemplate" type="text/x-jsrender">
<%if type == 'facets' && values.length %>
<%for values%>
<%for values ~filter=title%>
<a href="#" data-selected="<%:~filter%>[<%:name%>]" class="tag">
<%:name%>
<i class="fas fa-times icon-right"></i>
</a>
<%/for%>
<%/for%>
<%/if%>
<%if type == 'keyword'%>
<a href="#" data-selected="<%:type%>[<%:query%>]" data-tag-type="keyword" class="tag">
<%:label%>: <%:query%>
<i class="fas fa-times icon-right"></i>
</a>
<%/if%>
<%if type == 'location'%>
<a href="#" data-selected="<%:type%>[<%:location.name%>]" data-tag-type="location" class="tag">
Binnen <%:location.range%>km van <%:location.name%>
<i class="fas fa-times icon-right"></i>
</a>
<%/if%>
</script>
<div id="selected-filters" data-selected-filters style="display:none;"
class="component component--filters animation-element fadeup-element">
<div class="is-card widget widget--selection-tags">
<div class="card-body">
<h2>{{ 'Your selection'|trans }}:</h2>
<a href="#" title="{{ 'Delete everything'|trans }}" class="remove-all">
<i class="far fa-trash icon-before"></i>
{{ 'Delete everything'|trans }}
</a>
<div class="tags">
</div>
</div>
</div>
</div>
<div class="is-overflow-visible">
<div class="component component--filters">
<div class="filters list w-100">
{% if feature('feature_vacancy_search_location_slider') %}
<div class="filter-group distance is-card is-box-shadow-0 is-margin-bottom-30 is-padding-0 w-100 animation-element fadeup-element"
data-component="LocationField">
<div class="card-body w-100">
<div class="form-horizontal form-location w-100">
<h2 class="w-100">{{ 'Location'|trans }}</h2>
<input value="" type="hidden" name="location[name]" id="location-name">
<input value="10" type="hidden" name="location[range]"
id="location-range">
<input value="" type="hidden" name="location[latitude]"
id="location-latitude">
<input value="" type="hidden" name="location[longitude]"
id="location-longitude">
<input value="desc" type="hidden" name="options[sort_order]"
id="sort_order">
<div class="info">
<span class="city">
<span class="location_placeholder"></span>
</span>
<p class="location lead" id="distance-label"></p>
<div class="delete-location-filter" style="display: none;">
<i class="fas fa-trash-alt"></i>
</div>
</div>
<span class="edit-city is-margin-top-15">
<input name="" id="location-edit-sidebar" class="location-edit"
value="">
</span>
<div class="location-slider">
<div id="location-range-slider"></div>
</div>
</div>
</div>
</div>
{% endif %}
<script id="facetTemplate" type="text/x-jsrender">
<div class="filter-group is-card is-box-shadow-0 is-margin-bottom-30 is-padding-0 animation-element fadeup-element">
<div class="card-body">
<h2><%:title%><i class="far fa-angle-up"></i></h2>
<ul class="checkbox-group<%if !expanded_by_default%> collapsed<%/if%> education_level" id="<%:slug%>">
<%for values ~filter=title%>
<li><input class="filter-checkbox"
id="<%:~filter%>[<%:name%>]"
name="filters[<%:~filter%>][]"
value="<%:name%>"
type="checkbox"
<%if selected%>
checked="checked"
<%/if%>
><label for="<%:~filter%>[<%:name%>]"><%:name%>
<span class="count"><%:count%></span></label>
</li>
<%/for%>
</ul>
<a href="#"
class="show-more-options"
data-component="ButtonToggle"
data-toggle-default="<%if !expanded_by_default%>more<%else%>less<%/if%>"
data-toggle-more-label="{{ 'Show more'|trans }}" data-toggle-more-icon="fa-plus-square"
data-toggle-less-label="{{ 'Show less'|trans }}" data-toggle-less-icon="fa-minus-square"
>
<i class="far fa-plus-square icon-before"></i>
<span>{{ 'Show more'|trans }}</span>
</a>
</div>
</div>
</script>
<div class="filters list" id="facet_list"></div>
</div>
</div>
</div>
{% if company %}
<input type="hidden" name="company" value="{{ company.slug }}"/>
<input type="hidden" name="companyName" value="{{ company.name }}"/>
{% endif %}
</form>
</div>
<div class="widget widget--jobalert-cta animation-element fadeup-element">
<div class="card is-box-shadow-0 is-background-color-accent">
<div class="card-body">
<div class="is-color-blank">
<h2>{{ 'Create Job Alert'|trans }}</h2>
<p>{{ 'We will automatically search for new vacancies corresponding to your searchquery and send them to your emailaddress'|trans }}
.</p>
</div>
<a class="is-btn is-background-color-blank is-color-base" data-component="JobAlertModal"
href="/jobalert"
title="" data-settings='{"class": "buttonProps"}'>
{{ 'Create Job Alert'|trans }}
</a>
</div>
</div>
</div>
<script id="facetSeoTemplate" type="text/x-jsrender">
<%for snippets%>
<div class="widget is-margin-bottom-20">
<%:%>
</div>
<%/for%>
</script>
<div class="facet-seo"></div>
</aside>
<main id="vacancy-list" class="main-content col-12 col-md-8">
<div class="animation-element fadeup-element">
<h1 data-search-title class="is-margin-bottom-5 is-color-base">
<span>{{ 'All vacancies'|trans }}</span>
<span data-search-query="{{ 'with searchword'|trans }}"></span>
<span data-company="{{ 'at company'|trans }}"></span>
<span data-location="{{ 'in'|trans }}"></span>
<span data-count-wrapper class="results" style="display:none;">
(<span data-count>0</span> <span data-count-title-plural="{{ 'results'|trans }}"
data-count-title-singular="{{ 'result'|trans }}">{{ 'results'|trans }}</span>)
</span>
</h1>
<div class="vacancy-fixed-width">
<!-- STATIC -->
<p class="is-font-size-16 d-none"><a href="javascript:void(0)" title="Lees meer"
data-component="ScrollTo"
data-target="#option-seo-content">Lees meer<i
class="far fa-angle-right icon-after"></i></a>
</p>
<div class="sorting">
<ul>
<span>{{ 'Sort by'|trans }}:</span>
<li class="current"><a data-sort="date" data-dir="desc" href="#" class="asc"
data-orderable="true">{{ 'Placement date'|trans }}</a></li>
<li class="" style="display: none;"><a href="#" data-sort="score"
data-orderable="false">{{ 'Relevance'|trans }}</a></li>
<li class="distance_sort" style="display: none;"><a href="#" data-sort="distance"
data-orderable="true"
data-sortdefault="asc">{{ 'Location'|trans }}</a>
</li>
</ul>
</div>
</div>
</div>
<script id="vacancyTemplate" type="text/x-jsrender">
<div data-component="Favorite" data-vacancy-id="<%:id%>" class="card is-box-shadow-0 <%if featured%>is-border-1<%/if%> is-border-color-accent vacancy__first-version <%if featured%>vacancy--featured<%/if%>">
<div class="card-body">
<div class="vacancy">
<div class="vacancy-top has-icon">
<%if overview_image%>
<figure class="is-margin-right-25 is-margin-right-mobile-15">
<a href="<%generateCompanyUrl company.id company.slug/%>" title="<%:company.name%>">
<img loading="lazy" src="<%:overview_image.w240%>"/>
</a>
</figure>
<%/if%>
<div class="vacancy-title">
<%if detail_url%>
<a data-format="TitleFormatter" title="<%:title%>" href="<%:detail_url%>">
<h3><%:title%></h3>
</a>
<%else%>
<a data-format="TitleFormatter" title="<%:title%>" href="<%generateUrl id slug/%>">
<h3><%:title%></h3>
</a>
<%/if%>
<%if company %>
<div class="sub">
Bij
<a href="<%generateCompanyUrl company.id company.slug/%>" title="<%:company.name%>">
<%:company.name%>
</a>
</div>
<%/if%>
<%if new%>
<span class="badge badge--new">
<p>{{ 'New'|trans }}</p>
</span>
<%/if%>
<%if featured%>
<span class="badge badge--topvacancy float-right">
<p>{{ 'Featured vacancy'|trans }}</p>
</span>
<%/if%>
</div>
</div>
<div class="vacancy-body" data-format="IntroFormatter">
<%if intro%>
<p>
<%stripIntro intro {{ config_setting('site_vacancy_intro_character_limit')|default(500) }}/%>
</p>
<%/if%>
</div>
<div class="vacancy-footer">
<div data-format="FooterFormatter" class="vacancy-options">
<ul>
<%if city%>
{{ config_setting('site_vacancy_show_location') ? '<li><i class="fal fa-map-marker-alt"></i><%:city%></li>' : '' }}
<%/if%>
<%for option_values%>
<%if option.visible_in_detail%>
<li>
<i class="<%:option.font_awesome_icon%>"></i><%:value%>
</li>
<%/if%>
<%/for%>
</ul>
</div>
<%if detail_url%>
<a href="<%:detail_url%>" title="<%:title%>" class="show-vacancy-btn is-btn is-btn-outlined-primary is-color-base is-padding-x-30">{{ 'Show vacancy'|trans }}
<i class="far fa-angle-right icon-after is-margin-top-5"></i></a>
<%else%>
<a href="<%generateUrl id slug/%>" title="<%:title%>" class="show-vacancy-btn is-btn is-btn-outlined-primary is-color-base is-padding-x-30">{{ 'Show vacancy'|trans }}
<i class="far fa-angle-right icon-after is-margin-top-5"></i></a>
<%/if%>
</div>
<div class="footer">
</div>
</div>
</div>
</div>
</script>
{% if not map %}
<div id="vacancy-results" class="animation-element fadeup-element">
<div id="ajax-wait" style=""><img loading="lazy" src="{{ asset('/assets/contentbox/spinner.svg') }}"
id="ajax-wait-image" alt="ajax-loader">
</div>
</div>
<div class="pagination"></div>
{% endif %}
</main>
<div class="clearfix"></div>
<div class="lazyload-trigger"></div>
<div class="overlay overlay-hugeinc-search">
<div class="inner">
<div class="container-fluid footer-search">
<h2>{{ 'Search vacancies'|trans }}</h2>
<div class="component--search"></div>
</div>
</div>
<nav class="overlay-close">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<a href="javascript:void(0)" class="close-btn c-align">
<i class="far fa-times"></i> {{ 'Close'|trans }}
</a>
</div>
</div>
</div>
</nav>
</div>
<div class="overlay overlay-hugeinc-filters">
<div class="inner">
<div class="container-fluid footer-filters">
</div>
</div>
<nav class="overlay-close">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<a href="javascript:void(0)" class="close-btn c-align">
<i class="far fa-times"></i> {{ 'Close'|trans }}
</a>
</div>
</div>
</div>
</nav>
</div>
</div>
<!-- stickyfooter -->
<section class="sticky-footer d-md-none">
<nav>
<div class="container-fluid">
<div class="row">
<div class="col-5 col-sm-6 search-trigger trigger">
<a href="javascript:void(0)">
<i class="fa fa-search"></i> {{ 'Search'|trans }}
</a>
</div>
<div class="col-7 col-sm-6 filter-trigger trigger">
<a href="javascript:void(0)">
{{ 'Filter results'|trans }}
<i class="fa fa-filter"></i>
</a>
</div>
</div>
</div>
</nav>
</section>