"Firt release"

This commit is contained in:
2018-03-05 22:12:02 +01:00
parent f1ec84ef16
commit ec8b53c3e5
22 changed files with 7205 additions and 128 deletions

View File

@@ -59,3 +59,15 @@ function save_turn() {
return false;
}
}
function update_sheet(turn, slot) {
document.location = '/staffsheet/update/'+turn+'/'+slot;
return true;
}
function clear_sheet(turn, slot) {
if (confirm("Voulez-vous vraiment libérer ce créneau ? \n\n Confirmer ?")) {
document.location = '/staffsheet/clear/'+turn+'/'+slot;
}
return false;
}

View File

@@ -247,3 +247,10 @@ function upload_file_from_ajax(obj, url, err_code) {
}
xhttp.send(formData);
}
/* **************************************************************************************
* Printing
* **************************************************************************************/
function print_page() {
document.location = '/staffsheet/pdf';
}