First import of a somehow working app
This commit is contained in:
parent
bd05d7e26a
commit
b2890d48f2
13 changed files with 291 additions and 1 deletions
3
app/templates/application.hbs
Normal file
3
app/templates/application.hbs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<h1>Domember</h1>
|
||||
|
||||
{{outlet}}
|
||||
8
app/templates/components/heater-listview.hbs
Normal file
8
app/templates/components/heater-listview.hbs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{{high-charts chartOptions=(get chartOptions (concat heater.id)) content=(get chartData (concat heater.id)) }}
|
||||
<br/>
|
||||
<form class="form-inline" {{action "formSetConsign" on="submit"}}>
|
||||
Consign: {{input value=heater.consign type="number" step="any" maxlength="4"}}
|
||||
<button class="btn btn-default btn-sm" type="submit">
|
||||
Set
|
||||
</button>
|
||||
</form>
|
||||
9
app/templates/heaters.hbs
Normal file
9
app/templates/heaters.hbs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<h2>List of Heaters</h2>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
{{#each model as |heater|}}
|
||||
{{heater-listview title=heater.id heater=heater}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
{{outlet}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue