mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
Maybe fix idk lol
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user