Add /photo

This commit is contained in:
Joscha 2024-03-10 15:40:41 +01:00
parent e0a668a581
commit e903ca7ff9
4 changed files with 90 additions and 8 deletions

View file

@ -8,7 +8,8 @@
<body>
<h1>Thermal Printer Control</h1>
<ul>
<a href="image">Upload an image</a>
<li><a href="image">Upload an image</a></li>
<li><a href="photo">Take a photo</a></li>
</ul>
</body>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, height=device-height, initial-scale=1, user-scalable=0"
/>
<title>TP: Photo</title>
</head>
<body>
<form method="post" enctype="multipart/form-data">
<ol>
<li><input type="file" name="image" /></li>
<li><input type="text" name="title" /></li>
<li><button>Print!</button></li>
</ol>
</form>
</body>
</html>