Commit b799e3f5 authored by Karl Hasselbring's avatar Karl Hasselbring
Browse files

Ergebnis Hoster wird jetzt zu jedem Ergebnis oben rechts angezeigt und ist verlinkt

parent ec9f2f63
...@@ -30,7 +30,7 @@ class Similar_product extends Searchengine ...@@ -30,7 +30,7 @@ class Similar_product extends Searchengine
$link, $link,
$anzeigeLink, $anzeigeLink,
$descr, $descr,
$this->gefVon, $this->displayName,$this->homepage,
$this->counter $this->counter
); );
} }
......
...@@ -34,7 +34,7 @@ class Similar_product_ads extends Searchengine ...@@ -34,7 +34,7 @@ class Similar_product_ads extends Searchengine
$link, $link,
$anzeigeLink, $anzeigeLink,
$descr, $descr,
$this->gefVon, $this->displayName,$this->homepage,
$this->counter $this->counter
); );
} }
......
...@@ -34,7 +34,7 @@ class Suchticker extends Searchengine ...@@ -34,7 +34,7 @@ class Suchticker extends Searchengine
$link, $link,
$anzeigeLink, $anzeigeLink,
$descr, $descr,
$this->gefVon, $this->displayName,$this->homepage,
$this->counter $this->counter
); );
} }
......
...@@ -40,7 +40,7 @@ class Tuhh extends Searchengine ...@@ -40,7 +40,7 @@ class Tuhh extends Searchengine
$link, $link,
$anzeigeLink, $anzeigeLink,
$descr, $descr,
$this->gefVon, $this->displayName,$this->homepage,
$this->counter $this->counter
); );
$count++; $count++;
......
...@@ -24,7 +24,7 @@ class Wikipedia extends Searchengine ...@@ -24,7 +24,7 @@ class Wikipedia extends Searchengine
$link, $link,
$result[3], $result[3],
$result[2], $result[2],
$this->gefVon, $this->displayName,$this->homepage,
$counter $counter
); );
} }
......
...@@ -37,7 +37,7 @@ class Witch extends Searchengine ...@@ -37,7 +37,7 @@ class Witch extends Searchengine
$link, $link,
$anzeigeLink, $anzeigeLink,
$descr, $descr,
$this->gefVon, $this->displayName,$this->homepage,
$this->counter $this->counter
); );
} }
......
...@@ -36,7 +36,7 @@ class Yacy extends Searchengine ...@@ -36,7 +36,7 @@ class Yacy extends Searchengine
$link, $link,
$anzeigeLink, $anzeigeLink,
$descr, $descr,
$this->gefVon, $this->displayName,$this->homepage,
$this->counter $this->counter
); );
} }
......
...@@ -43,7 +43,7 @@ class Yacyunih extends Searchengine ...@@ -43,7 +43,7 @@ class Yacyunih extends Searchengine
$link, $link,
$anzeigeLink, $anzeigeLink,
$descr, $descr,
$this->gefVon, $this->displayName,$this->homepage,
$this->counter $this->counter
); );
$count++; $count++;
......
...@@ -48,7 +48,7 @@ class Yandex extends Searchengine ...@@ -48,7 +48,7 @@ class Yandex extends Searchengine
$link, $link,
$anzeigeLink, $anzeigeLink,
$descr, $descr,
$this->gefVon, $this->displayName,$this->homepage,
$this->counter $this->counter
); );
} }
......
...@@ -38,7 +38,7 @@ class Zeitde extends Searchengine ...@@ -38,7 +38,7 @@ class Zeitde extends Searchengine
$link, $link,
$anzeigeLink, $anzeigeLink,
$descr, $descr,
$this->gefVon, $this->displayName,$this->homepage,
$this->counter $this->counter
); );
} }
......
...@@ -11,22 +11,30 @@ ...@@ -11,22 +11,30 @@
background-color: white; background-color: white;
box-shadow: 0px 1px 1.5px 0px rgba(0, 0, 0, 0.12), 1px 0px 1px 0px rgba(0, 0, 0, 0.24); box-shadow: 0px 1px 1.5px 0px rgba(0, 0, 0, 0.12), 1px 0px 1px 0px rgba(0, 0, 0, 0.24);
.result-header { .result-header {
.result-title { .result-headline {
margin: 0px; display: flex;
overflow: hidden; justify-content: space-between;
text-overflow: ellipsis; .result-title {
white-space: nowrap; margin: 0px;
font-size: @result-font-large; overflow: hidden;
a { text-overflow: ellipsis;
&, white-space: nowrap;
&:active, font-size: @result-font-large;
&:hover, a {
&:focus, &,
&:visited { &:active,
color: black; &:hover,
text-decoration: none; &:focus,
&:visited {
color: black;
text-decoration: none;
}
} }
} }
.result-hoster {
margin-left: 20px;
color: #808080;
}
} }
.result-link { .result-link {
display: block; display: block;
...@@ -34,6 +42,7 @@ ...@@ -34,6 +42,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-size: @result-font-small; font-size: @result-font-small;
width: fit-content;
&, &,
&:active, &:active,
&:hover, &:hover,
...@@ -142,7 +151,7 @@ ...@@ -142,7 +151,7 @@
& a:focus, & a:focus,
& a:visited { & a:visited {
font-size: @result-font-small; font-size: @result-font-small;
color: #555; color: #808080;
} }
} }
&>.remover { &>.remover {
......
@if(isset($ad) && !$apiAuthorized) @if(isset($ad) && !$apiAuthorized)
<div class="result ad"> <div class="result ad">
<a class="ad-label" href="{!! $ad->link !!}" target="_blank" rel="noopener">Werbung von {!! $ad->gefVon !!}</a>
</span> </span>
<div class="result-header"> <div class="result-header">
<h2 class="result-title"> <div class="result-headline">
<a href="{{ $ad->link }}" target="{{ $metager->getNewtab() }}"> <h2 class="result-title">
{{ $ad->titel }} <a href="{{ $ad->link }}" target="{{ $metager->getNewtab() }}">
</a> {{ $ad->titel }}
</h2> </a>
</h2>
<a class="ad-label" href="{!! $ad->link !!}" target="_blank" rel="noopener">Werbung von {!! $ad->gefVon !!}</a>
</div>
<a class="result-link" href="{{ $ad->link }}" target="{{ $metager->getNewtab() }}"> <a class="result-link" href="{{ $ad->link }}" target="{{ $metager->getNewtab() }}">
{{ $ad->anzeigeLink }} {{ $ad->anzeigeLink }}
</a> </a>
......
<div class="result" data-count="{{ $result->number }}"> <div class="result" data-count="{{ $result->number }}">
<div class="result-header"> <div class="result-header">
<h2 class="result-title"> <div class="result-headline">
<a href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" rel="noopener"> <h2 class="result-title">
{!! $result->titel !!} <a href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" rel="noopener">
</a> {!! $result->titel !!}
</h2> </a>
</h2>
<a class="result-hoster" href="{{ $result->gefVonLink }}" target="{{ $metager->getNewtab() }}" rel="noopener">{{ $result->gefVon }}</a>
</div>
<a class="result-link" href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" rel="noopener"> <a class="result-link" href="{{ $result->link }}" target="{{ $metager->getNewtab() }}" rel="noopener">
{{ $result->anzeigeLink }} {{ $result->anzeigeLink }}
</a> </a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment