mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-11-01 08:20:59 +00:00
Add corpus analysis stuff
This commit is contained in:
1 parent
7757c12dc4
commit
08aafb8f99
5 files changed
+38
-3
No files matched your search
@@ -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