deploy / deploy (push) Successful in 9s
Drops /brother/select and the session-based "active printer" state: the printer key now lives in the path (/brother/<printer>/*), so the proxy is stateless and any path under it -- including brother_ql_web's API, not just its UI -- is reachable without a prior "activation" step.
9 lines
320 B
ERB
9 lines
320 B
ERB
<h1>Brother printers</h1>
|
|
<p>Choose a printer to open its label designer through this server.</p>
|
|
|
|
<div class="list-group" style="max-width: 400px;">
|
|
<% @printers.each do |key, info| %>
|
|
<a href="/brother/<%= key %>/" class="btn btn-outline-primary w-100 text-start mb-2"><%= info[:label] %></a>
|
|
<% end %>
|
|
</div>
|