oops
This commit is contained in:
5
webapp/dist/charts.html
vendored
5
webapp/dist/charts.html
vendored
@@ -3,12 +3,15 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Ledda's Room Climate</title>
|
<title>Ledda's Room Climate</title>
|
||||||
<link href="{{.}}/static/styles.css" rel="stylesheet" />
|
<link href="styles.css" rel="stylesheet" />
|
||||||
<script src="{{.}}/static/main.js"></script>
|
<script src="{{.}}/static/main.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body id="root">
|
<body id="root">
|
||||||
<div class="chart-container center">
|
<div class="chart-container center">
|
||||||
|
<div>
|
||||||
|
<h1>Ledda's Room Climate</h1>
|
||||||
<canvas id="myChart"></canvas>
|
<canvas id="myChart"></canvas>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
2
webapp/dist/main.js
vendored
2
webapp/dist/main.js
vendored
File diff suppressed because one or more lines are too long
10
webapp/dist/styles.css
vendored
10
webapp/dist/styles.css
vendored
@@ -35,6 +35,10 @@ html, body {
|
|||||||
padding: 10vw;
|
padding: 10vw;
|
||||||
width: calc(100% - 20vw);
|
width: calc(100% - 20vw);
|
||||||
height: calc(100% - 20vw);
|
height: calc(100% - 20vw);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.chart-container > * {
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
#myChart {
|
#myChart {
|
||||||
@@ -43,3 +47,9 @@ html, body {
|
|||||||
border-radius: 1vw;
|
border-radius: 1vw;
|
||||||
border: 3px #c7ab82 solid;
|
border: 3px #c7ab82 solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-family: "Georgia", serif;
|
||||||
|
font-weight: normal;
|
||||||
|
color: #7b5b2f;
|
||||||
|
}
|
||||||
@@ -40,10 +40,6 @@ export function generateClimateChartConfig(settings: ClimateChartSettings): Char
|
|||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
title: {
|
|
||||||
display: true,
|
|
||||||
text: 'Ledda\'s Room Climate',
|
|
||||||
},
|
|
||||||
legend: {
|
legend: {
|
||||||
position: "top",
|
position: "top",
|
||||||
align: "end",
|
align: "end",
|
||||||
|
|||||||
Reference in New Issue
Block a user