constructor.html 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <div ng-controller="mealsConstructor">
  2. <div class="constructor-page-title">
  3. <h1>MAKE YOUR MEAL PLAN</h1>
  4. </div>
  5. <div class="constructor-wrapper">
  6. <div class='constructor'>
  7. <div class="accordion">
  8. <ul>
  9. <li>
  10. <input type="checkbox">
  11. <i></i>
  12. <h2 class="accordion__title">BREAKFAST</h2>
  13. <div class="accordion__content">
  14. <div class="constructor-meals">
  15. <div ng-repeat='item in list1' ng-show="item.mealName" data-drag="true" data-jqyoui-options="{revert: 'invalid', helper: 'clone'}" ng-model="list1" jqyoui-draggable="{index: {{$index}}, placeholder: 'keep'}" class='constructor-meals__item' >
  16. <div class="constructor-meals__img">
  17. <img ng-src="{{item.imageUrl}}">
  18. </div>
  19. <div class="constructor-meals__title">
  20. <h3>{{item.mealName}}</h3>
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. </li>
  26. <li>
  27. <input type="checkbox" checked>
  28. <i></i>
  29. <h2 class="accordion__title">LUNCH</h2>
  30. <div class="accordion__content">
  31. <div class="constructor-meals">
  32. <div ng-repeat='item in list2' ng-show="item.mealName" data-drag="true" data-jqyoui-options="{revert: 'invalid', helper: 'clone'}" ng-model="list2" jqyoui-draggable="{index: {{$index}}, placeholder: 'keep'}" class='constructor-meals__item' >
  33. <div class="constructor-meals__img">
  34. <img ng-src="{{item.imageUrl}}">
  35. </div>
  36. <div class="constructor-meals__title">
  37. <h3>{{item.mealName}}</h3>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. </li>
  43. <li>
  44. <input type="checkbox" checked>
  45. <i></i>
  46. <h2 class="accordion__title">DINNER</h2>
  47. <div class="accordion__content">
  48. <div class="constructor-meals">
  49. <div ng-repeat='item in list3' ng-show="item.mealName" data-drag="true" data-jqyoui-options="{revert: 'invalid', helper: 'clone'}" ng-model="list3" jqyoui-draggable="{index: {{$index}}, placeholder: 'keep'}" class='constructor-meals__item' >
  50. <div class="constructor-meals__img">
  51. <img ng-src="{{item.imageUrl}}">
  52. </div>
  53. <div class="constructor-meals__title">
  54. <h3>{{item.mealName}}</h3>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </li>
  60. <li>
  61. <input type="checkbox" checked>
  62. <i></i>
  63. <h2 class="accordion__title">SNACKS</h2>
  64. <div class="accordion__content">
  65. <div class="constructor-meals constructor-meals--snacks">
  66. <div ng-repeat='item in list4' ng-show="item.mealName" data-drag="true" data-jqyoui-options="{revert: 'invalid', helper: 'clone'}" ng-model="list4" jqyoui-draggable="{index: {{$index}}, placeholder: 'keep'}" class='constructor-meals__item' >
  67. <div class="constructor-meals__img">
  68. <img ng-src="{{item.imageUrl}}">
  69. </div>
  70. <div class="constructor-meals__title">
  71. <h3>{{item.mealName}}</h3>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </li>
  77. </ul>
  78. </div>
  79. </div>
  80. <div class="one-week">
  81. <one-week></one-week>
  82. </div>
  83. <div class="one-week2">
  84. <one-week2></one-week2>
  85. </div>
  86. </div>
  87. <br>
  88. <div class="btn-basket" ng-click="sendCustomDiet()">
  89. <span class="btn-basket__link">Go to Basket</span>
  90. <div class="btn-basket__mask"></div>
  91. </div>
  92. <p class="constructor-total-price"><b>SUM TO BASKET: {{sumToBacket}}$</b></p>
  93. </div>
  94. <footer></footer>