oops
This commit is contained in:
7
webapp/dist/charts.html
vendored
7
webapp/dist/charts.html
vendored
@@ -3,12 +3,15 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
</head>
|
||||
<body id="root">
|
||||
<div class="chart-container center">
|
||||
<canvas id="myChart"></canvas>
|
||||
<div>
|
||||
<h1>Ledda's Room Climate</h1>
|
||||
<canvas id="myChart"></canvas>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</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;
|
||||
width: calc(100% - 20vw);
|
||||
height: calc(100% - 20vw);
|
||||
text-align: center;
|
||||
}
|
||||
.chart-container > * {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#myChart {
|
||||
@@ -42,4 +46,10 @@ html, body {
|
||||
padding: 2vw;
|
||||
border-radius: 1vw;
|
||||
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: {
|
||||
title: {
|
||||
display: true,
|
||||
text: 'Ledda\'s Room Climate',
|
||||
},
|
||||
legend: {
|
||||
position: "top",
|
||||
align: "end",
|
||||
|
||||
Reference in New Issue
Block a user