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
+12 -10
View File
@@ -9,17 +9,19 @@
</head>
<body>
<div id="connect-box">
<div class="field">
<label for="ip">IP Address</label>
<input type="text" id="ip" name="ip" placeholder="127.0.0.1" value="127.0.0.1">
</div>
<div class="field">
<label for="port">Port</label>
<input type="text" id="port" name="port" placeholder="8080" value="8080">
</div>
<button id="connect-button" onclick="Connect()">Connect</button>
<div id="background">
<div id="connect-box">
<div class="field">
<label for="ip">IP Address</label>
<input type="text" id="ip" name="ip" placeholder="127.0.0.1" value="127.0.0.1">
</div>
<div class="field">
<label for="port">Port</label>
<input type="text" id="port" name="port" placeholder="8080" value="8080">
</div>
<button id="connect-button" onclick="Connect()">Connect</button>
</div>
</div>
</body>
+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
+8 -3
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,8 +56,9 @@ input:disabled {
opacity: 0.5;
}
textarea:focus, input:focus {
outline: none;
textarea:focus,
input:focus {
outline: none;
}
#connect-box {