Browse Source

gute nacht

master
Felix Diemar 3 years ago
parent
commit
7dacf0441c
3 changed files with 7 additions and 8 deletions
  1. 2
    2
      app/components/rezept.hbs
  2. 4
    4
      app/models/rezept.js
  3. 1
    2
      app/styles/app.css

+ 2
- 2
app/components/rezept.hbs View File

{{produkt.attributes.titel}}, {{produkt.attributes.titel}},
{{/each}}Gewürze</li> {{/each}}Gewürze</li>
<li class="detail"><h4>Personen:</h4>{{@rezept.personen}}</li> <li class="detail"><h4>Personen:</h4>{{@rezept.personen}}</li>
<li class="detail"><h4>Dauer:</h4>{{@rezept.dauer}}</li>
<li class="detail"><h4>Dauer:</h4>{{@rezept.dauer}} Minuten</li>
</ul> </ul>
</div> </div>
</span> </span>
{{produkt.attributes.titel}}, {{produkt.attributes.titel}},
{{/each}}Gewürze</li> {{/each}}Gewürze</li>
<li class="detail"><h4>Personen:</h4>{{@rezept.personen}} </li> <li class="detail"><h4>Personen:</h4>{{@rezept.personen}} </li>
<li class="detail"><h4>Dauer:</h4>{{@rezept.dauer}}</li>
<li class="detail"><h4>Dauer:</h4>{{@rezept.dauer}} Minuten</li>
</ul> </ul>
</div> </div>
</span> </span>

+ 4
- 4
app/models/rezept.js View File

@attr isSelected; @attr isSelected;
@attr ('string') beschreibung; @attr ('string') beschreibung;
@attr kategorie; @attr kategorie;
@hasMany('produkt') produkte;
@attr produkte;
@attr gewuerze; @attr gewuerze;
@attr personen;
@attr dauer;
@attr bild;
@attr ('number') personen;
@attr ('number') dauer;
@attr ('string') bild;


get status() get status()
{ {

+ 1
- 2
app/styles/app.css View File



.resultsRezept { .resultsRezept {
display: flex; display: flex;
flex-direction: row;
flex-direction: column;
width: 100%; width: 100%;
} }



Loading…
Cancel
Save