RP_Search/app/templates/imageresults.html

451 lines
9.1 KiB
HTML
Raw Normal View History

2024-11-06 10:01:28 +00:00
<div>
<!-- <style>
html {
font-family:
Roboto,
Helvetica Neue,
Arial,
sans-serif;
font-size: 14px;
line-height: 20px;
text-size-adjust: 100%;
color: #3c4043;
word-wrap: break-word;
background-color: #fff;
}
body {
padding: 0 8px;
margin: 0 auto;
max-width: 900px;
}
a {
text-decoration: none;
color: inherit;
}
a:hover {
text-decoration: underline;
}
a img {
border: 0;
}
.FbhRzb {
border-left: thin solid #dadce0;
border-right: thin solid #dadce0;
border-top: thin solid #dadce0;
height: 40px;
overflow: hidden;
}
.n692Zd {
margin-bottom: 10px;
}
.cvifge {
height: 40px;
border-spacing: 0;
width: 100%;
}
.QvGUP {
height: 40px;
padding: 0 8px 0 8px;
vertical-align: top;
}
.O4cRJf {
height: 40px;
width: 100%;
padding: 0;
padding-right: 16px;
}
.O1ePr {
height: 40px;
padding: 0;
vertical-align: top;
}
.kgJEQe {
height: 36px;
width: 98px;
vertical-align: top;
margin-top: 4px;
}
.lXLRf {
vertical-align: top;
}
.MhzMZd {
border: 0;
vertical-align: middle;
font-size: 14px;
height: 40px;
padding: 0;
width: 100%;
padding-left: 16px;
}
.xB0fq {
height: 40px;
border: none;
font-size: 14px;
background-color: #4285f4;
color: #fff;
padding: 0 16px;
margin: 0;
vertical-align: top;
cursor: pointer;
}
.xB0fq:focus {
border: 1px solid #000;
}
.M7pB2 {
border: thin solid #dadce0;
margin: 0 0 3px 0;
font-size: 13px;
font-weight: 500;
height: 40px;
}
.euZec {
width: 100%;
height: 40px;
text-align: center;
border-spacing: 0;
}
table.euZec td {
padding: 0;
width: 25%;
}
.QIqI7 {
display: inline-block;
padding-top: 4px;
font-weight: bold;
color: #4285f4;
}
.EY24We {
border-bottom: 2px solid #4285f4;
}
.CsQyDc {
display: inline-block;
color: #70757a;
}
.TuS8Ad {
font-size: 14px;
}
.HddGcc {
padding: 8px;
color: #70757a;
}
.dzp8ae {
font-weight: bold;
color: #3c4043;
}
.rEM8G {
color: #70757a;
}
.bookcf {
table-layout: fixed;
width: 100%;
border-spacing: 0;
}
.InWNIe {
text-align: center;
}
.uZgmoc {
width: 350px;
display: flex;
border: none;
color: #70757a;
font-size: 14px;
text-align: center;
/* background-color: #29292987; */
border-radius: 8px;
margin: 35px auto;
padding: 10px;
justify-content: center;
}
.frGj1b {
margin: 10px;
font-size: 16px;
border: 1px solid;
border-radius: 10px;
padding: 10px 15px;
}
.BnJWBc {
text-align: center;
padding: 6px 0 13px 0;
height: 35px;
}
.X6ZCif {
color: #202124;
font-size: 11px;
line-height: 16px;
display: inline-block;
padding-top: 2px;
overflow: hidden;
padding-bottom: 4px;
width: 100%;
}
.TwVfHd {
border-radius: 16px;
border: thin solid #dadce0;
display: inline-block;
padding: 8px 8px;
margin-right: 8px;
margin-bottom: 4px;
}
.yekiAe {
background-color: #dadce0;
}
.svla5d {
width: 100%;
height: 100%;
background-color: #29292987;
border-radius: 10px;
margin: 10px 0;
display: grid;
margin: 0 auto;
padding: 10px 0;
}
.ezO2md {
border: thin solid #dadce0;
padding: 12px 16px 12px 16px;
margin-bottom: 10px;
font-family: Roboto, Helvetica, Arial, sans-serif;
}
.K35ahc {
width: 100%;
}
.owohpf {
text-align: center;
}
.fYyStc {
word-break: break-word;
text-align: center;
font-size: 16px;
padding: 0 0 10px 0;
}
.img_button {
padding: 10px;
margin: 0 auto 10px;
border: 1px solid #84dbff;
border-radius: 6px;
color: #3c4043;
background-color: #2e97c3;
}
.ynsChf {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.Fj3V3b {
color: #1967d2;
font-size: 14px;
line-height: 20px;
}
.FrIlee {
color: #202124;
font-size: 11px;
line-height: 16px;
}
.F9iS2e {
color: #70757a;
font-size: 11px;
line-height: 16px;
}
.WMQ2Le {
color: #70757a;
font-size: 12px;
line-height: 16px;
}
.x3G5ab {
color: #202124;
font-size: 12px;
line-height: 16px;
}
.fuLhoc {
color: #1967d2;
font-size: 18px;
line-height: 24px;
}
.epoveb {
font-size: 32px;
line-height: 40px;
font-weight: 400;
color: #202124;
}
.dXDvrc {
color: #0d652d;
font-size: 14px;
line-height: 20px;
word-wrap: break-word;
}
.dloBPe {
font-weight: bold;
}
.YVIcad {
color: #70757a;
}
.JkVVdd {
color: #ea4335;
}
.oXZRFd {
color: #ea4335;
}
.MQHtg {
color: #fbbc04;
}
.pyMRrb {
color: #1e8e3e;
}
.EtTZid {
color: #1e8e3e;
}
.M3vVJe {
color: #1967d2;
}
.NHQNef {
font-style: italic;
}
.Cb8Z7c {
white-space: pre;
}
a.ZWRArf {
text-decoration: none;
}
a .CVA68e:hover {
text-decoration: underline;
}
</style>
<style>
.results {
display: flex;
flex-wrap: wrap;
gap: 16px;
margin: 20px 0;
}
.result-item {
padding: 10px;
border-radius: 5px;
background-color: #29292987;
width: calc(33.333% - 16px);
box-sizing: border-box;
text-align: center;
}
.result-item img {
max-width: 100%;
height: auto;
border-radius: 5px;
}
.result-item p {
margin: 10px 0 0;
font-size: 14px;
}
.img-title {
color: var(--primary-grad3);
text-transform: uppercase;
}
.img-url {
color: var(--body-color);
}
.img-url:hover {
text-decoration: underline;
color: var(--grad2-active);
}
/* Stílusok a javaslatokhoz */
.suggestions {
margin: 20px 0;
padding: 10px;
background-color: #e9e9e9;
border: 1px solid #ccc;
border-radius: 5px;
}
/* Stílusok a lapozáshoz */
.pagination {
display: flex;
justify-content: center;
margin: 20px 0;
}
.pagination a {
margin: 0 5px;
padding: 10px 15px;
border: 1px solid #ddd;
background-color: #fff;
text-decoration: none;
color: #007bff;
border-radius: 5px;
}
.pagination a:hover {
background-color: #007bff;
color: #fff;
}
.e3goi {
padding: 10px;
width: 100%;
height: 160px;
}
.TxbwNb {
width: 100%;
height: 100%;
}
.RAyV4b {
width: 100%;
height: 130px;
display: flex;
justify-content: center;
align-items: center;
}
.t0fcAb {
scale: 1.8;
}
.Tor4Ec {
text-align: center;
width: 100%;
height: 20px;
display: block;
padding: 10px 0;
}
.qXLe6d {
font-size: 16px;
font-weight: bold;
}
</style> -->
<div class="results">
{% for result in results %}
<div class="result-item">
<a href="{{ result.web_page }}">
<img src="{{ result.img_tbn }}" alt="Image thumbnail">
</a>
<a href="{{ result.web_page }}"><p class="img-title">{{ result.domain }}</p></a>
<a href="{{ result.img_url }}"><p class="img-url">{{ result.img_url }}</p></a>
</div>
{% endfor %}
</div>
<div class="uZgmoc">
<!-- next page object -->
</div>
<br />
<div class="lIMUZd">
<div class="By0U9">
<!-- correction suggested -->
</div>
</div>
</div>