-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhome.html
187 lines (152 loc) · 7.51 KB
/
home.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Log In - VegEatable</title>
<!-- Use mobile-aware viewport -->
<meta name="viewport" content= "width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- COMMON LIBRARIES -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <!-- need this for arrow Glyphicon to display correctly -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script
src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"
integrity="sha256-T0Vest3yCU7pafRw9r+settMBX6JkKN06dqBnpQ8d30="
crossorigin="anonymous"></script>
<!-- ICONS -->
<script src="https://use.fontawesome.com/9f03d0cffe.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.css" integrity="sha256-D3+gw6JE4hEJ9pnCs+BglSfZ2yG5gF+JGdPJ/v183fo=" crossorigin="anonymous" />
<!-- FONTS -->
<link href="https://fonts.googleapis.com/css?family=EB+Garamond" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Nobile" rel="stylesheet">
<!-- MAIN CSS -->
<link rel="stylesheet" href="home.css">
<!-- MAIN JS -->
<script src="home.js"> </script>
<!-- THIS HAS TO COME AFTER HOME.JS FOR MAP TO DISPLAY-->
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDkJo9zT4oqrowzLBILa0AyjcFS8G83RE0&callback=initMap">
</script>
</head>
<body>
<div id="container">
<div id="header" style=" cursor: pointer;"> VegEatable
<a id="login" href="Login.html"> <b> Log In/Sign Up</b></a>
</div>
<div id="left">
<div id="innerleft">
<div id="search">
<div id="searchbox">
<div class="btn-group">
<div class="input-group">
<input type="search" class="form-control" id="searchtext" placeholder="Seach for restaurants, recipes, etc.">
<div class="input-group-btn">
<button id="searchsubmit" class="btn btn-block" type="submit">
<i class="glyphicon glyphicon-search"></i>
</button>
</div>
</div>
</div>
</div>
<div class="list-group" style="margin: 5px auto; ">
<button id="pepper" type="button" class="list-group-item list-group-item-action list-group-item-success flex-column">
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1"><b> Pepper Sky</b></h5>
<small>
<p style=" margin: 0; padding:0;">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</p>
</small>
</div>
<p style="font-size: .75em;" class="mb-1"> 7AM - 9PM (617) 492-2541 Pad Thai Potato Puffs Spring Rolls Scallion Pancake Fresh </p>
</button>
<button id="bean" type="button" class="list-group-item list-group-item-action list-group-item-success flex-column">
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1"><b> Beantown Taqueria</b></h5>
<small>
<p style=" margin: 0; padding:0;">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</p>
</small>
</div>
<p style="font-size: .75em;" class="mb-1"> 8AM - 11PM (617) 441-8689 Veggie Burrito Veggie Chimi Changa Quesadilla Veggie Taco </p>
</button>
<button id="veggie" type="button" class="list-group-item list-group-item-action list-group-item-success flex-column">
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1"><b>Veggie Galaxy</b></h5>
<small>
<p style=" margin: 0; padding:0;">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
</p>
</small>
</div>
<p style="font-size: .75em;" class="mb-1"> 9AM - 11PM (617) 497-1513 The Club Traditional Reuben Stuffed Veggie Great Galaxy </p>
</button>
<button id="mary" type="button" class="list-group-item list-group-item-action list-group-item-success flex-column">
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1"><b>Mary Chung</b></h5>
<small>
<p style=" margin: 0; padding:0;">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star-o" aria-hidden="true"></i>
</p>
</small>
</div>
<p style="font-size: .75em;" class="mb-1"> 11AM - 10PM (617) 864-1991 Savory tomatoes with eggs Stir fried tofu Veggie Dumplings </p>
</button>
<button id="tos" type="button" class="list-group-item list-group-item-action list-group-item-success flex-column" onclick="">
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1"><b>Toscanini's</b></h5>
<small>
<p style=" margin: 0; padding:0;">
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
<i class="fa fa-star" aria-hidden="true"></i>
</p>
</small>
</div>
<p style="font-size: .75em;" class="mb-1"> 9AM - 11PM (617) 491-5877 Green Tea ice cream Strawberry ice cream Coffee Vanilla Mango </p>
</button>
</div>
</div>
</div>
</div>
<div id="right">
<div id="innerright">
<div id="map"></div>
</div>
</div>
</div>
</body>
<script>
item = sessionStorage.getItem("current_username");
if (item != null && item.length > 0){
console.log(item);
var login = document.getElementById("login");
console.log(login);
login.href = "profile.html"
login.innerHTML = "Welcome " + item.toString()
}
</script>
</html>