BraydenMoore commited on
Commit
f0d739b
1 Parent(s): be3d5f6

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -19
templates/index.html CHANGED
@@ -2,11 +2,12 @@
2
  <html>
3
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
4
  <head>
 
 
5
  <link rel="icon" type="image/png" href="https://images.squarespace-cdn.com/content/v1/64790f5777b5d772678cce83/6d71eaee-f825-4324-be9b-2def32469eac/Untitled+drawing+%2811%29.png?format=100w">
6
  <title>a random unsecured camera</title>
7
  <style>
8
  body {
9
- transition: 0.3s;
10
  justify-content: left;
11
  background-color: black;
12
  padding-top: 3%;
@@ -68,15 +69,6 @@
68
  height: 65vh;
69
  }
70
 
71
- .map-div {
72
- padding: 1%;
73
- position: relative;
74
- width: 100%;
75
- height: 50%;
76
- margin-top: 3%;
77
- margin-bottom: 3%;
78
- box-sizing: border-box;
79
- }
80
 
81
  .map {
82
  width: 100%;
@@ -177,15 +169,6 @@
177
 
178
 
179
  <script>
180
- // document.addEventListener("DOMContentLoaded", function() {
181
- // const feed = document.getElementById("feed");
182
- // feed.src = "{{ url_for('static', filename='loading.gif') }}"
183
- // setTimeout(function() {
184
- // const newUrl = "{{ url }}";
185
- // feed.src = newUrl;
186
- // });
187
- // });
188
-
189
 
190
  document.addEventListener("DOMContentLoaded", function() {
191
  const feed = document.getElementById("feed");
 
2
  <html>
3
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
4
  <head>
5
+ <link rel="preload" href="{{ url_for('static', filename='map_populated.png') }}" as="image">
6
+ <link rel="preload" href="{{ url_for('static', filename='loading.gif') }}" as="image">
7
  <link rel="icon" type="image/png" href="https://images.squarespace-cdn.com/content/v1/64790f5777b5d772678cce83/6d71eaee-f825-4324-be9b-2def32469eac/Untitled+drawing+%2811%29.png?format=100w">
8
  <title>a random unsecured camera</title>
9
  <style>
10
  body {
 
11
  justify-content: left;
12
  background-color: black;
13
  padding-top: 3%;
 
69
  height: 65vh;
70
  }
71
 
 
 
 
 
 
 
 
 
 
72
 
73
  .map {
74
  width: 100%;
 
169
 
170
 
171
  <script>
 
 
 
 
 
 
 
 
 
172
 
173
  document.addEventListener("DOMContentLoaded", function() {
174
  const feed = document.getElementById("feed");