select-menu-page.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <div class="select-menu-page" ng-controller="SelectMenuPageController">
  2. <div class="search">
  3. <div class="search-wrapper">
  4. <div class="search-description">
  5. explore the master kitchen menu:
  6. </div>
  7. <div class="search-buttons-wrapper">
  8. <div class="search-button" ng-click="mealType = 'breakfast'" ng-class="{'search-button-active': mealType == 'breakfast'}">
  9. Breakfast
  10. </div>
  11. <div class="search-button" ng-click="mealType = 'lunch'" ng-class="{'search-button-active': mealType == 'lunch'}">
  12. Lunch
  13. </div>
  14. <div class="search-button" ng-click="mealType = 'dinner'" ng-class="{'search-button-active': mealType == 'dinner'}">
  15. Dinner
  16. </div>
  17. <div class="search-button" ng-click="mealType = 'snacks'" ng-class="{'search-button-active': mealType == 'snacks'}">
  18. Snacks
  19. </div>
  20. </div>
  21. </div>
  22. </div>
  23. <div class="meal-items">
  24. <div class="meal-item" ng-repeat="meal in meals" ng-if="meal.type == mealType">
  25. <div class="meal-item-title">
  26. <h2>{{meal.mealName}}</h2>
  27. </div>
  28. <div class="meal-item-img">
  29. <img ng-src="{{meal.imageUrl}}">
  30. </div>
  31. <div class="meal-item-ingredients">
  32. <h3>Ingredients</h3>
  33. <ul>
  34. <li ng-repeat="ingredient in meal.ingredients">- {{ingredient}}</li>
  35. </ul>
  36. </div>
  37. <div class="meal-item-bottom">
  38. <div class="meal-item-bottom-container">
  39. <div class="meal-item-price">
  40. <span>{{meal.price}} USD</span>
  41. </div>
  42. <div class="meal-item-btn">
  43. <button type="button" ng-click="selectMeal($index)">Add</button>
  44. </div>
  45. </div>
  46. </div>
  47. <div class="meal-item-checked-icon" ng-if="meal.isSelected">
  48. <i class="fa fa-check-circle"></i>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. <footer></footer>