ready-menu-second.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <div class="ready-menu-second" ng-init="onInit()" ng-controller="ReadyMenuSecondController">
  2. <div class="ready-menu-second-wrapper">
  3. <div class="item" ng-repeat="diet in diets" ng-if="diet.dietType == filterBy">
  4. <div class="item-img">
  5. <div ng-click="deleteDietItem($index)" class="diet-item-delete-btn">
  6. <span class="fa fa-times"></span>
  7. </div>
  8. <img ng-src="{{diet.imageUrl}}">
  9. </div>
  10. <div class="item-content">
  11. <div class="item-title">
  12. <h1>{{diet.title}}</h1>
  13. </div>
  14. <div class="item-center">
  15. <div class="item-price">
  16. {{diet.price * +weekCount}} USD
  17. <select ng-model="weekCount">
  18. <option value="1" ng-selected="true">1 week</option>
  19. <option value="2">2 week</option>
  20. <option value="3">3 week</option>
  21. <option value="4">4 week</option>
  22. </select>
  23. </div>
  24. <div class="item-button">
  25. <button type="button" ng-click="addToCart(diet, diet.price, +weekCount)">Order</button>
  26. </div>
  27. </div>
  28. <div class="item-description">
  29. {{diet.description}}
  30. </div>
  31. <div class="item-numbers">
  32. <div class="item-numbers-text">
  33. On an average per day:
  34. </div>
  35. <div class="item-numbers-calories">
  36. {{diet.calories}}
  37. </div>
  38. <div class="item-numbers-proteins">
  39. {{diet.protein}}
  40. </div>
  41. <div class="item-numbers-fats">
  42. {{diet.fats}}
  43. </div>
  44. <div class="item-numbers-carbs">
  45. {{diet.carbs}}
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. </div>