fix conflict solutions

This commit is contained in:
SowinskiBraeden committed 2022-11-30 10:32:03 -08:00
1 parent c58d18ed64
commit 603431a8e9
2 files changed
+6 -4

No files matched your search

+3 -2
View File
@@ -34,10 +34,11 @@ function start() {
}
eel.expose(post_data);
function post_data(msg) {
function post_data(msg, warn=false) {
let newMessage = document.createElement('li');
newMessage.innerText = msg;
newMessage.className = 'nostyle';
if (warn) newMessage.style = 'color:yellow;';
document.getElementById('progress').appendChild(newMessage)
}
@@ -59,7 +60,7 @@ function finish_callback(error) {
while (data.firstChild) {
data.removeChild(data.firstChild);
}
post_data('Individual student schedules can be found in the \'/output/final/student_schedules/\' folder and the master timetable as well as student with conflicts can be found in the \'/output/final/\' folder.')
post_data('Success! The master timetable as well as student with conflicts can be found in the \'/output/final/\' folder.')
}
document.getElementById('loader').style.display = 'none';