show controllers in recipe

This commit is contained in:
Nicolò Balzarotti 2022-11-19 20:37:13 +01:00
parent 8631c8c111
commit c144873f7f
2 changed files with 5 additions and 0 deletions

4
dist/server.js vendored
View File

@ -183,6 +183,10 @@ function render_load_recipe(data) {
</div>
{{#selected_recipe}}
{{description}}
Controllers:
{{#controllers}}
{{.}}
{{/controllers}}
{{#phases}}
<br><br>
<div class="content"><h4>{{name}}</h4></div>

View File

@ -209,6 +209,7 @@ class Recipe():
return {
'name': self.name,
'description': self.description,
'controllers': self.controllers,
'phases': [
phasetodict(i, p)
for (i, p) in enumerate(self.phases)