Changes for page Desk allocation
Last modified by Ricardo Julio Rodríguez Fernández on 2025/05/13 08:31
From version 176.1
edited by Abdullah Sharifi
on 2024/03/11 19:35
on 2024/03/11 19:35
Change comment:
There is no comment for this version
To version 177.1
edited by Abdullah Sharifi
on 2024/03/11 19:37
on 2024/03/11 19:37
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -56,6 +56,22 @@ 56 56 parentElement.style.backgroundColor = '#F4C430'; 57 57 } 58 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 + } 59 59 } 60 60 61 61 for (let i = 0; i < headerElements.length; i++) {