mirror of
https://codeberg.org/icewind/ptouch-api.git
synced 2026-06-03 19:04:08 +02:00
48 lines
No EOL
1 KiB
HTML
48 lines
No EOL
1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link rel="icon" href="data:;base64,=">
|
|
<link rel="stylesheet" href="style.css">
|
|
<title>PTouch</title>
|
|
</head>
|
|
<body>
|
|
<table id="elements">
|
|
<thead>
|
|
<tr>
|
|
<td colspan="2"></td>
|
|
<td>Size</td>
|
|
<td>Position</td>
|
|
<td></td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
</tbody>
|
|
<tfoot>
|
|
<td>
|
|
<input type="button" value="Add Text" id="add-text"/>
|
|
<input type="button" value="Add Image" id="add-image"/>
|
|
</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>
|
|
<div id='tape'>
|
|
<canvas id="preview" height="32" width="300"></canvas>
|
|
</div>
|
|
|
|
<p>
|
|
<input type="button" value="Print" id="print"/>
|
|
</p>
|
|
|
|
<script src="label.js"></script>
|
|
</body>
|
|
</html> |