update to qr

This commit is contained in:
naielv
2025-09-09 13:35:31 +02:00
parent aa01eaeaa5
commit bdd880bc24
3 changed files with 4 additions and 4 deletions

View File

@@ -1042,8 +1042,8 @@ function TS_IndexElement(
function BuildQR(mid, label) { function BuildQR(mid, label) {
return ` return `
<span style="border: 2px dashed black; padding: 10px; display: inline-block; background: white; border-radius: 7px; text-align: center; margin: 10px;"> <span style="border: 2px dashed black; padding: 10px; display: inline-block; background: white; border-radius: 7px; text-align: center; margin: 10px;">
<b>TeleSec AztecQR</b> <b>TeleSec QR</b>
<br>${toHtml(aztec(mid),[6,6])}<br> <br>${toHtml(quickresponse(mid),[6,6])}<br>
<small>${label}</small> <small>${label}</small>
</span> </span>
` `

View File

@@ -177,7 +177,7 @@ PAGES.dataman = {
__labels: function (mid) { __labels: function (mid) {
var div_materiales = safeuuid(); var div_materiales = safeuuid();
container.innerHTML = ` container.innerHTML = `
<h1>Imprimir Etiquetas AztecQR</h1> <h1>Imprimir Etiquetas QR</h1>
<button onclick="print()">Imprimir</button> <button onclick="print()">Imprimir</button>
<h2>Materiales</h2> <h2>Materiales</h2>
<div id="${div_materiales}"></div> <div id="${div_materiales}"></div>

View File

@@ -19,7 +19,7 @@ PAGES.index = {
__scan: function(mid) { __scan: function(mid) {
var qrscan = safeuuid() var qrscan = safeuuid()
container.innerHTML = ` container.innerHTML = `
<h1>Escanear Codigo Aztec/QR</h1> <h1>Escanear Codigo QR</h1>
<div id="${qrscan}"></div> <div id="${qrscan}"></div>
<br><br>`; <br><br>`;
var html5QrcodeScanner = new Html5QrcodeScanner( var html5QrcodeScanner = new Html5QrcodeScanner(