Add /photo
This commit is contained in:
parent
e0a668a581
commit
e903ca7ff9
4 changed files with 90 additions and 8 deletions
|
|
@ -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>
|
||||
|
|
|
|||
20
showbits-thermal-printer/static/photo.html
Normal file
20
showbits-thermal-printer/static/photo.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue