ruby on rails - How can I change the color of the progress bar of a task in Redmine or where is the code located? -


i want change color of progress bar of task. i've located .erb source file gantt chart page , .rb source code computation of % done progress seems it's not right file edit. enter image description here

you should edit image located at:

your_redmine_root/public/images/task_late.png 

where your_redmine_root place redmine physically installed, , depends upon underlaying operating system, etc...

so gannt combination of html code generated underlaying ror application which's view can edit in app/views/gantts/show.html.erb. javascript code public/javascripts/gantt.js , css style (theme), might differ if using custom theme or plugin, @ default install it's in public/stylesheet/application.css

the particular codes might different due redmine version, looking for

.task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; } 

on redmine 3.0 it's @ line 986. .task_late ordinary div, , can set it's css style way want...

don't forget restart redmine after editing, , make sure refresh browser's cache.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -