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