mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-01-18 14:00:33 +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;});
|
function(items) {items[0].elm = rowElement;});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CorpusList.DEFAULT_OPTIONS = {item: `<div>
|
CorpusList.DEFAULT_OPTIONS = {item: "",
|
||||||
<span class="description"></span>
|
|
||||||
<td class="status"></td>
|
|
||||||
<span class="title"></span>
|
|
||||||
</div>`,
|
|
||||||
page: 4,
|
page: 4,
|
||||||
pagination: {innerWindow: 8, outerWindow: 1},
|
pagination: {innerWindow: 8, outerWindow: 1},
|
||||||
valueNames: ["description", "title", {data: ["id"]}]};
|
valueNames: ["description", "title", {data: ["id"]}]};
|
||||||
|
@ -113,12 +113,7 @@ class JobList extends List {
|
|||||||
function(items) {items[0].elm = rowElement;});
|
function(items) {items[0].elm = rowElement;});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
JobList.DEFAULT_OPTIONS = {item: `<tr>
|
JobList.DEFAULT_OPTIONS = {item: "",
|
||||||
<td class="description"></td>
|
|
||||||
<td class="service"></td>
|
|
||||||
<td class="status"></td>
|
|
||||||
<td class="title"></td>
|
|
||||||
</tr>`,
|
|
||||||
page: 4,
|
page: 4,
|
||||||
pagination: {innerWindow: 8, outerWindow: 1},
|
pagination: {innerWindow: 8, outerWindow: 1},
|
||||||
valueNames: ["description", "service", "status", "title", {data: ["id"]}]};
|
valueNames: ["description", "service", "status", "title", {data: ["id"]}]};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user