{"id":16971625,"url":"https://github.com/thomastjdev/kanboardstatuscolor","last_synced_at":"2025-03-21T20:16:30.073Z","repository":{"id":87656830,"uuid":"79670415","full_name":"ThomasTJdev/KanboardStatusColor","owner":"ThomasTJdev","description":"Kanboard plugin - Change the status color from left border to icon","archived":false,"fork":false,"pushed_at":"2017-09-01T14:15:44.000Z","size":41,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T14:48:38.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThomasTJdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-21T20:18:36.000Z","updated_at":"2023-03-09T23:54:06.000Z","dependencies_parsed_at":"2023-03-11T04:31:32.406Z","dependency_job_id":null,"html_url":"https://github.com/ThomasTJdev/KanboardStatusColor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2FKanboardStatusColor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2FKanboardStatusColor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2FKanboardStatusColor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2FKanboardStatusColor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThomasTJdev","download_url":"https://codeload.github.com/ThomasTJdev/KanboardStatusColor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244860611,"owners_count":20522466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T00:53:11.231Z","updated_at":"2025-03-21T20:16:30.064Z","avatar_url":"https://github.com/ThomasTJdev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Not maintained\n\n# Change color status\n\nThe following is specialized for use combined with this plugin: [KanboardCSS](https://gitlab.com/ThomasTJ/KanboardCSS)\n\nThis will change the left border color to a round icon with task color. Some special colors are not supported.\n\nScreenshot:\n![collapsed](screenshot/collapsed.png)\n\n![expanded](screenshot/expanded.png)\n\n\n## CSS\n```CSS\n/* == START: COLOR ON MAIN TASK == */\n/* Tasks expanded */\n.colorstatus-expanded{\n    display: inline-block;\n    float: right;\n    width: 5px;\n    height: 20px;\n    border: black 1px solid;\n    border-radius: 30px;\n}\n/* Tasks collapsed */\n.colorstatus-collapsed{\n    display: inline-block;\n    float: right;\n    width: 5px;\n    height: 15px;\n    border: black 1px solid;\n    border-radius: 30px;\n}\n/* Padding for title */\n.task-board-title{\n    padding-right: 5px;\n}\n/* Border etc. for task */\n.board-task-list\u003ediv {\n    border: #cac9c9 solid 0.5px;\n    border-left-width: 0.5px!important;\n    border-radius: 3px;\n    box-shadow: 0 1px 2px rgba(186, 186, 186, 0.55);\n    background-color: #fff;\n    color: black;\n}\n/* == END: COLOR ON MAIN TASK == */\n```\n\n## Code\n\nMake the changes in: **task_private.php**\n\nAdd the following `\u003cspan\u003e` after the element with `class=\"task-board-saving-icon\"` for both expanded and collapsed:\n\n**Collapsed:**\n```HTML\n\u003cspan class=\"colorstatus-collapsed\" style=\"background-color: \u003c?php print $task[color_id]; ?\u003e;\"\u003e\u003c/span\u003e\n```\n\n**Expanded:**\n```HTML\n\u003cspan class=\"colorstatus-expanded\" style=\"background-color: \u003c?php print $task[color_id]; ?\u003e;\"\u003e\u003c/span\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomastjdev%2Fkanboardstatuscolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomastjdev%2Fkanboardstatuscolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomastjdev%2Fkanboardstatuscolor/lists"}