diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-02-20 08:13:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-17 13:59:38 +0000 |
commit | b2e5cab1b5798adea3bf5716492ccc7637dad6b3 (patch) | |
tree | 0a71ee23e4db1f5d95643e9337c4c0941b8ce337 /bitbake/lib/toaster/toastergui/templates/task.html | |
parent | d24584f89680849f2cce83cc794b319d73dd554f (diff) | |
download | poky-b2e5cab1b5798adea3bf5716492ccc7637dad6b3.tar.gz |
bitbake: toaster: Not using task_color tag for execution heading
The modifications to the task_color tag in commit
23a7c338d387ac2ba13a7a1114a4abc75228c960 broke the styling
of failed tasks in the tasks.html template. Undo the
changes to the task_color tag and use an if statement
instead to set the .muted class when the execution
heading says "Not executed".
(Bitbake rev: e3b3205674f606b927f1bf568202a592ca6453c9)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/task.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/task.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html index af994fde1b..7c5b7435ff 100644 --- a/bitbake/lib/toaster/toastergui/templates/task.html +++ b/bitbake/lib/toaster/toastergui/templates/task.html | |||
@@ -131,15 +131,16 @@ | |||
131 | {% endif %} | 131 | {% endif %} |
132 | 132 | ||
133 | {# Execution section #} | 133 | {# Execution section #} |
134 | <h2 {{task|task_color}}> | ||
135 | {% if task.task_executed %} | 134 | {% if task.task_executed %} |
135 | <h2> | ||
136 | Executed | 136 | Executed |
137 | <i class="icon-question-sign get-help heading-help" title="Executed tasks are those that need to run in order to generate the task output"></i> | 137 | <i class="icon-question-sign get-help heading-help" title="Executed tasks are those that need to run in order to generate the task output"></i> |
138 | {% else %} | 138 | {% else %} |
139 | <h2 class="muted"> | ||
139 | Not Executed | 140 | Not Executed |
140 | <i class="icon-question-sign get-help heading-help" title="Not executed tasks don't need to run because their outcome is provided by another task"></i> | 141 | <i class="icon-question-sign get-help heading-help" title="Not executed tasks don't need to run because their outcome is provided by another task"></i> |
141 | {% endif %} | 142 | {% endif %} |
142 | </h2> | 143 | </h2> |
143 | <dl class="dl-horizontal"> | 144 | <dl class="dl-horizontal"> |
144 | <dt> | 145 | <dt> |
145 | <i class="icon-question-sign get-help" title="To make builds more efficient, the build system detects changes in the 'inputs' to a given task by creating a 'task signature'. If the signature changes, the build system assumes the inputs have changed and the task needs to be rerun"></i> | 146 | <i class="icon-question-sign get-help" title="To make builds more efficient, the build system detects changes in the 'inputs' to a given task by creating a 'task signature'. If the signature changes, the build system assumes the inputs have changed and the task needs to be rerun"></i> |