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
43e1533c
Commit
43e1533c
authored
Jun 29, 2018
by
Karl Hasselbring
Browse files
Ergebnisaufbau geändert
parent
a3989aaa
Changes
3
Hide whitespace changes
Inline
Side-by-side
resources/assets/less/metager/result.less
View file @
43e1533c
...
...
@@ -50,10 +50,18 @@
}
}
}
.result
page
-body {
.result-body {
margin-top: 10px;
width: 90%;
display: flex;
text-align: justify;
.result-image {
& img {
height: 150px;
padding: 0px 10px;
max-width: 100%;
}
}
.result-description {
margin-bottom: 3px;
word-break: break-word;
...
...
@@ -79,11 +87,6 @@
border: solid 1px @result-description-img-border-color;
}
}
.result-image>img {
height: 100px;
padding: 10px;
max-width: 100%;
}
}
.result-footer {
margin-top: 10px;
...
...
resources/views/layouts/ad.blade.php
View file @
43e1533c
...
...
@@ -14,7 +14,7 @@
{{
$ad
->
anzeigeLink
}}
</
a
>
</
div
>
<
div
class
=
"result
page
-body"
>
<
div
class
=
"result-body"
>
<
div
class
=
"result-description"
>
{{
$ad
->
descr
}}
</
div
>
...
...
resources/views/layouts/result.blade.php
View file @
43e1533c
...
...
@@ -21,7 +21,7 @@
</span>
@endif
</div>
<div
class=
"result
page
-body"
>
<div
class=
"result-body"
>
@if( isset($result->logo) )
<div
class=
"result-logo"
>
<a
href=
"{{ $result->link }}"
target=
"{{ $metager->getNewtab() }}"
rel=
"noopener"
>
...
...
@@ -30,22 +30,20 @@
</div>
@endif
@if( $result->image !== "" )
<div
class=
"result-image
result-description
"
>
<div
class=
"result-image"
>
<a
href=
"{{ $result->link }}"
target=
"{{ $metager->getNewtab() }}"
rel=
"noopener"
>
<img
src=
"{{ $metager->getImageProxyLink($result->image) }}"
align=
"left"
width=
"120px"
height=
"60px"
alt=
""
/>
<img
src=
"{{ $metager->getImageProxyLink($result->image) }}"
alt=
""
/>
</a>
{!! $result->descr !!}
</div>
@endif
@if( $metager->getFokus() == "nachrichten" )
<div
class=
"result-description"
>
<span
class=
"date"
>
{{ isset($result->additionalInformation["date"])?date("Y-m-d H:i:s", $result->additionalInformation["date"]):"" }}
</span>
{{ $result->descr }}
</div>
@else
@if( $metager->getFokus() == "nachrichten" )
<div
class=
"result-description"
>
<span
class=
"date"
>
{{ isset($result->additionalInformation["date"])?date("Y-m-d H:i:s", $result->additionalInformation["date"]):"" }}
</span>
{{ $result->descr }}
</div>
@else
<div
class=
"result-description"
>
{{ $result->descr }}
</div>
@endif
<div
class=
"result-description"
>
{!! $result->descr !!}
</div>
@endif
</div>
<div
class=
"result-footer"
>
...
...
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