export hpgl load from folder

This commit is contained in:
Lukas Cremer
2026-02-05 22:50:36 +01:00
parent 82e5ef4b73
commit 235365063f
6 changed files with 174 additions and 29 deletions

View File

@@ -24,6 +24,10 @@
<aside class="sidebar">
<div id="panelFile" class="tab-panel">
<section class="upload-section">
<label class="upload-label" for="hpglFolderSelect">Load from folder</label>
<select id="hpglFolderSelect" class="font-select">
<option value="">— Select file —</option>
</select>
<label class="upload-label" for="fileInput">Upload HPGL</label>
<input type="file" id="fileInput" accept=".hpgl,.plt" class="file-input">
<p class="hint">.hpgl or .plt files only</p>
@@ -40,6 +44,7 @@
<label class="upload-label" for="textSize">Size (pt)</label>
<input type="number" id="textSize" class="text-size" value="72" min="8" max="500" step="1">
<button type="button" class="btn btn-generate" id="btnGenerateHpgl">Generate HPGL</button>
<button type="button" class="btn btn-export-hpgl" id="btnExportHpgl" disabled>Export HPGL</button>
<p id="textMessage" class="message"></p>
</section>
</div>