|
44 | 44 | <tbody> |
45 | 45 | <tr ng-repeat="row in table" style="cursor: pointer" |
46 | 46 | ng-click="go('/endpoint/' + row.id + '/hourly_load')"> |
| 47 | + |
47 | 48 | <td style="background-color: {{ row.color }}"></td> |
48 | 49 | <td style="max-width: 200px;">{{ row.name }}</td> |
49 | 50 |
|
50 | | - <td ng-show="isHits" style="text-align: right;"> |
| 51 | + |
| 52 | + <td class="table_cell_with_error_count" |
| 53 | + ng-show="isHits" |
| 54 | + style="text-align: right;" |
| 55 | + ng-attr-error-count="{{ (row['hits-today-errors'] > 0) ? row['hits-today-errors'] : ''}}"> |
51 | 56 | {{ row['hits-today'] | number }} |
52 | | - <span ng-show="row['hits-today-errors'] > 0" |
53 | | - style="color: red">({{ row['hits-today-errors'] }})</span> |
54 | 57 | </td> |
55 | | - <td ng-show="isHits" style="text-align: right;"> |
56 | | - {{ row['hits-week'] | number }} |
57 | | - <span ng-show="row['hits-week-errors'] > 0" |
58 | | - style="color: red">({{ row['hits-week-errors'] }})</span> |
59 | 58 |
|
| 59 | + |
| 60 | + <td class="table_cell_with_error_count" |
| 61 | + ng-show="isHits" style="text-align: right;" |
| 62 | + ng-attr-error-count="{{ (row['hits-week-errors'] > 0) ? row['hits-week-errors'] : ''}}"> |
| 63 | + {{ row['hits-week'] | number }} |
60 | 64 | </td> |
| 65 | + |
61 | 66 | <td ng-show="isHits" style="text-align: right;"> |
62 | 67 | {{ row['hits-overall'] | number }} |
63 | 68 | </td> |
64 | 69 |
|
65 | 70 | <td ng-show="isHits==false" style="text-align: right;">{{ row['median-today'] | duration_ms }}</td> |
66 | 71 | <td ng-show="isHits==false" style="text-align: right;">{{ row['median-week'] | duration_ms }}</td> |
67 | | - <td ng-show="isHits==false" style="text-align: right;">{{ row['median-overall'] | duration_ms }}</td> |
| 72 | + <td ng-show="isHits==false" |
| 73 | + style="text-align: right;">{{ row['median-overall'] | duration_ms }}</td> |
68 | 74 | <td style="text-align: center;">{{ row['last-accessed'] | dateDifference }}</td> |
69 | 75 | <td ng-click="$event.stopPropagation()"> |
70 | 76 | <monitorlevel name="row.name" value="row.monitor"></monitorlevel> |
|
0 commit comments