-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
130 lines (115 loc) · 3.09 KB
/
index.html
File metadata and controls
130 lines (115 loc) · 3.09 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>GalleryBot Live Stream</title>
<style>
body {
margin: 0;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
background-color: #f9f9fb;
color: #333;
display: flex;
flex-direction: column;
align-items: center;
padding: 40px 20px;
}
h1 {
font-size: 2.5rem;
color: #1e1e2f;
margin-bottom: 30px;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 40px;
max-width: 1200px;
width: 100%;
}
.text-box {
flex: 1 1 400px;
background-color: #ffffff;
padding: 30px;
border-radius: 16px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
font-size: 1.05rem;
line-height: 1.7;
}
.text-box strong {
color: #444;
}
.text-box ul {
margin: 10px 0;
padding-left: 20px;
}
.video-container {
flex: 0 1 auto;
background: #fff;
padding: 20px;
border-radius: 16px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
img {
width: 100%;
max-width: 640px;
height: auto;
border-radius: 12px;
border: 2px solid #ddd;
}
footer {
margin-top: 60px;
font-size: 0.9rem;
color: #777;
}
@media (max-width: 768px) {
h1 {
font-size: 2rem;
}
.container {
flex-direction: column;
align-items: center;
gap: 20px;
}
.video-container,
.text-box {
width: 100%;
max-width: 100%;
}
}
</style>
<meta http-equiv="refresh" content="5">
</head>
<body>
<h1>🎨 Live GalleryBot Stream</h1>
<div class="container">
<div class="text-box">
<p>
<strong>You said:</strong><br>
{{ spoke.user }}<br><br>
<strong>The bot said:</strong><br>
{{ spoke.response }}<br><br>
<strong>Been to:</strong>
<ul>
{% for work in spoke.been_to %}
<li>{{ work }}</li>
{% endfor %}
</ul><br>
<strong>Going to:</strong>
<ul>
{% for work in spoke.going_to %}
<li>{{ work }}</li>
{% endfor %}
</ul>
</p>
</div>
<div class="video-container">
<img src="{{ url_for('video') }}" alt="Live Stream">
</div>
</div>
<footer>
© 2025 GalleryBot — Powered by Raspberry Pi & OpenAI
</footer>
</body>
</html>
</html>