Changes for page Desk allocation
Last modified by Ricardo Julio Rodríguez Fernández on 2025/05/13 08:31
From version 175.1
edited by Abdullah Sharifi
on 2024/03/11 19:31
on 2024/03/11 19:31
Change comment:
There is no comment for this version
To version 179.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/03/11 19:39
on 2024/03/11 19:39
Change comment:
Kanban content updated
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,2 +1,3 @@ 1 1 {{kanban width="29%" source="https://portal.igfae.usc.es/xwiki/bin/downloadrev/Kanban%20playground%20for%20Ricardo/WebHome/room.json?rev=1.2" addBoardButton="true" addItemButton="true" removeBoardButton="true" removeBoardItem="true"}} 2 +[{"id":"room 01, floor 1","color":"green","item":[{"title":"person 001 - LHCB"}],"title":"Room#: 01, Floor#: 1"},{"id":"room 03, floor 2","color":"red","item":[{"title":"person 003 - LHCB"}],"title":"Room#: 03, Floor#: 2"},{"id":"room 02, floor 1","color":"blue","item":[{"title":"person 002 - STRI"}],"title":"Room#: 02, Floor#: 1"},{"id":"room 05, floor 2","color":"yellow","item":[{"title":"person 003 - LHCB"},{"title":"person 004 - NUCL"}],"title":"Room#: 05, Floor#: 2"},{"id":"room 08, floor 1","color":"orange","item":[{"title":"person 119 - HQCD"},{"title":"person 135 - LHCB"},{"title":"person 078 - HQCD"}],"title":"Room#: 08, Floor#: 1"},{"id":"room 16, floor 1","color":"green","item":[{"title":"person 123 - AUGE"}],"title":"Room#: 16, Floor#: 1"},{"id":"room 18, floor 1","color":"green","item":[{"title":"person 256 - GRWA"}],"title":"Room#: 18, Floor#: 1"},{"id":"room 19, floor 1","color":"green","item":[{"title":"person 354 - LACC"}],"title":"Room#: 19, Floor#: 1"},{"id":"room 30, floor 1","color":"green","item":[{"title":"person 354 - NEXT"}],"title":"Room#: 30, Floor#: 1"}] 2 2 {{/kanban}}
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -24,6 +24,54 @@ 24 24 parentElement.style.backgroundColor = '#FFDB58'; 25 25 } 26 26 } 27 + if (titleElement.textContent.includes('AUGE')) { 28 + titleElement.style.color = 'white'; 29 + titleElement.style.backgroundColor = '#FF7F50'; 30 + const parentElement = titleElement.closest('.kanban-item'); 31 + if (parentElement) { 32 + parentElement.style.backgroundColor = '#008080'; 33 + } 34 + } 35 + if (titleElement.textContent.includes('HQCD')) { 36 + titleElement.style.color = 'white'; 37 + titleElement.style.backgroundColor = 'crimson'; 38 + const parentElement = titleElement.closest('.kanban-item'); 39 + if (parentElement) { 40 + parentElement.style.backgroundColor = '#808000'; 41 + } 42 + } 43 + if (titleElement.textContent.includes('NUCL')) { 44 + titleElement.style.color = 'white'; 45 + titleElement.style.backgroundColor = '#E2725B'; 46 + const parentElement = titleElement.closest('.kanban-item'); 47 + if (parentElement) { 48 + parentElement.style.backgroundColor = '#708090'; 49 + } 50 + } 51 + if (titleElement.textContent.includes('GRWA')) { 52 + titleElement.style.color = 'white'; 53 + titleElement.style.backgroundColor = '#FF00FF'; 54 + const parentElement = titleElement.closest('.kanban-item'); 55 + if (parentElement) { 56 + parentElement.style.backgroundColor = '#F4C430'; 57 + } 58 + } 59 + if (titleElement.textContent.includes('NEXT')) { 60 + titleElement.style.color = 'white'; 61 + titleElement.style.backgroundColor = '#4B0082'; 62 + const parentElement = titleElement.closest('.kanban-item'); 63 + if (parentElement) { 64 + parentElement.style.backgroundColor = '#E0115F'; 65 + } 66 + } 67 + if (titleElement.textContent.includes('LACC')) { 68 + titleElement.style.color = 'white'; 69 + titleElement.style.backgroundColor = '#87CEEB'; 70 + const parentElement = titleElement.closest('.kanban-item'); 71 + if (parentElement) { 72 + parentElement.style.backgroundColor = '#98FF98'; 73 + } 74 + } 27 27 } 28 28 29 29 for (let i = 0; i < headerElements.length; i++) {