Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +15 -14
templates/index.html
CHANGED
@@ -168,6 +168,7 @@
|
|
168 |
font-size: 10pt;
|
169 |
border-radius: 0px;
|
170 |
border-bottom: 1px white solid;
|
|
|
171 |
background-color: black;
|
172 |
|
173 |
}
|
@@ -255,18 +256,6 @@
|
|
255 |
<div class="info" id="info">
|
256 |
<h1 id="country" style="color:var(--text-color); margin-top: 10px; font-family: 'Andale Mono'; margin-bottom: 2px;"> searching...</h1>
|
257 |
<a href="{{ ip_link }}" target="_blank"> <h3 id="location-name">{{ page_title|safe }}</h3></a>
|
258 |
-
|
259 |
-
<p id="info-text" style="color:var(--text-color); font-family: 'Andale Mono';">
|
260 |
-
|
261 |
-
time: <span id="time"></span><br>
|
262 |
-
|
263 |
-
<span id="additional-info">
|
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 |
|
271 |
<div style="display: flex; margin-top: 0px; margin-bottom: 0%;">
|
272 |
|
@@ -285,6 +274,18 @@
|
|
285 |
<i id="share" class="fa-solid fa-link" data-id="{{ id }}"></i>
|
286 |
<p id="copied" class="tag" style="visibility: hidden;">copied</p>
|
287 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
|
289 |
|
290 |
<!--
|
@@ -499,10 +500,10 @@
|
|
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 |
});
|
|
|
168 |
font-size: 10pt;
|
169 |
border-radius: 0px;
|
170 |
border-bottom: 1px white solid;
|
171 |
+
border-right: 1px white solid;
|
172 |
background-color: black;
|
173 |
|
174 |
}
|
|
|
256 |
<div class="info" id="info">
|
257 |
<h1 id="country" style="color:var(--text-color); margin-top: 10px; font-family: 'Andale Mono'; margin-bottom: 2px;"> searching...</h1>
|
258 |
<a href="{{ ip_link }}" target="_blank"> <h3 id="location-name">{{ page_title|safe }}</h3></a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
259 |
|
260 |
<div style="display: flex; margin-top: 0px; margin-bottom: 0%;">
|
261 |
|
|
|
274 |
<i id="share" class="fa-solid fa-link" data-id="{{ id }}"></i>
|
275 |
<p id="copied" class="tag" style="visibility: hidden;">copied</p>
|
276 |
</div>
|
277 |
+
|
278 |
+
<p id="info-text" style="color:var(--text-color); font-family: 'Andale Mono';">
|
279 |
+
|
280 |
+
time: <span id="time"></span><br>
|
281 |
+
|
282 |
+
<span id="additional-info">
|
283 |
+
owner: {{ owner }}<br>
|
284 |
+
ip: {{ ip }}<br>
|
285 |
+
lat, lon: {{ loc }}
|
286 |
+
</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>
|
287 |
+
|
288 |
+
</p>
|
289 |
|
290 |
|
291 |
<!--
|
|
|
500 |
if (additionalInfo.style.height === '0px') {
|
501 |
const scrollHeight = additionalInfo.scrollHeight;
|
502 |
additionalInfo.style.height = `${scrollHeight}px`;
|
503 |
+
showMore.innerHTML = ' <i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-up"></i> (less)';
|
504 |
} else {
|
505 |
additionalInfo.style.height = '0';
|
506 |
+
showMore.innerHTML = ' <i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i> (more)';
|
507 |
}
|
508 |
});
|
509 |
});
|