birdcount / templates /index.html
pyresearch's picture
Upload 6 files
4aadcb7 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Birds Count</title>
<style>
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.header, .footer {
background-color: #216d7c;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
box-sizing: border-box;
}
.header-content {
display: flex;
align-items: center;
}
.content {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
img {
max-width: 100%;
height: auto;
}
.logo {
height: 40px;
margin-right: 10px;
}
.header-text {
font-size: 24px;
font-weight: bold;
color: white;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: center;
}
.footer-text {
color: white;
margin-bottom: 10px;
}
.social-links img {
height: 24px;
margin: 0 5px;
}
</style>
</head>
<body>
<div class="header">
<div class="header-content">
<!-- <img src="pyresearch.png" alt="Logo" class="logo"> -->
<div class="header-text"> Bird Count Dashboard</div>
</div>
</div>
<div class="content">
<h2>Current Bird Count: {{ bird_count }}</h2>
<img src="{{ url_for('video_feed') }}" width="720" height="480">
</div>
<div class="footer">
<div class="footer-content">
<div class="footer-text"> 2024 | All rights reserved</div>
<div class="social-links">
<a href="https://www.facebook.com/Pyresearch" target="_blank">
<img src="" alt="Facebook">
</a>
<a href="https://www.youtube.com/Pyresearch" target="_blank">
<img src="" alt="YouTube">
</a>
<a href="https://www.instagram.com/pyresearch/" target="_blank">
<img src="" alt="Instagram">
</a>
<a href="https://www.tiktok.com/@pyresearch2" target="_blank">
<img src="" alt="TikTok">
</a>
</div>
</div>
</div>
</body>
</html>