Skip to content

Commit 5d19aa2

Browse files
authored
Update template.html.jinja: fix colors order
1 parent 1a48d5f commit 5d19aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template.html.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</td>
3737
<td data-label="completion">
3838
<div class="progress-bar"
39-
style="width: {{ project.completion }}%;{% if project.change %}background: linear-gradient(to left, #4caf50 {{ project.change * 100 / project.completion }}%, lightgreen {{ project.change * 100 / project.completion }}%);{% else %}background-color: #4caf50;{% endif %}"
39+
style="width: {{ project.completion }}%;{% if project.change %}background: linear-gradient(to left, lightgreen {{ project.change * 100 / project.completion }}%, #4caf50 {{ project.change * 100 / project.completion }}%);{% else %}background-color: #4caf50;{% endif %}"
4040
title="{{ '{:.2f}'.format(project.completion) }}%, {{ '{:.2f}'.format(project.change) }} percentage points last month"
4141
>
4242
{{ "{:.2f}".format(project.completion) }}%

0 commit comments

Comments
 (0)