ready-menu-second.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. <img ng-src="{{diet.imageUrl}}">
  6. </div>
  7. <div class="item-content">
  8. <div class="item-title">
  9. <h1>{{diet.title}}</h1>
  10. </div>
  11. <div class="item-center">
  12. <div class="item-price">
  13. {{diet.price * +weekCount}} USD
  14. <select ng-model="weekCount">
  15. <option value="1" ng-selected="true">1 week</option>
  16. <option value="2">2 week</option>
  17. <option value="3">3 week</option>
  18. <option value="4">4 week</option>
  19. </select>
  20. </div>
  21. <div class="item-button">
  22. <button type="button" ng-click="addToCart(diet, diet.price, +weekCount)">Order</button>
  23. </div>
  24. </div>
  25. <div class="item-description">
  26. {{diet.description}}
  27. </div>
  28. <div class="item-numbers">
  29. <div class="item-numbers-text">
  30. On an average per day:
  31. </div>
  32. <div class="item-numbers-calories">
  33. {{diet.calories}}
  34. </div>
  35. <div class="item-numbers-proteins">
  36. {{diet.protein}}
  37. </div>
  38. <div class="item-numbers-fats">
  39. {{diet.fats}}
  40. </div>
  41. <div class="item-numbers-carbs">
  42. {{diet.carbs}}
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>