Commit f649c6b24cc43a2177451e7c11e244a85bd46f1f
1 parent
edb8348251
Exists in
master
and in
1 other branch
updated timer
Showing
3 changed files
with
39 additions
and
47 deletions
Show diff stats
css/custom.css
... | ... | @@ -1155,16 +1155,8 @@ input.hidden { |
1155 | 1155 | font-weight: normal; |
1156 | 1156 | margin-bottom: 0; |
1157 | 1157 | } |
1158 | - | |
1159 | -.no, .no:hover, .no:focus { | |
1160 | - background-color:red !important; | |
1161 | - border-color: red !important; | |
1162 | -} | |
1163 | - | |
1164 | 1158 | .button-aligment{ |
1165 | 1159 | margin-top: 5px; |
1166 | - background-color: red; | |
1167 | - border-color: red; | |
1168 | 1160 | } |
1169 | 1161 | .card-text { |
1170 | 1162 | clear: both; | ... | ... |
pages/registration.html
... | ... | @@ -26,10 +26,10 @@ |
26 | 26 | <label class="card-sub-title">9th November,2017</label> |
27 | 27 | </div> |
28 | 28 | <div class="pull-right"> |
29 | - <button class="no btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" data-toggle="collapse" ng-click="register('chennai')">Apply</button> | |
29 | + <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" data-toggle="collapse" ng-click="register('chennai')">Apply</button> | |
30 | 30 | </div> |
31 | 31 | <div class="clearfix"></div> |
32 | - <label class="card-sub-title"> Early bird deadline :<span id="chennai"></span>*</label> | |
32 | + <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="chennai"></span>*</label> | |
33 | 33 | </div> |
34 | 34 | <div class="card-text2"> |
35 | 35 | <span><b>Location</b></span> |
... | ... | @@ -48,10 +48,10 @@ |
48 | 48 | <label class="card-sub-title">11th November,2017</label> |
49 | 49 | </div> |
50 | 50 | <div class="pull-right"> |
51 | - <button class="no btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('pune')">Apply</button> | |
51 | + <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('pune')">Apply</button> | |
52 | 52 | </div> |
53 | 53 | <div class="clearfix"></div> |
54 | - <label class="card-sub-title"> Early bird deadline :<span id="pune"></span>*</label> | |
54 | + <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="pune"></span>*</label> | |
55 | 55 | </div> |
56 | 56 | <div class="card-text2"> |
57 | 57 | <span><b>Location</b></span> |
... | ... | @@ -70,10 +70,10 @@ |
70 | 70 | <label class="card-sub-title">13th November,2017</label> |
71 | 71 | </div> |
72 | 72 | <div class="pull-right"> |
73 | - <button class="no btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mumbai')">Apply</button> | |
73 | + <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mumbai')">Apply</button> | |
74 | 74 | </div> |
75 | 75 | <div class="clearfix"></div> |
76 | - <label class="card-sub-title"> Early bird deadline :<span id="mumbai"></span>*</label> | |
76 | + <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="mumbai"></span>*</label> | |
77 | 77 | </div> |
78 | 78 | <div class="card-text2"> |
79 | 79 | <span><b>Location</b></span> |
... | ... | @@ -92,10 +92,10 @@ |
92 | 92 | <label class="card-sub-title">15th November,2017</label> |
93 | 93 | </div> |
94 | 94 | <div class="pull-right"> |
95 | - <button class="no btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('ahmedabad')">Apply</button> | |
95 | + <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('ahmedabad')">Apply</button> | |
96 | 96 | </div> |
97 | 97 | <div class="clearfix"></div> |
98 | - <label class="card-sub-title"> Early bird deadline :<span id="ahmedabad"></span>*</label> | |
98 | + <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="ahmedabad"></span>*</label> | |
99 | 99 | </div> |
100 | 100 | <div class="card-text2"> |
101 | 101 | <span><b>Location</b></span> |
... | ... | @@ -119,10 +119,10 @@ |
119 | 119 | <label class="card-sub-title">17th November,2017</label> |
120 | 120 | </div> |
121 | 121 | <div class="pull-right"> |
122 | - <button class="no btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('jaipur')">Apply</button> | |
122 | + <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('jaipur')">Apply</button> | |
123 | 123 | </div> |
124 | 124 | <div class="clearfix"></div> |
125 | - <label class="card-sub-title"> Early bird deadline :<span id="jaipur"></span>*</label> | |
125 | + <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="jaipur"></span>*</label> | |
126 | 126 | </div> |
127 | 127 | <div class="card-text2"> |
128 | 128 | <span><b>Location</b></span> |
... | ... | @@ -134,17 +134,17 @@ |
134 | 134 | <div class="col-md-3"> |
135 | 135 | <div class="card" style="width:100%"> |
136 | 136 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
137 | - <img class="card-img-top" src="images/Delhi.png" style="width:100%"> | |
137 | + <img class="card-img-top" src="images/bangalore.png" style="width:100%"> | |
138 | 138 | <div class="card-block"> |
139 | 139 | <div class="pull-left"> |
140 | - <h4 class="card-title">Delhi</h4> | |
140 | + <h4 class="card-title">Bangalore</h4> | |
141 | 141 | <label class="card-sub-title">19th November,2017</label> |
142 | 142 | </div> |
143 | 143 | <div class="pull-right"> |
144 | - <button class="no btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('delhi')">Apply</button> | |
144 | + <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('bangalore')">Apply</button> | |
145 | 145 | </div> |
146 | 146 | <div class="clearfix"></div> |
147 | - <label class="card-sub-title"> Early bird deadline :<span id="delhi"></span>*</label> | |
147 | + <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="bangalore"></span>*</label> | |
148 | 148 | </div> |
149 | 149 | <div class="card-text2"> |
150 | 150 | <span><b>Location</b></span> |
... | ... | @@ -156,17 +156,17 @@ |
156 | 156 | <div class="col-md-3"> |
157 | 157 | <div class="card" style="width:100%"> |
158 | 158 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
159 | - <img class="card-img-top" src="images/bangalore.png" style="width:100%"> | |
159 | + <img class="card-img-top" src="images/Hyderabad.png" style="width:100%"> | |
160 | 160 | <div class="card-block"> |
161 | 161 | <div class="pull-left"> |
162 | - <h4 class="card-title">Bangalore</h4> | |
162 | + <h4 class="card-title">Hyderabad</h4> | |
163 | 163 | <label class="card-sub-title">21st November,2017(Tentative)</label> |
164 | 164 | </div> |
165 | 165 | <div class="pull-right"> |
166 | - <button class="no btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('bangalore')">Apply</button> | |
166 | + <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('hyderabad')">Apply</button> | |
167 | 167 | </div> |
168 | 168 | <div class="clearfix"></div> |
169 | - <label class="card-sub-title"> Early bird deadline :<span id="bangalore"></span>*</label> | |
169 | + <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="hyderabad"></span>*</label> | |
170 | 170 | </div> |
171 | 171 | <div class="card-text2"> |
172 | 172 | <span><b>Location</b></span> |
... | ... | @@ -178,17 +178,17 @@ |
178 | 178 | <div class="col-md-3"> |
179 | 179 | <div class="card" style="width:100%"> |
180 | 180 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
181 | - <img class="card-img-top" src="images/Hyderabad.png" style="width:100%"> | |
181 | + <img class="card-img-top" src="images/Delhi.png" style="width:100%"> | |
182 | 182 | <div class="card-block"> |
183 | 183 | <div class="pull-left"> |
184 | - <h4 class="card-title">Hyderabad</h4> | |
185 | - <label class="card-sub-title">23rd November,2017(Tentative)</label> | |
184 | + <h4 class="card-title">Delhi</h4> | |
185 | + <label class="card-sub-title">27th November,2017(Tentative)</label> | |
186 | 186 | </div> |
187 | 187 | <div class="pull-right"> |
188 | - <button class="no btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('hyderabad')">Apply</button> | |
188 | + <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('delhi')">Apply</button> | |
189 | 189 | </div> |
190 | 190 | <div class="clearfix"></div> |
191 | - <label class="card-sub-title"> Early bird deadline :<span id="hyderabad"></span>*</label> | |
191 | + <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="delhi"></span>*</label> | |
192 | 192 | </div> |
193 | 193 | <div class="card-text2"> |
194 | 194 | <span><b>Location</b></span> |
... | ... | @@ -204,13 +204,13 @@ |
204 | 204 | <div class="card-block"> |
205 | 205 | <div class="pull-left"> |
206 | 206 | <h4 class="card-title">Chandigarh</h4> |
207 | - <label class="card-sub-title">1st December,2017(Tentative)</label> | |
207 | + <label class="card-sub-title">2nd December,2017(Tentative)</label> | |
208 | 208 | </div> |
209 | 209 | <div class="pull-right"> |
210 | - <button class="no btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('chandigarh')">Apply</button> | |
210 | + <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('chandigarh')">Apply</button> | |
211 | 211 | </div> |
212 | 212 | <div class="clearfix"></div> |
213 | - <label class="card-sub-title"> Early bird deadline :<span id="chandigarh"></span>*</label> | |
213 | + <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="chandigarh"></span>*</label> | |
214 | 214 | </div> |
215 | 215 | <div class="card-text2"> |
216 | 216 | <span><b>Location</b></span> | ... | ... |
script.js
... | ... | @@ -179,13 +179,13 @@ |
179 | 179 | } |
180 | 180 | }, 1000); |
181 | 181 | |
182 | - var delhi = new Date("Nov 17, 2017 00:00:00").getTime(); | |
182 | + var bangalore = new Date("Nov 17, 2017 00:00:00").getTime(); | |
183 | 183 | // Update the count down every 1 second |
184 | 184 | var x = setInterval(function() { |
185 | 185 | // Get todays date and time |
186 | 186 | var now = new Date().getTime(); |
187 | 187 | // Find the distance between now an the count down date |
188 | - var distance = delhi - now; | |
188 | + var distance = bangalore - now; | |
189 | 189 | // Time calculations for days, hours, minutes and seconds |
190 | 190 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
191 | 191 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
... | ... | @@ -194,22 +194,22 @@ |
194 | 194 | $scope.timer = days + "d " + hours + "h " |
195 | 195 | + minutes + "m " + seconds + "s " |
196 | 196 | // Output the result in an element with id="demo" |
197 | - document.getElementById("delhi").innerHTML = days + "d " + hours + "h " | |
197 | + document.getElementById("bangalore").innerHTML = days + "d " + hours + "h " | |
198 | 198 | + minutes + "m " + seconds + "s "; |
199 | 199 | // If the count down is over, write some text |
200 | 200 | if (distance < 0) { |
201 | 201 | clearInterval(x); |
202 | - document.getElementById("delhi").innerHTML = "EXPIRED"; | |
202 | + document.getElementById("bangalore").innerHTML = "EXPIRED"; | |
203 | 203 | } |
204 | 204 | }, 1000); |
205 | 205 | |
206 | - var bangalore = new Date("Nov 19, 2017 00:00:00").getTime(); | |
206 | + var hyderabad = new Date("Nov 19, 2017 00:00:00").getTime(); | |
207 | 207 | // Update the count down every 1 second |
208 | 208 | var x = setInterval(function() { |
209 | 209 | // Get todays date and time |
210 | 210 | var now = new Date().getTime(); |
211 | 211 | // Find the distance between now an the count down date |
212 | - var distance = bangalore - now; | |
212 | + var distance = hyderabad - now; | |
213 | 213 | // Time calculations for days, hours, minutes and seconds |
214 | 214 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
215 | 215 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
... | ... | @@ -218,22 +218,22 @@ |
218 | 218 | $scope.timer = days + "d " + hours + "h " |
219 | 219 | + minutes + "m " + seconds + "s " |
220 | 220 | // Output the result in an element with id="demo" |
221 | - document.getElementById("bangalore").innerHTML = days + "d " + hours + "h " | |
221 | + document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h " | |
222 | 222 | + minutes + "m " + seconds + "s "; |
223 | 223 | // If the count down is over, write some text |
224 | 224 | if (distance < 0) { |
225 | 225 | clearInterval(x); |
226 | - document.getElementById("bangalore").innerHTML = "EXPIRED"; | |
226 | + document.getElementById("hyderabad").innerHTML = "EXPIRED"; | |
227 | 227 | } |
228 | 228 | }, 1000); |
229 | 229 | |
230 | - var hyderabad = new Date("Nov 21, 2017 00:00:00").getTime(); | |
230 | + var delhi = new Date("Nov 25, 2017 00:00:00").getTime(); | |
231 | 231 | // Update the count down every 1 second |
232 | 232 | var x = setInterval(function() { |
233 | 233 | // Get todays date and time |
234 | 234 | var now = new Date().getTime(); |
235 | 235 | // Find the distance between now an the count down date |
236 | - var distance = hyderabad - now; | |
236 | + var distance = delhi - now; | |
237 | 237 | // Time calculations for days, hours, minutes and seconds |
238 | 238 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
239 | 239 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
... | ... | @@ -242,16 +242,16 @@ |
242 | 242 | $scope.timer = days + "d " + hours + "h " |
243 | 243 | + minutes + "m " + seconds + "s " |
244 | 244 | // Output the result in an element with id="demo" |
245 | - document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h " | |
245 | + document.getElementById("delhi").innerHTML = days + "d " + hours + "h " | |
246 | 246 | + minutes + "m " + seconds + "s "; |
247 | 247 | // If the count down is over, write some text |
248 | 248 | if (distance < 0) { |
249 | 249 | clearInterval(x); |
250 | - document.getElementById("hyderabad").innerHTML = "EXPIRED"; | |
250 | + document.getElementById("delhi").innerHTML = "EXPIRED"; | |
251 | 251 | } |
252 | 252 | }, 1000); |
253 | 253 | |
254 | - var chandigarh = new Date("Nov 29, 2017 00:00:00").getTime(); | |
254 | + var chandigarh = new Date("Nov 30, 2017 00:00:00").getTime(); | |
255 | 255 | // Update the count down every 1 second |
256 | 256 | var x = setInterval(function() { |
257 | 257 | // Get todays date and time | ... | ... |