update website so it shows image

This commit is contained in:
2024-12-10 13:29:58 +01:00
parent fea0f19857
commit 480d36393a
5 changed files with 67 additions and 54 deletions

View File

@@ -1,6 +1,8 @@
{% extends 'base.html' %} {% block head %}
{% extends 'base.html' %}
{% block head %}
<link rel="stylesheet" href="../static/style.css" />
{% endblock %} {% block content %}
{% endblock %}
{% block content %}
<!DOCTYPE html>
<html lang="en">
<head>
@@ -11,8 +13,8 @@
</head>
<body>
<div class="container">
<div class="image-section">
<img src="kobuki.jpg" alt="Kobuki Robot" id="robot-image" />
<div class="robot-image">
<img src="/image" alt="Kobuki Camera Feed" id="robot-image" />
</div>
<div class="button-section">
<form id="form" action="/move" method="post">
@@ -42,7 +44,8 @@
</table>
</div>
</div>
<script src="../static/script.js"></script>
</body>
</html>
{% endblock %}
{% endblock %}