Spaces:
Runtime error
Runtime error
Create templates/index.html
Browse files- templates/index.html +22 -0
templates/index.html
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Camera Instagram Uploader</title>
|
| 7 |
+
<link rel="stylesheet" href="/static/css/style.css">
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
<span id="camera-icon">📷</span>
|
| 11 |
+
<video id="video" autoplay style="display: none;"></video>
|
| 12 |
+
<canvas id="canvas"></canvas>
|
| 13 |
+
<div id="button-container">
|
| 14 |
+
<button id="capture-btn" style="display: none;">Capture</button>
|
| 15 |
+
<button id="switch-btn" style="display: none;">Switch Camera</button>
|
| 16 |
+
<button id="retake-btn" style="display: none;">Retake</button>
|
| 17 |
+
<button id="upload-btn" style="display: none;">Upload to Instagram</button>
|
| 18 |
+
</div>
|
| 19 |
+
<div id="status">Click the camera icon to start.</div>
|
| 20 |
+
<script src="/static/js/script.js"></script>
|
| 21 |
+
</body>
|
| 22 |
+
</html>
|