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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<div id="background">
|
||||||
<div id="connect-box">
|
<div id="connect-box">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="ip">IP Address</label>
|
<label for="ip">IP Address</label>
|
||||||
@@ -21,6 +22,7 @@
|
|||||||
<button id="connect-button" onclick="Connect()">Connect</button>
|
<button id="connect-button" onclick="Connect()">Connect</button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<template id="receipt-template">
|
<template id="receipt-template">
|
||||||
|
|||||||
@@ -599,6 +599,7 @@ async function CustomEvent(data) {
|
|||||||
|
|
||||||
// Send it to the print routine!
|
// Send it to the print routine!
|
||||||
const receiptHTML = await GetRenderedHTML(instance);
|
const receiptHTML = await GetRenderedHTML(instance);
|
||||||
|
console.log(receiptHTML);
|
||||||
client.doAction({ name: 'Receipt Printer | Print Routine' }, {
|
client.doAction({ name: 'Receipt Printer | Print Routine' }, {
|
||||||
receiptHTML: receiptHTML,
|
receiptHTML: receiptHTML,
|
||||||
isTest: data.isTest
|
isTest: data.isTest
|
||||||
|
|||||||
@@ -2,8 +2,12 @@ body {
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: white;
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#background {
|
||||||
|
color: white;
|
||||||
background-color: #282828;
|
background-color: #282828;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -52,7 +56,8 @@ input:disabled {
|
|||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea:focus, input:focus {
|
textarea:focus,
|
||||||
|
input:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user