Commit 9c8d4c43 authored by Kristian Tan's avatar Kristian Tan

t

parent 7afe7863
......@@ -88,7 +88,6 @@ def generate_graph_data():
# Create data for chart
# count = 0
records = DailyUsage.query.order_by(desc(DailyUsage.date)).limit(7).all()
print(records)
for record in records:
labels.append(date(record.date.year, record.date.month, record.date.day))
values.append(record.kwhUsed)
......
......@@ -20,6 +20,10 @@ body {
/*height: 90%;*/
}
.device_list_title {
text-decoration: underline;
}
.device_list {
width: 25%;
/*background-color: red;*/
......@@ -28,8 +32,8 @@ body {
margin-bottom: 5%;
}
.device_list_title {
text-decoration: underline;
.device_details {
list-style-type: none;
}
.smart_meter {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment