Skip to content

Commit

Permalink
Merge pull request #294 from flask-dashboard/hotfix/reporting-colors
Browse files Browse the repository at this point in the history
Found a small error in matching colors to the latency development
  • Loading branch information
mircealungu committed Feb 11, 2020
2 parents b61d18a + b4b53a0 commit 26a8d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_monitoringdashboard/static/pages/reporting.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h1>{{ summary.endpoint_name }}</h1>
<li class="list-group-item" ng-show="answer.is_significant || !onlyShowInteresting">
<div ng-switch="answer.type">
<div ng-switch-when="AVERAGE_LATENCY" style="padding-bottom:15px">
<h4 ng-class="answer.percentual_diff > 0 ? 'greenText' : 'redText'">Average latency
<h4 ng-class="answer.percentual_diff > 0 ? 'redText' : 'greenText'">Average latency
{{ answer.percentual_diff > 0 ? 'increased' : 'decreased' }} by
{{ answer.percentual_diff | abs | number : 0 }}%</h4>
<p>From {{ answer.compared_to_average|number:0 }}ms to
Expand Down

0 comments on commit 26a8d0c

Please sign in to comment.