Skip to content

Commit

Permalink
added Consumption Result View
Browse files Browse the repository at this point in the history
  • Loading branch information
josihoppe committed Nov 21, 2024
1 parent 23ec5c2 commit 763fa24
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion building_dialouge_webapp/heat/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def __init__(self):
Next("end"),
)

self.end = EndState(self, url="heat:home")
self.end = EndState(self, url="heat:consumption_result")


class RoofFlow(Flow):
Expand Down
1 change: 1 addition & 0 deletions building_dialouge_webapp/heat/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
path("cellar/", flows.CellarFlow.as_view(), name="cellar"),
path("hotwater_heating/", flows.HotwaterHeatingFlow.as_view(), name="hotwater_heating"),
path("consumption_input/", flows.ConsumptionInputFlow.as_view(), name="consumption_input"),
path("consumption_result/", views.ConsumptionResult.as_view(), name="consumption_result"),
# step 2 inventory analysis
path("intro_inventory/", views.IntroInventory.as_view(), name="intro_inventory"),
path("roof/", flows.RoofFlow.as_view(), name="roof"),
Expand Down
4 changes: 4 additions & 0 deletions building_dialouge_webapp/heat/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ class IntroConsumption(TemplateView):
}


class ConsumptionResult(TemplateView):
template_name = "pages/consumption_result.html"


class IntroInventory(TemplateView):
template_name = "pages/intro_inventory.html"

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% extends "base.html" %}

{% block content %}
<div class="container my-5">
<h2>Ergebnis Ihrer Verbrauchsanalyse</h2>
</div>
{% endblock content %}

0 comments on commit 763fa24

Please sign in to comment.