mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-01-18 05:50:34 +00:00
use empty template for JobList and CorpusList. performance++
This commit is contained in:
parent
93dcd7c32f
commit
c9f5488a24
@ -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"]}]};
|
||||
|
Loading…
x
Reference in New Issue
Block a user