summaryrefslogtreecommitdiff
path: root/web/templates/conditions.html
blob: 5859a9ccf77beaa0d1e59aac319379a11a1a16a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Conditions - Live Feeds</title>
    <link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
    <link rel="stylesheet" href="/static/css/output.css">
    <style>
        body {
            background: #0a0a0a;
        }
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 4px;
            height: 100vh;
            padding: 4px;
        }
        .video-cell {
            position: relative;
            background: #111;
            overflow: hidden;
        }
        .video-cell iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        .video-label {
            position: absolute;
            bottom: 8px;
            left: 8px;
            background: rgba(0,0,0,0.7);
            color: rgba(255,255,255,0.8);
            padding: 4px 8px;
            font-size: 11px;
            border-radius: 4px;
            z-index: 10;
            pointer-events: none;
        }
        .back-link {
            position: fixed;
            top: 12px;
            left: 12px;
            background: rgba(0,0,0,0.7);
            color: rgba(255,255,255,0.7);
            padding: 8px 12px;
            font-size: 12px;
            border-radius: 6px;
            z-index: 100;
            text-decoration: none;
        }
        .back-link:hover {
            background: rgba(0,0,0,0.9);
            color: white;
        }
    </style>
</head>
<body>
    <a href="/" class="back-link">← Dashboard</a>

    <div class="video-grid">
        <!-- V1cam - Kilauea West Rim -->
        <div class="video-cell">
            <iframe
                src="https://www.youtube.com/embed/WTy3dGhGBOY?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0&loop=1"
                allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
                allowfullscreen>
            </iframe>
            <span class="video-label">V1cam - Kilauea West</span>
        </div>

        <!-- V2cam - Kilauea East Rim -->
        <div class="video-cell">
            <iframe
                src="https://www.youtube.com/embed/Gd2Tm5jblbE?autoplay=1&mute=1&controls=0&modestbranding=1&rel=0&loop=1"
                allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
                allowfullscreen>
            </iframe>
            <span class="video-label">V2cam - Kilauea East</span>
        </div>

        <!-- Local Weather - Windy Hawaii -->
        <div class="video-cell">
            <iframe
                src="https://embed.windy.com/embed2.html?lat=19.5&lon=-155.5&zoom=8&level=surface&overlay=rain&product=ecmwf&menu=&message=&marker=&calendar=now&pressure=&type=map&location=coordinates&detail=&metricWind=mph&metricTemp=%C2%B0F&radarRange=-1">
            </iframe>
            <span class="video-label">Local Weather</span>
        </div>

        <!-- National Weather - Windy US -->
        <div class="video-cell">
            <iframe
                src="https://embed.windy.com/embed2.html?lat=39&lon=-98&zoom=4&level=surface&overlay=rain&product=ecmwf&menu=&message=&marker=&calendar=now&pressure=&type=map&location=coordinates&detail=&metricWind=mph&metricTemp=%C2%B0F&radarRange=-1">
            </iframe>
            <span class="video-label">National Weather</span>
        </div>
    </div>
</body>
</html>