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

t

parent 7afe7863
...@@ -88,7 +88,6 @@ def generate_graph_data(): ...@@ -88,7 +88,6 @@ def generate_graph_data():
# Create data for chart # Create data for chart
# count = 0 # count = 0
records = DailyUsage.query.order_by(desc(DailyUsage.date)).limit(7).all() records = DailyUsage.query.order_by(desc(DailyUsage.date)).limit(7).all()
print(records)
for record in records: for record in records:
labels.append(date(record.date.year, record.date.month, record.date.day)) labels.append(date(record.date.year, record.date.month, record.date.day))
values.append(record.kwhUsed) values.append(record.kwhUsed)
......
...@@ -20,6 +20,10 @@ body { ...@@ -20,6 +20,10 @@ body {
/*height: 90%;*/ /*height: 90%;*/
} }
.device_list_title {
text-decoration: underline;
}
.device_list { .device_list {
width: 25%; width: 25%;
/*background-color: red;*/ /*background-color: red;*/
...@@ -28,8 +32,8 @@ body { ...@@ -28,8 +32,8 @@ body {
margin-bottom: 5%; margin-bottom: 5%;
} }
.device_list_title { .device_details {
text-decoration: underline; list-style-type: none;
} }
.smart_meter { .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