constructor.html 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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">
  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. <one-week></one-week>
  81. </div>
  82. <br>
  83. <div class="btn-basket" ng-click="sendCustomDiet()">
  84. <span class="btn-basket__link">Go to Basket</span>
  85. <div class="btn-basket__mask"></div>
  86. </div>
  87. <p class="constructor-total-price"><b>SUM TO BASKET: {{sumToBacket}}$</b></p>
  88. </div>
  89. <footer></footer>