-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (31 loc) · 1.12 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
<!doctype html>
<html lang="en">
<head>
<title>Lunch Checker</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles/bootstrap.min.css">
<link rel="stylesheet" href="styles/angularjsv01.css">
<style>
.message { font-size: 1.3em; font-weight: bold; }
</style>
</head>
<body ng-app="LunchCheck">
<div class="container" ng-controller="LunchCheckController">
<h1>Lunch Checker</h1>
<div class="form-group" ng-style="textStyle">
<input id="lunch-menu" type="text"
placeholder="list comma separated dishes you usually have for lunch"
class="form-control" ng-model="items"> {{emptyMessage}}
</div>
<div class="form-group">
<button class="btn btn-default" ng-click="checkLunch()">Check If Too Much</button>
</div>
<div class="form-group message" ng-style="messageStyle">
<!-- Your message can go here. -->
{{textHolder}}
</div>
</div>
</body>
<script src="angular.min.js"></script>
<script src="app.js"></script>
</html>