Bez popisu

menu2_copy.html 7.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <!DOCTYPE html>
  2. <html lang="en" ng-app="RestaurantApp">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  8. <meta name="description" content="">
  9. <meta name="author" content="">
  10. <title>Linguini-Menu</title>
  11. <!-- Bootstrap core CSS -->
  12. <link href="css2/bootstrap.min.css" rel="stylesheet">
  13. <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  14. <link href="css2/ie10-viewport-bug-workaround.css" rel="stylesheet">
  15. <!-- Custom styles for this template -->
  16. <link href="css2/carousel.css" rel="stylesheet">
  17. <link rel="stylesheet" href="css2/styles.css">
  18. </head>
  19. <body ng-controller="controllerRestaurant">
  20. <!-- Carousel
  21. ================================================== -->
  22. <div class="carousel slide">
  23. <div class="carousel-inner">
  24. <div class="item active">
  25. <img src="/Users/christopherayala/Documents/ccom4030_0U1/restaurant_app/mobile_app/www/img/logo.png" alt="First slide">
  26. <div class="container">
  27. <div class="carousel-caption">
  28. <h1>{{restaurantDeets.name}}</h1>
  29. <h3>{{restaurantDeets.description}}</h3>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </div><!-- /.carousel -->
  35. <div class="container marketing">
  36. <!-- Three columns of text below the carousel -->
  37. <div class="row">
  38. <div class="col-lg-4">
  39. <img class="img-circle" src="/Users/christopherayala/Documents/ccom4030_0U1/restaurant_app/mobile_app/www/img/water.png" alt="drink image" width="140" height="140">
  40. <h2>Bebidas</h2>
  41. <p>Escoge tu bebida preferida.</p>
  42. <p><a class="btn btn-default" href="#beverages" role="button">Ver mas &raquo;</a></p>
  43. </div><!-- /.col-lg-4 -->
  44. <div class="col-lg-4">
  45. <img class="img-circle" src="/Users/christopherayala/Documents/ccom4030_0U1/restaurant_app/mobile_app/www/img/people.png" alt="user Pref" width="140" height="140">
  46. <h2>Filtrar por Preferencias</h2>
  47. <p>Escoja si tiene alguna preferencia dietetica que debamos saber. Favor de llevar su informacion a continuacion: </p>
  48. <p><a class="btn btn-default userBtn" role="button" ng-click="messageList()">{{userMessage}} &raquo;</a></p>
  49. <div class="diet" ng-show="listAppearWhenClicked">
  50. <input class="text" type="text" placeholder="Nombre"ng-model="diet.name"><br>
  51. <input class="text" type="text" placeholder="Indique Alergias" ng-model="diet.address" ><br>
  52. <input class="text" type="text" placeholder="Numero de telefono" ng-model="diet.phone" ><br>
  53. <form name="form" ng-submit="saveCusty()">
  54. <input ng-model="diet.vegan" class="checkbox" type="checkbox" value="vegan">Vegano<br>
  55. <input ng-model="diet.glutenFree" class="checkbox" type="checkbox" value="glutenFree">Sin Gluten<br>
  56. <input ng-model="diet.citrusFree" class="checkbox" type="checkbox" value="citrusFree">No Cítricos<br>
  57. <input ng-click="toolTipper()" type="submit" value="Someter">
  58. <input ng-click="resetForm()" type="button" value="Restablecer">
  59. </form>
  60. </div>
  61. </div><!-- /.col-lg-4 -->
  62. <div class="col-lg-4">
  63. <img class="img-circle" src="/Users/christopherayala/Documents/ccom4030_0U1/restaurant_app/mobile_app/www/img/carousel/pizzeta.jpg" alt="food image" width="140" height="140">
  64. <h2>Comida</h2>
  65. <p>FOOD FOOD FOOD. You Hungry?</p>
  66. <p><a class="btn btn-default" href="#food" role="button">Ver mas &raquo;</a></p>
  67. </div><!-- /.col-lg-4 -->
  68. </div><!-- /.row -->
  69. <!-- START THE FEATURETTES -->
  70. <hr class="featurette-divider">
  71. <div class="row featurette">
  72. <div class="col-md-7">
  73. <a name="beverages"></a><h2 class="featurette-heading">Bebidas</h2>
  74. <dl ng-repeat="bev in menuComplete.drinks" class="drinkMenu">
  75. <dt class="menuItems">{{bev.name}}, ${{bev.price}}</dt>
  76. <dd class="description">{{bev.description}}</dd>
  77. <dd class="details" ng-repeat="ingredient in bev.contents">{{ingredient.name}}</dd>
  78. <dd class="add"><button type="button" ng-click="addItem(bev)">Añadir Orden</button><span class="message" ng-show="bev.activeToolTip">WARNING: THIS DOES NOT MEET YOUR FOOD PREFERENCES</span></dd>
  79. </dl>
  80. </div>
  81. <div class="col-md-5">
  82. <img class="featurette-image img-responsive center-block" src="/Users/christopherayala/Documents/ccom4030_0U1/restaurant_app/mobile_app/www/img/jugo.png" alt="drink menu image">
  83. </div>
  84. </div>
  85. <hr class="featurette-divider">
  86. <div class="row featurette">
  87. <div class="col-md-7 col-md-push-5">
  88. <a name="food"></a><h2 class="featurette-heading">Comida</h2>
  89. <dl ng-repeat="food in menuComplete.foods" class="foodMenu">
  90. <dt class="menuItems">{{food.name}}, {{food.price}}</dt>
  91. <dd class="description">{{food.description}}</dd>
  92. <dd class="details" ng-repeat="ingredient in food.contents">{{ingredient.name}}</dd>
  93. <dd class="add"><button type="checkbox" ng-click="addItem(food)">Añadir Orden</button><span class="message" ng-show="food.activeToolTip">WARNING: THIS DOES NOT MEET YOUR FOOD PREFERENCES</span></dd>
  94. </dl>
  95. </div>
  96. <div class="col-md-5 col-md-pull-7">
  97. <img class="featurette-image img-responsive center-block" src="/Users/christopherayala/Documents/ccom4030_0U1/restaurant_app/mobile_app/www/img/openhour.jpg" alt="food image">
  98. </div>
  99. </div>
  100. <hr class="featurette-divider">
  101. </div>
  102. <!-- /END THE FEATURETTES -->
  103. <div class="cart">
  104. <h2>El total de su orden es: <br>${{rounded}}</h2>
  105. </div>
  106. <!-- /.container -->
  107. <!-- FOOTER -->
  108. <footer>
  109. <p class="pull-right"><a href="#">Back to top</a></p>
  110. <p>&copy; 2020 {{restaurantDeets.owners}} &middot; {{restaurantDeets.phone}} &middot; {{restaurantDeets.email}} &middot; {{restaurantDeets.address}}</p>
  111. </footer>
  112. <!-- Bootstrap core JavaScript
  113. ================================================== -->
  114. <!-- Placed at the end of the document so the pages load faster -->
  115. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  116. <script>window.jQuery || document.write('<script src="jss/jquery.min.js"><\/script>')</script>
  117. <script src="js/bootstrap.min.js"></script>
  118. <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  119. <script src="js/ie10-viewport-bug-workaround.js"></script>
  120. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.9/angular.js"></script>
  121. <script type="text/javascript" src="js2/main_2.js"></script>
  122. </body>
  123. </html>