-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
138 lines (120 loc) · 6.29 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
<!DOCTYPE html>
<html>
<head>
<!-- ========== Title ========== -->
<title> TedX Seats </title>
<meta charset="UTF-8">
<meta name="author" content="TEDxCUSAT, CUSAT">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="assets/css/tickets.css">
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<!--SCRIPTS *************************************************** -->
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/6.4.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/6.4.0/firebase-firestore.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#config-web-app -->
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyACYpVnmG2m9YQtIG82mWNh6WJV_49J7kw",
authDomain: "tedx-a0b18.firebaseapp.com",
databaseURL: "https://tedx-a0b18.firebaseio.com",
projectId: "tedx-a0b18",
storageBucket: "tedx-a0b18.appspot.com",
messagingSenderId: "208199290171",
appId: "1:208199290171:web:632764dead049e8f"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<!-- *************************************************** -->
<div class="container">
<!-- ---------------------------------------------------------- -->
<div class="header h1 text-center">
<!-- <span style="color: #EC3832">Buy</span> Tickets -->
Registrations
</div>
<!-- ---------------------------------------------------------- -->
<br> <br>
<div class="tickets text-center">
<form action="https://us-central1-tedx-a0b18.cloudfunctions.net/addMessage" method="POST">
<div class="form-group">
<label for="FullName">Name</label>
<input type="text" class="form-control" id="Name" name="name" aria-describedby="Name"
placeholder="Enter full name" required>
</div>
<!-- <div class="form-group">
<label for="FullName">Seat no</label>
<input type="text" class="form-control" id="Name" aria-describedby="Name" placeholder="Enter full name" required>
</div> -->
<div class="form-group">
<label for="Email1">Email address</label>
<input type="email" class="form-control" name="email" id="Email1" aria-describedby="emailHelp"
placeholder="Enter email">
</div>
<div class="form-group">
<label for="validationDefault05">Phone no:</label>
<input type="tel" pattern="[0-9]{10}" name="phone" class="form-control" id="validationDefault05"
placeholder="10 digit mobile no" required>
</div>
<br>
<div class="form-group">
<label>Ticket type:</label><br>
<div class="form-check form-check-inline">
<input class="form-check-input radio-s" type="radio" name="type" id="inlineRadio3" value="cusat"
required>
<label class="form-check-label" for="inlineRadio3">CUSAT</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input radio-s" type="radio" name="type" id="inlineRadio4"
value="normal">
<label class="form-check-label" for="inlineRadio4">General</label>
</div>
</div>
<br> <br>
<div class="form-group">
<label>Food preference:</label><br>
<div class=" form-check form-check-inline">
<input class="form-check-input radio-s" type="radio" name="food" id="inlineRadio1" value="veg"
required>
<label class="form-check-label" for="inlineRadio1">VEG </label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input radio-s" type="radio" name="food" id="inlineRadio2"
value="non-veg">
<label class="form-check-label" for="inlineRadio2"> NON-VEG</label>
</div>
</div>
<br><br>
<!-- <div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1" required>
<label class="form-check-label" for="exampleCheck1">I agree to terms and conditions</label>
</div> -->
<div class="form-group seatlayout">
<h3 class="h3"><span style="color: #EC3832">Select</span> Seat</h3>
<br>
<div class="screen justify-content-center">All eyes this way, please.</div>
<div class="scroll">
<div id="messagePanel" class="messagePanel justify-content-center"></div>
</div>
</div>
<br><br>
<div id="terms">
<span>By booking a TEDxCUSAT ticket, you agree to our <a
href="https://tedxcusat.in/guidelines.pdf" target="blank">terms and conditions</a>.</span>
</div>
<br><br>
<button type="submit" class="btn btn-danger">Buy Ticket</button>
</form>
</div>
</div>
<!-- ========================================== -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="assets/js/script.js"></script>
</body>
</html>