update the feature colors
This commit is contained in:
parent
c832c00003
commit
d26f239c3d
|
@ -46,7 +46,7 @@ button.accordion {
|
||||||
|
|
||||||
button.download-button {
|
button.download-button {
|
||||||
color: white;
|
color: white;
|
||||||
background-color: orange;
|
background-color: #00a8ff;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 18px;
|
padding: 18px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -58,8 +58,8 @@ button.download-button {
|
||||||
}
|
}
|
||||||
|
|
||||||
div.download-header {
|
div.download-header {
|
||||||
height: 10%;
|
height: 7%;
|
||||||
background-color: black;
|
background-color: #273c75;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
|
|
|
@ -19,7 +19,7 @@ function draw(rate) {
|
||||||
var red = (percentage[1]*2)/100;
|
var red = (percentage[1]*2)/100;
|
||||||
var canvas = document.getElementById("canvas");
|
var canvas = document.getElementById("canvas");
|
||||||
var ctx = canvas.getContext("2d");
|
var ctx = canvas.getContext("2d");
|
||||||
var colors = ['#40ff00', '#ff0000'];
|
var colors = ['#00a90e','#ff9a02'];
|
||||||
var angles = [Math.PI * green, Math.PI * red];
|
var angles = [Math.PI * green, Math.PI * red];
|
||||||
var offset = 0;
|
var offset = 0;
|
||||||
var beginAngle = 0;
|
var beginAngle = 0;
|
||||||
|
@ -41,7 +41,7 @@ function draw(rate) {
|
||||||
ctx.moveTo(200 + offsetX, 200 + offsetY);
|
ctx.moveTo(200 + offsetX, 200 + offsetY);
|
||||||
ctx.arc(200 + offsetX, 200 + offsetY, 120, beginAngle, endAngle);
|
ctx.arc(200 + offsetX, 200 + offsetY, 120, beginAngle, endAngle);
|
||||||
ctx.lineTo(200 + offsetX, 200 + offsetY);
|
ctx.lineTo(200 + offsetX, 200 + offsetY);
|
||||||
ctx.stroke();
|
// ctx.stroke();
|
||||||
ctx.fill();
|
ctx.fill();
|
||||||
|
|
||||||
ctx.rect(canvas.width - 129, i * 20 + 10, 10, 10);
|
ctx.rect(canvas.width - 129, i * 20 + 10, 10, 10);
|
||||||
|
|
|
@ -5,9 +5,9 @@ $ errors = 0
|
||||||
$ color = "green"
|
$ color = "green"
|
||||||
<div>
|
<div>
|
||||||
<div class="download-header">
|
<div class="download-header">
|
||||||
<button class="download-button" onclick="window.location.href = '$download_api';">Download</button>
|
<button class="download-button" onclick="window.location.href = '$download_api';">Download Report</button>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 35%; overflow-y: scroll; overflow-x: hidden;">
|
<div style="height: 38%; overflow-y: scroll; overflow-x: hidden;">
|
||||||
$for server in range(len(output)):
|
$for server in range(len(output)):
|
||||||
$code:
|
$code:
|
||||||
errors = 0
|
errors = 0
|
||||||
|
|
Loading…
Reference in a new issue