update
This commit is contained in:
@@ -993,9 +993,10 @@ function BuildQR(mid) {
|
||||
var svg = QRCode({
|
||||
msg: mid,
|
||||
pad: 2,
|
||||
dim: 150
|
||||
|
||||
}).outerHTML;
|
||||
return `<span style="display: inline-block; height: 250px; width: 250px; background-color: white;">${svg}</span>`
|
||||
return `<span style="display: inline-block; height: 150px; width: 150px; background-color: white;">${svg}</span>`
|
||||
}
|
||||
|
||||
const PAGES = {};
|
||||
|
||||
@@ -14,7 +14,7 @@ PAGES.materiales = {
|
||||
var btn_guardar = safeuuid();
|
||||
var btn_borrar = safeuuid();
|
||||
container.innerHTML = `
|
||||
<h1>Material <code id="${nameh1}"></code></h1><br>
|
||||
<h1>Material <code id="${nameh1}"></code></h1>
|
||||
${BuildQR("materiales," + mid)}
|
||||
<fieldset>
|
||||
<label>
|
||||
|
||||
Reference in New Issue
Block a user