mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
Misc display tweaks
This commit is contained in:
parent
2ef7a71a5c
commit
60da02d818
2 changed files with 8 additions and 2 deletions
|
@ -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 > thead > tr > th { border : none; }
|
||||||
.ci-app-table > tbody > tr > td { 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; }
|
.ci-app-table .ci-app-test-info { width:150px; font-size: 12px; }
|
||||||
|
|
||||||
.canvasjs-chart-credit { display: none; }
|
.canvasjs-chart-credit { display: none; }
|
||||||
|
|
|
@ -159,8 +159,14 @@ window.onload = function () {
|
||||||
type: "line",
|
type: "line",
|
||||||
dataPoints: [
|
dataPoints: [
|
||||||
{% for d in history %}
|
{% 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"] }}]
|
markerColor: colors_per_level[{{ d["level"] }}]
|
||||||
|
{% else %}
|
||||||
|
y: 0,
|
||||||
|
markerSize: 1
|
||||||
|
{% endif %}
|
||||||
},
|
},
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue