show controllers in recipe
This commit is contained in:
parent
8631c8c111
commit
c144873f7f
|
@ -183,6 +183,10 @@ function render_load_recipe(data) {
|
||||||
</div>
|
</div>
|
||||||
{{#selected_recipe}}
|
{{#selected_recipe}}
|
||||||
{{description}}
|
{{description}}
|
||||||
|
Controllers:
|
||||||
|
{{#controllers}}
|
||||||
|
{{.}}
|
||||||
|
{{/controllers}}
|
||||||
{{#phases}}
|
{{#phases}}
|
||||||
<br><br>
|
<br><br>
|
||||||
<div class="content"><h4>{{name}}</h4></div>
|
<div class="content"><h4>{{name}}</h4></div>
|
||||||
|
|
|
@ -209,6 +209,7 @@ class Recipe():
|
||||||
return {
|
return {
|
||||||
'name': self.name,
|
'name': self.name,
|
||||||
'description': self.description,
|
'description': self.description,
|
||||||
|
'controllers': self.controllers,
|
||||||
'phases': [
|
'phases': [
|
||||||
phasetodict(i, p)
|
phasetodict(i, p)
|
||||||
for (i, p) in enumerate(self.phases)
|
for (i, p) in enumerate(self.phases)
|
||||||
|
|
Loading…
Reference in New Issue