Update templates/index.html
Browse files- templates/index.html +23 -0
templates/index.html
CHANGED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<title>Video Frame Receiver</title>
|
5 |
+
<style>
|
6 |
+
.container {
|
7 |
+
text-align: center;
|
8 |
+
margin-top: 20px;
|
9 |
+
}
|
10 |
+
img {
|
11 |
+
width: 320px; /* Matched with sender size */
|
12 |
+
height: 240px;
|
13 |
+
border: 1px solid #ccc;
|
14 |
+
}
|
15 |
+
</style>
|
16 |
+
</head>
|
17 |
+
<body>
|
18 |
+
<div class="container">
|
19 |
+
<h2>Received Video Feed</h2>
|
20 |
+
<img src="{{ url_for('video_feed') }}">
|
21 |
+
</div>
|
22 |
+
</body>
|
23 |
+
</html>
|