add all files

This commit is contained in:
2024-02-29 14:33:21 +03:00
parent 519faa8796
commit ae6c9a6a58
23 changed files with 1082 additions and 0 deletions

25
static/js/print.js Normal file
View File

@@ -0,0 +1,25 @@
$("#printbutton").click(function(){
let aud = document.getElementById('auditory')
let audtext = aud.options[aud.selectedIndex].text;
const h2 = document.querySelector('h2');
h2.textContent = "Аудитория № " + audtext
document.getElementById("datatable").className="rs-table-bordered px-3"
let column = document.getElementById("proverka")
column.classList.remove("hidden-column")
window.print()
document.getElementById("datatable").className="table"
h2.textContent='распределение мат. ценностей'
column.classList.add("hidden-column")
})