Misc display tweaks

This commit is contained in:
root 2020-11-07 19:59:53 +00:00
parent 2ef7a71a5c
commit 60da02d818
2 changed files with 8 additions and 2 deletions

View file

@ -43,7 +43,7 @@ td.ci-app-test-result > div.danger { background-color: rgb(225,80,62); }
.ci-app-table > thead > tr > th { border : none; }
.ci-app-table > tbody > tr > td { border : none; }
.ci-app-table .ci-app-row-title { text-align: center; width:150px; }
.ci-app-table .ci-app-row-title { text-align: center; width:200px; }
.ci-app-table .ci-app-test-info { width:150px; font-size: 12px; }
.canvasjs-chart-credit { display: none; }

View file

@ -159,8 +159,14 @@ window.onload = function () {
type: "line",
dataPoints: [
{% for d in history %}
{ label: "{{ d.date }}", y: {{ d["level"] }},
{ label: "{{ d.date }}",
{% if d["level"] >= 0 %}
y: {{ d["level"] }},
markerColor: colors_per_level[{{ d["level"] }}]
{% else %}
y: 0,
markerSize: 1
{% endif %}
},
{% endfor %}
]