Benjamin Völkl 2021-09-16 12:36:51 +02:00
parent 0d9558d871
commit fd1ea823e4
5 changed files with 23 additions and 485 deletions

View File

@ -66,8 +66,8 @@
<br> <br>
</div> </div>
<div class="col-12 col-md-4 offset-md-1 text-center"> <div class="col-12 col-md-4 offset-md-1 text-center">
<img class="img-fluid mx-auto d-block rounded" src="https://picsum.photos//300/350"> <img class="img-fluid mx-auto d-block rounded" src="{{asset('template/images/petra.jpg')}}">
<small class="fst-italic mt-1">Petra und Martin Bäumler</small> <small class="fst-italic mt-1">Petra Bäumler mit Alpaka</small>
</div> </div>
</div> </div>

View File

@ -2,49 +2,12 @@
@section('content') @section('content')




<div class="row">
<div id="header_static" style="background-color: #9699AA; background-image: url('{{ asset('uploads/lists/' . $listModel->image) }}'); background-position: center; background-size: cover;" >



<div class="d-none d-md-block">
<br>
<br>
</div>

<div class="d-none d-lg-block">
<br>
<br>
<br>
<br>
<br>
</div>



<div id="city_headline">
<h1>Die besten <strong>Arbeitsstellen</strong> in <strong> {{ $listModel->name }}</strong> auf jobs-oberpfalz.de</h1>
<h2>Jetzt Traumjob finden und direkt online bewerben.</h2>
</div>

<div class="d-none d-md-block">
<br>
</div>

<div class="d-none d-lg-block">
<br>
</div>

</div> <!-- header_static -->
</div>






<section class="mt-2"> <section class="mt-2">
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<h2 class="mt-2">Aktuelle Jobs in <strong>{{ $listModel->name }}</strong></h2> <h1 class="mt-2">{{ $listModel->name }}</h1>
<br> <br>
@if (isset($listModel)) @if (isset($listModel))
{{ $listModel->description }} {{ $listModel->description }}
@ -58,124 +21,7 @@






@if (\Request::is('schwandorf'))


<section class="mt-5 d-md-none">

<div class="row">
<div class="col">
<br>
<a class="btn-lg btn btn-success" href="https://chat.whatsapp.com/LAcOUGLcvSbAgzvbZBWCmS">
<svg style="height: 30px; margin-right: 1px; fill: white;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>
Whatsapp Gruppe "Jobs in Schwandorf" beitreten
</a>
</div>
</div>
</section>

@endif

@if (\Request::is('regensburg'))

<section class="mt-5 d-md-none">

<div class="row">
<div class="col">
<br>
<a class="btn-lg btn btn-success" href="https://chat.whatsapp.com/KFqf1VZ1CZY0CqlvV3lKdS">
<svg style="height: 30px; margin-right: 1px; fill: white;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>
Whatsapp Gruppe "Jobs in Regensburg" beitreten
</a>
</div>
</div>
</section>

@endif

@if (\Request::is('weiden'))

<section class="mt-5 d-md-none">

<div class="row">
<div class="col">
<br>
<a class="btn-lg btn btn-success" href="https://chat.whatsapp.com/IC2x7qGOKK7D6Zd1gKDKzo">
<svg style="height: 30px; margin-right: 1px; fill: white;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>
Whatsapp Gruppe "Jobs in Weiden" beitreten
</a>
</div>
</div>
</section>

@endif

@if (\Request::is('amberg'))

<section class="mt-5 d-md-none">

<div class="row">
<div class="col">
<br>
<a class="btn-lg btn btn-success" href="https://chat.whatsapp.com/GvuDAZl5d685Xy6HHx36h9">
<svg style="height: 30px; margin-right: 1px; fill: white;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>
Whatsapp Gruppe "Jobs in Amberg" beitreten
</a>
</div>
</div>
</section>

@endif

@if (\Request::is('tirschenreuth'))

<section class="mt-5 d-md-none">

<div class="row">
<div class="col">
<br>
<a class="btn-lg btn btn-success" href="https://chat.whatsapp.com/IPi7voUe4805iATe0NOdTm">
<svg style="height: 30px; margin-right: 1px; fill: white;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>
Whatsapp Gruppe "Jobs in Tirschenreuth" beitreten
</a>
</div>
</div>
</section>

@endif

@if (\Request::is('vohenstrauss'))

<section class="mt-5 d-md-none">

<div class="row">
<div class="col">
<br>
<a class="btn-lg btn btn-success" href="https://chat.whatsapp.com/HXmKGiG6aQv8P4U68Q7iqO">
<svg style="height: 30px; margin-right: 1px; fill: white;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>
Whatsapp Gruppe "Jobs in Vohenstrauß" beitreten
</a>
</div>
</div>
</section>

@endif

@if (\Request::is('cham'))

<section class="mt-5 d-md-none">

<div class="row">
<div class="col">
<br>
<a class="btn-lg btn btn-success" href="https://chat.whatsapp.com/EIc1cFq4ssL0zrWMmG63Dg">
<svg style="height: 30px; margin-right: 1px; fill: white;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>
Whatsapp Gruppe "Jobs in Cham" beitreten
</a>
</div>
</div>
</section>

@endif






@ -188,75 +34,48 @@
<div id="jobs" class="col-lg-12"> <div id="jobs" class="col-lg-12">




<h2>Aktuelle <strong>Jobangebote in {{ $listModel->name }}</strong></h2>


@foreach($nachrichten as $nach) @foreach($nachrichten as $nach)





<div class="col-12 col-md-4" style="padding-bottom: 1rem;">
<div class="col-12" style="padding-bottom: 1rem;">

<div class="card" style="background-color: #f8f8f8;"> <div class="card" style="background-color: #f8f8f8;">
@if ($nach->image)
<img class="rounded-top img-fluid" src="{{ asset('uploads/' . $nach->image) }}">
@else
<img class="rounded-top img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}">

@endif
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">
<div class="col-3 col-lg-1">
<a href="{{ route('author.get', [$nach->user->slug]) }}"
onclick="gtag('event', 'See Employer', {'event_category' : 'List: {{ $listModel->name }}', 'event_label' : '{{ $nach->user->name }}'});"


>
<img src="{{ $nach->user->gravatar() }}" title="{{ $nach->user->name }}" height="70px" class="border rounded" alt="Logo {{ $nach->user->name }}">
</a>
</div>


<div class="col-9 col-lg-2">


<br> <div class="col-12">
<a href="{{ route('author.get', [$nach->user->slug]) }}" class="text-muted"
onclick="gtag('event', 'See Employer', {'event_category' : 'List: {{ $listModel->name }}', 'event_label' : '{{ $nach->user->name }}'});"

>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-building" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M14.763.075A.5.5 0 0 1 15 .5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V14h-1v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10a.5.5 0 0 1 .342-.474L6 7.64V4.5a.5.5 0 0 1 .276-.447l8-4a.5.5 0 0 1 .487.022zM6 8.694L1 10.36V15h5V8.694zM7 15h2v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V15h2V1.309l-7 3.5V15z"/>
<path d="M2 11h1v1H2v-1zm2 0h1v1H4v-1zm-2 2h1v1H2v-1zm2 0h1v1H4v-1zm4-4h1v1H8V9zm2 0h1v1h-1V9zm-2 2h1v1H8v-1zm2 0h1v1h-1v-1zm2-2h1v1h-1V9zm0 2h1v1h-1v-1zM8 7h1v1H8V7zm2 0h1v1h-1V7zm2 0h1v1h-1V7zM8 5h1v1H8V5zm2 0h1v1h-1V5zm2 0h1v1h-1V5zm0-2h1v1h-1V3z"/>
</svg>
{{ $nach->user->name }}
</a>
</div>
<div class="col-12 col-lg-6">
<h5 class="card-title" style="margin-top: 20px;"> <h5 class="card-title" style="margin-top: 20px;">
<a href="{{ route_content($nach) }}" <a href="{{ route_content($nach) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">
onclick="gtag('event', 'See Job', {'event_category' : 'List: {{ $listModel->name }}', 'event_label' : '{{$nach->title}}'});"

>
{{$nach->title}} {{$nach->title}}
</a> </a>
</h5> </h5>
</div>
<div class="col-12">
<small class="card-subtitle mb-2 text-muted" title="{{date('d.m.Y', strtotime($nach->created_at))}}"> {{ $nach->created_at->diffForHumans() }}</small>
</div>
<div class="col-12 mt-2">


Lorem ipsum dolor sit amet, consectetur adipisicing elit. A asperiores consectetur consequuntur, eos exercitationem itaque iusto modi quibusdam quidem quisquam quos sunt voluptas voluptate! Architecto deleniti magni nulla possimus quaerat!
</div> </div>


<div class="col-5 col-lg-1"> <div class="col-12 col-lg-12 text-end ">
<br> <br>
<h6 class="card-subtitle mb-2 text-muted" title="{{date('d.m.Y', strtotime($nach->created_at))}}">{{ $nach->created_at->diffForHumans() }}</h6> <a class="btn btn-sm btn-ci" href="{{ route_content($nach) }}" onclick="gtag('event', 'See Job', {'event_category' : 'Home', 'event_label' : '{{$nach->title}}'});">

Mehr lesen
</div>
<div class="col-7 col-lg-2 text-end ">
<br>
<a class="btn btn-ci" href="{{ route_content($nach) }}"
onclick="gtag('event', 'See Job', {'event_category' : 'List: {{ $listModel->name }}', 'event_label' : '{{$nach->title}}'});"
>
Job ansehen

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/> <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" />
</svg> </svg>
</a> </a>

</div> </div>
</div> </div>




</div> </div>
</div> </div>
</div> </div>
@ -279,59 +98,5 @@




@section('scripts') @section('scripts')
<!--
<script>
function initMap() {
$.ajax({
url: '{{ route('location.list', $listModel->slug) }}',
type: "GET",
dataType: "json",
success: function (data) {
var dados = data.data;


if (dados.length != 0) {
const map = new google.maps.Map(document.getElementById("map-canvas"), {
zoom: 10,
//center: { lat: -25.363, lng: 131.044 },
});

var markers = data.lg;
var bounds = new google.maps.LatLngBounds();
for (var i = 0; i < markers.length; i++) {
bounds.extend(markers[i]);
}

google.maps.event.addListener(map, 'zoom_changed', function() {
zoomChangeBoundsListener =
google.maps.event.addListener(map, 'bounds_changed', function(event) {
if (this.getZoom() > 15 && this.initialZoom == true) {
// Change max/min zoom here
this.setZoom(15);
this.initialZoom = false;
}
google.maps.event.removeListener(zoomChangeBoundsListener);
});
});
map.initialZoom = true;
map.fitBounds(bounds);

$.each(dados, function(propName, propVal) {
var marker = new google.maps.Marker({
position: { lat: parseFloat(propVal.lat), lng: parseFloat(propVal.lng) },
map,
link: propVal.url,
});
new google.maps.event.addListener(marker, "click", function () {

window.open(this.link,"_blank");
});
});
}
}
});
}
</script>

<script src="https://maps.googleapis.com/maps/api/js?key={{ env('MAPS_API_KEY', 'AIzaSyAQj1N9Mj-OzOiUjt5QUDRkcDonXz4O85A') }}&callback=initMap&libraries=&v=weekly" defer></script>
-->
@stop @stop

View File

@ -12,126 +12,12 @@
></span> ></span>
<div class="container"> <div class="container">
<!-- Modal --> <!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Bewerbung: {{$nach->title}}</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<?php
$form = \App\Models\Form::find(1); // ID FORM DATABASE
?>
<style>
label{
padding-bottom: 4px;
}
</style>
<form method="post" action="{{ route('send-form', [$form->id]) }}" id="formPost" enctype="multipart/form-data">
@csrf
<input type="hidden" name="nach_title" value="{{ $nach->title }}" />
<input type="hidden" name="email_to" value="{{ $nach->user->email }}" />

<div class="form-group" style="margin-bottom: 25px; display: block;">
<label for="field8">Anrede: <span style="color: red">*</span></label>

<select class="form-select" aria-label="Anrede" id="field8" name="fields[8]">
<option selected disabled>Bitte wählen</option>
<option value="Herr">Herr</option>
<option value="Frau">Frau</option>
<option value="Divers">Divers</option>
<option value="keine Angabe">keine Angabe</option>
</select>
</div>

<div class="form-group" style="margin-bottom: 25px; display: block;">
<label for="field1">Vorname Nachname: <span style="color: red">*</span></label>
<input type="text" class="form-control" id="field1" name="fields[1]" placeholder="Max Mustermann" required>
</div>

<div class="form-group" style="margin-bottom: 25px; display: block;">
<label for="field7">E-Mail: <span style="color: red">*</span></label>
<br>
<input type="email" class="form-control" id="field7" name="fields[7]" placeholder="max.mustermann@example.de" required>
</div>

<div class="form-group" style="margin-bottom: 25px; display: block;">
<label for="field2">Telefon:</label>
<br>
<input type="tel" class="form-control phone" id="field2" name="fields[2]">
</div>

<div class="form-group" style="margin-bottom: 25px;">
<label for="field5">Möglichkeit zum Upload eines Lebenslaufs:</label>
<label for="field5" style="font-size: 11px; font-family: initial;">
Maximal 4MB. Dateiformate: .pdf, .doc, .txt, .doc, .jpg, .png.
</label>
<input type="file" name="fields[5]" id="field5" placeholder="Anhänge" style="height: 125px;border: 1px dashed #e7cf84;background-color: #fff3cd6b; padding-left: 30px; padding-top: 50px; width: 100%;">
</div>

<div class="form-group d-none">
<label for="field3">Job</label>
<input type="text" class="form-control" id="field3" name="fields[3]" required value="{{$nach->title}}">
</div>

<div class="form-group d-none">
<label for="field4">Firma</label>
<input type="text" class="form-control" id="field4" name="fields[4]" required value="{{$nach->user->name}}">
</div>

<div class="mb-3 form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1" required>
<label class="form-check-label" for="exampleCheck1" style="font-size: 11px; font-family: initial;">
Ich stimme zu, dass die oben erhobenen Daten verarbeitet und zur Weiterleitung an {{$nach->user->name}} genutzt werden dürfen.
Ich bestätige, dass ich mit den <a href="{{url('/datenschutz')}}" style="color:#f49c35; text-decoration: underline" target="_blank">Datenschutzerklärung</a> einverstanden bin.
Ich kann meine Einwilligung selbstverständlich jederzeit widerrufen.
</label>
</div>


<span style="color: red" style="font-size: 11px;">*</span> <i style="font-size: 11px; font-family: initial;">Pflichtfeld</i>








</div>
<div class="modal-footer">
<button type="submit" class="btn btn-ci">
Bewerbung abschicken <i class="fal fa-envelope"></i>
</button>




</div>

</form>

</div>
</div>
</div>


@if(session()->has('success'))
<br>
<br>
<div class="alert alert-success">
Bewerbung erfolgreich übermittelt!
</div>

<script>
fbq('track', 'SubmitApplication');
gtag('event', 'Application submitted', {'event_category' : '{{$nach->title}}'});
gtag('event', 'Application submitted', {'event_category' : '{{$nach->title}}', 'event_label' : '-'});


</script>
@endif

<div class="row" style="padding-top:20px;">
<div class="col-12 col-md-9 hidden-md text-center">{{$nach->user->name}} sucht zur Anstellung einen / eine:
<br>
</div>
</div>


<div class="row" style="padding-top:20px; padding-bottom: 20px;"> <div class="row" style="padding-top:20px; padding-bottom: 20px;">


@ -140,7 +26,6 @@






<img src="{{ $nach->user->gravatar() }}" class="rounded border img-fluid">




</div> </div>
@ -159,11 +44,7 @@


</div> </div>


<div class="col-6 text-end pr-10">


<i class="text-muted" style="padding-right: 50px;">Stellen-ID: {{$nach->id}}</i>

</div>
</div> </div>
<div class="row"> <div class="row">


@ -179,53 +60,9 @@


<br> <br>


<div class="row">







@if(isset($nach->additional_fields['14']))

<div class="col">
<h5>Branche</h5>

<?php $field = \App\Models\TypeField::find(14); ?>

@if ($field->attr['isMultiple'] == 0)

<div class="badge bg-secondary">
{!! isset($nach->additional_fields['14']) ? $nach->additional_fields['14'] : 'Not Found' !!}
</div>

@else
@foreach ($nach->additional_fields['14'] as $valueTag)

<div class="badge bg-secondary">{{ $valueTag }}</div>

@endforeach
@endif

</div>

@endif

<div class="col">
<h5>Beschäftigungsart</h5>
<div class="badge bg-secondary">{{ isset($nach->additional_fields['15']) ? $nach->additional_fields['15'] .' Stunden /' : '' }} {{ isset($nach->additional_fields['13']) ? $nach->additional_fields['13'] : 'unbestimmt' }}</div>

</div>

<div class="col-12">
<br>
<svg style="width: 14px; fill: #d0504f" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!-- Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --><path d="M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0z"/></svg>
@isset ($nach->additional_fields['20']['postalCode'])
{{ $nach->additional_fields['20']['postalCode'] }} {{ $nach->additional_fields['20']['addressLocality'] }}
@endisset
</div>

</div>


<style> <style>
h2 { h2 {
font-size: 1.4rem; font-size: 1.4rem;
@ -235,80 +72,17 @@
font-size: 0.9rem; font-size: 0.9rem;
} }
</style> </style>
<div class="row">


<div class="col-12">
<h2>Stellenbeschreibung</h2>
{!! isset($nach->additional_fields['17']) ? $nach->additional_fields['17'] : 'keine Angaben' !!}

</div>
<div class="col-12">
<h2>Ihre Qualifikationen</h2>
{!! isset($nach->additional_fields['16']) ? $nach->additional_fields['16'] : 'keine Angaben' !!}
</div>
<div class="col-12">
<h2>{{$nach->user->name}} als Arbeitgeber</h2>
{!! isset($nach->additional_fields['18']) ? $nach->additional_fields['18'] : 'keine Angaben' !!}
</div>
</div>


<br> <br>
<br> <br>


@if(isset($nach->additional_fields['26']))


<a class="btn btn-lg btn-ci" href="{{$nach->additional_fields['26']}}" target="_blank" <br>
onclick="gtag('event', 'redirect to external', {'event_category' : '{{$nach->title}}', 'event_label' : 'external'});"> <br>
Direkt beim Arbeitgeber bewerben <br>
<svg style="width: 11px; fill: black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --><path d="M440,256H424a8,8,0,0,0-8,8V464a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V112A16,16,0,0,1,48,96H248a8,8,0,0,0,8-8V72a8,8,0,0,0-8-8H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V264A8,8,0,0,0,440,256ZM500,0,364,.34a12,12,0,0,0-12,12v10a12,12,0,0,0,12,12L454,34l.7.71L131.51,357.86a12,12,0,0,0,0,17l5.66,5.66a12,12,0,0,0,17,0L477.29,57.34l.71.7-.34,90a12,12,0,0,0,12,12h10a12,12,0,0,0,12-12L512,12A12,12,0,0,0,500,0Z"/></svg> </div>
</a>


@else

<a class="btn btn-lg btn-ci" data-bs-toggle="modal" data-bs-target="#exampleModal"
onclick="gtag('event', 'show application form', {'event_category' : '{{$nach->title}}', 'event_label' : 'internal'});">
Jetzt online Bewerbung einreichen <i class="fal fa-edit"></i>
</a>

@endif
<br>
<br>
<br>
</div>
<div class="col-sm-3">
<div id="box-subscribe" style="position: sticky; ">
<div>
<div class="alert alert-warning">
<br>
<a class="text-dark" href="{{ route('author.get', [$nach->user->slug]) }}">
<img src="{{ $nach->user->gravatar() }}" class="rounded mx-auto d-block">
</a>
<br>
<div class="text-center">
<a href="{{ route('author.get', [$nach->user->slug]) }}">
Zum Arbeitgeberprofil <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>
</svg>
</a>
</div>
<br>
<br>
@if(isset($nach->additional_fields['26']))
<a class="btn btn-lg btn-ci d-block" href="{{$nach->additional_fields['26']}}" target="_blank"
onclick="gtag('event', 'redirect to external', {'event_category' : '{{$nach->title}}', 'event_label' : 'external'});">
Direkt beim Arbeitgeber bewerben
<svg style="width: 11px; fill: black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Pro 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --><path d="M440,256H424a8,8,0,0,0-8,8V464a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V112A16,16,0,0,1,48,96H248a8,8,0,0,0,8-8V72a8,8,0,0,0-8-8H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V264A8,8,0,0,0,440,256ZM500,0,364,.34a12,12,0,0,0-12,12v10a12,12,0,0,0,12,12L454,34l.7.71L131.51,357.86a12,12,0,0,0,0,17l5.66,5.66a12,12,0,0,0,17,0L477.29,57.34l.71.7-.34,90a12,12,0,0,0,12,12h10a12,12,0,0,0,12-12L512,12A12,12,0,0,0,500,0Z"/></svg>
</a>
@else
<a class="btn btn-lg btn-ci d-block" data-bs-toggle="modal" data-bs-target="#exampleModal"
onclick="gtag('event', 'show application form', {'event_category' : '{{$nach->title}}', 'event_label' : 'internal'});">
Jetzt online bewerben <i class="fal fa-edit"></i>
</a>
@endif
</div>
</div>
</div>
</div>
@if(App::environment('production')) @if(App::environment('production'))


<div class="row"> <div class="row">

View File

@ -514,7 +514,6 @@ body {
text-align: center; text-align: center;
display: inline-block; display: inline-block;
padding: 10px 20px; padding: 10px 20px;
margin-top: 15vh;
background-color: rgba(255, 255, 255, 0.7); background-color: rgba(255, 255, 255, 0.7);
background-position: center} background-position: center}



BIN
images/petra.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB