Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +7 -5
templates/index.html
CHANGED
@@ -110,7 +110,7 @@
|
|
110 |
margin: 0px;
|
111 |
margin-top: 20px;
|
112 |
font-weight: normal;
|
113 |
-
font-size:
|
114 |
}
|
115 |
.feed {
|
116 |
transition: opacity 0.3s ease;
|
@@ -165,6 +165,8 @@
|
|
165 |
font-size: 10pt;
|
166 |
padding: 5px;
|
167 |
border-radius: 0px;
|
|
|
|
|
168 |
}
|
169 |
.hoverButton:hover {
|
170 |
color: black;
|
@@ -243,7 +245,7 @@
|
|
243 |
|
244 |
|
245 |
<div class="info" id="info">
|
246 |
-
<h1 id="country" style="color:var(--text-color); margin-top: 10px; font-family: 'Andale Mono'; margin-bottom: 10px;">
|
247 |
<a href="{{ ip_link }}" target="_blank"> <h3 style="border-bottom: 1px solid white;" id="location-name">{{ page_title|safe }}</h3></a>
|
248 |
|
249 |
<div style="display: flex; margin-top: 22px; margin-bottom: 0%;">
|
@@ -328,7 +330,7 @@
|
|
328 |
if (xhr.getResponseHeader('Content-Type') === 'image/jpeg') {
|
329 |
img.src = newUrl + "?r=" + new Date().getTime();
|
330 |
if (firstLoad){
|
331 |
-
countryElement.textContent = "
|
332 |
}
|
333 |
isJpeg = true;
|
334 |
contentTypeChecked = true;
|
@@ -375,7 +377,7 @@
|
|
375 |
|
376 |
const urlParams = new URLSearchParams(window.location.search);
|
377 |
if (urlParams.get('new') === 'false') {
|
378 |
-
countryElement.textContent = "
|
379 |
}
|
380 |
else {
|
381 |
window.location.href = "?new=true";
|
@@ -428,7 +430,7 @@
|
|
428 |
const countryElement = document.getElementById("country");
|
429 |
|
430 |
if (urlParams.get('new') === 'false') {
|
431 |
-
countryElement.textContent = "
|
432 |
}
|
433 |
});
|
434 |
|
|
|
110 |
margin: 0px;
|
111 |
margin-top: 20px;
|
112 |
font-weight: normal;
|
113 |
+
font-size: 30pt;
|
114 |
}
|
115 |
.feed {
|
116 |
transition: opacity 0.3s ease;
|
|
|
165 |
font-size: 10pt;
|
166 |
padding: 5px;
|
167 |
border-radius: 0px;
|
168 |
+
border: 1px white solid;
|
169 |
+
background-color: black;
|
170 |
}
|
171 |
.hoverButton:hover {
|
172 |
color: black;
|
|
|
245 |
|
246 |
|
247 |
<div class="info" id="info">
|
248 |
+
<h1 id="country" style="color:var(--text-color); margin-top: 10px; font-family: 'Andale Mono'; margin-bottom: 10px;"> SEARCHING...</h1>
|
249 |
<a href="{{ ip_link }}" target="_blank"> <h3 style="border-bottom: 1px solid white;" id="location-name">{{ page_title|safe }}</h3></a>
|
250 |
|
251 |
<div style="display: flex; margin-top: 22px; margin-bottom: 0%;">
|
|
|
330 |
if (xhr.getResponseHeader('Content-Type') === 'image/jpeg') {
|
331 |
img.src = newUrl + "?r=" + new Date().getTime();
|
332 |
if (firstLoad){
|
333 |
+
countryElement.textContent = "CONNECTING...";
|
334 |
}
|
335 |
isJpeg = true;
|
336 |
contentTypeChecked = true;
|
|
|
377 |
|
378 |
const urlParams = new URLSearchParams(window.location.search);
|
379 |
if (urlParams.get('new') === 'false') {
|
380 |
+
countryElement.textContent = "COULDN'T CONNECT.";
|
381 |
}
|
382 |
else {
|
383 |
window.location.href = "?new=true";
|
|
|
430 |
const countryElement = document.getElementById("country");
|
431 |
|
432 |
if (urlParams.get('new') === 'false') {
|
433 |
+
countryElement.textContent = "CONNECTING...";
|
434 |
}
|
435 |
});
|
436 |
|