Maybe fix idk lol

This commit is contained in:
nuttylmao
2025-07-29 07:55:45 +10:00
parent 1b9653b44f
commit 205b4075d0
3 changed files with 21 additions and 13 deletions
+2
View File
@@ -9,6 +9,7 @@
</head>
<body>
<div id="background">
<div id="connect-box">
<div class="field">
<label for="ip">IP Address</label>
@@ -21,6 +22,7 @@
<button id="connect-button" onclick="Connect()">Connect</button>
</div>
</div>
</body>
<template id="receipt-template">
+1
View File
@@ -599,6 +599,7 @@ async function CustomEvent(data) {
// Send it to the print routine!
const receiptHTML = await GetRenderedHTML(instance);
console.log(receiptHTML);
client.doAction({ name: 'Receipt Printer | Print Routine' }, {
receiptHTML: receiptHTML,
isTest: data.isTest
+7 -2
View File
@@ -2,8 +2,12 @@ body {
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
text-align: center;
color: white;
margin: 0;
padding: 0;
}
#background {
color: white;
background-color: #282828;
display: flex;
justify-content: center;
@@ -52,7 +56,8 @@ input:disabled {
opacity: 0.5;
}
textarea:focus, input:focus {
textarea:focus,
input:focus {
outline: none;
}