metager3bilder.blade.php 1.17 KB
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
1
2
3
@extends('layouts.resultPage')

@section('results')
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@if( sizeof($errors) > 0 )
		<div class="alert alert-danger">
			<ul>
				@foreach($errors as $error)
				<li>{!! $error !!}</li>
				@endforeach
			</ul>
		</div>
	@endif
	@if( sizeof($warnings) > 0)
		<div class="alert alert-warning">
			<ul>
				@foreach($warnings as $warning)
					<li>{!! $warning !!}</li>
				@endforeach
			</ul>
		</div>
	@endif
22
	<div id="container">
23
	@foreach($results as $result)
24
25
		<div class="item">
			<div class="img">
26
27
				<a href="{{ $result['link'] }}" target="{{ $metager->getTab() }}"><img src="{{ $metager->getImageProxyLink($result['image']) }}" width="150px" alt=""/></a>
				<span class="label label-default hostlabel">{!! $result['gefVon'] !!}</span>
28
			</div>
Dominik Hebeler's avatar
Dominik Hebeler committed
29
		</div>
30
	@endforeach
Dominik Hebeler's avatar
Dominik Hebeler committed
31
	</div>
32
33
	<nav aria-label="...">
		<ul class="pager">
34
		    <li @if($metager->getPage() === 1) class="disabled" @endif><a href="@if($metager->getPage() === 1) # @else javascript:history.back() @endif">{{ trans('results.zurueck') }}</a></li>
35
			<li @if($metager->nextSearchLink() === "#") class="disabled" @endif><a href="{{ $metager->nextSearchLink() }}">{{ trans('results.weiter') }}</a></li>
36
		</ul>
37
	</nav>
Dominik Hebeler's avatar
Dominik Hebeler committed
38
@endsection