Extension: Send to Tablet on the checkin page, popup auto-push, reset, new icon

- Inject Send to Tablet into the bookings_checkin page's top/bottom context
  menus (left of Confirm Check-In) and a dedicated banner above the tabs
- Popup now auto-pushes to the default tablet instead of just pre-selecting
  it, with a terminal-key-authed reset route so reception can clear a
  stuck-busy tablet from the extension popup
- Replace the extension icon with a person+checkmark glyph matching the
  app's own UserCheck icon and accent colour

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-10-01 11:37:44 +00:00
parent 2b83f47556
commit 9f3129b8b5
10 changed files with 337 additions and 72 deletions

View file

@ -45,3 +45,21 @@ button.primary:disabled { opacity: 0.5; cursor: default; }
.msg.ok { color: #16a34a; }
.msg.warn { color: #b45309; }
a.settings-link { display: block; margin-top: 12px; font-size: 12px; color: #7b4f00; }
.section-label {
font-size: 11px; font-weight: 700; text-transform: uppercase;
letter-spacing: 0.04em; color: #64748b; margin: 0 0 6px;
}
.device-list { list-style: none; margin: 0 0 12px; padding: 0; }
.device-row { display: flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 12px; }
.device-name { flex: 1; color: #1a1a2e; }
.device-status {
font-size: 10px; padding: 1px 6px; border-radius: 999px; text-transform: capitalize;
}
.device-status.idle { background: #dcfce7; color: #166534; }
.device-status.busy { background: #fee2e2; color: #991b1b; }
.reset-btn {
border: none; background: #be123c; color: #fff; font-size: 10px; font-weight: 600;
padding: 2px 8px; border-radius: 999px; cursor: pointer;
}
.reset-btn:disabled { opacity: 0.5; cursor: default; }