mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-13 01:20:41 +00:00
Update Dashboard2
This commit is contained in:
@ -10,14 +10,13 @@ class RessourceList {
|
||||
JobList.autoInit();
|
||||
JobInputList.autoInit();
|
||||
JobResultList.autoInit();
|
||||
PublicCorporaList.autoInit();
|
||||
PublicUserList.autoInit();
|
||||
SpaCyNLPPipelineModelList.autoInit();
|
||||
TesseractOCRPipelineModelList.autoInit();
|
||||
UserList.autoInit();
|
||||
}
|
||||
|
||||
static options = {page: 5, pagination: {innerWindow: 4, outerWindow: 1}};
|
||||
static options = {page: 5, pagination: {innerWindow: 2, outerWindow: 2}};
|
||||
|
||||
constructor(listElement, options = {}) {
|
||||
if (!(listElement.hasAttribute('id'))) {
|
||||
@ -29,7 +28,7 @@ class RessourceList {
|
||||
}
|
||||
}
|
||||
options = {
|
||||
...{pagination: {item: `<li><a class="page" href="#${listElement.id}"></a></li>`}},
|
||||
...RessourceList.options,
|
||||
...options
|
||||
}
|
||||
if ('ressourceMapper' in options && typeof options.ressourceMapper === 'function') {
|
||||
|
Reference in New Issue
Block a user