-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
241 lines (209 loc) · 8.07 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
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!DOCTYPE html>
<html lang="en">
<head>
<title>Eco - Mart</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.2/angular.min.js"></script>
<script src="js/script.js" ></script>
<script src="js/control.js"></script>
</head>
<body ng-app="myApp">
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">Home</a></li>
<li><input type="text" class="form-control" placeholder="Search" id="search" ></li>
<li><button id="input" onclick="searchContent()" >submit</button>
</ul>
<ul class="nav navbar-nav navbar-right" >
<li><span class="glyphicon" id="userDispNm" style="color: aliceblue; justify-content: center; "> </span> </li>
<li><button onclick="signOut()" id="loutBtn" style="margin: 10px;">SignOut</button>></li>
</ul>
</div>
</div>
</nav>
<div id="fr1">
<div class="row">
<div class="col-md-9" id="sec1">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
<li data-target="#myCarousel" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="img/logo2.png" class="img-responsive" alt="Image">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<img src="img/Slide1.jpg" onclick="searchContent1()" class="img-responsive" alt="Image">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<img src="img/slide3.jpeg" onclick="searchContent1()" class="img-responsive" alt="Image">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<img src="img/slide4.jpg" onclick="searchContent1()" class="img-responsive" alt="Image">
<div class="carousel-caption">
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<div class="col-md-3 bakg" id="sec2" >
<center> <div class="backg">
<div class="form-group row">
<label for="inputEmail3" class="col-sm-1 col-form-label" ></label>
<div class="col-sm-10">
<input type="email" class="form-control" id="emailLin" placeholder="Email">
</div>
</div>
<div class="form-group row">
<label for="inputPassword3" class="col-sm-1 col-form-label"></label>
<div class="col-sm-10">
<input type="password" class="form-control" id="passLin" placeholder="Password">
</div>
</div>
<div class="form-group row">
<div class="col-sm-12">
<button type="submit" id="btn-login" class="btn btn-primary" onclick="funcLogin()">Sign in</button>
</div>
</div>
</div>
</center>
<center> <div class="backg">
<div class="form-group row">
<label for="inputEmail3" class="col-sm-1 col-form-label" ></label>
<div class="col-sm-10">
<input type="text" class="form-control" id="nameSup" placeholder="Name">
</div>
</div>
<div class="form-group row">
<label for="inputEmail3" class="col-sm-1 col-form-label" ></label>
<div class="col-sm-10">
<input type="email" class="form-control" id="emailSup" placeholder="Email">
</div>
</div>
<div class="form-group row">
<label for="inputPassword3" class="col-sm-1 col-form-label"></label>
<div class="col-sm-10">
<input type="password" class="form-control" id="passSup" placeholder="Password">
</div>
</div>
<div class="form-group row">
<div class="col-sm-12">
<button type="submit" class="btn btn-primary" onclick="funcUp()">Register</button>
</div>
</div>
</div>
</center>
</div>
</div>
</div>
<!-- Recommended Products
<div ng-controller="myCtrl">
<div class="container-fluid">
</div>
<h1 ng-repeat="x in records | orderBy: '' | filter:search" >{{x}}</h1>
</div>-->
<!-- service for food-->
<div class="container-fluid text-center" style="background-color: #D5D8DC" >
<h2> HELPING HANDS</h2><div class="row">
<div class="col-sm-7">
<h1> Serve Others</h1>
<p> An initiative to serve those who need from the excess we throw.Share the excess food you have to those who need in your neighbourhood.</p>
</div>
<div class="col-sm-5 slideanim">
<div class="row">
<div class="col-sm-6 form-group">
<input class="form-control" id="orgName" name="name" placeholder="Org. Name" type="text" required>
</div>
<div class="col-sm-6 form-group">
<input class="form-control" id="contact" name="contact" placeholder="Contact No." type="number" required>
</div>
</div>
<textarea class="form-control" id="description" name="description" placeholder="Description about amount of food you have left-over with estimated no of people who can eat" rows="5"></textarea><br>
<div class="row">
<div class="col-sm-12 form-group">
<input type="text" id="autocomplete"/>
<button class="btn btn-default pull-right" onclick="sendNot()" type="submit">Send</button>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid text-center" >
<h2>NON - BIO - DEGRADABLE MANAGEMENT</h2><div class="row">
<div class="col-sm-12">
<h2> A wide range of product to choose from taking health factors, sustainability & Durability into consideration</h2>
<center><h3><a href="try.html?search=washingmachine&enabled=true">Proceed HERE</a></h3></center>
</div>
</div>
</div>
<footer class="container-fluid text-center">
<div>
<ul>
<li>Contact Us</li>
<li>Terms & Conditions</li>
</ul>
</div>
</footer>
<script src="https://maps.googleapis.com/maps/api/js?sensor=false&libraries=places&language=en"></script>
<script>
var input = document.getElementById('autocomplete');
var autocomplete = new google.maps.places.Autocomplete(input);
</script>
</body>
<script src="https://www.gstatic.com/firebasejs/5.4.0/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyD-DxWbF_xEc45PG0g-byOzviU3vS0HXLQ",
authDomain: "wman-12.firebaseapp.com",
databaseURL: "https://wman-12.firebaseio.com",
projectId: "wman-12",
storageBucket: "wman-12.appspot.com",
messagingSenderId: "465471242460"
};
firebase.initializeApp(config);
function searchContent() {
var searchData = document.getElementById("search").value;
window.location.assign("try.html?search="+ searchData+"&enabled=true");
}
function searchContent1() {
window.location.assign("try.html?search=washingmachine&enabled=true");
}
</script>
<script src="js/login.js" ></script>
<script src="js/script.js"></script>
</html>