123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <!DOCTYPE html>
- <html lang="en" ng-app="RestaurantApp">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
- <meta name="description" content="">
- <meta name="author" content="">
-
- <title>Linguini-Menu</title>
-
- <!-- Bootstrap core CSS -->
- <link href="css2/bootstrap.min.css" rel="stylesheet">
-
- <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
- <link href="css2/ie10-viewport-bug-workaround.css" rel="stylesheet">
-
- <!-- Custom styles for this template -->
- <link href="css2/carousel.css" rel="stylesheet">
-
- <link rel="stylesheet" href="css2/styles.css">
-
- </head>
-
- <body ng-controller="controllerRestaurant">
- <!-- Carousel
- ================================================== -->
- <div class="carousel slide">
- <div class="carousel-inner">
- <div class="item active">
- <img src="/Users/christopherayala/Documents/ccom4030_0U1/restaurant_app/mobile_app/www/img/logo.png" alt="First slide">
- <div class="container">
- <div class="carousel-caption">
- <h1>{{restaurantDeets.name}}</h1>
- <h3>{{restaurantDeets.description}}</h3>
- </div>
- </div>
- </div>
- </div>
- </div><!-- /.carousel -->
-
- <div class="container marketing">
-
- <!-- Three columns of text below the carousel -->
- <div class="row">
- <div class="col-lg-4">
- <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">
- <h2>Bebidas</h2>
- <p>Escoge tu bebida preferida.</p>
- <p><a class="btn btn-default" href="#beverages" role="button">Ver mas »</a></p>
- </div><!-- /.col-lg-4 -->
- <div class="col-lg-4">
- <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">
- <h2>Filtrar por Preferencias</h2>
- <p>Escoja si tiene alguna preferencia dietetica que debamos saber. Favor de llevar su informacion a continuacion: </p>
- <p><a class="btn btn-default userBtn" role="button" ng-click="messageList()">{{userMessage}} »</a></p>
- <div class="diet" ng-show="listAppearWhenClicked">
- <input class="text" type="text" placeholder="Nombre"ng-model="diet.name"><br>
- <input class="text" type="text" placeholder="Indique Alergias" ng-model="diet.address" ><br>
- <input class="text" type="text" placeholder="Numero de telefono" ng-model="diet.phone" ><br>
- <form name="form" ng-submit="saveCusty()">
- <input ng-model="diet.vegan" class="checkbox" type="checkbox" value="vegan">Vegano<br>
- <input ng-model="diet.glutenFree" class="checkbox" type="checkbox" value="glutenFree">Sin Gluten<br>
- <input ng-model="diet.citrusFree" class="checkbox" type="checkbox" value="citrusFree">No Cítricos<br>
- <input ng-click="toolTipper()" type="submit" value="Someter">
- <input ng-click="resetForm()" type="button" value="Restablecer">
- </form>
- </div>
- </div><!-- /.col-lg-4 -->
- <div class="col-lg-4">
- <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">
- <h2>Comida</h2>
- <p>FOOD FOOD FOOD. You Hungry?</p>
- <p><a class="btn btn-default" href="#food" role="button">Ver mas »</a></p>
- </div><!-- /.col-lg-4 -->
- </div><!-- /.row -->
-
-
- <!-- START THE FEATURETTES -->
-
- <hr class="featurette-divider">
-
- <div class="row featurette">
- <div class="col-md-7">
- <a name="beverages"></a><h2 class="featurette-heading">Bebidas</h2>
- <dl ng-repeat="bev in menuComplete.drinks" class="drinkMenu">
- <dt class="menuItems">{{bev.name}}, ${{bev.price}}</dt>
- <dd class="description">{{bev.description}}</dd>
- <dd class="details" ng-repeat="ingredient in bev.contents">{{ingredient.name}}</dd>
- <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>
- </dl>
- </div>
- <div class="col-md-5">
- <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">
- </div>
- </div>
-
- <hr class="featurette-divider">
-
- <div class="row featurette">
- <div class="col-md-7 col-md-push-5">
- <a name="food"></a><h2 class="featurette-heading">Comida</h2>
- <dl ng-repeat="food in menuComplete.foods" class="foodMenu">
- <dt class="menuItems">{{food.name}}, {{food.price}}</dt>
- <dd class="description">{{food.description}}</dd>
- <dd class="details" ng-repeat="ingredient in food.contents">{{ingredient.name}}</dd>
- <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>
- </dl>
- </div>
- <div class="col-md-5 col-md-pull-7">
- <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">
- </div>
- </div>
-
- <hr class="featurette-divider">
- </div>
- <!-- /END THE FEATURETTES -->
-
- <div class="cart">
- <h2>El total de su orden es: <br>${{rounded}}</h2>
- </div>
-
- <!-- /.container -->
-
- <!-- FOOTER -->
- <footer>
- <p class="pull-right"><a href="#">Back to top</a></p>
- <p>© 2020 {{restaurantDeets.owners}} · {{restaurantDeets.phone}} · {{restaurantDeets.email}} · {{restaurantDeets.address}}</p>
- </footer>
-
-
-
- <!-- Bootstrap core JavaScript
- ================================================== -->
- <!-- Placed at the end of the document so the pages load faster -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
- <script>window.jQuery || document.write('<script src="jss/jquery.min.js"><\/script>')</script>
- <script src="js/bootstrap.min.js"></script>
- <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
- <script src="js/ie10-viewport-bug-workaround.js"></script>
-
- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.9/angular.js"></script>
- <script type="text/javascript" src="js2/main_2.js"></script>
-
- </body>
- </html>
|