mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	use empty template for JobList and CorpusList. performance++
This commit is contained in:
		@@ -112,11 +112,7 @@ class CorpusList extends List {
 | 
			
		||||
             function(items) {items[0].elm = rowElement;});
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
CorpusList.DEFAULT_OPTIONS = {item: `<div>
 | 
			
		||||
                                       <span class="description"></span>
 | 
			
		||||
                                       <td class="status"></td>
 | 
			
		||||
                                       <span class="title"></span>
 | 
			
		||||
                                     </div>`,
 | 
			
		||||
CorpusList.DEFAULT_OPTIONS = {item: "",
 | 
			
		||||
                              page: 4,
 | 
			
		||||
                              pagination: {innerWindow: 8, outerWindow: 1},
 | 
			
		||||
                              valueNames: ["description", "title", {data: ["id"]}]};
 | 
			
		||||
 
 | 
			
		||||
@@ -113,12 +113,7 @@ class JobList extends List {
 | 
			
		||||
             function(items) {items[0].elm = rowElement;});
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
JobList.DEFAULT_OPTIONS = {item: `<tr>
 | 
			
		||||
                                    <td class="description"></td>
 | 
			
		||||
                                    <td class="service"></td>
 | 
			
		||||
                                    <td class="status"></td>
 | 
			
		||||
                                    <td class="title"></td>
 | 
			
		||||
                                  </tr>`,
 | 
			
		||||
JobList.DEFAULT_OPTIONS = {item: "",
 | 
			
		||||
                           page: 4,
 | 
			
		||||
                           pagination: {innerWindow: 8, outerWindow: 1},
 | 
			
		||||
                           valueNames: ["description", "service", "status", "title", {data: ["id"]}]};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user