-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
134 lines (108 loc) · 4.32 KB
/
form.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Donate Form</title>
<!-- Font Awesome -->
<script
src="https://kit.fontawesome.com/f3bf4321f3.js"
crossorigin="anonymous"
></script>
<!-- Google Fonts -->
<link
href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700,900|Ubuntu&display=swap"
rel="stylesheet"
/>
<!-- CSS Style Sheets -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="css/style.css" />
<!-- Boostrap Script files -->
<script
src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"
></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"
></script>
<!-- FIREBASE -->
<script src="https://www.gstatic.com/firebasejs/8.2.8/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.8/firebase-firestore.js"></script>
</head>
<body class="formbg">
<div id="fh5co-wrapper">
<div id="fh5co-page">
<div class="header-top">
<div class="container">
<div class="row">
<div class="col-md-6 col-sm-6 text-left fh5co-link">
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="blog.html">Blogs</a>
</div>
<div class="col-md-6 col-sm-6 text-right fh5co-social">
<a href="#" class="grow"><i class="icon-facebook2"></i></a>
<a href="#" class="grow"><i class="icon-twitter2"></i></a>
<a href="#" class="grow"><i class="icon-instagram2"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="thanks-div">
<p class="thanks">We are happy that you are taking out a step further to help us fight against Famine!</p>
</div>
<div class="form-style-10" >
<form id="add-resto-form">
<div class="section"><span>1</span>Basic Details :</div>
<div class="inner-wrap">
<label>Your Full name<input type="text" name="field1"
/></label>
<label>Name of the Restaurant<input type="text" name="field2"
/></label>
<label>Address <textarea name="field3"></textarea></label>
<label>How many people you wish to feed (Enter number)<input type="text" name="field4"
/></label>
<div class="section"><span>2</span>Contact Details :</div>
<div class="inner-wrap">
<label>Email Address <input type="email" name="field5" /></label>
<label>Phone Number <input type="text" name="field6" /></label>
</div>
<div class="button-section submit-button">
<input type="submit" name="Sign Up" />
<a href="index.html" class="back_btn">Back</a>
<p class="message text-danger"></p>
</div>
</form>
</div>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyCGbo82cXypP3VTPk6bFPXxYIJ69c0UpbA",
authDomain: "charity-database-290c6.firebaseapp.com",
projectId: "charity-database-290c6",
storageBucket: "charity-database-290c6.appspot.com",
messagingSenderId: "33063228993",
appId: "1:33063228993:web:e964445c179cf29dc258c0",
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
const db = firebase.firestore();
db.settings({timestampsInSnapshots: true});
</script>
<script src="app.js"></script>
</body>
</html>