Spaces:
Running
Running
Commit
·
1cddda2
1
Parent(s):
b6d5f4b
Update templates/index.html
Browse files- templates/index.html +9 -2
templates/index.html
CHANGED
@@ -170,7 +170,7 @@
|
|
170 |
</a>
|
171 |
</div>
|
172 |
|
173 |
-
<p style="color:rgb(83, 83, 83); font-family: 'Helvetica'; font-weight: 50;">
|
174 |
owner: {{ owner }}<br>
|
175 |
ip: {{ ip }}<br>
|
176 |
lat, lon: {{ loc }}<br>
|
@@ -203,7 +203,10 @@
|
|
203 |
feed.style.height = "100px";
|
204 |
feed.src = loadingGif;
|
205 |
feed.style.opacity = "0.5";
|
206 |
-
|
|
|
|
|
|
|
207 |
const country = document.getElementById("country");
|
208 |
|
209 |
const newUrl = "{{ url }}";
|
@@ -230,6 +233,10 @@
|
|
230 |
feed.style.width = "100%";
|
231 |
feed.style.height = "100%";
|
232 |
feed.style.opacity = "1";
|
|
|
|
|
|
|
|
|
233 |
setTimeout(refreshImage, 1000);
|
234 |
country.textContent = "{{ country }}"
|
235 |
};
|
|
|
170 |
</a>
|
171 |
</div>
|
172 |
|
173 |
+
<p id="info-text" style="color:rgb(83, 83, 83); font-family: 'Helvetica'; font-weight: 50;">
|
174 |
owner: {{ owner }}<br>
|
175 |
ip: {{ ip }}<br>
|
176 |
lat, lon: {{ loc }}<br>
|
|
|
203 |
feed.style.height = "100px";
|
204 |
feed.src = loadingGif;
|
205 |
feed.style.opacity = "0.5";
|
206 |
+
|
207 |
+
const infoText = document.getElementById("info-text");
|
208 |
+
infoText.style.opacity = "0";
|
209 |
+
|
210 |
const country = document.getElementById("country");
|
211 |
|
212 |
const newUrl = "{{ url }}";
|
|
|
233 |
feed.style.width = "100%";
|
234 |
feed.style.height = "100%";
|
235 |
feed.style.opacity = "1";
|
236 |
+
|
237 |
+
const infoText = document.getElementById("info-text");
|
238 |
+
infoText.style.opacity = "1";
|
239 |
+
|
240 |
setTimeout(refreshImage, 1000);
|
241 |
country.textContent = "{{ country }}"
|
242 |
};
|