First import of a somehow working app

This commit is contained in:
Gaëtan Duchaussois 2016-11-22 10:02:34 +01:00
parent bd05d7e26a
commit b2890d48f2
13 changed files with 291 additions and 1 deletions

View file

@ -0,0 +1,3 @@
<h1>Domember</h1>
{{outlet}}

View 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>

View 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}}