Changes for page Desk allocation
Last modified by Ricardo Julio Rodríguez Fernández on 2025/05/13 08:31
From version 231.1
edited by Abdullah Sharifi
on 2024/03/13 15:46
on 2024/03/13 15:46
Change comment:
There is no comment for this version
To version 241.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/03/13 16:53
on 2024/03/13 16:53
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. AbdullahSharifi1 +XWiki.RicardoJulioRodriguezFernandez - Content
-
... ... @@ -1,3 +1,3 @@ 1 1 {{kanban width="235px" source="https://portal.igfae.usc.es/xwiki/bin/view/Towards%20JSON/Rooms/?outputSyntax=plain&xpage=plain" addBoardButton="true" addItemButton="true" removeBoardButton="true" removeBoardItem="true"}} 2 -[{"id":"room 01, floor 1","item":[{"title":"person 001 - LHCB"} ,{"title":"person 003 - LHCB"},{"title":"person 003 - LHCB"},{"title":"person 135 - LHCB"}],"color":"green","title":"Room#: 01, Floor#: 1"},{"id":"room 02, floor 1","item":[{"title":"person 002 - STRI"}],"color":"blue","title":"Room#: 02, Floor#: 1"},{"id":"room 03, floor 2","item":[],"color":"red","title":"Room#: 03, Floor#: 2"},{"id":"room 05, floor 2","item":[{"title":"person 004 - NUCL"}],"color":"yellow","title":"Room#: 05, Floor#: 2"},{"id":"room 08, floor 1","item":[{"title":"person 119 - HQCD"},{"title":"person 078 - HQCD"}],"color":"orange","title":"Room#: 08, Floor#: 1"},{"id":"room 16, floor 1","item":[{"title":"person 123 - AUGE"}],"color":"green","title":"Room#: 16, Floor#: 1"},{"id":"room 18, floor 1","item":[{"title":"person 256 - GRWA"}],"color":"green","title":"Room#: 18, Floor#: 1"},{"id":"room 19, floor 1","item":[{"title":"person 354 - LACC"}],"color":"green","title":"Room#: 19, Floor#: 1"},{"id":"room 30, floor 1","item":[{"title":"person 354 - NEXT"}],"color":"green","title":"Room#: 30, Floor#: 1"}]2 +[{"id":"room 01, floor 1","item":[{"title":"person 001 - LHCB"}],"color":"green","title":"Room#: 01, Floor#: 1"},{"id":"room 02, floor 1","item":[{"title":"person 002 - STRI"}],"color":"red","title":"Room#: 02, Floor#: 1"},{"id":"room 03, floor 2","item":[{"title":"person 003 - LHCB"}],"color":"red","title":"Room#: 03, Floor#: 2"},{"id":"room 05, floor 2","item":[{"title":"person 003 - LHCB"},{"title":"person 004 - NUCL"}],"color":"yellow","title":"Room#: 05, Floor#: 2"},{"id":"room 08, floor 1","item":[{"title":"person 119 - HQCD"},{"title":"person 135 - LHCB"},{"title":"person 078 - HQCD"}],"color":"orange","title":"Room#: 08, Floor#: 1"},{"id":"room 16, floor 1","item":[{"title":"person 123 - AUGE"}],"color":"green","title":"Room#: 16, Floor#: 1"},{"id":"room 18, floor 1","item":[{"title":"person 256 - GRWA"}],"color":"green","title":"Room#: 18, Floor#: 1"},{"id":"room 19, floor 1","item":[{"title":"person 354 - LACC"}],"color":"green","title":"Room#: 19, Floor#: 1"},{"id":"room 30, floor 1","item":[{"title":"person 354 - NEXT"}],"color":"green","title":"Room#: 30, Floor#: 1"}] 3 3 {{/kanban}}
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -1,13 +1,17 @@ 1 -document.addEventListener("DOMContentLoaded", function() { 1 +setTimeout(changeStyles, 500); 2 + 3 +function changeStyles() { 2 2 const titleElements = document.getElementsByClassName('kanban-item-title'); 3 3 const headerElements = document.getElementsByClassName('kanban-board-header'); 4 4 const titleContainers = document.getElementsByClassName('kanban-item'); 5 5 6 6 const kanbanContainer = document.querySelector('.kanban-container'); 7 - kanbanContainer.style.display = "flex"; 8 - kanbanContainer.style.justifyContent = "space-around" 9 - kanbanContainer.style.alignItems = "start" 10 - kanbanContainer.style.flexWrap = "wrap" 9 + if (kanbanContainer) { 10 + kanbanContainer.style.display = "flex"; 11 + kanbanContainer.style.justifyContent = "center" 12 + kanbanContainer.style.alignItems = "start" 13 + kanbanContainer.style.flexWrap = "wrap" 14 + } 11 11 12 12 for (let i = 0; i < titleElements.length; i++) { 13 13 const titleElement = titleElements[i];