Changes for page Desk allocation

Last modified by Ricardo Julio Rodríguez Fernández on 2025/05/13 08:31

From version 274.8
edited by Ricardo Julio Rodríguez Fernández
on 2024/04/27 09:49
Change comment: Added comment
To version 278.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/04/28 16:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Kanban playground for Ricardo
1 +Desks allocation in new premises
Content
... ... @@ -1,2 +1,1 @@
1 -{{kanban width="250px" source="https://gitlab.com/api/v4/projects/57282398/repository/files/room.json/raw?ref=main" addBoardButton="true" addItemButton="true" removeBoardButton="true" removeBoardItem="true"}}
2 -{{/kanban}}
1 +{{kanban width="250px" source="https://gitlab.com/api/v4/projects/31845880/repository/files/data%2froom.json/raw?ref=main&private_token=glpat-PxoohoxpWUqTMAs4-s4Q" addBoardButton="true" addItemButton="true" removeBoardButton="true" removeBoardItem="true"}}{{/kanban}}
XWiki.JavaScriptExtension[0]
Code
... ... @@ -109,5 +109,18 @@
109 109   }
110 110   }
111 111   }
112 +
113 + for (let i = 0; i < headerElements.length; i++) {
114 + const element = headerElements[i];
115 + if (element.innerHTML.includes('rDI')) {
116 + for (let j = 0; j < element.classList.length; j++) {
117 + if (/kanban-header-\w+/.test(element.classList[j])) {
118 + element.classList.remove(element.classList[j]);
119 + element.style.backgroundColor = '#7fdb4a';
120 + break;
121 + }
122 + }
123 + }
124 + }
112 112  };
113 113  
XWiki.XWikiComments[8]
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.RicardoJulioRodriguezFernandez
Comment
... ... @@ -1,0 +1,1 @@
1 +Authentication is required as access tokens are not available for free trial GitLab licences.
Date
... ... @@ -1,0 +1,1 @@
1 +2024-04-27 09:51:00.348
Reply To
... ... @@ -1,0 +1,1 @@
1 +4
XWiki.XWikiComments[9]
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.RicardoJulioRodriguezFernandez
Comment
... ... @@ -1,0 +1,1 @@
1 +https://cran.r-project.org/web/packages/jsonlite/vignettes/json-aaquickstart.html
Date
... ... @@ -1,0 +1,1 @@
1 +2024-04-27 10:30:13.714