Spaces:
Running
Running
Commit
·
be3c2aa
1
Parent(s):
7211e4b
Update templates/index.html
Browse files- templates/index.html +14 -3
templates/index.html
CHANGED
@@ -56,6 +56,8 @@
|
|
56 |
border-width: 1px;
|
57 |
border-color: yellow;
|
58 |
margin-right: 3%;
|
|
|
|
|
59 |
}
|
60 |
|
61 |
.map-div {
|
@@ -63,8 +65,17 @@
|
|
63 |
border-style: solid;
|
64 |
border-width: 1px;
|
65 |
border-color: yellow;
|
|
|
|
|
|
|
|
|
66 |
}
|
67 |
|
|
|
|
|
|
|
|
|
|
|
68 |
a:hover {
|
69 |
background-color: yellow;
|
70 |
color: black;
|
@@ -85,12 +96,12 @@
|
|
85 |
<div class="outer-container">
|
86 |
<h1 style="color:rgb(83, 83, 83); font-family: 'Helvetica'; font-weight: 50; margin-bottom: 3%;"> a random unsecured camera</h1>
|
87 |
<div class="flex-container">
|
88 |
-
<img id="feed" class="feed" src="{{ url_for('proxy', url=url) }}"
|
89 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
90 |
|
91 |
-
<div class="map-div"
|
92 |
<div style="position: relative;">
|
93 |
-
<img id="map" src="{{ url_for('static', filename='map.png') }}"
|
94 |
<div class="dot" style="left: {{ X }}%; top: {{ Y }}%;"></div>
|
95 |
<div class="pulse" style="left: {{ X }}%; top: {{ Y }}%;"></div>
|
96 |
</div>
|
|
|
56 |
border-width: 1px;
|
57 |
border-color: yellow;
|
58 |
margin-right: 3%;
|
59 |
+
width: 50%;
|
60 |
+
height: 500px;
|
61 |
}
|
62 |
|
63 |
.map-div {
|
|
|
65 |
border-style: solid;
|
66 |
border-width: 1px;
|
67 |
border-color: yellow;
|
68 |
+
position: relative;
|
69 |
+
width: 90%;
|
70 |
+
height: 300px;
|
71 |
+
margin-bottom: 3%;
|
72 |
}
|
73 |
|
74 |
+
.map {
|
75 |
+
width: 100%;
|
76 |
+
height: 100%;
|
77 |
+
}
|
78 |
+
|
79 |
a:hover {
|
80 |
background-color: yellow;
|
81 |
color: black;
|
|
|
96 |
<div class="outer-container">
|
97 |
<h1 style="color:rgb(83, 83, 83); font-family: 'Helvetica'; font-weight: 50; margin-bottom: 3%;"> a random unsecured camera</h1>
|
98 |
<div class="flex-container">
|
99 |
+
<img id="feed" class="feed" src="{{ url_for('proxy', url=url) }}" />
|
100 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
101 |
|
102 |
+
<div class="map-div">
|
103 |
<div style="position: relative;">
|
104 |
+
<img id="map" src="{{ url_for('static', filename='map.png') }}" />
|
105 |
<div class="dot" style="left: {{ X }}%; top: {{ Y }}%;"></div>
|
106 |
<div class="pulse" style="left: {{ X }}%; top: {{ Y }}%;"></div>
|
107 |
</div>
|