mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Set up all things for first query
This commit is contained in:
		@@ -61,11 +61,14 @@
 | 
			
		||||
      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' || status === 'start analysis' || status === 'analysing') {
 | 
			
		||||
        var analyseBtn = document.getElementById('analyse');
 | 
			
		||||
      var analyseBtn = document.getElementById('analyse');
 | 
			
		||||
      if (status === 'prepared') {
 | 
			
		||||
        analyseBtn.classList.remove('hide', 'disabled');
 | 
			
		||||
      } else if (status === 'analysing' || status === 'start analysis' || status === 'stop analysis') {
 | 
			
		||||
        analyseBtn.classList.remove('hide');
 | 
			
		||||
        analyseBtn.classList.add('disabled');
 | 
			
		||||
      }
 | 
			
		||||
      if (status === 'prepared' || status === 'start analysis' || status === 'analysing') {
 | 
			
		||||
      if (status === 'prepared' || status === 'start analysis' || status === 'analysing' || status === 'stop analysis') {
 | 
			
		||||
        var prepareBtn = document.getElementById('prepare');
 | 
			
		||||
        prepareBtn.classList.add('hide');
 | 
			
		||||
      }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user