result.blade.php 3.55 KB
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
1
<div class="result row">
Dominik Hebeler's avatar
Dominik Hebeler committed
2 3 4
		<div class="number col-sm-1 hidden-xs" style="color:{{ $result->color }}">
			{{ $result->number }})
		</div>
Dominik Hebeler's avatar
Dominik Hebeler committed
5
		<div class="resultInformation col-xs-12 col-sm-11">
6
			<div class="col-xs-10 col-sm-11" style="padding:0; ">
Dominik Hebeler's avatar
Dominik Hebeler committed
7
			<p class="title">
8
				<a class="title" href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" data-hoster="{{ strip_tags($result->gefVon) }}" data-count="{{ $result->number }}"  rel="noopener">
Dominik Hebeler's avatar
Dominik Hebeler committed
9 10 11 12 13 14
				{{ $result->titel }}
				</a>
			</p>
			<div class="link">
				<div>
					<div class="link-link">
15
						<a href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" data-hoster="{{ strip_tags($result->gefVon) }}" data-count="{{ $result->number }}" rel="noopener">
Dominik Hebeler's avatar
Dominik Hebeler committed
16 17 18 19 20 21 22
						{{ $result->anzeigeLink }}
						</a>
					</div>
					<div class="options">
						<a tabindex="0" data-toggle="popover" data-trigger="focus" data-placement="auto bottom" data-container="body" data-html="true" data-title="<span class='glyphicon glyphicon-cog'></span> Optionen">
							@if(strlen($metager->getSite()) === 0)
							<span class="glyphicon glyphicon-triangle-bottom"></span>
23
							@endif
Dominik Hebeler's avatar
Dominik Hebeler committed
24 25
						</a>
						<div class="content hidden">
Phil Höfer's avatar
Phil Höfer committed
26
							<ul class="options-list list-unstyled small">
Dominik Hebeler's avatar
Dominik Hebeler committed
27 28
								<li>
									<a href="{{ $metager->generateSiteSearchLink($result->strippedHost) }}">
29
										{!! trans('result.options.1') !!}
Dominik Hebeler's avatar
Dominik Hebeler committed
30 31 32 33
									</a>
								</li>
								<li>
									<a href="{{ $metager->generateRemovedHostLink($result->strippedHost) }}">
34
										{!! trans('result.options.2', ['host' => $result->strippedHost]) !!}
Dominik Hebeler's avatar
Dominik Hebeler committed
35 36 37 38 39
									</a>
								</li>
								@if( $result->strippedHost !== $result->strippedDomain )
								<li>
								<a href="{{ $metager->generateRemovedDomainLink($result->strippedDomain) }}">
40
									{!! trans('result.options.3', ['domain' => $result->strippedDomain]) !!}
Dominik Hebeler's avatar
Dominik Hebeler committed
41 42 43 44 45
								</a>
								</li>
								@endif
							</ul>
						</div>
46 47
					</div>
				</div>
Dominik Hebeler's avatar
Dominik Hebeler committed
48 49 50
				<span class="hoster">
				von {!! $result->gefVon !!}
				</span>
51
				@if( isset($result->partnershop) && $result->partnershop === TRUE )
Dominik Hebeler's avatar
Dominik Hebeler committed
52
				<span class="partnershop-info">
53
				<img src="/img/boosticon.png" height="13" alt="">
54
				<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/partnershops") }}" target="_blank" rel="noopener">{!! trans('result.options.4') !!}</a>
Dominik Hebeler's avatar
Dominik Hebeler committed
55 56
				</span>
				@endif
57
				<a class="proxy" onmouseover="$(this).popover('show');" onmouseout="$(this).popover('hide');" data-toggle="popover" data-placement="auto right" data-container="body" data-content="@lang('result.proxytext')" href="{{ $result->proxyLink }}" target="{{ $metager->getNewtab() }}" rel="noopener">
58
					<img src="/img/proxyicon.png" alt="" />
59
					{!! trans('result.options.5') !!}
Dominik Hebeler's avatar
Dominik Hebeler committed
60
				</a>
61
			</div>
62 63 64
			</div>
			@if( isset($result->logo) )
			<div class="col-xs-2 col-sm-1" style="padding: 0;">
65
				<a href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" data-hoster="{{ strip_tags($result->gefVon) }}" data-count="{{ $result->number }}">
66 67 68 69
				    <img src="{{ $metager->getImageProxyLink($result->logo) }}" alt="" />
				</a>
			</div>
			@endif
Dominik Hebeler's avatar
Dominik Hebeler committed
70 71
			@if( $result->image !== "" )
			<div class="description">
72
			    <a href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" data-hoster="{{ strip_tags($result->gefVon) }}" data-count="{{ $result->number }}"  rel="noopener">
Dominik Hebeler's avatar
Dominik Hebeler committed
73 74
				    <img src="{{ $metager->getImageProxyLink($result->image) }}" align="left" width="120px" height="60px" alt="" />
				</a>
75
				{!! $result->descr !!}
Dominik Hebeler's avatar
Dominik Hebeler committed
76 77
			</div>
			@else
Dominik Hebeler's avatar
Dominik Hebeler committed
78
			<div class="description">{{ $result->descr }}</div>
Dominik Hebeler's avatar
Dominik Hebeler committed
79
			@endif
80
		</div>
81
</div>