mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Add live colors to corpu sstatus
This commit is contained in:
		@@ -79,3 +79,8 @@ class CorpusList extends List {
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
CorpusList.STATUS_COLORS = {"unprepared": "grey",
 | 
			
		||||
                            "preparable": "orange",
 | 
			
		||||
                            "preparing": "yellow",
 | 
			
		||||
                            "prepared": "green",
 | 
			
		||||
                            "default": "red"};
 | 
			
		||||
 
 | 
			
		||||
@@ -113,7 +113,11 @@ JobList.SERVICE_COLORS = {"nlp": "blue",
 | 
			
		||||
JobList.SERVICE_ICONS = {"nlp": "format_textdirection_l_to_r",
 | 
			
		||||
                         "ocr": "find_in_page",
 | 
			
		||||
                         "default": "help"};
 | 
			
		||||
JobList.STATUS_COLORS = {"pending": "amber",
 | 
			
		||||
                         "running": "indigo",
 | 
			
		||||
                         "complete": "teal",
 | 
			
		||||
JobList.STATUS_COLORS = {"submitted": "blue",
 | 
			
		||||
                         "preparing": "light-blue",
 | 
			
		||||
                         "pending": "orange",
 | 
			
		||||
                         "running": "amber",
 | 
			
		||||
                         "complete": "green",
 | 
			
		||||
                         "stopping": "orange",
 | 
			
		||||
                         "removing": "deep-orange",
 | 
			
		||||
                         "default": "red"};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user