mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 09:00:40 +00:00
Add corpus analysis stuff
This commit is contained in:
@ -61,11 +61,13 @@
|
||||
statusElement.classList.remove(...Object.values(CorpusList.STATUS_COLORS));
|
||||
statusElement.classList.add(CorpusList.STATUS_COLORS[status] || CorpusList.STATUS_COLORS['default']);
|
||||
statusElement.innerText = status;
|
||||
if (status === 'prepared') {
|
||||
if (status === 'prepared' || status === 'start analysis' || status === 'analysing') {
|
||||
var analyseBtn = document.getElementById('analyse');
|
||||
analyseBtn.classList.remove('hide');
|
||||
}
|
||||
if (status === 'prepared' || status === 'start analysis' || status === 'analysing') {
|
||||
var prepareBtn = document.getElementById('prepare');
|
||||
prepareBtn.classList.add('hide')
|
||||
prepareBtn.classList.add('hide');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user