select-menu-page.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <div class="select-menu-page" ng-controller="SelectMenuPageController">
  2. <div class="selected-meals-btn" ng-click="openSelectedMeals()">
  3. <span class="fa fa-bars"></span>
  4. </div>
  5. <div class="search">
  6. <div class="search-wrapper">
  7. <div class="search-description">
  8. explore the master kitchen menu:
  9. </div>
  10. <div class="search-buttons-wrapper">
  11. <div class="search-button" ng-click="mealType = 'breakfast'" ng-class="{'search-button-active': mealType == 'breakfast'}">
  12. Breakfast
  13. </div>
  14. <div class="search-button" ng-click="mealType = 'lunch'" ng-class="{'search-button-active': mealType == 'lunch'}">
  15. Lunch
  16. </div>
  17. <div class="search-button" ng-click="mealType = 'dinner'" ng-class="{'search-button-active': mealType == 'dinner'}">
  18. Dinner
  19. </div>
  20. <div class="search-button" ng-click="mealType = 'snacks'" ng-class="{'search-button-active': mealType == 'snacks'}">
  21. Snacks
  22. </div>
  23. </div>
  24. </div>
  25. </div>
  26. <div class="meal-items">
  27. <div ng-click="selectMeal($index)" class="meal-item" ng-repeat="meal in meals" ng-if="meal.type == mealType">
  28. <div class="meal-item-title">
  29. <h2>{{meal.mealName}}</h2>
  30. </div>
  31. <div class="meal-item-img">
  32. <img ng-src="{{meal.imageUrl}}">
  33. </div>
  34. <div class="meal-item-ingredients">
  35. <h3>Ingredients</h3>
  36. <ul>
  37. <li ng-repeat="ingredient in meal.ingredients">- {{ingredient}}</li>
  38. </ul>
  39. </div>
  40. <!-- цена -->
  41. <!-- кнопка добавить -->
  42. <!-- отметка добавленно -->
  43. </div>
  44. </div>
  45. </div>