From 450c3eefd0ba5b108a20474f78308a497ee32d01 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 15 Jan 2022 14:56:21 +0000 Subject: Add HTML Files --- .gitignore | 1 - templates/error.html | 19 +++++++++++++++++++ templates/export_choice.html | 13 +++++++++++++ templates/main.html | 15 +++++++++++++++ 4 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 templates/error.html create mode 100644 templates/export_choice.html create mode 100644 templates/main.html diff --git a/.gitignore b/.gitignore index b95a570..88e4cd1 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,6 @@ .sw? *.elf *.pdf -*.html **/bin **/build **/target diff --git a/templates/error.html b/templates/error.html new file mode 100644 index 0000000..c532365 --- /dev/null +++ b/templates/error.html @@ -0,0 +1,19 @@ + + Heating + + + + +

+ Error +

+

+ {{ error }} +

+ +

+ Return to home +

+ diff --git a/templates/export_choice.html b/templates/export_choice.html new file mode 100644 index 0000000..2ed6b11 --- /dev/null +++ b/templates/export_choice.html @@ -0,0 +1,13 @@ + + Heating + + + + +

Home

+

Export as pdf

+

Export as csv

+

Use API

+ diff --git a/templates/main.html b/templates/main.html new file mode 100644 index 0000000..296d813 --- /dev/null +++ b/templates/main.html @@ -0,0 +1,15 @@ + + Heating + + + + +

{{ forecast_temp }}

+

Increase

+

{{ actual_temp }}

+

{{ target_temp }}

+

Decrease

+

Export data

+ -- cgit v1.2.3