소스 검색

03-48 List of recipes

tags/before_ngrx
Nils Dittberner 8 년 전
부모
커밋
e653803682
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. +5
    -4
      src/app/recipes/recipe-list/recipe-list.component.html

+ 5
- 4
src/app/recipes/recipe-list/recipe-list.component.html 파일 보기

@@ -3,15 +3,16 @@
<button class="btn btn-success">New Recipe</button>
</div>
</div>
<hr>
<div class="row">
<div class="col-xs-12">
<a href="#" class="list-group-item clearfix">
<a href="#" class="list-group-item clearfix" *ngFor="let recipe of recipes">
<div class="pull-left">
<h4 class="list-group-item-heading">Recipe Name</h4>
<p class="list-group-item-text">Description</p>
<h4 class="list-group-item-heading">{{ recipe.name }}</h4>
<p class="list-group-item-text">{{ recipe.description }}</p>
</div>
<span class="pull-right">
<img src="" alt="" class="img-responsive" style="max-height: 50px;">
<img [src]="recipe.imagePath" alt="{{ recipe.name }}" class="img-responsive" style="max-height: 50px;">
</span>
</a>
<app-recipe-item></app-recipe-item>


불러오는 중...
취소
저장