update to qr
This commit is contained in:
@@ -1042,8 +1042,8 @@ function TS_IndexElement(
|
||||
function BuildQR(mid, label) {
|
||||
return `
|
||||
<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>
|
||||
<br>${toHtml(aztec(mid),[6,6])}<br>
|
||||
<b>TeleSec QR</b>
|
||||
<br>${toHtml(quickresponse(mid),[6,6])}<br>
|
||||
<small>${label}</small>
|
||||
</span>
|
||||
`
|
||||
|
||||
@@ -177,7 +177,7 @@ PAGES.dataman = {
|
||||
__labels: function (mid) {
|
||||
var div_materiales = safeuuid();
|
||||
container.innerHTML = `
|
||||
<h1>Imprimir Etiquetas AztecQR</h1>
|
||||
<h1>Imprimir Etiquetas QR</h1>
|
||||
<button onclick="print()">Imprimir</button>
|
||||
<h2>Materiales</h2>
|
||||
<div id="${div_materiales}"></div>
|
||||
|
||||
@@ -19,7 +19,7 @@ PAGES.index = {
|
||||
__scan: function(mid) {
|
||||
var qrscan = safeuuid()
|
||||
container.innerHTML = `
|
||||
<h1>Escanear Codigo Aztec/QR</h1>
|
||||
<h1>Escanear Codigo QR</h1>
|
||||
<div id="${qrscan}"></div>
|
||||
<br><br>`;
|
||||
var html5QrcodeScanner = new Html5QrcodeScanner(
|
||||
|
||||
Reference in New Issue
Block a user