Files
labelprint/views/index.erb
T
randy b44985b75f
deploy / deploy (push) Successful in 10s
Print open home-gitops issues on the Epson receipt printer
Reads a Gitea API token from .gitea_token (gitignored, not present yet --
needs creating on the server), fetches open issues via the API, and prints
number/title/labels per issue with a running total. Button on the home page.
2026-09-13 11:43:53 +02:00

22 lines
778 B
ERB

<div class="card">
<div class="card-body">
<h5 class="card-title">Print server</h5>
<p class="card-text">Connected printers:</p>
<ul>
<li>Datamax-ONeil E4204B Mark III (ZPL, 100x150) -- <a href="/upload">Shipping labels</a></li>
<li>Epson TM-T20II (ESC/POS) -- <a href="/epson">Receipts</a></li>
<li>Brother QL-560, QL-700, QL-1100 -- <a href="/brother">Brother</a></li>
</ul>
</div>
</div>
<div class="card mt-3">
<div class="card-body">
<h5 class="card-title">home-gitops open issues</h5>
<p class="card-text">Print a receipt-style summary of currently open issues.</p>
<form action="/issues/print" method="POST">
<button class="btn btn-secondary" type="submit">Print open issues</button>
</form>
</div>
</div>