mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	Move JobList static attributes
This commit is contained in:
		@@ -243,6 +243,22 @@ class JobList extends List {
 | 
			
		||||
    return rowElement;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
JobList.DEFAULT_OPTIONS = {item: "<br>",
 | 
			
		||||
                           page: 4,
 | 
			
		||||
                           pagination: {innerWindow: 8, outerWindow: 1},
 | 
			
		||||
                           valueNames: ["description", "service", "status", "title", {data: ["id"]}]};
 | 
			
		||||
JobList.SERVICE_ICONS = {"merge_images": "burst_mode",
 | 
			
		||||
                         "nlp": "format_textdirection_l_to_r",
 | 
			
		||||
                         "ocr": "find_in_page",
 | 
			
		||||
                         "default": "help"};
 | 
			
		||||
JobList.STATUS_COLORS = {"submitted": "blue",
 | 
			
		||||
                         "preparing": "light-blue",
 | 
			
		||||
                         "pending": "orange",
 | 
			
		||||
                         "running": "amber",
 | 
			
		||||
                         "complete": "green",
 | 
			
		||||
                         "stopping": "orange",
 | 
			
		||||
                         "removing": "deep-orange",
 | 
			
		||||
                         "default": "red"};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class ResultList extends List {
 | 
			
		||||
@@ -308,22 +324,3 @@ class ResultList extends List {
 | 
			
		||||
    // return matchRowElement
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
JobList.DEFAULT_OPTIONS = {item: "<br>",
 | 
			
		||||
                           page: 4,
 | 
			
		||||
                           pagination: {innerWindow: 8, outerWindow: 1},
 | 
			
		||||
                           valueNames: ["description", "service", "status", "title", {data: ["id"]}]};
 | 
			
		||||
JobList.SERVICE_ICONS = {"merge_images": "burst_mode",
 | 
			
		||||
                         "nlp": "format_textdirection_l_to_r",
 | 
			
		||||
                         "ocr": "find_in_page",
 | 
			
		||||
                         "default": "help"};
 | 
			
		||||
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