Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +5 -7
templates/index.html
CHANGED
@@ -264,9 +264,7 @@
|
|
264 |
owner: {{ owner }}<br>
|
265 |
ip: {{ ip }}<br>
|
266 |
lat, lon: {{ loc }}
|
267 |
-
</span><span id="show-more"><i style="margin-bottom:5px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i>(more)</span>
|
268 |
-
|
269 |
-
<span class="tag"><br>made by brayden moore<br></span>
|
270 |
|
271 |
</p>
|
272 |
|
@@ -316,7 +314,7 @@
|
|
316 |
feed.style.opacity = "0.5";
|
317 |
const infoDiv = document.getElementById("info");
|
318 |
const infoText = document.getElementById("info-text");
|
319 |
-
infoText.style.
|
320 |
|
321 |
const countryElement = document.getElementById("country");
|
322 |
|
@@ -377,7 +375,7 @@
|
|
377 |
feed.style.height = "50px";
|
378 |
feed.src = loadingGif;
|
379 |
feed.style.opacity = "0.5";
|
380 |
-
infoText.style.
|
381 |
locationName.textContent = "{{ page_title|safe }}";
|
382 |
console.log("Image loading failed:", event);
|
383 |
|
@@ -501,10 +499,10 @@
|
|
501 |
if (additionalInfo.style.height === '0px') {
|
502 |
const scrollHeight = additionalInfo.scrollHeight;
|
503 |
additionalInfo.style.height = `${scrollHeight}px`;
|
504 |
-
showMore.innerHTML = '<i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-up"></i>(less)';
|
505 |
} else {
|
506 |
additionalInfo.style.height = '0';
|
507 |
-
showMore.innerHTML = '<i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i>(more)';
|
508 |
}
|
509 |
});
|
510 |
});
|
|
|
264 |
owner: {{ owner }}<br>
|
265 |
ip: {{ ip }}<br>
|
266 |
lat, lon: {{ loc }}
|
267 |
+
</span><span id="show-more"><i style="margin-bottom:5px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i> (more)</span>
|
|
|
|
|
268 |
|
269 |
</p>
|
270 |
|
|
|
314 |
feed.style.opacity = "0.5";
|
315 |
const infoDiv = document.getElementById("info");
|
316 |
const infoText = document.getElementById("info-text");
|
317 |
+
infoText.style.opacity = "0%";
|
318 |
|
319 |
const countryElement = document.getElementById("country");
|
320 |
|
|
|
375 |
feed.style.height = "50px";
|
376 |
feed.src = loadingGif;
|
377 |
feed.style.opacity = "0.5";
|
378 |
+
infoText.style.opacity = "0%";
|
379 |
locationName.textContent = "{{ page_title|safe }}";
|
380 |
console.log("Image loading failed:", event);
|
381 |
|
|
|
499 |
if (additionalInfo.style.height === '0px') {
|
500 |
const scrollHeight = additionalInfo.scrollHeight;
|
501 |
additionalInfo.style.height = `${scrollHeight}px`;
|
502 |
+
showMore.innerHTML = '<i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-up"></i> (less)';
|
503 |
} else {
|
504 |
additionalInfo.style.height = '0';
|
505 |
+
showMore.innerHTML = '<i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i> (more)';
|
506 |
}
|
507 |
});
|
508 |
});
|