mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
Add image format and source information to display (#1567)
Add image format and source information to display - needs changes to engines to actually display something. Displays result.source (website from which the image was taken) and result.img_format (image type and size). Result is styled with result-format and result-source classes. See PR #1566 for an example of an engine which has the necessary changes. Strip <span class="highlight">...</span> in the oscar image template.
This commit is contained in:
parent
88261e111c
commit
e4e8e6da4c
18 changed files with 47 additions and 26 deletions
|
@ -27,7 +27,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.result-content {
|
||||
.result-content, .result-format, .result-source {
|
||||
margin-top: 2px;
|
||||
margin-bottom: 0;
|
||||
word-wrap: break-word;
|
||||
|
@ -41,6 +41,16 @@
|
|||
|
||||
}
|
||||
|
||||
.result-source {
|
||||
font-size: 10px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.result-format {
|
||||
font-size: 10px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.external-link {
|
||||
color: @dark-green;
|
||||
font-size: 12px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue