colors
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<STYLE type="text/css">
|
<STYLE type="text/css">
|
||||||
BODY {
|
BODY {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
background-color: lightcyan;
|
background-color: #fafaff;
|
||||||
}
|
}
|
||||||
TEXTAREA { font-family: sans-serif; width: 100%;
|
TEXTAREA { font-family: sans-serif; width: 100%;
|
||||||
-webkit-border-radius: 5px;
|
-webkit-border-radius: 5px;
|
||||||
@@ -367,7 +367,8 @@ function lasku_pdf() {
|
|||||||
var element = document.getElementById('barcodes');
|
var element = document.getElementById('barcodes');
|
||||||
const editables = document.getElementsByClassName("kayttaja");
|
const editables = document.getElementsByClassName("kayttaja");
|
||||||
const printables = document.getElementsByClassName("print_help");
|
const printables = document.getElementsByClassName("print_help");
|
||||||
|
const button = document.getElementById('jaettu_lasku_nappi');
|
||||||
|
button.classList.add("hidden");
|
||||||
for (let i = 0; i < editables.length; i++) {
|
for (let i = 0; i < editables.length; i++) {
|
||||||
editables[i].classList.add("kayttaja_pdf");
|
editables[i].classList.add("kayttaja_pdf");
|
||||||
}
|
}
|
||||||
@@ -388,6 +389,8 @@ function lasku_pdf() {
|
|||||||
for (let i = 0; i < printables.length; i++) {
|
for (let i = 0; i < printables.length; i++) {
|
||||||
printables[i].classList.remove("print_help_pdf");
|
printables[i].classList.remove("print_help_pdf");
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
button.classList.remove("hidden");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user