BraydenMoore commited on
Commit
90523aa
·
1 Parent(s): 7d707d2

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +4 -4
templates/index.html CHANGED
@@ -5,7 +5,7 @@
5
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
6
  <link rel="preload" href="{{ url_for('static', filename='eye.gif') }}" as="image">
7
  <link rel="icon" type="image/png" href="https://i.ibb.co/gvKPXJD/eye.gif">
8
- <title>{{ page_title }}</title>
9
  <style>
10
  body {
11
  justify-content: center;
@@ -211,7 +211,7 @@
211
 
212
  <div class="info" id="info">
213
  <h1 id="country" style="color:rgb(53, 53, 53); margin-top: 10px; font-family: 'Helvetica'; font-weight: 50; margin-bottom: 10px;"> searching...</h1>
214
- <a href="{{ ip_link }}" target="_blank"> <h3 style="border-bottom: 2px solid yellow;" id="location-name">{{ page_title }}</h3></a>
215
 
216
  <div style="display: flex; margin-top: 22px; margin-bottom: 0%;">
217
  <a href="?new=true" style="margin-right: 10px; display: inline-block;">
@@ -278,7 +278,7 @@
278
  infoText.style.opacity = "0";
279
 
280
  const locationName = document.getElementById('location-name');
281
- locationName.textContent = "{{ page_title }}";
282
 
283
  const newUrl = decodeURIComponent("{{ url|safe }}");
284
 
@@ -306,7 +306,7 @@
306
  old = newUrl;
307
  setTimeout(() => {
308
  feed.src = this.src;
309
- locationName.textContent = "{{ name }}";
310
  feed.style.width = "100%";
311
  feed.style.height = "70%";
312
  feed.style.opacity = "1";
 
5
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
6
  <link rel="preload" href="{{ url_for('static', filename='eye.gif') }}" as="image">
7
  <link rel="icon" type="image/png" href="https://i.ibb.co/gvKPXJD/eye.gif">
8
+ <title>{{ page_title|safe }}</title>
9
  <style>
10
  body {
11
  justify-content: center;
 
211
 
212
  <div class="info" id="info">
213
  <h1 id="country" style="color:rgb(53, 53, 53); margin-top: 10px; font-family: 'Helvetica'; font-weight: 50; margin-bottom: 10px;"> searching...</h1>
214
+ <a href="{{ ip_link }}" target="_blank"> <h3 style="border-bottom: 2px solid yellow;" id="location-name">{{ page_title|safe }}</h3></a>
215
 
216
  <div style="display: flex; margin-top: 22px; margin-bottom: 0%;">
217
  <a href="?new=true" style="margin-right: 10px; display: inline-block;">
 
278
  infoText.style.opacity = "0";
279
 
280
  const locationName = document.getElementById('location-name');
281
+ locationName.textContent = "{{ page_title|safe }}";
282
 
283
  const newUrl = decodeURIComponent("{{ url|safe }}");
284
 
 
306
  old = newUrl;
307
  setTimeout(() => {
308
  feed.src = this.src;
309
+ locationName.textContent = "{{ name|safe }}";
310
  feed.style.width = "100%";
311
  feed.style.height = "70%";
312
  feed.style.opacity = "1";