mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-13 09:30:40 +00:00
Restructure code and use APScheduler for daemon functionality
This commit is contained in:
@ -69,6 +69,14 @@ class JobDisplay extends RessourceDisplay {
|
||||
element.classList.remove('hide');
|
||||
}
|
||||
}
|
||||
elements = this.displayElement.querySelectorAll('.job-log-trigger');
|
||||
for (element of elements) {
|
||||
if (['COMPLETED', 'FAILED'].includes(status)) {
|
||||
element.classList.remove('hide');
|
||||
} else {
|
||||
element.classList.add('hide');
|
||||
}
|
||||
}
|
||||
elements = this.displayElement.querySelectorAll('.job-restart-trigger');
|
||||
for (element of elements) {
|
||||
if (['COMPLETED', 'FAILED'].includes(status)) {
|
||||
|
Reference in New Issue
Block a user