ready-menu-second.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. <span>{{diet.price * +weekCount}} USD</span>
  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="adaptive-price">
  29. {{diet.price * +weekCount}} USD
  30. </div>
  31. <div class="item-description">
  32. {{diet.description}}
  33. </div>
  34. <div class="item-numbers">
  35. <div class="item-numbers-text">
  36. On an average per day:
  37. </div>
  38. <div class="item-numbers-calories">
  39. {{diet.calories}}
  40. </div>
  41. <div class="item-numbers-proteins">
  42. {{diet.protein}}
  43. </div>
  44. <div class="item-numbers-fats">
  45. {{diet.fats}}
  46. </div>
  47. <div class="item-numbers-carbs">
  48. {{diet.carbs}}
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>