mirror of
https://codeberg.org/icewind/ptouch-api.git
synced 2026-06-03 10:54:07 +02:00
initial webui work
This commit is contained in:
parent
f7910f967b
commit
71cf4dbcb2
4 changed files with 248 additions and 4 deletions
34
web/index.html
Normal file
34
web/index.html
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="icon" href="data:;base64,=">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>PTouch</title>
|
||||
</head>
|
||||
<body>
|
||||
<table id="elements">
|
||||
<thead>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<td>
|
||||
<input type="button" value="Add" id="add"/>
|
||||
</td>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
<label for="canvas-width">Width</label>
|
||||
<input type="number" min="0" id="canvas-width" value="300">
|
||||
<select id="canvas-width-unit">
|
||||
<option value="px" selected>px</option>
|
||||
<option value="mm">mm</option>
|
||||
</select>
|
||||
</p>
|
||||
<canvas id="preview" height="32" width="300"></canvas>
|
||||
|
||||
<script src="label.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue