result.blade.php 2.9 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">
Dominik Hebeler's avatar
Dominik Hebeler committed
6
			<p class="title">
Dominik Hebeler's avatar
Dominik Hebeler committed
7
				<a class="title" href="{{ $result->link }}" target="{{ $metager->getTab() }}" data-hoster="{{ strip_tags($result->gefVon) }}" data-count="{{ $result->number }}">
Dominik Hebeler's avatar
Dominik Hebeler committed
8 9 10 11 12 13
				{{ $result->titel }}
				</a>
			</p>
			<div class="link">
				<div>
					<div class="link-link">
Dominik Hebeler's avatar
Dominik Hebeler committed
14
						<a href="{{ $result->link }}" target="{{ $metager->getTab() }}" data-hoster="{{ strip_tags($result->gefVon) }}" data-count="{{ $result->number }}">
Dominik Hebeler's avatar
Dominik Hebeler committed
15 16 17 18 19 20 21
						{{ $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>
22
							@endif
Dominik Hebeler's avatar
Dominik Hebeler committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
						</a>
						<div class="content hidden">
							<ul class="options-list list-unstyled">
								<li>
									<a href="{{ $metager->generateSiteSearchLink($result->strippedHost) }}">
										Suche auf dieser Domain neu starten
									</a>
								</li>
								<li>
									<a href="{{ $metager->generateRemovedHostLink($result->strippedHost) }}">
										{{ $result->strippedHost }} ausblenden
									</a>
								</li>
								@if( $result->strippedHost !== $result->strippedDomain )
								<li>
								<a href="{{ $metager->generateRemovedDomainLink($result->strippedDomain) }}">
								*.{{ $result->strippedDomain }} ausblenden
								</a>
								</li>
								@endif
							</ul>
						</div>
45 46
					</div>
				</div>
Dominik Hebeler's avatar
Dominik Hebeler committed
47 48 49
				<span class="hoster">
				von {!! $result->gefVon !!}
				</span>
50
				@if( isset($result->partnershop) && $result->partnershop === TRUE )
Dominik Hebeler's avatar
Dominik Hebeler committed
51 52
				<span class="partnershop-info">
				<img src="/img/boosticon.png" height="13" alt="Fehler">
53
				<a href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/spende") }}">Partnershop</a>
Dominik Hebeler's avatar
Dominik Hebeler committed
54 55 56 57 58 59
				</span>
				@endif
				<a class="proxy" onmouseover="$(this).popover('show');" onmouseout="$(this).popover('hide');" data-toggle="popover" data-placement="auto right" data-container="body" data-content="Der Link wird anonymisiert geöffnet. Ihre Daten werden nicht zum Zielserver übetragen. Möglicherweise funktionieren manche Webseiten nicht wie gewohnt." href="{{ $result->proxyLink }}" target="{{ $metager->getTab() }}">
					<img src="/img/proxyicon.png" alt="Proxy-Icon" />
					anonym öffnen
				</a>
60
			</div>
Dominik Hebeler's avatar
Dominik Hebeler committed
61 62 63 64 65 66
			@if( $result->image !== "" )
			<div class="description">
				<img src="{{ $metager->getImageProxyLink($result->image) }}" align="left" width="120px" height="60px" alt="" />
				{{ $result->descr }}
			</div>
			@else
Dominik Hebeler's avatar
Dominik Hebeler committed
67
			<div class="description">{{ $result->descr }}</div>
Dominik Hebeler's avatar
Dominik Hebeler committed
68
			@endif
69 70
		</div>
</div>