Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
b799e3f5
Commit
b799e3f5
authored
Feb 20, 2018
by
Karl Hasselbring
Browse files
Ergebnis Hoster wird jetzt zu jedem Ergebnis oben rechts angezeigt und ist verlinkt
parent
ec9f2f63
Changes
53
Hide whitespace changes
Inline
Side-by-side
app/Models/parserSkripte/Similar_product.php
View file @
b799e3f5
...
...
@@ -30,7 +30,7 @@ class Similar_product extends Searchengine
$link
,
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
displayName
,
$this
->
homepage
,
$this
->
counter
);
}
...
...
app/Models/parserSkripte/Similar_product_ads.php
View file @
b799e3f5
...
...
@@ -34,7 +34,7 @@ class Similar_product_ads extends Searchengine
$link
,
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
displayName
,
$this
->
homepage
,
$this
->
counter
);
}
...
...
app/Models/parserSkripte/Suchticker.php
View file @
b799e3f5
...
...
@@ -34,7 +34,7 @@ class Suchticker extends Searchengine
$link
,
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
displayName
,
$this
->
homepage
,
$this
->
counter
);
}
...
...
app/Models/parserSkripte/Tuhh.php
View file @
b799e3f5
...
...
@@ -40,7 +40,7 @@ class Tuhh extends Searchengine
$link
,
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
displayName
,
$this
->
homepage
,
$this
->
counter
);
$count
++
;
...
...
app/Models/parserSkripte/Wikipedia.php
View file @
b799e3f5
...
...
@@ -24,7 +24,7 @@ class Wikipedia extends Searchengine
$link
,
$result
[
3
],
$result
[
2
],
$this
->
gefVon
,
$this
->
displayName
,
$this
->
homepage
,
$counter
);
}
...
...
app/Models/parserSkripte/Witch.php
View file @
b799e3f5
...
...
@@ -37,7 +37,7 @@ class Witch extends Searchengine
$link
,
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
displayName
,
$this
->
homepage
,
$this
->
counter
);
}
...
...
app/Models/parserSkripte/Yacy.php
View file @
b799e3f5
...
...
@@ -36,7 +36,7 @@ class Yacy extends Searchengine
$link
,
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
displayName
,
$this
->
homepage
,
$this
->
counter
);
}
...
...
app/Models/parserSkripte/Yacyunih.php
View file @
b799e3f5
...
...
@@ -43,7 +43,7 @@ class Yacyunih extends Searchengine
$link
,
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
displayName
,
$this
->
homepage
,
$this
->
counter
);
$count
++
;
...
...
app/Models/parserSkripte/Yandex.php
View file @
b799e3f5
...
...
@@ -48,7 +48,7 @@ class Yandex extends Searchengine
$link
,
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
displayName
,
$this
->
homepage
,
$this
->
counter
);
}
...
...
app/Models/parserSkripte/Zeitde.php
View file @
b799e3f5
...
...
@@ -38,7 +38,7 @@ class Zeitde extends Searchengine
$link
,
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
displayName
,
$this
->
homepage
,
$this
->
counter
);
}
...
...
resources/assets/less/metager/result.less
View file @
b799e3f5
...
...
@@ -11,22 +11,30 @@
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);
.result-header {
.result-title {
margin: 0px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: @result-font-large;
a {
&,
&:active,
&:hover,
&:focus,
&:visited {
color: black;
text-decoration: none;
.result-headline {
display: flex;
justify-content: space-between;
.result-title {
margin: 0px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: @result-font-large;
a {
&,
&:active,
&:hover,
&:focus,
&:visited {
color: black;
text-decoration: none;
}
}
}
.result-hoster {
margin-left: 20px;
color: #808080;
}
}
.result-link {
display: block;
...
...
@@ -34,6 +42,7 @@
text-overflow: ellipsis;
white-space: nowrap;
font-size: @result-font-small;
width: fit-content;
&,
&:active,
&:hover,
...
...
@@ -142,7 +151,7 @@
& a:focus,
& a:visited {
font-size: @result-font-small;
color: #
555
;
color: #
808080
;
}
}
&>.remover {
...
...
resources/views/layouts/ad.blade.php
View file @
b799e3f5
@
if
(
isset
(
$ad
)
&&
!
$apiAuthorized
)
<
div
class
=
"result ad"
>
<
a
class
=
"ad-label"
href
=
"{!!
$ad->link
!!}"
target
=
"_blank"
rel
=
"noopener"
>
Werbung
von
{
!!
$ad
->
gefVon
!!
}
</
a
>
</
span
>
<
div
class
=
"result-header"
>
<
h2
class
=
"result-title"
>
<
a
href
=
"{{
$ad->link
}}"
target
=
"{{
$metager->getNewtab
() }}"
>
{{
$ad
->
titel
}}
</
a
>
</
h2
>
<
div
class
=
"result-headline"
>
<
h2
class
=
"result-title"
>
<
a
href
=
"{{
$ad->link
}}"
target
=
"{{
$metager->getNewtab
() }}"
>
{{
$ad
->
titel
}}
</
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
() }}"
>
{{
$ad
->
anzeigeLink
}}
</
a
>
...
...
resources/views/layouts/result.blade.php
View file @
b799e3f5
<div
class=
"result"
data-count=
"{{ $result->number }}"
>
<div
class=
"result-header"
>
<h2
class=
"result-title"
>
<a
href=
"{{ $result->link }}"
target=
"{{ $metager->getNewtab() }}"
rel=
"noopener"
>
{!! $result->titel !!}
</a>
</h2>
<div
class=
"result-headline"
>
<h2
class=
"result-title"
>
<a
href=
"{{ $result->link }}"
target=
"{{ $metager->getNewtab() }}"
rel=
"noopener"
>
{!! $result->titel !!}
</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"
>
{{ $result->anzeigeLink }}
</a>
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment