-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (31 loc) · 1.26 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!doctype html>
<html lang="en">
<head>
<title>Narrow Down Your Menu Choice</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src = "scripts/jquery-3.2.1.min.js"></script>
<script src="scripts/angular.min.js"></script>
<script src="scripts/app.js"></script>
<link rel="stylesheet" href="styles/bootstrap.min.css">
<link rel="stylesheet" href="styles/styles.css">
</head>
<body ng-app="NarrowItDownApp">
<div class="container" ng-controller="NarrowItDownController as menu">
<h1>Narrow Down Your Chinese Menu Choice</h1>
<form class="form-inline">
<div class="form-group">
<input type="text" ng-model="menu.itemName" placeholder="search term" class="form-control">
</div>
<div class="form-group narrow-button">
<button class="btn btn-primary" ng-click="menu.getMatchedMenuItems();">Narrow It Down For Me!</button>
</div>
</form>
<!-- Loader implemented -->
<div ng-show="menu.searchButtonText === 'Searching'" class="loader"></div>
<!-- found-items should be implemented as a component -->
<found-items
found="menu.found"
on-remove="menu.removeItem(index)"></found-items>
</div>
</body>
</html>