Commit e856f216108a91a5be20ba747011459e2153695c
1 parent
b8b3912012
Exists in
master
and in
1 other branch
new page design
Showing
4 changed files
with
337 additions
and
141 deletions
Show diff stats
css/custom.css
1 | { | 1 | { |
2 | outline: none !important; | 2 | outline: none !important; |
3 | } | 3 | } |
4 | 4 | ||
5 | .logo{ | 5 | .logo{ |
6 | height: 45px; | 6 | height: 45px; |
7 | margin-left: | 7 | margin-left: |
8 | } | 8 | } |
9 | 9 | ||
10 | .hyperColor{ | 10 | .hyperColor{ |
11 | color: white !important; | 11 | color: white !important; |
12 | cursor: pointer !important; | 12 | cursor: pointer !important; |
13 | } | 13 | } |
14 | .main-heading{ | 14 | .main-heading{ |
15 | height: 70px; | 15 | height: 70px; |
16 | line-height: 70px; | 16 | line-height: 70px; |
17 | } | 17 | } |
18 | .card{ | 18 | .card{ |
19 | flex-direction: column; | 19 | flex-direction: column; |
20 | background-color: rgb(255,255,255); | 20 | background-color: rgb(255,255,255); |
21 | border-radius: 0; | 21 | border-radius: 0; |
22 | width: 676px; | 22 | width: 676px; |
23 | box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12); | 23 | box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12); |
24 | } | 24 | } |
25 | .card input{ | 25 | .card input{ |
26 | display: none; | 26 | display: none; |
27 | } | 27 | } |
28 | .card .card-content{ | 28 | .card .card-content{ |
29 | padding: 12px; | 29 | padding: 12px; |
30 | font-size: 12px; | 30 | font-size: 12px; |
31 | } | 31 | } |
32 | .card p{ | 32 | .card p{ |
33 | margin-top:18px; | 33 | margin-top:18px; |
34 | margin-right:4px ; | 34 | margin-right:4px ; |
35 | margin-bottom:-5px; | 35 | margin-bottom:-5px; |
36 | /*margin-left:13px;*/ | 36 | /*margin-left:13px;*/ |
37 | 37 | ||
38 | font-family: montserrat, arial, verdana; | 38 | font-family: montserrat, arial, verdana; |
39 | font-weight: normal; | 39 | font-weight: normal; |
40 | font-size: 12px; | 40 | font-size: 12px; |
41 | } | 41 | } |
42 | .card .thumbnail{ | 42 | .card .thumbnail{ |
43 | padding: 15px 30px 1px 28px; | 43 | padding: 15px 30px 1px 28px; |
44 | border: 0; | 44 | border: 0; |
45 | border-radius: 0px !important; | 45 | border-radius: 0px !important; |
46 | } | 46 | } |
47 | .panel-default{ | 47 | .panel-default{ |
48 | border-color: #ddd; | 48 | border-color: #ddd; |
49 | } | 49 | } |
50 | .video-wrapper{ | 50 | .video-wrapper{ |
51 | padding: 16px 0; | 51 | padding: 16px 0; |
52 | } | 52 | } |
53 | .stageRadio:checked+label{ | 53 | .stageRadio:checked+label{ |
54 | background-color: #42b549; | 54 | background-color: #42b549; |
55 | color: #fff !important; | 55 | color: #fff !important; |
56 | } | 56 | } |
57 | 57 | ||
58 | .stageRadio1:checked+label{ | 58 | .stageRadio1:checked+label{ |
59 | background-color: rgba(158, 158, 158, 0.05); | 59 | background-color: rgba(158, 158, 158, 0.05); |
60 | } | 60 | } |
61 | 61 | ||
62 | /* css for radio buttons */ | 62 | /* css for radio buttons */ |
63 | 63 | ||
64 | .option-input { | 64 | .option-input { |
65 | -webkit-appearance: none; | 65 | -webkit-appearance: none; |
66 | -moz-appearance: none; | 66 | -moz-appearance: none; |
67 | -ms-appearance: none; | 67 | -ms-appearance: none; |
68 | -o-appearance: none; | 68 | -o-appearance: none; |
69 | appearance: none; | 69 | appearance: none; |
70 | position: relative; | 70 | position: relative; |
71 | /*top: 13.33333px;*/ | 71 | /*top: 13.33333px;*/ |
72 | right: 0; | 72 | right: 0; |
73 | bottom: 0; | 73 | bottom: 0; |
74 | left: 0; | 74 | left: 0; |
75 | height: 15px; | 75 | height: 15px; |
76 | width: 15px; | 76 | width: 15px; |
77 | transition: all 0.15s ease-out 0s; | 77 | transition: all 0.15s ease-out 0s; |
78 | background: transparent; | 78 | background: transparent; |
79 | border: 2px solid #42b549; | 79 | border: 2px solid #42b549; |
80 | color: #fff; | 80 | color: #fff; |
81 | cursor: pointer; | 81 | cursor: pointer; |
82 | display: inline-block; | 82 | display: inline-block; |
83 | margin-right: 0.5rem; | 83 | margin-right: 0.5rem; |
84 | outline: none; | 84 | outline: none; |
85 | position: relative; | 85 | position: relative; |
86 | z-index: 1000; | 86 | z-index: 1000; |
87 | } | 87 | } |
88 | .option-input:checked { | 88 | .option-input:checked { |
89 | background: #42b549; | 89 | background: #42b549; |
90 | } | 90 | } |
91 | .option-input:checked::before { | 91 | .option-input:checked::before { |
92 | height: 20px; | 92 | height: 20px; |
93 | width: 20px; | 93 | width: 20px; |
94 | position: absolute; | 94 | position: absolute; |
95 | /*content: '✔';*/ | 95 | /*content: '✔';*/ |
96 | display: inline-block; | 96 | display: inline-block; |
97 | font-size: 12px; | 97 | font-size: 12px; |
98 | text-align: center; | 98 | text-align: center; |
99 | line-height: 22px; | 99 | line-height: 22px; |
100 | } | 100 | } |
101 | .option-input:checked::after { | 101 | .option-input:checked::after { |
102 | -webkit-animation: click-wave 0.65s; | 102 | -webkit-animation: click-wave 0.65s; |
103 | -moz-animation: click-wave 0.65s; | 103 | -moz-animation: click-wave 0.65s; |
104 | animation: click-wave 0.65s; | 104 | animation: click-wave 0.65s; |
105 | background: #40e0d0; | 105 | background: #40e0d0; |
106 | content: ''; | 106 | content: ''; |
107 | display: block; | 107 | display: block; |
108 | position: relative; | 108 | position: relative; |
109 | z-index: 100; | 109 | z-index: 100; |
110 | } | 110 | } |
111 | .option-input-a.radio-a::after { | 111 | .option-input-a.radio-a::after { |
112 | border-radius: 50%; | 112 | border-radius: 50%; |
113 | } | 113 | } |
114 | /*second css*/ | 114 | /*second css*/ |
115 | .option-input-a { | 115 | .option-input-a { |
116 | -webkit-appearance: none; | 116 | -webkit-appearance: none; |
117 | -moz-appearance: none; | 117 | -moz-appearance: none; |
118 | -ms-appearance: none; | 118 | -ms-appearance: none; |
119 | -o-appearance: none; | 119 | -o-appearance: none; |
120 | appearance: none; | 120 | appearance: none; |
121 | position: relative; | 121 | position: relative; |
122 | /*top: 13.33333px;*/ | 122 | /*top: 13.33333px;*/ |
123 | right: 0; | 123 | right: 0; |
124 | bottom: 0; | 124 | bottom: 0; |
125 | left: 0; | 125 | left: 0; |
126 | height: 22px; | 126 | height: 22px; |
127 | width: 22px; | 127 | width: 22px; |
128 | transition: all 0.15s ease-out 0s; | 128 | transition: all 0.15s ease-out 0s; |
129 | background: transparent; | 129 | background: transparent; |
130 | border: 2px solid #42b549; | 130 | border: 2px solid #42b549; |
131 | color: #fff; | 131 | color: #fff; |
132 | cursor: pointer; | 132 | cursor: pointer; |
133 | display: inline-block; | 133 | display: inline-block; |
134 | margin-right: 0.5rem; | 134 | margin-right: 0.5rem; |
135 | outline: none; | 135 | outline: none; |
136 | position: relative; | 136 | position: relative; |
137 | z-index: 1000; | 137 | z-index: 1000; |
138 | } | 138 | } |
139 | .option-input-a:checked { | 139 | .option-input-a:checked { |
140 | background: #42b549; | 140 | background: #42b549; |
141 | } | 141 | } |
142 | .option-input-a:checked::before { | 142 | .option-input-a:checked::before { |
143 | height: 20px; | 143 | height: 20px; |
144 | width: 20px; | 144 | width: 20px; |
145 | position: absolute; | 145 | position: absolute; |
146 | /*content: '✔';*/ | 146 | /*content: '✔';*/ |
147 | display: inline-block; | 147 | display: inline-block; |
148 | font-size: 12px; | 148 | font-size: 12px; |
149 | text-align: center; | 149 | text-align: center; |
150 | line-height: 22px; | 150 | line-height: 22px; |
151 | } | 151 | } |
152 | .option-input-a:checked::after { | 152 | .option-input-a:checked::after { |
153 | -webkit-animation: click-wave 0.65s; | 153 | -webkit-animation: click-wave 0.65s; |
154 | -moz-animation: click-wave 0.65s; | 154 | -moz-animation: click-wave 0.65s; |
155 | animation: click-wave 0.65s; | 155 | animation: click-wave 0.65s; |
156 | background: #40e0d0; | 156 | background: #40e0d0; |
157 | content: ''; | 157 | content: ''; |
158 | display: block; | 158 | display: block; |
159 | position: relative; | 159 | position: relative; |
160 | z-index: 100; | 160 | z-index: 100; |
161 | } | 161 | } |
162 | .option-input-a.radio-a { | 162 | .option-input-a.radio-a { |
163 | border-radius: 50%; | 163 | border-radius: 50%; |
164 | } | 164 | } |
165 | .option-input-a.radio-a::after { | 165 | .option-input-a.radio-a::after { |
166 | border-radius: 50%; | 166 | border-radius: 50%; |
167 | } | 167 | } |
168 | 168 | ||
169 | /* css for radio ends */ | 169 | /* css for radio ends */ |
170 | 170 | ||
171 | .card-small{ | 171 | .card-small{ |
172 | cursor: pointer; | 172 | cursor: pointer; |
173 | } | 173 | } |
174 | .card-small img{ | 174 | .card-small img{ |
175 | width: 37px; | 175 | width: 37px; |
176 | } | 176 | } |
177 | .card-small label{ | 177 | .card-small label{ |
178 | width: 100%; | 178 | width: 100%; |
179 | font-weight: normal; | 179 | font-weight: normal; |
180 | font-size: 12px; | 180 | font-size: 12px; |
181 | margin-top: 5px; | 181 | margin-top: 5px; |
182 | } | 182 | } |
183 | /*.text-input{ | 183 | /*.text-input{ |
184 | width: 100%; | 184 | width: 100%; |
185 | border: 0; | 185 | border: 0; |
186 | border-bottom: 2px solid #42b549; | 186 | border-bottom: 2px solid #42b549; |
187 | font-size: 18px; | 187 | font-size: 18px; |
188 | padding: 5px; | 188 | padding: 5px; |
189 | }*/ | 189 | }*/ |
190 | .input-wrapper{ | 190 | .input-wrapper{ |
191 | margin-bottom: 15px !important; | 191 | margin-bottom: 15px !important; |
192 | } | 192 | } |
193 | .select-input{ | 193 | .select-input{ |
194 | width: 100%; | 194 | width: 100%; |
195 | border: 0; | 195 | border: 0; |
196 | border-bottom: 2px solid #42b549; | 196 | border-bottom: 2px solid #42b549; |
197 | background-color: transparent; | 197 | background-color: transparent; |
198 | font-size: 12px; | 198 | font-size: 12px; |
199 | padding: 5px; | 199 | padding: 5px; |
200 | } | 200 | } |
201 | .submit-button, .submit-button:hover{ | 201 | .submit-button, .submit-button:hover{ |
202 | /*background-color: #00bcd4;*/ | 202 | /*background-color: #00bcd4;*/ |
203 | background-color: rgb(92, 198, 208); | 203 | background-color: rgb(92, 198, 208); |
204 | color: #fff; | 204 | color: #fff; |
205 | /*display: none;*/ | 205 | /*display: none;*/ |
206 | } | 206 | } |
207 | .submit-button:disabled{ | 207 | .submit-button:disabled{ |
208 | background-color: #ddd; | 208 | background-color: #ddd; |
209 | } | 209 | } |
210 | |||
211 | .submit-button-form, .submit-button-form:hover{ | ||
212 | |||
213 | background-color: #42b549; | ||
214 | color: #fff; | ||
215 | |||
216 | } | ||
217 | .submit-button-form:disabled{ | ||
218 | background-color: #ddd; | ||
219 | } | ||
220 | |||
210 | .textarea{ | 221 | .textarea{ |
211 | min-height: 97px; | 222 | min-height: 97px; |
212 | } | 223 | } |
213 | .error-message{ | 224 | .error-message{ |
214 | font-weight: inherit; | 225 | font-weight: inherit; |
215 | color: #ff0000; | 226 | color: #ff0000; |
216 | margin: 5px 4px -5px 0px; | 227 | margin: 5px 4px -5px 0px; |
217 | display: none; | 228 | display: none; |
218 | } | 229 | } |
219 | 230 | ||
220 | /*custom input*/ | 231 | /*custom input*/ |
221 | .text-input, select { | 232 | .text-input, select { |
222 | width: 100%; | 233 | width: 100%; |
223 | -webkit-appearance: none; | 234 | -webkit-appearance: none; |
224 | padding: 12px 25px; | 235 | padding: 12px 25px; |
225 | margin: -2px 0; | 236 | margin: -2px 0; |
226 | display: inline-block; | 237 | display: inline-block; |
227 | border: 0px solid rgba(51, 51, 51, 0); | 238 | border: 0px solid rgba(51, 51, 51, 0); |
228 | border-radius: -3px; | 239 | border-radius: -3px; |
229 | box-sizing: border-box; | 240 | box-sizing: border-box; |
230 | box-shadow: 0 0 10px rgba(240, 255, 235); | 241 | box-shadow: 0 0 10px rgba(240, 255, 235); |
231 | -moz-box-shadow: 0 0 10px rgba(240, 255, 235); | 242 | -moz-box-shadow: 0 0 10px rgba(240, 255, 235); |
232 | -webkit-box-shadow: 0 0 5px #777; | 243 | -webkit-box-shadow: 0 0 5px #777; |
233 | -o-box-shadow: 0 0 10px rgba(240, 255, 235); | 244 | -o-box-shadow: 0 0 10px rgba(240, 255, 235); |
234 | font-size: 12px; | 245 | font-size: 12px; |
235 | } | 246 | } |
236 | 247 | ||
237 | /* progress bar css */ | 248 | /* progress bar css */ |
238 | 249 | ||
239 | @-webkit-keyframes | 250 | @-webkit-keyframes |
240 | load { 0% { | 251 | load { 0% { |
241 | stroke-dashoffset:0 | 252 | stroke-dashoffset:0 |
242 | } | 253 | } |
243 | } | 254 | } |
244 | @-moz-keyframes | 255 | @-moz-keyframes |
245 | load { 0% { | 256 | load { 0% { |
246 | stroke-dashoffset:0 | 257 | stroke-dashoffset:0 |
247 | } | 258 | } |
248 | } | 259 | } |
249 | @keyframes | 260 | @keyframes |
250 | load { 0% { | 261 | load { 0% { |
251 | stroke-dashoffset:0 | 262 | stroke-dashoffset:0 |
252 | } | 263 | } |
253 | } | 264 | } |
254 | 265 | ||
255 | /* Container */ | 266 | /* Container */ |
256 | 267 | ||
257 | .progress-form { | 268 | .progress-form { |
258 | position: relative; | 269 | position: relative; |
259 | display: inline-block; | 270 | display: inline-block; |
260 | padding: 0; | 271 | padding: 0; |
261 | text-align: center; | 272 | text-align: center; |
262 | } | 273 | } |
263 | 274 | ||
264 | /* Item */ | 275 | /* Item */ |
265 | 276 | ||
266 | .progress-form>li { | 277 | .progress-form>li { |
267 | display: inline-block; | 278 | display: inline-block; |
268 | position: relative; | 279 | position: relative; |
269 | text-align: center; | 280 | text-align: center; |
270 | color: #93A2AC; | 281 | color: #93A2AC; |
271 | font-family: Lato; | 282 | font-family: Lato; |
272 | font-weight: 100; | 283 | font-weight: 100; |
273 | margin: 2rem; | 284 | margin: 2rem; |
274 | } | 285 | } |
275 | 286 | ||
276 | .progress-form>li:before { | 287 | .progress-form>li:before { |
277 | content: attr(data-name); | 288 | content: attr(data-name); |
278 | position: absolute; | 289 | position: absolute; |
279 | width: 100%; | 290 | width: 100%; |
280 | bottom: -2rem; | 291 | bottom: -2rem; |
281 | font-weight: 400; | 292 | font-weight: 400; |
282 | } | 293 | } |
283 | 294 | ||
284 | .progress-form>li:after { | 295 | .progress-form>li:after { |
285 | content: attr(data-percent); | 296 | content: attr(data-percent); |
286 | position: absolute; | 297 | position: absolute; |
287 | width: 100%; | 298 | width: 100%; |
288 | top: 3.7rem; | 299 | top: 3.7rem; |
289 | left: 0; | 300 | left: 0; |
290 | font-size: 2rem; | 301 | font-size: 2rem; |
291 | text-align: center; | 302 | text-align: center; |
292 | } | 303 | } |
293 | 304 | ||
294 | .progress-form svg { | 305 | .progress-form svg { |
295 | width: 10rem; | 306 | width: 10rem; |
296 | height: 10rem; | 307 | height: 10rem; |
297 | } | 308 | } |
298 | 309 | ||
299 | .progress-form svg:nth-child(2) { | 310 | .progress-form svg:nth-child(2) { |
300 | position: absolute; | 311 | position: absolute; |
301 | left: 0; | 312 | left: 0; |
302 | top: 0; | 313 | top: 0; |
303 | transform: rotate(-90deg); | 314 | transform: rotate(-90deg); |
304 | -webkit-transform: rotate(-90deg); | 315 | -webkit-transform: rotate(-90deg); |
305 | -moz-transform: rotate(-90deg); | 316 | -moz-transform: rotate(-90deg); |
306 | -ms-transform: rotate(-90deg); | 317 | -ms-transform: rotate(-90deg); |
307 | } | 318 | } |
308 | 319 | ||
309 | .progress-form svg:nth-child(2) path { | 320 | .progress-form svg:nth-child(2) path { |
310 | fill: none; | 321 | fill: none; |
311 | stroke-width: 25; | 322 | stroke-width: 25; |
312 | stroke-dasharray: 629; | 323 | stroke-dasharray: 629; |
313 | stroke: rgba(255, 255, 255, 0.9); | 324 | stroke: rgba(255, 255, 255, 0.9); |
314 | -webkit-animation: load 10s; | 325 | -webkit-animation: load 10s; |
315 | -moz-animation: load 10s; | 326 | -moz-animation: load 10s; |
316 | -o-animation: load 10s; | 327 | -o-animation: load 10s; |
317 | animation: load 10s; | 328 | animation: load 10s; |
318 | } | 329 | } |
319 | /*circle of stage image*/ | 330 | /*circle of stage image*/ |
320 | .circular{ | 331 | .circular{ |
321 | 332 | ||
322 | -webkit-border-radius: 150px; | 333 | -webkit-border-radius: 150px; |
323 | -moz-border-radius: 150px; | 334 | -moz-border-radius: 150px; |
324 | border-radius: 150px; | 335 | border-radius: 150px; |
325 | box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3); | 336 | box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3); |
326 | border: 5px solid white; | 337 | border: 5px solid white; |
327 | overflow: hidden; | 338 | overflow: hidden; |
328 | position: fixed; | 339 | position: fixed; |
329 | height: 100px; | 340 | height: 100px; |
330 | width: 100px; | 341 | width: 100px; |
331 | left: 80px; | 342 | left: 80px; |
332 | top: 20px; | 343 | top: 20px; |
333 | } | 344 | } |
334 | /*font-size*/ | 345 | /*font-size*/ |
335 | .font{ | 346 | .font{ |
336 | font-size: 14px; | 347 | font-size: 14px; |
337 | } | 348 | } |
338 | 349 | ||
339 | .f-family { | 350 | .f-family { |
340 | font-family:sans-serif; | 351 | font-family:sans-serif; |
341 | } | 352 | } |
342 | 353 | ||
343 | /*container-card css*/ | 354 | /*container-card css*/ |
344 | .container-card { | 355 | .container-card { |
345 | width: auto; | 356 | width: auto; |
346 | float: left; | 357 | float: left; |
347 | margin: 31px 24px 26px 14px; | 358 | margin: 31px 24px 26px 14px; |
348 | } | 359 | } |
349 | 360 | ||
350 | /******This css for header container******/ | 361 | /******This css for header container******/ |
351 | .h1 { | 362 | .h1 { |
352 | font-size: 20px; | 363 | font-size: 20px; |
353 | margin: 11px; | 364 | margin: 11px; |
354 | } | 365 | } |
355 | 366 | ||
356 | .paragraph { | 367 | .paragraph { |
357 | font-size: 14px; | 368 | font-size: 14px; |
358 | margin: 30px 10px 20px; | 369 | margin: 30px 10px 20px; |
359 | line-height: 1.5; | 370 | line-height: 1.5; |
360 | } | 371 | } |
361 | /*This css for stages container*/ | 372 | /*This css for stages container*/ |
362 | 373 | ||
363 | .full-line { | 374 | .full-line { |
364 | border-bottom: 2px solid #dedede; | 375 | border-bottom: 2px solid #dedede; |
365 | padding: 15px 10px; | 376 | padding: 15px 10px; |
366 | } | 377 | } |
367 | 378 | ||
368 | .stages-card { | 379 | .stages-card { |
369 | width: auto; | 380 | width: auto; |
370 | float: left; | 381 | float: left; |
371 | /*margin: -30px 8px 7px 22px;*/ | 382 | /*margin: -30px 8px 7px 22px;*/ |
372 | } | 383 | } |
373 | 384 | ||
374 | /*form -css*/ | 385 | /*form -css*/ |
375 | .form-all { | 386 | .form-all { |
376 | margin: 13px 4px 26px -2px; | 387 | margin: 13px 4px 26px -2px; |
377 | /*display: none;*/ | 388 | /*display: none;*/ |
378 | } | 389 | } |
379 | 390 | ||
380 | .step-two-form{ | 391 | .step-two-form{ |
381 | display: block; | 392 | display: block; |
382 | } | 393 | } |
383 | 394 | ||
384 | /*This is for stages images*/ | 395 | /*This is for stages images*/ |
385 | .stage-img { | 396 | .stage-img { |
386 | width: 115px; | 397 | width: 115px; |
387 | } | 398 | } |
388 | 399 | ||
389 | .stage-thumbnail { | 400 | .stage-thumbnail { |
390 | float: left; | 401 | float: left; |
391 | margin-bottom: 0; | 402 | margin-bottom: 0; |
392 | } | 403 | } |
393 | 404 | ||
394 | .stage-shadow { | 405 | .stage-shadow { |
395 | /*box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2), | 406 | /*box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2), |
396 | 0px 1px 1px 0px rgba(0, 0, 0, 0.14), | 407 | 0px 1px 1px 0px rgba(0, 0, 0, 0.14), |
397 | 0px 2px 1px -1px rgba(0, 0, 0, 0.12); */ | 408 | 0px 2px 1px -1px rgba(0, 0, 0, 0.12); */ |
398 | /*margin: 3px 22px 14px 14px;*/ | 409 | /*margin: 3px 22px 14px 14px;*/ |
399 | background-color: #ffffff; | 410 | background-color: #ffffff; |
400 | } | 411 | } |
401 | 412 | ||
402 | .line-size { | 413 | .line-size { |
403 | 414 | ||
404 | } | 415 | } |
405 | 416 | ||
406 | .card-paragraph { | 417 | .card-paragraph { |
407 | background-color: rgba(66, 181, 73, 0.61); | 418 | background-color: rgba(66, 181, 73, 0.61); |
408 | color: #fff; | 419 | color: #fff; |
409 | } | 420 | } |
410 | 421 | ||
411 | /* identity card css*/ | 422 | /* identity card css*/ |
412 | 423 | ||
413 | .identity-shadow { | 424 | .identity-shadow { |
414 | box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2), | 425 | box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2), |
415 | 0px 1px 1px 0px rgba(0, 0, 0, 0.14), | 426 | 0px 1px 1px 0px rgba(0, 0, 0, 0.14), |
416 | 0px 2px 1px -1px rgba(0, 0, 0, 0.12); | 427 | 0px 2px 1px -1px rgba(0, 0, 0, 0.12); |
417 | margin: 15px 15px 17px 14px; | 428 | margin: 15px 15px 17px 14px; |
418 | background-color: #ffffff; | 429 | background-color: #ffffff; |
419 | /*display: none;*/ | 430 | /*display: none;*/ |
420 | } | 431 | } |
421 | 432 | ||
422 | .identity-question { | 433 | .identity-question { |
423 | border-bottom: 2px solid #dedede; | 434 | border-bottom: 2px solid #dedede; |
424 | padding: 0px 10px; | 435 | padding: 0px 10px; |
425 | } | 436 | } |
426 | 437 | ||
427 | .identity-align { | 438 | .identity-align { |
428 | margin: 8px -12px 19px 13px; | 439 | margin: 8px -12px 19px 13px; |
429 | } | 440 | } |
430 | 441 | ||
431 | 442 | ||
432 | /********This css for sectors**************/ | 443 | /********This css for sectors**************/ |
433 | .sectors-card { | 444 | .sectors-card { |
434 | box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2), | 445 | box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2), |
435 | 0px 1px 1px 0px rgba(0, 0, 0, 0.14), | 446 | 0px 1px 1px 0px rgba(0, 0, 0, 0.14), |
436 | 0px 2px 1px -1px rgba(0, 0, 0, 0.12); | 447 | 0px 2px 1px -1px rgba(0, 0, 0, 0.12); |
437 | margin: 27px 22px 14px 14px; | 448 | margin: 27px 22px 14px 14px; |
438 | background-color: #ffffff; | 449 | background-color: #ffffff; |
439 | /*display: none;*/ | 450 | /*display: none;*/ |
440 | } | 451 | } |
441 | 452 | ||
442 | .sector-card { | 453 | .sector-card { |
443 | width: auto; | 454 | width: auto; |
444 | float: left; | 455 | float: left; |
445 | margin: 29px 22px 26px 14px; | 456 | margin: 29px 22px 26px 14px; |
446 | } | 457 | } |
447 | 458 | ||
448 | .sector-question { | 459 | .sector-question { |
449 | border-bottom: 2px solid #dedede; | 460 | border-bottom: 2px solid #dedede; |
450 | padding: 15px 10px; | 461 | padding: 15px 10px; |
451 | } | 462 | } |
452 | 463 | ||
453 | /*To make the Stages in the center*/ | 464 | /*To make the Stages in the center*/ |
454 | .card-align { | 465 | .card-align { |
455 | /*margin: 56px -267px 11px -37px;*/ | 466 | /*margin: 56px -267px 11px -37px;*/ |
456 | } | 467 | } |
457 | 468 | ||
458 | /*To make the sectors in the center */ | 469 | /*To make the sectors in the center */ |
459 | 470 | ||
460 | 471 | ||
461 | /*************sidebar content margin***********/ | 472 | /*************sidebar content margin***********/ |
462 | .sidebar-align { | 473 | .sidebar-align { |
463 | margin: -5px -3px -18px 9px; | 474 | margin: -5px -3px -18px 9px; |
464 | } | 475 | } |
465 | 476 | ||
466 | .heading { | 477 | .heading { |
467 | margin: 15px 10px 15px 16px; | 478 | margin: 15px 10px 15px 16px; |
468 | } | 479 | } |
469 | .quiz { | 480 | .quiz { |
470 | margin: 5px 5px 6px 19px; | 481 | margin: 5px 5px 6px 19px; |
471 | font-size: 12px; | 482 | font-size: 12px; |
472 | } | 483 | } |
473 | 484 | ||
474 | #footer { | 485 | #footer { |
475 | position: bottom; | 486 | position: bottom; |
476 | width: 100%; | 487 | width: 100%; |
477 | height: auto; | 488 | height: auto; |
478 | } | 489 | } |
479 | 490 | ||
480 | #front { | 491 | #front { |
481 | /*background-image: url(/images/mock_up_background.jpg); | 492 | /*background-image: url(/images/mock_up_background.jpg); |
482 | background-repeat: no-repeat; | 493 | background-repeat: no-repeat; |
483 | background-size: cover; | 494 | background-size: cover; |
484 | background-attachment: fixed;*/ | 495 | background-attachment: fixed;*/ |
485 | } | 496 | } |
486 | 497 | ||
487 | /* .footer { | 498 | /* .footer { |
488 | 499 | ||
489 | bottom: 0px; | 500 | bottom: 0px; |
490 | background-color: #76b34f !important; | 501 | background-color: #76b34f !important; |
491 | width: 100%; | 502 | width: 100%; |
492 | color:rgba(255, 255, 255, 0.77); | 503 | color:rgba(255, 255, 255, 0.77); |
493 | }*/ | 504 | }*/ |
494 | 505 | ||
495 | /********question box*****************/ | 506 | /********question box*****************/ |
496 | .question-shadow { | 507 | .question-shadow { |
497 | box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2), | 508 | box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2), |
498 | 0px 1px 1px 0px rgba(0, 0, 0, 0.14), | 509 | 0px 1px 1px 0px rgba(0, 0, 0, 0.14), |
499 | 0px 2px 1px -1px rgba(0, 0, 0, 0.12); | 510 | 0px 2px 1px -1px rgba(0, 0, 0, 0.12); |
500 | margin: 15px 15px 17px 14px; | 511 | margin: 15px 15px 17px 14px; |
501 | background-color: #ffffff; | 512 | background-color: #ffffff; |
502 | } | 513 | } |
503 | 514 | ||
504 | 515 | ||
505 | 516 | ||
506 | .question-card { | 517 | .question-card { |
507 | width: auto; | 518 | width: auto; |
508 | float: left; | 519 | float: left; |
509 | margin: 29px 22px 26px 14px; | 520 | margin: 29px 22px 26px 14px; |
510 | } | 521 | } |
511 | 522 | ||
512 | /*for p*/ | 523 | /*for p*/ |
513 | .line-space { | 524 | .line-space { |
514 | line-height: 1.6em; | 525 | line-height: 1.6em; |
515 | font-size: 11px; | 526 | font-size: 11px; |
516 | } | 527 | } |
517 | 528 | ||
518 | .line-adjust { | 529 | .line-adjust { |
519 | margin-left: 0px; | 530 | margin-left: 0px; |
520 | } | 531 | } |
521 | 532 | ||
522 | /*badge icon css*/ | 533 | /*badge icon css*/ |
523 | 534 | ||
524 | .material-icons{ | 535 | .material-icons{ |
525 | font-size: 17px !important; | 536 | font-size: 17px !important; |
526 | } | 537 | } |
527 | 538 | ||
528 | .icon-circle-a { | 539 | .icon-circle-a { |
529 | background: rgba(89, 89, 89, 0.92); | 540 | background: rgba(89, 89, 89, 0.92); |
530 | border-radius: 50%; | 541 | border-radius: 50%; |
531 | width: 30px; | 542 | width: 30px; |
532 | height: 30px; | 543 | height: 30px; |
533 | position: absolute; | 544 | position: absolute; |
534 | left: 14px; | 545 | left: 14px; |
535 | margin-top: 10px; | 546 | margin-top: 10px; |
536 | color: #fff; | 547 | color: #fff; |
537 | text-align: center; | 548 | text-align: center; |
538 | } | 549 | } |
539 | 550 | ||
540 | .icon-circle-b { | 551 | .icon-circle-b { |
541 | background: rgba(89, 89, 89, 0.92); | 552 | background: rgba(89, 89, 89, 0.92); |
542 | border-radius: 50%; | 553 | border-radius: 50%; |
543 | width: 30px; | 554 | width: 30px; |
544 | height: 30px; | 555 | height: 30px; |
545 | position: absolute; | 556 | position: absolute; |
546 | left: 14px; | 557 | left: 14px; |
547 | margin-top: 10px; | 558 | margin-top: 10px; |
548 | color: #fff; | 559 | color: #fff; |
549 | text-align: center; | 560 | text-align: center; |
550 | } | 561 | } |
551 | 562 | ||
552 | .icon-circle-c { | 563 | .icon-circle-c { |
553 | background: rgba(89, 89, 89, 0.92); | 564 | background: rgba(89, 89, 89, 0.92); |
554 | border-radius: 50%; | 565 | border-radius: 50%; |
555 | width: 30px; | 566 | width: 30px; |
556 | height: 30px; | 567 | height: 30px; |
557 | position: absolute; | 568 | position: absolute; |
558 | left: 0px; | 569 | left: 0px; |
559 | margin-top: 4px; | 570 | margin-top: 4px; |
560 | color: #fff; | 571 | color: #fff; |
561 | text-align: center; | 572 | text-align: center; |
562 | } | 573 | } |
563 | 574 | ||
564 | .icon-circle-d { | 575 | .icon-circle-d { |
565 | background: rgba(89, 89, 89, 0.92); | 576 | background: rgba(89, 89, 89, 0.92); |
566 | border-radius: 50%; | 577 | border-radius: 50%; |
567 | width: 30px; | 578 | width: 30px; |
568 | height: 30px; | 579 | height: 30px; |
569 | position: absolute; | 580 | position: absolute; |
570 | left: 0px; | 581 | left: 0px; |
571 | margin-top: 4px; | 582 | margin-top: 4px; |
572 | color: #fff; | 583 | color: #fff; |
573 | text-align: center; | 584 | text-align: center; |
574 | } | 585 | } |
575 | 586 | ||
576 | .icon-circle-e { | 587 | .icon-circle-e { |
577 | background: rgba(89, 89, 89, 0.92); | 588 | background: rgba(89, 89, 89, 0.92); |
578 | border-radius: 50%; | 589 | border-radius: 50%; |
579 | width: 30px; | 590 | width: 30px; |
580 | height: 30px; | 591 | height: 30px; |
581 | position: absolute; | 592 | position: absolute; |
582 | left: 0px; | 593 | left: 0px; |
583 | margin-top: 4px; | 594 | margin-top: 4px; |
584 | color: #fff; | 595 | color: #fff; |
585 | text-align: center; | 596 | text-align: center; |
586 | } | 597 | } |
587 | 598 | ||
588 | .icon-circle-f { | 599 | .icon-circle-f { |
589 | background: rgba(89, 89, 89, 0.92); | 600 | background: rgba(89, 89, 89, 0.92); |
590 | border-radius: 50%; | 601 | border-radius: 50%; |
591 | width: 30px; | 602 | width: 30px; |
592 | height: 30px; | 603 | height: 30px; |
593 | position: absolute; | 604 | position: absolute; |
594 | left: 0px; | 605 | left: 0px; |
595 | margin-top: 3px; | 606 | margin-top: 3px; |
596 | color: #fff; | 607 | color: #fff; |
597 | text-align: center; | 608 | text-align: center; |
598 | } | 609 | } |
599 | 610 | ||
600 | .icon-circle-g { | 611 | .icon-circle-g { |
601 | background: rgba(89, 89, 89, 0.92); | 612 | background: rgba(89, 89, 89, 0.92); |
602 | border-radius: 50%; | 613 | border-radius: 50%; |
603 | width: 30px; | 614 | width: 30px; |
604 | height: 30px; | 615 | height: 30px; |
605 | position: absolute; | 616 | position: absolute; |
606 | left: 14px; | 617 | left: 14px; |
607 | margin-top: 10px; | 618 | margin-top: 10px; |
608 | color: #fff; | 619 | color: #fff; |
609 | text-align: center; | 620 | text-align: center; |
610 | } | 621 | } |
611 | 622 | ||
612 | .icon-circle-h { | 623 | .icon-circle-h { |
613 | background: rgba(89, 89, 89, 0.92); | 624 | background: rgba(89, 89, 89, 0.92); |
614 | border-radius: 50%; | 625 | border-radius: 50%; |
615 | width: 30px; | 626 | width: 30px; |
616 | height: 30px; | 627 | height: 30px; |
617 | position: absolute; | 628 | position: absolute; |
618 | left: 0px; | 629 | left: 0px; |
619 | margin-top: 4px; | 630 | margin-top: 4px; |
620 | color: #fff; | 631 | color: #fff; |
621 | text-align: center; | 632 | text-align: center; |
622 | } | 633 | } |
623 | 634 | ||
624 | .icon-circle-i { | 635 | .icon-circle-i { |
625 | background: rgba(89, 89, 89, 0.92); | 636 | background: rgba(89, 89, 89, 0.92); |
626 | border-radius: 50%; | 637 | border-radius: 50%; |
627 | width: 30px; | 638 | width: 30px; |
628 | height: 30px; | 639 | height: 30px; |
629 | position: absolute; | 640 | position: absolute; |
630 | left: 0px; | 641 | left: 0px; |
631 | margin-top: 4px; | 642 | margin-top: 4px; |
632 | color: #fff; | 643 | color: #fff; |
633 | text-align: center; | 644 | text-align: center; |
634 | } | 645 | } |
635 | 646 | ||
636 | .icon-circle-j { | 647 | .icon-circle-j { |
637 | background: rgba(89, 89, 89, 0.92); | 648 | background: rgba(89, 89, 89, 0.92); |
638 | border-radius: 50%; | 649 | border-radius: 50%; |
639 | width: 30px; | 650 | width: 30px; |
640 | height: 30px; | 651 | height: 30px; |
641 | position: absolute; | 652 | position: absolute; |
642 | left: 0px; | 653 | left: 0px; |
643 | margin-top: 4px; | 654 | margin-top: 30px; |
644 | color: #fff; | 655 | color: #fff; |
645 | text-align: center; | 656 | text-align: center; |
646 | } | 657 | } |
647 | 658 | ||
648 | .icon-circle-k { | 659 | .icon-circle-k { |
649 | background: rgba(89, 89, 89, 0.92); | 660 | background: rgba(89, 89, 89, 0.92); |
650 | border-radius: 50%; | 661 | border-radius: 50%; |
651 | width: 30px; | 662 | width: 30px; |
652 | height: 30px; | 663 | height: 30px; |
653 | position: absolute; | 664 | position: absolute; |
654 | left: 0px; | 665 | left: 0px; |
655 | margin-top: 4px; | 666 | margin-top: 4px; |
656 | color: #fff; | 667 | color: #fff; |
657 | text-align: center; | 668 | text-align: center; |
658 | } | 669 | } |
659 | 670 | ||
660 | .icon-circle-y { | 671 | .icon-circle-y { |
661 | background: rgba(89, 89, 89, 0.92); | 672 | background: rgba(89, 89, 89, 0.92); |
662 | border-radius: 50%; | 673 | border-radius: 50%; |
663 | width: 30px; | 674 | width: 30px; |
664 | height: 30px; | 675 | height: 30px; |
665 | position: absolute; | 676 | position: absolute; |
666 | left: 0px; | 677 | left: 0px; |
667 | margin-top: 4px; | 678 | margin-top: 4px; |
668 | color: #fff; | 679 | color: #fff; |
669 | text-align: center; | 680 | text-align: center; |
670 | } | 681 | } |
671 | 682 | ||
672 | .icon-circle-o { | 683 | .icon-circle-o { |
673 | background: rgba(89, 89, 89, 0.92); | 684 | background: rgba(89, 89, 89, 0.92); |
674 | border-radius: 50%; | 685 | border-radius: 50%; |
675 | width: 30px; | 686 | width: 30px; |
676 | height: 30px; | 687 | height: 30px; |
677 | position: absolute; | 688 | position: absolute; |
678 | left: 0px; | 689 | left: 0px; |
679 | margin-top: 4px; | 690 | margin-top: 4px; |
680 | color: #fff; | 691 | color: #fff; |
681 | text-align: center; | 692 | text-align: center; |
682 | } | 693 | } |
683 | 694 | ||
684 | .icon-circle-l { | 695 | .icon-circle-l { |
685 | background: rgba(89, 89, 89, 0.92); | 696 | background: rgba(89, 89, 89, 0.92); |
686 | border-radius: 50%; | 697 | border-radius: 50%; |
687 | width: 30px; | 698 | width: 30px; |
688 | height: 30px; | 699 | height: 30px; |
689 | position: absolute; | 700 | position: absolute; |
690 | left: 0px; | 701 | left: 0px; |
691 | margin-top: 4px; | 702 | margin-top: 4px; |
692 | color: #fff; | 703 | color: #fff; |
693 | text-align: center; | 704 | text-align: center; |
694 | } | 705 | } |
695 | 706 | ||
696 | .icon-circle-m { | 707 | .icon-circle-m { |
697 | background: rgba(89, 89, 89, 0.92); | 708 | background: rgba(89, 89, 89, 0.92); |
698 | border-radius: 50%; | 709 | border-radius: 50%; |
699 | width: 30px; | 710 | width: 30px; |
700 | height: 30px; | 711 | height: 30px; |
701 | position: absolute; | 712 | position: absolute; |
702 | left: 0px; | 713 | left: 0px; |
703 | margin-top: 4px; | 714 | margin-top: 4px; |
704 | color: #fff; | 715 | color: #fff; |
705 | text-align: center; | 716 | text-align: center; |
706 | } | 717 | } |
707 | 718 | ||
708 | .icon-circle-n { | 719 | .icon-circle-n { |
709 | background: rgba(89, 89, 89, 0.92); | 720 | background: rgba(89, 89, 89, 0.92); |
710 | border-radius: 50%; | 721 | border-radius: 50%; |
711 | width: 30px; | 722 | width: 30px; |
712 | height: 30px; | 723 | height: 30px; |
713 | position: absolute; | 724 | position: absolute; |
714 | left: 0px; | 725 | left: 0px; |
715 | margin-top: 4px; | 726 | margin-top: 4px; |
716 | color: #fff; | 727 | color: #fff; |
717 | text-align: center; | 728 | text-align: center; |
718 | } | 729 | } |
719 | 730 | ||
720 | .icon-circle-x { | 731 | .icon-circle-x { |
721 | background: rgba(89, 89, 89, 0.92); | 732 | background: rgba(89, 89, 89, 0.92); |
722 | border-radius: 50%; | 733 | border-radius: 50%; |
723 | width: 30px; | 734 | width: 30px; |
724 | height: 30px; | 735 | height: 30px; |
725 | position: absolute; | 736 | position: absolute; |
726 | left: 0px; | 737 | left: 0px; |
727 | margin-top: 4px; | 738 | margin-top: 30px; |
728 | color: #fff; | 739 | color: #fff; |
729 | text-align: center; | 740 | text-align: center; |
730 | } | 741 | } |
731 | 742 | ||
732 | .icon-circle-p { | 743 | .icon-circle-p { |
733 | background: rgba(89, 89, 89, 0.92); | 744 | background: rgba(89, 89, 89, 0.92); |
734 | border-radius: 50%; | 745 | border-radius: 50%; |
735 | width: 30px; | 746 | width: 30px; |
736 | height: 30px; | 747 | height: 30px; |
737 | position: absolute; | 748 | position: absolute; |
738 | left: 0px; | 749 | left: 0px; |
739 | margin-top: 3px; | 750 | margin-top: 30px; |
740 | color: #fff; | 751 | color: #fff; |
741 | text-align: center; | 752 | text-align: center; |
742 | } | 753 | } |
743 | 754 | ||
744 | .icon-circle-z { | 755 | .icon-circle-z { |
745 | background: rgba(89, 89, 89, 0.92); | 756 | background: rgba(89, 89, 89, 0.92); |
746 | border-radius: 50%; | 757 | border-radius: 50%; |
747 | width: 30px; | 758 | width: 30px; |
748 | height: 30px; | 759 | height: 30px; |
749 | position: absolute; | 760 | position: absolute; |
750 | left: 0px; | 761 | left: 0px; |
751 | margin-top: 4px; | 762 | margin-top: 4px; |
752 | color: #fff; | 763 | color: #fff; |
753 | text-align: center; | 764 | text-align: center; |
754 | } | 765 | } |
755 | 766 | ||
756 | .icon-circle-q { | 767 | .icon-circle-q { |
757 | background: rgba(89, 89, 89, 0.92); | 768 | background: rgba(89, 89, 89, 0.92); |
758 | border-radius: 50%; | 769 | border-radius: 50%; |
759 | width: 30px; | 770 | width: 30px; |
760 | height: 30px; | 771 | height: 30px; |
761 | position: absolute; | 772 | position: absolute; |
762 | left: 0px; | 773 | left: 0px; |
763 | margin-top: 4px; | 774 | margin-top: 4px; |
764 | color: #fff; | 775 | color: #fff; |
765 | text-align: center; | 776 | text-align: center; |
766 | } | 777 | } |
767 | 778 | ||
768 | .icon-circle-ab { | 779 | .icon-circle-ab { |
769 | background: rgba(89, 89, 89, 0.92); | 780 | background: rgba(89, 89, 89, 0.92); |
770 | border-radius: 50%; | 781 | border-radius: 50%; |
771 | width: 30px; | 782 | width: 30px; |
772 | height: 30px; | 783 | height: 30px; |
773 | position: absolute; | 784 | position: absolute; |
774 | left: 0px; | 785 | left: 0px; |
775 | margin-top: 3px; | 786 | margin-top: 3px; |
776 | color: #fff; | 787 | color: #fff; |
777 | text-align: center; | 788 | text-align: center; |
778 | } | 789 | } |
779 | 790 | ||
780 | .icon-circle-abc { | 791 | .icon-circle-abc { |
781 | background: rgba(89, 89, 89, 0.92); | 792 | background: rgba(89, 89, 89, 0.92); |
782 | border-radius: 50%; | 793 | border-radius: 50%; |
783 | width: 30px; | 794 | width: 30px; |
784 | height: 30px; | 795 | height: 30px; |
785 | position: absolute; | 796 | position: absolute; |
786 | left: 0px; | 797 | left: 0px; |
787 | margin-top: 3px; | 798 | margin-top: 3px; |
788 | color: #fff; | 799 | color: #fff; |
789 | text-align: center; | 800 | text-align: center; |
790 | } | 801 | } |
791 | 802 | ||
792 | .icon-circle-bc { | 803 | .icon-circle-bc { |
793 | background: rgba(89, 89, 89, 0.92); | 804 | background: rgba(89, 89, 89, 0.92); |
794 | border-radius: 50%; | 805 | border-radius: 50%; |
795 | width: 30px; | 806 | width: 30px; |
796 | height: 30px; | 807 | height: 30px; |
797 | position: absolute; | 808 | position: absolute; |
798 | left: 0px; | 809 | left: 0px; |
799 | margin-top: 3px; | 810 | margin-top: 3px; |
800 | color: #fff; | 811 | color: #fff; |
801 | text-align: center; | 812 | text-align: center; |
802 | } | 813 | } |
803 | 814 | ||
804 | .icon-circle-abcdefg { | 815 | .icon-circle-abcdefg { |
805 | background: rgba(89, 89, 89, 0.92); | 816 | background: rgba(89, 89, 89, 0.92); |
806 | border-radius: 50%; | 817 | border-radius: 50%; |
807 | width: 30px; | 818 | width: 30px; |
808 | height: 30px; | 819 | height: 30px; |
809 | position: absolute; | 820 | position: absolute; |
810 | left: 0px; | 821 | left: 0px; |
811 | margin-top: 3px; | 822 | margin-top: 3px; |
812 | color: #fff; | 823 | color: #fff; |
813 | text-align: center; | 824 | text-align: center; |
814 | } | 825 | } |
815 | 826 | ||
816 | .referel-icon { | 827 | .referel-icon { |
817 | background: rgba(89, 89, 89, 0.92); | 828 | background: rgba(89, 89, 89, 0.92); |
818 | border-radius: 50%; | 829 | border-radius: 50%; |
819 | width: 30px; | 830 | width: 30px; |
820 | height: 30px; | 831 | height: 30px; |
821 | position: absolute; | 832 | position: absolute; |
822 | left: 0px; | 833 | left: 0px; |
823 | margin-top: 3px; | 834 | margin-top: 3px; |
824 | color: #fff; | 835 | color: #fff; |
825 | text-align: center; | 836 | text-align: center; |
826 | } | 837 | } |
827 | 838 | ||
828 | 839 | ||
829 | /*quiz*/ | 840 | /*quiz*/ |
830 | .q-card-align div{ | 841 | .q-card-align div{ |
831 | margin-bottom: 15px; | 842 | margin-bottom: 15px; |
832 | } | 843 | } |
833 | 844 | ||
834 | .drop-down { | 845 | .drop-down { |
835 | background-color: #fff; | 846 | background-color: #fff; |
836 | border-radius: 0; | 847 | border-radius: 0; |
837 | font-size: 12px; | 848 | font-size: 12px; |
838 | } | 849 | } |
839 | 850 | ||
840 | .footer-link, .footer-link:hover { | 851 | .footer-link, .footer-link:hover { |
841 | color:#fff; | 852 | color:#fff; |
842 | } | 853 | } |
843 | /*idea content margin*/ | 854 | /*idea content margin*/ |
844 | .content-idea{ | 855 | .content-idea{ |
845 | margin:196px 12px 8px; | 856 | margin:196px 12px 8px; |
846 | } | 857 | } |
847 | 858 | ||
848 | .content-product{ | 859 | .content-product{ |
849 | margin:193px -19px 9px; | 860 | margin:193px -19px 9px; |
850 | } | 861 | } |
851 | 862 | ||
852 | .content-growth{ | 863 | .content-growth{ |
853 | margin:192px 11px 8px; | 864 | margin:192px 11px 8px; |
854 | } | 865 | } |
855 | .last-content-card{ | 866 | .last-content-card{ |
856 | /*margin: 0px -85px -4px -51px;*/ | 867 | /*margin: 0px -85px -4px -51px;*/ |
857 | } | 868 | } |
858 | 869 | ||
859 | @media (max-width: 600px) { | 870 | @media (max-width: 600px) { |
860 | .content-idea{ | 871 | .content-idea{ |
861 | margin: auto; | 872 | margin: auto; |
862 | } | 873 | } |
863 | 874 | ||
864 | .content-product{ | 875 | .content-product{ |
865 | margin: auto; | 876 | margin: auto; |
866 | } | 877 | } |
867 | 878 | ||
868 | .content-growth{ | 879 | .content-growth{ |
869 | margin: auto; | 880 | margin: auto; |
870 | } | 881 | } |
871 | .stages-card{ | 882 | .stages-card{ |
872 | margin: auto; | 883 | margin: auto; |
873 | margin-bottom: 15px; | 884 | margin-bottom: 15px; |
874 | } | 885 | } |
875 | .last-content-card{ | 886 | .last-content-card{ |
876 | margin: auto; | 887 | margin: auto; |
877 | } | 888 | } |
878 | .card-align{ | 889 | .card-align{ |
879 | margin: auto; | 890 | margin: auto; |
880 | } | 891 | } |
881 | 892 | ||
882 | } | 893 | } |
883 | 894 | ||
884 | .toggler { | 895 | .toggler { |
885 | width: 500px; | 896 | width: 500px; |
886 | height: 200px; | 897 | height: 200px; |
887 | } | 898 | } |
888 | #button { | 899 | #button { |
889 | padding: .5em 1em; | 900 | padding: .5em 1em; |
890 | text-decoration: none; | 901 | text-decoration: none; |
891 | } | 902 | } |
892 | #effect { | 903 | #effect { |
893 | position: relative; | 904 | position: relative; |
894 | width: 240px; | 905 | width: 240px; |
895 | height: 170px; | 906 | height: 170px; |
896 | padding: 0.4em; | 907 | padding: 0.4em; |
897 | } | 908 | } |
898 | #effect h3 { | 909 | #effect h3 { |
899 | margin: 0; | 910 | margin: 0; |
900 | padding: 0.4em; | 911 | padding: 0.4em; |
901 | text-align: center; | 912 | text-align: center; |
902 | } | 913 | } |
903 | 914 | ||
904 | #snackbar { | 915 | #snackbar { |
905 | visibility: hidden; | 916 | visibility: hidden; |
906 | min-width: 250px; | 917 | min-width: 250px; |
907 | margin-left: -125px; | 918 | margin-left: -125px; |
908 | background-color: #F44336; | 919 | background-color: #F44336; |
909 | color: #fff; | 920 | color: #fff; |
910 | text-align: center; | 921 | text-align: center; |
911 | border-radius: 2px; | 922 | border-radius: 2px; |
912 | padding: 16px; | 923 | padding: 16px; |
913 | position: fixed; | 924 | position: fixed; |
914 | z-index: 1; | 925 | z-index: 1; |
915 | left: 50%; | 926 | left: 50%; |
916 | bottom: 30px; | 927 | bottom: 30px; |
917 | font-size: 17px; | 928 | font-size: 17px; |
918 | } | 929 | } |
919 | 930 | ||
920 | #snackbar.show { | 931 | #snackbar.show { |
921 | visibility: visible; | 932 | visibility: visible; |
922 | -webkit-animation: fadin 0.5s, fadout 0.5s 2.5s; | 933 | -webkit-animation: fadin 0.5s, fadout 0.5s 2.5s; |
923 | animation: fadin 0.5s, fadout 0.5s 2.5s; | 934 | animation: fadin 0.5s, fadout 0.5s 2.5s; |
924 | } | 935 | } |
925 | 936 | ||
926 | @-webkit-keyframes fadin { | 937 | @-webkit-keyframes fadin { |
927 | from {bottom: 0; opacity: 0;} | 938 | from {bottom: 0; opacity: 0;} |
928 | to {bottom: 30px; opacity: 1;} | 939 | to {bottom: 30px; opacity: 1;} |
929 | } | 940 | } |
930 | 941 | ||
931 | @keyframes fadin { | 942 | @keyframes fadin { |
932 | from {bottom: 0; opacity: 0;} | 943 | from {bottom: 0; opacity: 0;} |
933 | to {bottom: 30px; opacity: 1;} | 944 | to {bottom: 30px; opacity: 1;} |
934 | } | 945 | } |
935 | 946 | ||
936 | @-webkit-keyframes fadout { | 947 | @-webkit-keyframes fadout { |
937 | from {bottom: 30px; opacity: 1;} | 948 | from {bottom: 30px; opacity: 1;} |
938 | to {bottom: 0; opacity: 0;} | 949 | to {bottom: 0; opacity: 0;} |
939 | } | 950 | } |
940 | 951 | ||
941 | @keyframes fadout { | 952 | @keyframes fadout { |
942 | from {bottom: 30px; opacity: 1;} | 953 | from {bottom: 30px; opacity: 1;} |
943 | to {bottom: 0; opacity: 0;} | 954 | to {bottom: 0; opacity: 0;} |
944 | } | 955 | } |
945 | 956 | ||
946 | 957 | ||
947 | #snacsskbar { | 958 | #snacsskbar { |
948 | visibility: hidden; | 959 | visibility: hidden; |
949 | min-width: 250px; | 960 | min-width: 250px; |
950 | margin-left: -125px; | 961 | margin-left: -125px; |
951 | background-color: #333; | 962 | background-color: #333; |
952 | color: #fff; | 963 | color: #fff; |
953 | text-align: center; | 964 | text-align: center; |
954 | border-radius: 2px; | 965 | border-radius: 2px; |
955 | padding: 16px; | 966 | padding: 16px; |
956 | position: fixed; | 967 | position: fixed; |
957 | z-index: 1; | 968 | z-index: 1; |
958 | left: 50%; | 969 | left: 50%; |
959 | top: 30px; | 970 | top: 30px; |
960 | font-size: 17px; | 971 | font-size: 17px; |
961 | } | 972 | } |
962 | 973 | ||
963 | #snacsskbar.show { | 974 | #snacsskbar.show { |
964 | visibility: visible; | 975 | visibility: visible; |
965 | -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s; | 976 | -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s; |
966 | animation: fadein 0.5s, fadeout 0.5s 2.5s; | 977 | animation: fadein 0.5s, fadeout 0.5s 2.5s; |
967 | } | 978 | } |
968 | 979 | ||
969 | @-webkit-keyframes fadein { | 980 | @-webkit-keyframes fadein { |
970 | from {top: 0; opacity: 0;} | 981 | from {top: 0; opacity: 0;} |
971 | to {top: 30px; opacity: 1;} | 982 | to {top: 30px; opacity: 1;} |
972 | } | 983 | } |
973 | 984 | ||
974 | @keyframes fadein { | 985 | @keyframes fadein { |
975 | from {top: 0; opacity: 0;} | 986 | from {top: 0; opacity: 0;} |
976 | to {top: 30px; opacity: 1;} | 987 | to {top: 30px; opacity: 1;} |
977 | } | 988 | } |
978 | 989 | ||
979 | @-webkit-keyframes fadeout { | 990 | @-webkit-keyframes fadeout { |
980 | from {top: 30px; opacity: 1;} | 991 | from {top: 30px; opacity: 1;} |
981 | to {top: 0; opacity: 0;} | 992 | to {top: 0; opacity: 0;} |
982 | } | 993 | } |
983 | 994 | ||
984 | @keyframes fadeout { | 995 | @keyframes fadeout { |
985 | from {top: 30px; opacity: 1;} | 996 | from {top: 30px; opacity: 1;} |
986 | to {top: 0; opacity: 0;} | 997 | to {top: 0; opacity: 0;} |
987 | } | 998 | } |
988 | 999 | ||
989 | input.hidden { | 1000 | input.hidden { |
990 | position: absolute; | 1001 | position: absolute; |
991 | left: -9999px; | 1002 | left: -9999px; |
992 | } | 1003 | } |
993 | 1004 | ||
994 | #profile-image1 { | 1005 | #profile-image1 { |
995 | cursor: pointer; | 1006 | cursor: pointer; |
996 | width: 100px; | 1007 | width: 100px; |
997 | height: 100px; | 1008 | height: 100px; |
998 | border:2px solid #eee ; | 1009 | border:2px solid #eee ; |
999 | } | 1010 | } |
1000 | 1011 | ||
1001 | .tital{ font-size:16px; font-weight:500;} | 1012 | .tital{ font-size:16px; font-weight:500;} |
1002 | .bot-border{ border-bottom:1px #f8f8f8 solid; margin:5px 0 5px 0} | 1013 | .bot-border{ border-bottom:1px #f8f8f8 solid; margin:5px 0 5px 0} |
1003 | .footerpadd{padding: 5px;} | 1014 | .footerpadd{padding: 5px;} |
1004 | 1015 | ||
1005 | 1016 | ||
1006 | .container1{ | 1017 | .container1{ |
1007 | width: 100% | 1018 | width: 100% |
1008 | } | 1019 | } |
1009 | 1020 | ||
1010 | .no-margin{ | 1021 | .no-margin{ |
1011 | margin: 0 0 0 !important; | 1022 | margin: 0 0 0 !important; |
1012 | } | 1023 | } |
1013 | .no-padding{ | 1024 | .no-padding{ |
1014 | padding: 0 0 0 0 !important; | 1025 | padding: 0 0 0 0 !important; |
1015 | } | 1026 | } |
1016 | .select-stage{ | 1027 | .select-stage{ |
1017 | margin: 10px 0; | 1028 | margin: 10px 0; |
1018 | } | 1029 | } |
1019 | .cards-content{ | 1030 | .cards-content{ |
1020 | margin-top: 40px; | 1031 | margin-top: 40px; |
1021 | } | 1032 | } |
1022 | .cards-content p{ | 1033 | .cards-content p{ |
1023 | font-size: 13px; | 1034 | font-size: 13px; |
1024 | } | 1035 | } |
1025 | .q-card-align{ | 1036 | .q-card-align{ |
1026 | margin-top: 15px; | 1037 | margin-top: 15px; |
1027 | } | 1038 | } |
1028 | .width-auto{ | 1039 | .width-auto{ |
1029 | width: auto !important; | 1040 | width: auto !important; |
1030 | } | 1041 | } |
1031 | .margin-right-label{ | 1042 | .margin-right-label{ |
1032 | margin-right: 20px; | 1043 | margin-right: 20px; |
1033 | } | 1044 | } |
1034 | .margin-right-label label{ | 1045 | .margin-right-label label{ |
1035 | margin-left: 5px; | 1046 | margin-left: 5px; |
1036 | } | 1047 | } |
1037 | .apply-coupen-btn{ | 1048 | .apply-coupen-btn{ |
1038 | position: absolute; | 1049 | position: absolute; |
1039 | top: -2px; | 1050 | top: -2px; |
1040 | right: 13px; | 1051 | right: 13px; |
1041 | border: none; | 1052 | border: none; |
1042 | height: 44px; | 1053 | height: 44px; |
1043 | color: #fff; | 1054 | color: #fff; |
1044 | background-color: #666; | 1055 | background-color: #666; |
1045 | width: 75px; | 1056 | width: 75px; |
1046 | } | 1057 | } |
1047 | .coupen-approved{ | 1058 | .coupen-approved{ |
1048 | position: absolute; | 1059 | position: absolute; |
1049 | right: 120px; | 1060 | right: 120px; |
1050 | top: 6px; | 1061 | top: 6px; |
1051 | color: rgb(66, 181, 73); | 1062 | color: rgb(66, 181, 73); |
1052 | font-size: 30px !important; | 1063 | font-size: 30px !important; |
1053 | } | 1064 | } |
1054 | .right-side-links{ | 1065 | .right-side-links{ |
1055 | margin-top: 12px; | 1066 | margin-top: 12px; |
1056 | } | 1067 | } |
1057 | .right-side-links a{ | 1068 | .right-side-links a{ |
1058 | width: auto; | 1069 | width: auto; |
1059 | display: inline; | 1070 | display: inline; |
1060 | } | 1071 | } |
1061 | .right-side-links a:first-child{ | 1072 | .right-side-links a:first-child{ |
1062 | border-right: 1px solid #fff; | 1073 | border-right: 1px solid #fff; |
1063 | padding-right: 4px; | 1074 | padding-right: 4px; |
1064 | } | 1075 | } |
1065 | 1076 | ||
1066 | @media (max-width: 768px){ | 1077 | @media (max-width: 768px){ |
1067 | .cards-content{ | 1078 | .cards-content{ |
1068 | margin-top: 15px; | 1079 | margin-top: 15px; |
1069 | margin-bottom: 30px; | 1080 | margin-bottom: 30px; |
1070 | } | 1081 | } |
1071 | .no-padding-mobile{ | 1082 | .no-padding-mobile{ |
1072 | padding-left: 0 !important; | 1083 | padding-left: 0 !important; |
1073 | padding-right: 0 !important; | 1084 | padding-right: 0 !important; |
1074 | } | 1085 | } |
1075 | .sector-align .card-small{ | 1086 | .sector-align .card-small{ |
1076 | height: 74px; | 1087 | height: 74px; |
1077 | } | 1088 | } |
1078 | .stages-card{ | 1089 | .stages-card{ |
1079 | width: 92%; | 1090 | width: 92%; |
1080 | } | 1091 | } |
1081 | .right-stage-card{ | 1092 | .right-stage-card{ |
1082 | float: right; | 1093 | float: right; |
1083 | } | 1094 | } |
1084 | .margin-auto-mobile{ | 1095 | .margin-auto-mobile{ |
1085 | margin-left: 4%; | 1096 | margin-left: 4%; |
1086 | } | 1097 | } |
1087 | .card .thumbnail{ | 1098 | .card .thumbnail{ |
1088 | padding: 15px 0 1px 0; | 1099 | padding: 15px 0 1px 0; |
1089 | } | 1100 | } |
1090 | .thumbnail > img, .thumbnail a > img{ | 1101 | .thumbnail > img, .thumbnail a > img{ |
1091 | width: 50%; | 1102 | width: 50%; |
1092 | } | 1103 | } |
1093 | .right-side-links a{ | 1104 | .right-side-links a{ |
1094 | display: block; | 1105 | display: block; |
1095 | width: 100%; | 1106 | width: 100%; |
1096 | } | 1107 | } |
1097 | .right-side-links a:first-child{ | 1108 | .right-side-links a:first-child{ |
1098 | border-right: 0 solid #fff; | 1109 | border-right: 0 solid #fff; |
1099 | padding-right: 0; | 1110 | padding-right: 0; |
1100 | } | 1111 | } |
1101 | .right-side-links{ | 1112 | .right-side-links{ |
1102 | margin-top: 0; | 1113 | margin-top: 0; |
1103 | } | 1114 | } |
1104 | .panel-default{ | 1115 | .panel-default{ |
1105 | border-color: transparent; | 1116 | border-color: transparent; |
1106 | box-shadow: none; | 1117 | box-shadow: none; |
1107 | } | 1118 | } |
1108 | .modal-footers { | 1119 | .modal-footers { |
1109 | padding: 19px 20px 20px; | 1120 | padding: 19px 20px 20px; |
1110 | margin-top: 15px; | 1121 | margin-top: 15px; |
1111 | text-align: center !important; | 1122 | text-align: center !important; |
1112 | margin-bottom: 4px; | 1123 | margin-bottom: 4px; |
1113 | } | 1124 | } |
1114 | .startup-jalsa{ | 1125 | .startup-jalsa{ |
1115 | font-family: 'BenchNine', sans-serif; | 1126 | font-family: 'BenchNine', sans-serif; |
1116 | color: rgb(25, 104, 157); | 1127 | color: rgb(25, 104, 157); |
1117 | position:relative; | 1128 | position:relative; |
1118 | z-index:2; | 1129 | z-index:2; |
1119 | } | 1130 | } |
1120 | 1131 | ||
1121 | } | 1132 | } |
1122 | 1133 | ||
1123 | 1134 | ||
1124 | 1135 | ||
1125 | .card-input { | 1136 | .card-input { |
1126 | display: none; | 1137 | display: none; |
1127 | } | 1138 | } |
1128 | 1139 | ||
1129 | .card { | 1140 | .card { |
1130 | font-size: 1em; | 1141 | font-size: 1em; |
1131 | overflow: hidden; | 1142 | overflow: hidden; |
1132 | padding: 0; | 1143 | padding: 0; |
1133 | border: none; | 1144 | border: none; |
1134 | /*border-radius: .28571429rem;*/ | 1145 | /*border-radius: .28571429rem;*/ |
1135 | box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5; | 1146 | box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5; |
1136 | } | 1147 | } |
1137 | 1148 | ||
1138 | .card-block { | 1149 | .card-block { |
1139 | font-size: 1em; | 1150 | font-size: 1em; |
1140 | position: relative; | 1151 | position: relative; |
1141 | margin: 0; | 1152 | margin: 0; |
1142 | padding: 4%; | 1153 | padding: 4%; |
1143 | border: none; | 1154 | border: none; |
1144 | border-top: 1px solid rgba(34, 36, 38, .1); | 1155 | border-top: 1px solid rgba(34, 36, 38, .1); |
1145 | box-shadow: none; | 1156 | box-shadow: none; |
1146 | } | 1157 | } |
1147 | .button-position{ | 1158 | .button-position{ |
1148 | position: relative; | 1159 | position: relative; |
1149 | top: -10px; | 1160 | top: -10px; |
1150 | } | 1161 | } |
1151 | .card-img-top { | 1162 | .card-img-top { |
1152 | display: block; | 1163 | display: block; |
1153 | width: 100%; | 1164 | width: 100%; |
1154 | height: auto; | 1165 | height: auto; |
1155 | } | 1166 | } |
1156 | 1167 | ||
1157 | .card-title { | 1168 | .card-title { |
1158 | /*font-size: 17px;*/ | 1169 | /*font-size: 17px;*/ |
1159 | font-weight: 600; | 1170 | font-weight: 600; |
1160 | margin: 0; | 1171 | margin: 0; |
1161 | line-height: normal; | 1172 | line-height: normal; |
1162 | font-family: 'Arial',sans-serif; | 1173 | font-family: 'Arial',sans-serif; |
1163 | } | 1174 | } |
1164 | .card-sub-title{ | 1175 | .card-sub-title{ |
1165 | font-family: 'Arial',sans-serif; | 1176 | font-family: 'Arial',sans-serif; |
1166 | /*color: #666;*/ | 1177 | /*color: #666;*/ |
1167 | font-weight: normal; | 1178 | font-weight: normal; |
1168 | margin-bottom: 0; | 1179 | margin-bottom: 0; |
1169 | } | 1180 | } |
1170 | .button-aligment{ | 1181 | .button-aligment{ |
1171 | margin-top: 5px; | 1182 | margin-top: 5px; |
1172 | margin-right: 14px; | 1183 | margin-right: 14px; |
1173 | margin-bottom: 15px; | 1184 | margin-bottom: 15px; |
1174 | } | 1185 | } |
1175 | .card-text { | 1186 | .card-text { |
1176 | clear: both; | 1187 | clear: both; |
1177 | margin-top: .5em; | 1188 | margin-top: .5em; |
1178 | /*color: rgba(0, 0, 0, .68);*/ | 1189 | /*color: rgba(0, 0, 0, .68);*/ |
1179 | padding-bottom: 3%; | 1190 | padding-bottom: 3%; |
1180 | font-size: 13px; | 1191 | font-size: 13px; |
1181 | } | 1192 | } |
1182 | 1193 | ||
1183 | .card-text2 { | 1194 | .card-text2 { |
1184 | padding: 3% 0 3% 4%;; | 1195 | padding: 3% 0 3% 4%;; |
1185 | border-top: 1px solid rgba(0, 0, 0, .05) !important; | 1196 | border-top: 1px solid rgba(0, 0, 0, .05) !important; |
1186 | } | 1197 | } |
1187 | .card-text2 span{ | 1198 | .card-text2 span{ |
1188 | font-size: 13px; | 1199 | font-size: 13px; |
1189 | /*color: #666;*/ | 1200 | /*color: #666;*/ |
1190 | } | 1201 | } |
1191 | .card-text2 div{ | 1202 | .card-text2 div{ |
1192 | margin-top: 0 !important; | 1203 | margin-top: 0 !important; |
1193 | font-weight: normal; | 1204 | font-weight: normal; |
1194 | /*color: #000;*/ | 1205 | /*color: #000;*/ |
1195 | font-size: 12px; | 1206 | font-size: 12px; |
1196 | padding-bottom: 0; | 1207 | padding-bottom: 0; |
1197 | } | 1208 | } |
1198 | 1209 | ||
1199 | .card-inverse .btn { | 1210 | .card-inverse .btn { |
1200 | border: 1px solid rgba(0, 0, 0, .05); | 1211 | border: 1px solid rgba(0, 0, 0, .05); |
1201 | } | 1212 | } |
1202 | 1213 | ||
1203 | .card-text3 { | 1214 | .card-text3 { |
1204 | border-top: 1px solid rgba(0, 0, 0, .05) !important; | 1215 | border-top: 1px solid rgba(0, 0, 0, .05) !important; |
1205 | } | 1216 | } |
1206 | 1217 | ||
1207 | .container { | 1218 | .container { |
1208 | display: block; | 1219 | display: block; |
1209 | position: relative; | 1220 | position: relative; |
1210 | padding: 0; | 1221 | padding: 0; |
1211 | margin-bottom: 12px; | 1222 | margin-bottom: 12px; |
1212 | cursor: pointer; | 1223 | cursor: pointer; |
1213 | font-size: 16px; | 1224 | font-size: 16px; |
1214 | -webkit-user-select: none; | 1225 | -webkit-user-select: none; |
1215 | -moz-user-select: none; | 1226 | -moz-user-select: none; |
1216 | -ms-user-select: none; | 1227 | -ms-user-select: none; |
1217 | user-select: none; | 1228 | user-select: none; |
1218 | width:100%; | 1229 | width:100%; |
1219 | } | 1230 | } |
1220 | 1231 | ||
1221 | .container1 { | 1232 | .container1 { |
1222 | display: block; | 1233 | display: block; |
1223 | position: relative; | 1234 | position: relative; |
1224 | padding-left: 31px; | 1235 | padding-left: 31px; |
1225 | margin-bottom: 12px; | 1236 | margin-bottom: 12px; |
1226 | cursor: pointer; | 1237 | cursor: pointer; |
1227 | font-size: 15px; | 1238 | font-size: 15px; |
1228 | -webkit-user-select: none; | 1239 | -webkit-user-select: none; |
1229 | -moz-user-select: none; | 1240 | -moz-user-select: none; |
1230 | -ms-user-select: none; | 1241 | -ms-user-select: none; |
1231 | user-select: none; | 1242 | user-select: none; |
1232 | width:100%; | 1243 | width:100%; |
1233 | } | 1244 | } |
1234 | 1245 | ||
1235 | /* Hide the browser's default radio button */ | 1246 | /* Hide the browser's default radio button */ |
1236 | .container input { | 1247 | .container input { |
1237 | position: absolute; | 1248 | position: absolute; |
1238 | opacity: 0; | 1249 | opacity: 0; |
1239 | } | 1250 | } |
1240 | 1251 | ||
1241 | /* Create a custom radio button */ | 1252 | /* Create a custom radio button */ |
1242 | .checkmark { | 1253 | .checkmark { |
1243 | position: absolute; | 1254 | position: absolute; |
1244 | top: 0; | 1255 | top: 0; |
1245 | left: 0; | 1256 | left: 0; |
1246 | height: 25px; | 1257 | height: 25px; |
1247 | width: 25px; | 1258 | width: 25px; |
1248 | background-color: #eee; | 1259 | background-color: #eee; |
1249 | border-radius: 50%; | 1260 | border-radius: 50%; |
1250 | } | 1261 | } |
1251 | 1262 | ||
1252 | /* On mouse-over, add a grey background color */ | 1263 | /* On mouse-over, add a grey background color */ |
1253 | .container:hover input ~ .checkmark { | 1264 | .container:hover input ~ .checkmark { |
1254 | background-color: #ccc; | 1265 | background-color: #ccc; |
1255 | } | 1266 | } |
1256 | 1267 | ||
1257 | /* When the radio button is checked, add a blue background */ | 1268 | /* When the radio button is checked, add a blue background */ |
1258 | .container input:checked ~ .checkmark { | 1269 | .container input:checked ~ .checkmark { |
1259 | background-color: #42b549; | 1270 | background-color: #42b549; |
1260 | } | 1271 | } |
1261 | 1272 | ||
1262 | /* Create the indicator (the dot/circle - hidden when not checked) */ | 1273 | /* Create the indicator (the dot/circle - hidden when not checked) */ |
1263 | .checkmark:after { | 1274 | .checkmark:after { |
1264 | content: ""; | 1275 | content: ""; |
1265 | position: absolute; | 1276 | position: absolute; |
1266 | display: none; | 1277 | display: none; |
1267 | } | 1278 | } |
1268 | 1279 | ||
1269 | /* Show the indicator (dot/circle) when checked */ | 1280 | /* Show the indicator (dot/circle) when checked */ |
1270 | .container input:checked ~ .checkmark:after { | 1281 | .container input:checked ~ .checkmark:after { |
1271 | display: block; | 1282 | display: block; |
1272 | } | 1283 | } |
1273 | 1284 | ||
1274 | /* Style the indicator (dot/circle) */ | 1285 | /* Style the indicator (dot/circle) */ |
1275 | .container .checkmark:after { | 1286 | .container .checkmark:after { |
1276 | top: 9px; | 1287 | top: 9px; |
1277 | left: 9px; | 1288 | left: 9px; |
1278 | width: 8px; | 1289 | width: 8px; |
1279 | height: 8px; | 1290 | height: 8px; |
1280 | border-radius: 50%; | 1291 | border-radius: 50%; |
1281 | background: white; | 1292 | background: white; |
1282 | } | 1293 | } |
1283 | 1294 | ||
1284 | table { | 1295 | table { |
1285 | /*font-family: arial, sans-serif; | 1296 | /*font-family: arial, sans-serif; |
1286 | border-collapse: collapse;*/ | 1297 | border-collapse: collapse;*/ |
1287 | width: 60%; | 1298 | width: 60%; |
1288 | } | 1299 | } |
1289 | .city-meetup { | 1300 | .city-meetup { |
1290 | opacity: 0.7; | 1301 | opacity: 0.7; |
1291 | filter: alpha(opacity=80); /* For IE8 and earlier */ | 1302 | filter: alpha(opacity=80); /* For IE8 and earlier */ |
1292 | } | 1303 | } |
1293 | 1304 | ||
1294 | 1305 | ||
1295 | .card-color{ | 1306 | .card-color{ |
1296 | background-color:white; | 1307 | background-color:white; |
1297 | font-size: 16px; | 1308 | font-size: 16px; |
1298 | } | 1309 | } |
1299 | 1310 | ||
1300 | .startup-jalsa{ | 1311 | .startup-jalsa{ |
1301 | font-family: 'BenchNine', sans-serif; | 1312 | font-family: 'BenchNine', sans-serif; |
1302 | font-size: 70.15pt; | 1313 | /*font-size: 70.15pt;*/ |
1303 | color: rgb(25, 104, 157); | 1314 | color: rgb(25, 104, 157); |
1304 | position:relative; | 1315 | position:relative; |
1305 | z-index:2; | 1316 | z-index:2; |
1306 | } | 1317 | } |
1307 | .header{ | 1318 | .header{ |
1308 | /*width: 100%;*/ | 1319 | /*width: 100%;*/ |
1309 | text-align: center; | 1320 | text-align: center; |
1310 | padding-top:2%; | 1321 | padding-top:2%; |
1311 | /*padding: 4px 20px;*/ | 1322 | /*padding: 4px 20px;*/ |
1312 | } | 1323 | } |
1313 | .happen-city{ | 1324 | .happen-city{ |
1314 | padding-top:12%; | 1325 | padding-top:12%; |
1315 | } | 1326 | } |
1316 | .happen-meetup{ | 1327 | .happen-meetup{ |
1317 | font-family: 'Arial',sans-serif; | 1328 | font-family: 'Arial',sans-serif; |
1318 | margin-bottom: 10px; | 1329 | margin-bottom: 10px; |
1319 | margin-left: 5%; | 1330 | margin-left: 5%; |
1320 | } | 1331 | } |
1321 | .happen-attend{ | 1332 | .happen-attend{ |
1322 | margin-top:6%; | 1333 | margin-top:6%; |
1323 | } | 1334 | } |
1324 | .width-auto{ | 1335 | .width-auto{ |
1325 | width:auto; | 1336 | width:auto; |
1326 | } | 1337 | } |
1327 | /*.card-position{ | 1338 | /*.card-position{ |
1328 | position: relative; | 1339 | position: relative; |
1329 | top: -3px; | 1340 | top: -3px; |
1330 | }*/ | 1341 | }*/ |
1331 | 1342 | ||
1332 | .active, .btn:hover, .btn:onclick { | 1343 | .active, .btn:hover, .btn:onclick { |
1333 | background-color: grey; | 1344 | background-color: grey; |
1334 | border: grey; | 1345 | border: grey; |
1335 | color: white; | 1346 | color: white; |
1336 | } | 1347 | } |
1337 | .apply-act:hover, .apply-act:focus{ | 1348 | .apply-act:hover, .apply-act:focus{ |
1338 | background-color: grey; | 1349 | background-color: grey; |
1339 | border: grey; | 1350 | border: grey; |
1340 | color: white; | 1351 | color: white; |
1341 | } | 1352 | } |
1342 | .apply-btn{ | 1353 | .apply-btn{ |
1343 | text-align: center; | 1354 | text-align: center; |
1344 | margin-bottom: 2%; | 1355 | margin-bottom: 2%; |
1345 | } | 1356 | } |
1346 | 1357 | ||
1347 | .cursor:hover{ | 1358 | .cursor:hover{ |
1348 | cursor: context-menu; | 1359 | cursor: context-menu; |
1349 | } | 1360 | } |
1350 | 1361 | ||
1351 | .bg_dots{ | 1362 | .bg_dots{ |
1352 | position: absolute; | 1363 | position: absolute; |
1353 | left:0; | 1364 | left:0; |
1354 | right:0; | 1365 | right:0; |
1355 | top:0; | 1366 | top:0; |
1356 | height: 700px; | 1367 | height: 700px; |
1357 | position:fixed; | 1368 | position:fixed; |
1358 | background-position: top center; | 1369 | background-position: top center; |
1359 | background-image: url(/images/mock_up_background.jpg); | 1370 | background-image: url(/images/mock_up_background.jpg); |
1360 | background-repeat: no-repeat; | 1371 | background-repeat: no-repeat; |
1361 | background-size: 100% auto; | 1372 | background-size: 100% auto; |
1362 | -webkit-background-size:100% auto; | 1373 | -webkit-background-size:100% auto; |
1363 | } | 1374 | } |
1364 | .stage-shadow{ | 1375 | .stage-shadow{ |
1365 | background:transparent; | 1376 | background:transparent; |
1366 | } | 1377 | } |
1367 | 1378 | ||
1368 | 1379 | ||
1369 | 1380 | ||
1370 | 1381 | ||
1371 | 1382 | ||
1372 | 1383 | ||
1373 | 1384 | ||
1374 | 1385 | ||
1375 | 1386 | ||
1376 | 1387 | ||
1377 | 1388 | ||
1378 | 1389 | ||
1379 | 1390 | ||
1380 | 1391 | ||
1381 | 1392 | ||
1382 | 1393 | ||
1383 | 1394 | ||
1384 | 1395 | ||
1385 | 1396 | ||
1386 | 1397 | ||
1387 | 1398 | ||
1388 | 1399 | ||
1389 | 1400 | ||
1390 | @media (max-width:767px){ | 1401 | @media (max-width:767px){ |
1391 | h1{ | 1402 | h1{ |
1392 | font-size:2.8rem; | 1403 | font-size:2.8rem; |
1393 | } | 1404 | } |
1394 | .phone-meetup{ | 1405 | .phone-meetup{ |
1395 | margin-left: 4%; | 1406 | margin-left: 4%; |
1396 | 1407 | ||
1397 | } | 1408 | } |
1398 | .city-meetup { | 1409 | .city-meetup { |
1399 | opacity: 0.8; | 1410 | opacity: 0.8; |
1400 | filter: alpha(opacity=80); /* For IE8 and earlier */ | 1411 | filter: alpha(opacity=80); /* For IE8 and earlier */ |
1401 | } | 1412 | } |
1402 | #front { | 1413 | #front { |
1403 | /*background-image: url(/images/mock_up_background.jpg); | 1414 | /*background-image: url(/images/mock_up_background.jpg); |
1404 | background-repeat: no-repeat; | 1415 | background-repeat: no-repeat; |
1405 | background-attachment:fixed; | 1416 | background-attachment:fixed; |
1406 | background-position: top center; | 1417 | background-position: top center; |
1407 | -webkit-background-attachment: fixed; | 1418 | -webkit-background-attachment: fixed; |
1408 | background-size: 400% auto; | 1419 | background-size: 400% auto; |
1409 | -webkit-background-size:400% auto;*/ | 1420 | -webkit-background-size:400% auto;*/ |
1410 | } | 1421 | } |
1411 | .bg_dots{ | 1422 | .bg_dots{ |
1412 | height:80%; | 1423 | height:80%; |
1413 | background-size: 300% auto; | 1424 | background-size: 300% auto; |
1414 | -webkit-background-size:300% auto; | 1425 | -webkit-background-size:300% auto; |
1415 | position:fixed; | 1426 | position:fixed; |
1416 | top:0; | 1427 | top:0; |
1417 | } | 1428 | } |
1418 | 1429 | ||
1419 | } | 1430 | } |
1420 | 1431 | ||
1421 | @media screen and (max-device-width: 991px) and (orientation: landscape){ | 1432 | @media screen and (max-device-width: 991px) and (orientation: landscape){ |
1422 | .rotate-card{ | 1433 | .rotate-card{ |
1423 | width: 100%; | 1434 | width: 100%; |
1424 | } | 1435 | } |
1425 | 1436 | ||
1426 | } | 1437 | } |
pages/ambassador.html
1 | <div class="header"> | 1 | <div class="header"> |
2 | <div style="float: left;"> | 2 | <div> |
3 | <img src="images/white.png" class="logo" > | 3 | <h1 class="startup-jalsa">STARTUP JALSA 2018</h1> |
4 | </div> | 4 | </div> |
5 | <div style="float: right;" class="right-side-links"> | 5 | <div class="clearfix"></div> |
6 | <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a> | ||
7 | <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a> | ||
8 | </div> | ||
9 | <div class="clearfix"></div> | ||
10 | </div> | 6 | </div> |
11 | <!-- CLOSE HEADER --> | 7 | <!-- CLOSE HEADER --> |
12 | <form name="applicantForm" id="signupForm"> | 8 | <form name="applicantForm"> |
13 | <div style="text-align:center;"> | 9 | <div class="col-xs-12 col-md-8 col-md-offset-2"> |
14 | <h4>Startup Ambassador</h4> | ||
15 | </div> | ||
16 | <div class="col-xs-12 col-md-4 col-md-offset-4"> | ||
17 | <div class="form-all"> | 10 | <div class="form-all"> |
18 | <table style="width: 100%;"> | 11 | <!-- <table style="width: 100%;"> |
19 | <tr> | 12 | <tr> |
20 | <td> | 13 | <td> |
21 | <div class="step-one-form" > | 14 | <div class="step-one-form" > --> |
22 | <!-- form step 1 --> | 15 | <!-- form step 1 --> |
23 | <div class="col-xs-12 input-wrapper" > | 16 | <div class="col-xs-12 col-md-6 input-wrapper" > |
24 | <div id="snackbar">Error ! Please fill in all fields.</div> | 17 | <div id="snackbar">Error ! Please fill in all fields.</div> |
25 | <div class="icon-circle-c"> | 18 | <div class="icon-circle-c"> |
26 | <i class="material-icons" style="line-height: 31px;">person</i> | 19 | <i class="material-icons" style="line-height: 31px;">person</i> |
27 | </div> | 20 | </div> |
28 | <input type="text" class="text-input" required ng-model="data.name" placeholder="Name" id="myBtn" name="name" ng-change="entername(data.name); firstNamekeyPress(data.name)"> | 21 | <input type="text" class="text-input" required ng-model="data.name" placeholder="Name" id="myBtn" name="name" ng-change="entername(data.name); firstNamekeyPress(data.name)"> |
29 | </div> | 22 | </div> |
30 | <div class="clearfix"></div> | 23 | <div class="col-xs-12 col-md-6 input-wrapper" > |
31 | <div class="col-xs-12 input-wrapper" > | ||
32 | <div id="snackbar">Error ! Please fill in all fields.</div> | 24 | <div id="snackbar">Error ! Please fill in all fields.</div> |
33 | <div class="icon-circle-d"> | 25 | <div class="icon-circle-d"> |
34 | <i class="material-icons" style="line-height: 30px;">email</i> | 26 | <i class="material-icons" style="line-height: 30px;">email</i> |
35 | </div> | 27 | </div> |
36 | <input type="email" name="email" ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address" ng-change="enteremail(data.email); emailkeyPress(data.email)"> | 28 | <input type="email" name="email" ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address" ng-change="enteremail(data.email); emailkeyPress(data.email)"> |
37 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> | 29 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> |
38 | <label ng-if="check">Email already exist.</label> | 30 | <label ng-if="check">Email already exist.</label> |
39 | </div> | 31 | </div> |
40 | <div class="clearfix"></div> | 32 | <div class="col-xs-12 col-md-6 input-wrapper" > |
41 | <div class="col-xs-12 input-wrapper" > | ||
42 | <div class="icon-circle-e"> | 33 | <div class="icon-circle-e"> |
43 | <i class="material-icons" style="line-height: 30px;">phone</i> | 34 | <i class="material-icons" style="line-height: 30px;">phone</i> |
44 | </div> | 35 | </div> |
45 | <input type="text" ng-pattern="/^\d*(?:\.\d{1,2})?$/" title="Please enter only numberic numbers" maxlength="10" required class="text-input" ng-model="data.mobile" placeholder="Mobile No." ng-change="enternumber(data.mobile); phonekeyPress(data.mobile)"> | 36 | <input type="text" ng-pattern="/^\d*(?:\.\d{1,2})?$/" title="Please enter only numberic numbers" maxlength="10" required class="text-input" ng-model="data.number" placeholder="Mobile No." ng-change="enternumber(data.number); phonekeyPress(data.number)"> |
46 | <!-- <label class="error-message f-family" id="invalidNumber">Please enter only numeric value in mobile number field.</label> --> | 37 | <!-- <label class="error-message f-family" id="invalidNumber">Please enter only numeric value in mobile number field.</label> --> |
47 | <label ng-if="numberCheck">Contact Number already exist.</label> | 38 | <label ng-if="numberCheck">Contact Number already exist.</label> |
48 | </div> | 39 | </div> |
49 | <div class="clearfix"></div> | 40 | <div class="col-xs-12 col-md-6 input-wrapper"> |
50 | <div class="col-xs-12 input-wrapper" > | 41 | <div class="icon-circle-i"> |
42 | <i class="material-icons" style="line-height: 30px;">perm_identity</i> | ||
43 | </div> | ||
44 | <input type="text" class="text-input" ng-model="data.companyName" placeholder="Company Name" ng-change="enternumber(data.companyName); companykeyPress(data.companyName)" required> | ||
45 | </div> | ||
46 | <div class="col-xs-12 col-md-6 input-wrapper"> | ||
47 | <div class="icon-circle-f"> | ||
48 | <i class="material-icons" style="line-height: 30px;">location_city</i> | ||
49 | </div> | ||
50 | <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> | ||
51 | <option name="city" selected disabled value="">Choose City</option> | ||
52 | <option value="Ahmedabad">Ahmedabad</option> | ||
53 | <option value="Bangalore">Bangalore</option> | ||
54 | <option value="Chennai">Chennai</option> | ||
55 | <option value="Delhi">Delhi</option> | ||
56 | <option value="Guwahati">Guwahati</option> | ||
57 | <option value="Hyderabad">Hyderabad</option> | ||
58 | <option value="Indore">Indore</option> | ||
59 | <option value="Jaipur">Jaipur</option> | ||
60 | <option value="Kanpur">Kanpur</option> | ||
61 | <option value="Kolkata">Kolkata</option> | ||
62 | <option value="Mumbai">Mumbai</option> | ||
63 | <option value="Roorkee">Roorkee</option> | ||
64 | </select> | ||
65 | </div> | ||
66 | <div class="col-xs-12 col-md-6 input-wrapper" > | ||
51 | <div class="icon-circle-o"> | 67 | <div class="icon-circle-o"> |
52 | <i class="material-icons" style="line-height: 30px;">confirmation_number</i> | 68 | <i class="material-icons" style="line-height: 30px;">confirmation_number</i> |
53 | </div> | 69 | </div> |
54 | <input type="number" ng-pattern="/^\d*(?:\.\d{1,2})?$/" title="Please enter only numberic numbers" maxlength="10" required class="text-input" ng-model="data.discount" placeholder="Percentage Discount" ng-change="enternumber(data.discount); discountkeyPress(data.discount)"> | 70 | <select ng-model="data.founder" ng-change="selectfounder(data.founder); discountkeyPress(data.founder)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> |
71 | <option name="founder" selected disabled value="">No. of Founders</option> | ||
72 | <option value="1">1</option> | ||
73 | <option value="2">2</option> | ||
74 | <option value="3">3</option> | ||
75 | <option value="more than 3">more than 3</option> | ||
76 | </select> | ||
77 | </div> | ||
78 | <div class="col-xs-12 col-md-6 input-wrapper"> | ||
79 | <div class="icon-circle-y"> | ||
80 | <i class="material-icons" style="line-height: 30px;">assignment</i> | ||
81 | </div> | ||
82 | <select ng-model="data.stage" ng-change="selectechnology(data.stage); fundkeyPress(data.stage)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> | ||
83 | <option name="stage" selected disabled value="">Choose Startup Stage</option> | ||
84 | <option value="Proof of Concept">Proof of Concept</option> | ||
85 | <option value="Beta Launched">Beta Launched</option> | ||
86 | <option value="Early Revenues">Early Revenues</option> | ||
87 | <option value="Steady Revenues">Steady Revenues</option> | ||
88 | <option value="Other">Other</option> | ||
89 | </select> | ||
90 | </div> | ||
91 | <div class="col-xs-12 col-md-6 input-wrapper"> | ||
92 | <div class="icon-circle-q"> | ||
93 | <i class="material-icons" style="line-height: 30px;">business</i> | ||
94 | </div> | ||
95 | <select ng-model="data.business" ng-change="selectechnology(data.business); ideakeyPress(data.business)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> | ||
96 | <option name="business" selected disabled value="">Type of business</option> | ||
97 | <option value="B2B">B2B</option> | ||
98 | <option value="B2C">B2C</option> | ||
99 | </select> | ||
100 | </div> | ||
101 | <div class="col-xs-12 col-md-12 input-wrapper"> | ||
102 | <div class="icon-circle-z"> | ||
103 | <i class="material-icons" style="line-height: 30px;">web</i> | ||
104 | </div> | ||
105 | <input name="website" class="text-input" ng-model="data.website" placeholder="Website link" ng-change="abc(); descriptionkeyPress(data.website)" required></input> | ||
106 | </div> | ||
107 | <div class="col-xs-12 col-md-12 f-family line-adjust"> | ||
108 | <strong>In which city is your startup registered at?</strong> | ||
109 | <p class="line-space" ></p> | ||
110 | </div> | ||
111 | <div class="col-xs-12 col-md-12 input-wrapper"> | ||
112 | <div class="icon-circle-m"> | ||
113 | <i class="material-icons" style="line-height: 30px;">assessment</i> | ||
114 | </div> | ||
115 | <input type="text" class="text-input" ng-model="data.cityRegister" placeholder="Your Answer.." ng-change="entertechnology(data.cityRegister); annualkeyPress(data.cityRegister)" required> | ||
116 | </div> | ||
117 | <div class="col-xs-12 col-md-12 f-family line-adjust"> | ||
118 | <strong>Give us a brief introduction about your startup.</strong> | ||
119 | <p class="line-space" >Kindly write a powerful Twitter Pitch.</p> | ||
120 | </div> | ||
121 | <div class="col-xs-12 col-md-12 input-wrapper"> | ||
122 | <div class="icon-circle-x"> | ||
123 | <i class="material-icons" style="line-height: 30px;">line_weight</i> | ||
124 | </div> | ||
125 | <textarea name="intro" class="text-input textarea" ng-model="data.intro" placeholder="Your Answer.." ng-change="enterproblem(data.intro); startupNamekeyPress(data.intro)" required></textarea> | ||
55 | </div> | 126 | </div> |
56 | </div> | 127 | <div class="col-xs-12 col-md-12 f-family line-adjust"> |
128 | <strong>Who are your customers?</strong> | ||
129 | <p class="line-space" >We are looking for a simple and clear answer of who you are selling to.</p> | ||
130 | </div> | ||
131 | <div class="col-xs-12 col-md-12 input-wrapper"> | ||
132 | <div class="icon-circle-k"> | ||
133 | <i class="material-icons" style="line-height: 30px;">help</i> | ||
134 | </div> | ||
135 | <textarea name="customer" class="text-input textarea" ng-model="data.customer" placeholder="Your Answer.." ng-change="entersolution(data.customer); websitekeyPress(data.customer)" required></textarea> | ||
136 | </div> | ||
137 | <div class="col-xs-12 col-md-12 f-family line-adjust"> | ||
138 | <strong>What problem you are solving for them?</strong> | ||
139 | <p class="line-space" >We want to understand how clearly you know the pain point, and how big of a problem it is for the customers.</p> | ||
140 | </div> | ||
141 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | ||
142 | <div class="icon-circle-p"> | ||
143 | <i class="material-icons" style="line-height: 30px;">business_center</i> | ||
144 | </div> | ||
145 | <textarea name="problem" class="text-input textarea" ng-model="data.problem" placeholder="Your Answer.." ng-change="enterbusiness(data.problem); businesskeyPress(data.problem)" required> | ||
146 | </textarea> | ||
147 | </div> | ||
148 | <div class="clearfix"></div> | ||
149 | <!-- </div> --> | ||
57 | <!-- close step-one-form --> | 150 | <!-- close step-one-form --> |
58 | </td> | 151 | <!-- </td> |
59 | </tr> | 152 | </tr> |
60 | </table> | 153 | </table> --> |
61 | </div> | 154 | </div> |
62 | <!-- CLOSE form-all --> | 155 | <!-- CLOSE form-all --> |
63 | </div> | 156 | <!-- </div> --> |
64 | <div class="clearfix"></div> | 157 | <div class="clearfix"></div> |
65 | <div style="margin-bottom: 12%;" class="text-center"> | 158 | <div class="text-center"> |
66 | <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="submit()"> | 159 | <input type="submit" class="btn submit-button-form" ng-disabled="applicantForm.$invalid" value="Submit" ng-click="submit()"> |
67 | </div> | 160 | </div> |
161 | </div> |
pages/registration.html
1 | <div class="col-xs-12 col-md-10 col-md-offset-1"> | 1 | <div class="col-xs-12 col-md-10 col-md-offset-1"> |
2 | <div class="stage-shadow" id="front"> | 2 | <div class="stage-shadow" id="front"> |
3 | <div class="stages card-align"> | 3 | <div class="stages card-align"> |
4 | <div class="row"> | 4 | <div class="row"> |
5 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 5 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
6 | <div class="card" style="width:100%;border-radius: 6px;"> | 6 | <div class="card" style="width:100%;border-radius: 6px;"> |
7 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 7 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
8 | <img class="card-img-top" src="images/bangeluru.png" style="width:100%"> | 8 | <img class="card-img-top" src="images/bangeluru.png" style="width:100%"> |
9 | <div class="card-block"> | 9 | <div class="card-block"> |
10 | <div class="pull-left"> | 10 | <div class="pull-left"> |
11 | <label class="card-title">Bangalore</label><br> | 11 | <label class="card-title">Bangalore</label><br> |
12 | <label class="card-sub-title">Tuesday</label> | 12 | <label class="card-sub-title">Tuesday</label> |
13 | </div> | 13 | </div> |
14 | <div class="pull-right"> | 14 | <div class="pull-right"> |
15 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 15 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
16 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Bangalore</span> | 16 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Bangalore</span> |
17 | </label> | 17 | </label> |
18 | </div> | 18 | </div> |
19 | <div class="clearfix"></div> | 19 | <div class="clearfix"></div> |
20 | <label class="card-sub-title">Sept 18, 2018</label> | 20 | <label class="card-sub-title">Sept 18, 2018</label> |
21 | </div> | 21 | </div> |
22 | </label> | 22 | </label> |
23 | <div class="clearfix"></div> | 23 | <div class="clearfix"></div> |
24 | <div class="card-text2"> | 24 | <div class="card-text2"> |
25 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 25 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> |
26 | </div> | 26 | </div> |
27 | </div> | 27 | </div> |
28 | </div> | 28 | </div> |
29 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 29 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
30 | <div class="card" style="width:100%;border-radius: 6px;"> | 30 | <div class="card" style="width:100%;border-radius: 6px;"> |
31 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 31 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
32 | <img class="card-img-top" src="images/chennai.png" style="width:100%"> | 32 | <img class="card-img-top" src="images/chennai.png" style="width:100%"> |
33 | <div class="card-block"> | 33 | <div class="card-block"> |
34 | <div class="pull-left"> | 34 | <div class="pull-left"> |
35 | <label class="card-title">Chennai</label><br> | 35 | <label class="card-title">Chennai</label><br> |
36 | <label class="card-sub-title">Thursday</label> | 36 | <label class="card-sub-title">Thursday</label> |
37 | </div> | 37 | </div> |
38 | <div class="pull-right"> | 38 | <div class="pull-right"> |
39 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 39 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
40 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Madras</span> | 40 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Madras</span> |
41 | </label> | 41 | </label> |
42 | </div> | 42 | </div> |
43 | <div class="clearfix"></div> | 43 | <div class="clearfix"></div> |
44 | <label class="card-sub-title">Sept 20, 2018</label> | 44 | <label class="card-sub-title">Sept 20, 2018</label> |
45 | </div> | 45 | </div> |
46 | </label> | 46 | </label> |
47 | <div class="clearfix"></div> | 47 | <div class="clearfix"></div> |
48 | <div class="card-text2"> | 48 | <div class="card-text2"> |
49 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 49 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 53 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
54 | <div class="card" style="width:100%;border-radius: 6px;"> | 54 | <div class="card" style="width:100%;border-radius: 6px;"> |
55 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 55 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
56 | <img class="card-img-top" src="images/hydrabad.png" style="width:100%"> | 56 | <img class="card-img-top" src="images/hydrabad.png" style="width:100%"> |
57 | <div class="card-block"> | 57 | <div class="card-block"> |
58 | <div class="pull-left"> | 58 | <div class="pull-left"> |
59 | <label class="card-title">Hyderabad</label><br> | 59 | <label class="card-title">Hyderabad</label><br> |
60 | <label class="card-sub-title">Saturday</label> | 60 | <label class="card-sub-title">Saturday</label> |
61 | </div> | 61 | </div> |
62 | <div class="pull-right"> | 62 | <div class="pull-right"> |
63 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 63 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
64 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Hyderabad</span> | 64 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Hyderabad</span> |
65 | </label> | 65 | </label> |
66 | </div> | 66 | </div> |
67 | <div class="clearfix"></div> | 67 | <div class="clearfix"></div> |
68 | <label class="card-sub-title">Sept 22, 2018</label> | 68 | <label class="card-sub-title">Sept 22, 2018</label> |
69 | </div> | 69 | </div> |
70 | </label> | 70 | </label> |
71 | <div class="clearfix"></div> | 71 | <div class="clearfix"></div> |
72 | <div class="card-text2"> | 72 | <div class="card-text2"> |
73 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 73 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> |
74 | </div> | 74 | </div> |
75 | </div> | 75 | </div> |
76 | </div> | 76 | </div> |
77 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 77 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
78 | <div class="card" style="width:100%;border-radius: 6px;"> | 78 | <div class="card" style="width:100%;border-radius: 6px;"> |
79 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 79 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
80 | <img class="card-img-top" src="images/mumbai.png" style="width:100%"> | 80 | <img class="card-img-top" src="images/mumbai.png" style="width:100%"> |
81 | <div class="card-block"> | 81 | <div class="card-block"> |
82 | <div class="pull-left"> | 82 | <div class="pull-left"> |
83 | <label class="card-title">Mumbai</label><br> | 83 | <label class="card-title">Mumbai</label><br> |
84 | <label class="card-sub-title">Wednesday</label> | 84 | <label class="card-sub-title">Wednesday</label> |
85 | </div> | 85 | </div> |
86 | <div class="pull-right"> | 86 | <div class="pull-right"> |
87 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 87 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
88 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Bombay</span> | 88 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Bombay</span> |
89 | </label> | 89 | </label> |
90 | </div> | 90 | </div> |
91 | <div class="clearfix"></div> | 91 | <div class="clearfix"></div> |
92 | <label class="card-sub-title">Sept 26, 2018</label> | 92 | <label class="card-sub-title">Sept 26, 2018</label> |
93 | </div> | 93 | </div> |
94 | </label> | 94 | </label> |
95 | <div class="clearfix"></div> | 95 | <div class="clearfix"></div> |
96 | <div class="card-text2"> | 96 | <div class="card-text2"> |
97 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 97 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> |
98 | </div> | 98 | </div> |
99 | </div> | 99 | </div> |
100 | </div> | 100 | </div> |
101 | </div> | 101 | </div> |
102 | </div> | 102 | </div> |
103 | <div class="clearfix"></div> | 103 | <div class="clearfix"></div> |
104 | <div class="stages card-align"> | 104 | <div class="stages card-align"> |
105 | <div class="row"> | 105 | <div class="row"> |
106 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 106 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
107 | <div class="card" style="width:100%;border-radius: 6px;"> | 107 | <div class="card" style="width:100%;border-radius: 6px;"> |
108 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 108 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
109 | <img class="card-img-top" src="images/guwahati.png" style="width:100%"> | 109 | <img class="card-img-top" src="images/guwahati.png" style="width:100%"> |
110 | <div class="card-block"> | 110 | <div class="card-block"> |
111 | <div class="pull-left"> | 111 | <div class="pull-left"> |
112 | <label class="card-title">Guwahati</label><br> | 112 | <label class="card-title">Guwahati</label><br> |
113 | <label class="card-sub-title">Saturday</label> | 113 | <label class="card-sub-title">Saturday</label> |
114 | </div> | 114 | </div> |
115 | <div class="pull-right"> | 115 | <div class="pull-right"> |
116 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 116 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
117 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Guwahati</span> | 117 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Guwahati</span> |
118 | </label> | 118 | </label> |
119 | </div> | 119 | </div> |
120 | <div class="clearfix"></div> | 120 | <div class="clearfix"></div> |
121 | <label class="card-sub-title">Sept 29, 2018</label> | 121 | <label class="card-sub-title">Sept 29, 2018</label> |
122 | </div> | 122 | </div> |
123 | </label> | 123 | </label> |
124 | <div class="clearfix"></div> | 124 | <div class="clearfix"></div> |
125 | <div class="card-text2"> | 125 | <div class="card-text2"> |
126 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 126 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> |
127 | </div> | 127 | </div> |
128 | </div> | 128 | </div> |
129 | </div> | 129 | </div> |
130 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 130 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
131 | <div class="card" style="width:100%;border-radius: 6px;"> | 131 | <div class="card" style="width:100%;border-radius: 6px;"> |
132 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 132 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
133 | <img class="card-img-top" src="images/kolkata.png" style="width:100%"> | 133 | <img class="card-img-top" src="images/kolkata.png" style="width:100%"> |
134 | <div class="card-block"> | 134 | <div class="card-block"> |
135 | <div class="pull-left"> | 135 | <div class="pull-left"> |
136 | <label class="card-title">Kolkata</label><br> | 136 | <label class="card-title">Kolkata</label><br> |
137 | <label class="card-sub-title">Wednesday</label> | 137 | <label class="card-sub-title">Wednesday</label> |
138 | </div> | 138 | </div> |
139 | <div class="pull-right"> | 139 | <div class="pull-right"> |
140 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 140 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
141 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Calcutta</span> | 141 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Calcutta</span> |
142 | </label> | 142 | </label> |
143 | </div> | 143 | </div> |
144 | <div class="clearfix"></div> | 144 | <div class="clearfix"></div> |
145 | <label class="card-sub-title">Oct 3, 2018</label> | 145 | <label class="card-sub-title">Oct 3, 2018</label> |
146 | </div> | 146 | </div> |
147 | </label> | 147 | </label> |
148 | <div class="clearfix"></div> | 148 | <div class="clearfix"></div> |
149 | <div class="card-text2"> | 149 | <div class="card-text2"> |
150 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 150 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> |
151 | </div> | 151 | </div> |
152 | </div> | 152 | </div> |
153 | </div> | 153 | </div> |
154 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 154 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
155 | <div class="card" style="width:100%;border-radius: 6px;"> | 155 | <div class="card" style="width:100%;border-radius: 6px;"> |
156 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 156 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
157 | <img class="card-img-top" src="images/jaipur.png" style="width:100%"> | 157 | <img class="card-img-top" src="images/jaipur.png" style="width:100%"> |
158 | <div class="card-block"> | 158 | <div class="card-block"> |
159 | <div class="pull-left"> | 159 | <div class="pull-left"> |
160 | <label class="card-title">Jaipur</label><br> | 160 | <label class="card-title">Jaipur</label><br> |
161 | <label class="card-sub-title">Friday</label> | 161 | <label class="card-sub-title">Friday</label> |
162 | </div> | 162 | </div> |
163 | <div class="pull-right"> | 163 | <div class="pull-right"> |
164 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 164 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
165 | <span style="position: relative;top: -3px;font-size: 17px;">Startup Oasis</span> | 165 | <span style="position: relative;top: -3px;font-size: 17px;">Startup Oasis</span> |
166 | </label> | 166 | </label> |
167 | </div> | 167 | </div> |
168 | <div class="clearfix"></div> | 168 | <div class="clearfix"></div> |
169 | <label class="card-sub-title">Oct 5, 2018</label> | 169 | <label class="card-sub-title">Oct 5, 2018</label> |
170 | </div> | 170 | </div> |
171 | </label> | 171 | </label> |
172 | <div class="clearfix"></div> | 172 | <div class="clearfix"></div> |
173 | <div class="card-text2"> | 173 | <div class="card-text2"> |
174 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 174 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> |
175 | </div> | 175 | </div> |
176 | </div> | 176 | </div> |
177 | </div> | 177 | </div> |
178 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 178 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
179 | <div class="card" style="width:100%;border-radius: 6px;"> | 179 | <div class="card" style="width:100%;border-radius: 6px;"> |
180 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 180 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
181 | <img class="card-img-top" src="images/delhi.png" style="width:100%"> | 181 | <img class="card-img-top" src="images/delhi.png" style="width:100%"> |
182 | <div class="card-block"> | 182 | <div class="card-block"> |
183 | <div class="pull-left"> | 183 | <div class="pull-left"> |
184 | <label class="card-title">Delhi</label><br> | 184 | <label class="card-title">Delhi</label><br> |
185 | <label class="card-sub-title">Monday</label> | 185 | <label class="card-sub-title">Monday</label> |
186 | </div> | 186 | </div> |
187 | <div class="pull-right"> | 187 | <div class="pull-right"> |
188 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 188 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
189 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Delhi</span> | 189 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Delhi</span> |
190 | </label> | 190 | </label> |
191 | </div> | 191 | </div> |
192 | <div class="clearfix"></div> | 192 | <div class="clearfix"></div> |
193 | <label class="card-sub-title">Oct 8, 2018</label> | 193 | <label class="card-sub-title">Oct 8, 2018</label> |
194 | </div> | 194 | </div> |
195 | </label> | 195 | </label> |
196 | <div class="clearfix"></div> | 196 | <div class="clearfix"></div> |
197 | <div class="card-text2"> | 197 | <div class="card-text2"> |
198 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 198 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> |
199 | </div> | 199 | </div> |
200 | </div> | 200 | </div> |
201 | </div> | 201 | </div> |
202 | </div> | 202 | </div> |
203 | </div> | 203 | </div> |
204 | <div class="clearfix"></div> | 204 | <div class="clearfix"></div> |
205 | <div class="stages card-align"> | 205 | <div class="stages card-align"> |
206 | <div class="row"> | 206 | <div class="row"> |
207 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 207 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
208 | <div class="card" style="width:100%;border-radius: 6px;"> | 208 | <div class="card" style="width:100%;border-radius: 6px;"> |
209 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 209 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
210 | <img class="card-img-top" src="images/kanpur.png" style="width:100%"> | 210 | <img class="card-img-top" src="images/kanpur.png" style="width:100%"> |
211 | <div class="card-block"> | 211 | <div class="card-block"> |
212 | <div class="pull-left"> | 212 | <div class="pull-left"> |
213 | <label class="card-title">Kanpur</label><br> | 213 | <label class="card-title">Kanpur</label><br> |
214 | <label class="card-sub-title">Wednesday</label> | 214 | <label class="card-sub-title">Wednesday</label> |
215 | </div> | 215 | </div> |
216 | <div class="pull-right"> | 216 | <div class="pull-right"> |
217 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 217 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
218 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Kanpur</span> | 218 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Kanpur</span> |
219 | </label> | 219 | </label> |
220 | </div> | 220 | </div> |
221 | <div class="clearfix"></div> | 221 | <div class="clearfix"></div> |
222 | <label class="card-sub-title">Oct 10, 2018</label> | 222 | <label class="card-sub-title">Oct 10, 2018</label> |
223 | </div> | 223 | </div> |
224 | </label> | 224 | </label> |
225 | <div class="clearfix"></div> | 225 | <div class="clearfix"></div> |
226 | <div class="card-text2"> | 226 | <div class="card-text2"> |
227 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 227 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> |
228 | </div> | 228 | </div> |
229 | </div> | 229 | </div> |
230 | </div> | 230 | </div> |
231 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 231 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
232 | <div class="card" style="width:100%;border-radius: 6px;"> | 232 | <div class="card" style="width:100%;border-radius: 6px;"> |
233 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 233 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
234 | <img class="card-img-top" src="images/ahmedabad.png" style="width:100%"> | 234 | <img class="card-img-top" src="images/ahmedabad.png" style="width:100%"> |
235 | <div class="card-block"> | 235 | <div class="card-block"> |
236 | <div class="pull-left"> | 236 | <div class="pull-left"> |
237 | <label class="card-title">Ahmedabad</label><br> | 237 | <label class="card-title">Ahmedabad</label><br> |
238 | <label class="card-sub-title">Friday</label> | 238 | <label class="card-sub-title">Friday</label> |
239 | </div> | 239 | </div> |
240 | <div class="pull-right"> | 240 | <div class="pull-right"> |
241 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 241 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
242 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span> | 242 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span> |
243 | </label> | 243 | </label> |
244 | </div> | 244 | </div> |
245 | <div class="clearfix"></div> | 245 | <div class="clearfix"></div> |
246 | <label class="card-sub-title">Oct 12, 2018</label> | 246 | <label class="card-sub-title">Oct 12, 2018</label> |
247 | </div> | 247 | </div> |
248 | </label> | 248 | </label> |
249 | <div class="clearfix"></div> | 249 | <div class="clearfix"></div> |
250 | <div class="card-text2"> | 250 | <div class="card-text2"> |
251 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 251 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> |
252 | </div> | 252 | </div> |
253 | </div> | 253 | </div> |
254 | </div> | 254 | </div> |
255 | <!-- <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 255 | <!-- <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
256 | <div class="card" style="width:100%;border-radius: 6px;"> | 256 | <div class="card" style="width:100%;border-radius: 6px;"> |
257 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 257 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
258 | <img class="card-img-top" src="images/indore.png" style="width:100%"> | 258 | <img class="card-img-top" src="images/indore.png" style="width:100%"> |
259 | <div class="card-block"> | 259 | <div class="card-block"> |
260 | <div class="pull-left"> | 260 | <div class="pull-left"> |
261 | <h4 class="card-title">Indore</h4> | 261 | <h4 class="card-title">Indore</h4> |
262 | <label class="card-sub-title">Monday</label> | 262 | <label class="card-sub-title">Monday</label> |
263 | </div> | 263 | </div> |
264 | <div class="pull-right"> | 264 | <div class="pull-right"> |
265 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 265 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
266 | <span style="position: relative;top: -3px;">IIM-Indore</span> | 266 | <span style="position: relative;top: -3px;">IIM-Indore</span> |
267 | </label> | 267 | </label> |
268 | </div> | 268 | </div> |
269 | <div class="clearfix"></div> | 269 | <div class="clearfix"></div> |
270 | <label class="card-sub-title">Oct 15, 2018</label> | 270 | <label class="card-sub-title">Oct 15, 2018</label> |
271 | </div> | 271 | </div> |
272 | </label> | 272 | </label> |
273 | <div class="clearfix"></div> | 273 | <div class="clearfix"></div> |
274 | <div class="card-text2"> | 274 | <div class="card-text2"> |
275 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 275 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> |
276 | </div> | 276 | </div> |
277 | </div> | 277 | </div> |
278 | </div> | 278 | </div> |
279 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 279 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
280 | <div class="card" style="width:100%;border-radius: 6px;"> | 280 | <div class="card" style="width:100%;border-radius: 6px;"> |
281 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 281 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
282 | <img class="card-img-top" src="images/roorkee.png" style="width:100%"> | 282 | <img class="card-img-top" src="images/roorkee.png" style="width:100%"> |
283 | <div class="card-block"> | 283 | <div class="card-block"> |
284 | <div class="pull-left"> | 284 | <div class="pull-left"> |
285 | <h4 class="card-title">Roorkee</h4> | 285 | <h4 class="card-title">Roorkee</h4> |
286 | <label class="card-sub-title">Wednesday</label> | 286 | <label class="card-sub-title">Wednesday</label> |
287 | </div> | 287 | </div> |
288 | <div class="pull-right"> | 288 | <div class="pull-right"> |
289 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 289 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
290 | <span style="position: relative;top: -3px;">IIT-Roorkee</span> | 290 | <span style="position: relative;top: -3px;">IIT-Roorkee</span> |
291 | </label> | 291 | </label> |
292 | </div> | 292 | </div> |
293 | <div class="clearfix"></div> | 293 | <div class="clearfix"></div> |
294 | <label class="card-sub-title">Oct 17, 2018</label> | 294 | <label class="card-sub-title">Oct 17, 2018</label> |
295 | </div> | 295 | </div> |
296 | </label> | 296 | </label> |
297 | <div class="clearfix"></div> | 297 | <div class="clearfix"></div> |
298 | <div class="card-text2"> | 298 | <div class="card-text2"> |
299 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | 299 | <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> |
300 | </div> | 300 | </div> |
301 | </div> | 301 | </div> |
302 | </div> --> | 302 | </div> --> |
303 | </div> | 303 | </div> |
304 | </div> | 304 | </div> |
305 | <div class="clearfix"></div> | 305 | <div class="clearfix"></div> |
306 | </div> | 306 | </div> |
307 | </div> | 307 | </div> |
308 | <div class="clearfix"></div> | 308 | <div class="clearfix"></div> |
309 | <footer style="margin-top: 5%;"> | 309 | <footer style="margin-top: 5%;"> |
310 | <img id="footer" class="img-responsive banner"> | 310 | <img id="footer" class="img-responsive banner"> |
311 | <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> </center> | 311 | <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> </center> |
312 | </footer> | 312 | </footer> |
313 | 313 | ||
314 | 314 | ||
315 | 315 |
script.js
1 | // create the module and name it scotchApp | 1 | // create the module and name it scotchApp |
2 | var scotchApp = angular.module('scotchApp', ['ngRoute','angular-google-analytics']); | 2 | var scotchApp = angular.module('scotchApp', ['ngRoute','angular-google-analytics']); |
3 | 3 | ||
4 | // configure our routes | 4 | // configure our routes |
5 | scotchApp.config(function($routeProvider) { | 5 | scotchApp.config(function($routeProvider) { |
6 | $routeProvider | 6 | $routeProvider |
7 | 7 | ||
8 | // route for the Home page | 8 | // route for the Home page |
9 | .when('/', { | 9 | .when('/', { |
10 | templateUrl: 'pages/Home.html', | 10 | templateUrl: 'pages/Home.html', |
11 | controller: 'mainController' | 11 | controller: 'mainController' |
12 | }) | 12 | }) |
13 | 13 | ||
14 | // route for the registration page | 14 | // route for the registration page |
15 | .when('/registration', { | 15 | .when('/caricatures', { |
16 | templateUrl: 'pages/registration.html', | 16 | templateUrl: 'pages/registration.html', |
17 | controller: 'mainController' | 17 | controller: 'mainController' |
18 | }) | 18 | }) |
19 | 19 | ||
20 | // route for the paymentVerify page | 20 | // route for the paymentVerify page |
21 | .when('/pendingPayment/:id', { | 21 | .when('/pendingPayment/:id', { |
22 | templateUrl: 'pages/verify.html', | 22 | templateUrl: 'pages/verify.html', |
23 | controller: 'verifyController' | 23 | controller: 'verifyController' |
24 | }) | 24 | }) |
25 | 25 | ||
26 | // route for the ambassador page | 26 | // route for the ambassador page |
27 | .when('/startupJalsaPromocode', { | 27 | .when('/registration', { |
28 | templateUrl: 'pages/ambassador.html', | 28 | templateUrl: 'pages/ambassador.html', |
29 | controller: 'ambassadorController' | 29 | controller: 'ambassadorController' |
30 | }) | 30 | }) |
31 | 31 | ||
32 | // route for the confirmation page | 32 | // route for the confirmation page |
33 | .when('/confirmation', { | 33 | .when('/confirmation', { |
34 | templateUrl: 'pages/confirmation.html', | 34 | templateUrl: 'pages/confirmation.html', |
35 | controller: 'mainController' | 35 | controller: 'mainController' |
36 | }) | 36 | }) |
37 | 37 | ||
38 | }); | 38 | }); |
39 | 39 | ||
40 | scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { | 40 | scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { |
41 | // Add configuration code as desired | 41 | // Add configuration code as desired |
42 | AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code | 42 | AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code |
43 | 43 | ||
44 | // Track all routes (default is true). | 44 | // Track all routes (default is true). |
45 | AnalyticsProvider.trackPages(true); | 45 | AnalyticsProvider.trackPages(true); |
46 | 46 | ||
47 | // Track all URL query params (default is false). | 47 | // Track all URL query params (default is false). |
48 | AnalyticsProvider.trackUrlParams(true); | 48 | AnalyticsProvider.trackUrlParams(true); |
49 | 49 | ||
50 | }]).run(['Analytics', function(Analytics) { }]); | 50 | }]).run(['Analytics', function(Analytics) { }]); |
51 | 51 | ||
52 | scotchApp.constant("BASE_URL", "http://35.154.24.158:4001/v1") | 52 | //scotchApp.constant("BASE_URL", "http://35.154.24.158:4001/v1") |
53 | //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") | 53 | scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") |
54 | 54 | ||
55 | // create the controller and inject Angular's $scope | 55 | // create the controller and inject Angular's $scope |
56 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { | 56 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { |
57 | $scope.data = { | 57 | $scope.data = { |
58 | show: true, | 58 | show: true, |
59 | hide: false | 59 | hide: false |
60 | }; | 60 | }; |
61 | 61 | ||
62 | // var maininvest = new Date("Dec 16, 2017 06:00:00").getTime(); | 62 | // var maininvest = new Date("Dec 16, 2017 06:00:00").getTime(); |
63 | // // Update the count down every 1 second | 63 | // // Update the count down every 1 second |
64 | // var x = setInterval(function() { | 64 | // var x = setInterval(function() { |
65 | // // Get todays date and time | 65 | // // Get todays date and time |
66 | // var now = new Date().getTime(); | 66 | // var now = new Date().getTime(); |
67 | // // Find the distance between now an the count down date | 67 | // // Find the distance between now an the count down date |
68 | // var distance = maininvest - now; | 68 | // var distance = maininvest - now; |
69 | // // Time calculations for days, hours, minutes and seconds | 69 | // // Time calculations for days, hours, minutes and seconds |
70 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 70 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
71 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 71 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
72 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 72 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
73 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 73 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
74 | // $scope.timer = days + "d " + hours + "h " | 74 | // $scope.timer = days + "d " + hours + "h " |
75 | // + minutes + "m " + seconds + "s " | 75 | // + minutes + "m " + seconds + "s " |
76 | // // Output the result in an element with id="demo" | 76 | // // Output the result in an element with id="demo" |
77 | // document.getElementById("maininvest").innerHTML = days + "d " + hours + "h " | 77 | // document.getElementById("maininvest").innerHTML = days + "d " + hours + "h " |
78 | // + minutes + "m " + seconds + "s "; | 78 | // + minutes + "m " + seconds + "s "; |
79 | // // If the count down is over, write some text | 79 | // // If the count down is over, write some text |
80 | // if (distance < 0) { | 80 | // if (distance < 0) { |
81 | // // $scope.extendedAmount = | 81 | // // $scope.extendedAmount = |
82 | // clearInterval(x); | 82 | // clearInterval(x); |
83 | // document.getElementById("maininvest").innerHTML = "EXPIRED"; | 83 | // document.getElementById("maininvest").innerHTML = "EXPIRED"; |
84 | // } | 84 | // } |
85 | // }, 1000); | 85 | // }, 1000); |
86 | 86 | ||
87 | // var pune = new Date("Nov 11, 2017 12:00:00").getTime(); | 87 | // var pune = new Date("Nov 11, 2017 12:00:00").getTime(); |
88 | // // Update the count down every 1 second | 88 | // // Update the count down every 1 second |
89 | // var x = setInterval(function() { | 89 | // var x = setInterval(function() { |
90 | // // Get todays date and time | 90 | // // Get todays date and time |
91 | // var now = new Date().getTime(); | 91 | // var now = new Date().getTime(); |
92 | // // Find the distance between now an the count down date | 92 | // // Find the distance between now an the count down date |
93 | // var distance = pune - now; | 93 | // var distance = pune - now; |
94 | // // Time calculations for days, hours, minutes and seconds | 94 | // // Time calculations for days, hours, minutes and seconds |
95 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 95 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
96 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 96 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
97 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 97 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
98 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 98 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
99 | // $scope.timer = days + "d " + hours + "h " | 99 | // $scope.timer = days + "d " + hours + "h " |
100 | // + minutes + "m " + seconds + "s " | 100 | // + minutes + "m " + seconds + "s " |
101 | // // Output the result in an element with id="demo" | 101 | // // Output the result in an element with id="demo" |
102 | // document.getElementById("pune").innerHTML = days + "d " + hours + "h " | 102 | // document.getElementById("pune").innerHTML = days + "d " + hours + "h " |
103 | // + minutes + "m " + seconds + "s "; | 103 | // + minutes + "m " + seconds + "s "; |
104 | // // If the count down is over, write some text | 104 | // // If the count down is over, write some text |
105 | // if (distance < 0) { | 105 | // if (distance < 0) { |
106 | // clearInterval(x); | 106 | // clearInterval(x); |
107 | // document.getElementById("pune").innerHTML = "EXPIRED"; | 107 | // document.getElementById("pune").innerHTML = "EXPIRED"; |
108 | // } | 108 | // } |
109 | // }, 1000); | 109 | // }, 1000); |
110 | 110 | ||
111 | // var mumbai = new Date("Nov 13, 2017 16:00:00").getTime(); | 111 | // var mumbai = new Date("Nov 13, 2017 16:00:00").getTime(); |
112 | // // Update the count down every 1 second | 112 | // // Update the count down every 1 second |
113 | // var x = setInterval(function() { | 113 | // var x = setInterval(function() { |
114 | // // Get todays date and time | 114 | // // Get todays date and time |
115 | // var now = new Date().getTime(); | 115 | // var now = new Date().getTime(); |
116 | // // Find the distance between now an the count down date | 116 | // // Find the distance between now an the count down date |
117 | // var distance = mumbai - now; | 117 | // var distance = mumbai - now; |
118 | // // Time calculations for days, hours, minutes and seconds | 118 | // // Time calculations for days, hours, minutes and seconds |
119 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 119 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
120 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 120 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
121 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 121 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
122 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 122 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
123 | // $scope.timer = days + "d " + hours + "h " | 123 | // $scope.timer = days + "d " + hours + "h " |
124 | // + minutes + "m " + seconds + "s " | 124 | // + minutes + "m " + seconds + "s " |
125 | // // Output the result in an element with id="demo" | 125 | // // Output the result in an element with id="demo" |
126 | // document.getElementById("mumbai").innerHTML = days + "d " + hours + "h " | 126 | // document.getElementById("mumbai").innerHTML = days + "d " + hours + "h " |
127 | // + minutes + "m " + seconds + "s "; | 127 | // + minutes + "m " + seconds + "s "; |
128 | // // If the count down is over, write some text | 128 | // // If the count down is over, write some text |
129 | // if (distance < 0) { | 129 | // if (distance < 0) { |
130 | // clearInterval(x); | 130 | // clearInterval(x); |
131 | // document.getElementById("mumbai").innerHTML = "EXPIRED"; | 131 | // document.getElementById("mumbai").innerHTML = "EXPIRED"; |
132 | // } | 132 | // } |
133 | // }, 1000); | 133 | // }, 1000); |
134 | 134 | ||
135 | // var ahmedabad = new Date("Nov 15, 2017 16:00:00").getTime(); | 135 | // var ahmedabad = new Date("Nov 15, 2017 16:00:00").getTime(); |
136 | // // Update the count down every 1 second | 136 | // // Update the count down every 1 second |
137 | // var x = setInterval(function() { | 137 | // var x = setInterval(function() { |
138 | // // Get todays date and time | 138 | // // Get todays date and time |
139 | // var now = new Date().getTime(); | 139 | // var now = new Date().getTime(); |
140 | // // Find the distance between now an the count down date | 140 | // // Find the distance between now an the count down date |
141 | // var distance = ahmedabad - now; | 141 | // var distance = ahmedabad - now; |
142 | // // Time calculations for days, hours, minutes and seconds | 142 | // // Time calculations for days, hours, minutes and seconds |
143 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 143 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
144 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 144 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
145 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 145 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
146 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 146 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
147 | // $scope.timer = days + "d " + hours + "h " | 147 | // $scope.timer = days + "d " + hours + "h " |
148 | // + minutes + "m " + seconds + "s " | 148 | // + minutes + "m " + seconds + "s " |
149 | // // Output the result in an element with id="demo" | 149 | // // Output the result in an element with id="demo" |
150 | // document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h " | 150 | // document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h " |
151 | // + minutes + "m " + seconds + "s "; | 151 | // + minutes + "m " + seconds + "s "; |
152 | // // If the count down is over, write some text | 152 | // // If the count down is over, write some text |
153 | // if (distance < 0) { | 153 | // if (distance < 0) { |
154 | // clearInterval(x); | 154 | // clearInterval(x); |
155 | // document.getElementById("ahmedabad").innerHTML = "EXPIRED"; | 155 | // document.getElementById("ahmedabad").innerHTML = "EXPIRED"; |
156 | // } | 156 | // } |
157 | // }, 1000); | 157 | // }, 1000); |
158 | 158 | ||
159 | // var jaipur = new Date("Nov 17, 2017 16:00:00").getTime(); | 159 | // var jaipur = new Date("Nov 17, 2017 16:00:00").getTime(); |
160 | // // Update the count down every 1 second | 160 | // // Update the count down every 1 second |
161 | // var x = setInterval(function() { | 161 | // var x = setInterval(function() { |
162 | // // Get todays date and time | 162 | // // Get todays date and time |
163 | // var now = new Date().getTime(); | 163 | // var now = new Date().getTime(); |
164 | // // Find the distance between now an the count down date | 164 | // // Find the distance between now an the count down date |
165 | // var distance = jaipur - now; | 165 | // var distance = jaipur - now; |
166 | // // Time calculations for days, hours, minutes and seconds | 166 | // // Time calculations for days, hours, minutes and seconds |
167 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 167 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
168 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 168 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
169 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 169 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
170 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 170 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
171 | // $scope.timer = days + "d " + hours + "h " | 171 | // $scope.timer = days + "d " + hours + "h " |
172 | // + minutes + "m " + seconds + "s " | 172 | // + minutes + "m " + seconds + "s " |
173 | // // Output the result in an element with id="demo" | 173 | // // Output the result in an element with id="demo" |
174 | // document.getElementById("jaipur").innerHTML = days + "d " + hours + "h " | 174 | // document.getElementById("jaipur").innerHTML = days + "d " + hours + "h " |
175 | // + minutes + "m " + seconds + "s "; | 175 | // + minutes + "m " + seconds + "s "; |
176 | // // If the count down is over, write some text | 176 | // // If the count down is over, write some text |
177 | // if (distance < 0) { | 177 | // if (distance < 0) { |
178 | // clearInterval(x); | 178 | // clearInterval(x); |
179 | // document.getElementById("jaipur").innerHTML = "EXPIRED"; | 179 | // document.getElementById("jaipur").innerHTML = "EXPIRED"; |
180 | // } | 180 | // } |
181 | // }, 1000); | 181 | // }, 1000); |
182 | 182 | ||
183 | // var bangalore = new Date("Nov 22, 2017 16:00:00").getTime(); | 183 | // var bangalore = new Date("Nov 22, 2017 16:00:00").getTime(); |
184 | // // Update the count down every 1 second | 184 | // // Update the count down every 1 second |
185 | // var x = setInterval(function() { | 185 | // var x = setInterval(function() { |
186 | // // Get todays date and time | 186 | // // Get todays date and time |
187 | // var now = new Date().getTime(); | 187 | // var now = new Date().getTime(); |
188 | // // Find the distance between now an the count down date | 188 | // // Find the distance between now an the count down date |
189 | // var distance = bangalore - now; | 189 | // var distance = bangalore - now; |
190 | // // Time calculations for days, hours, minutes and seconds | 190 | // // Time calculations for days, hours, minutes and seconds |
191 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 191 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
192 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 192 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
193 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 193 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
194 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 194 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
195 | // $scope.timer = days + "d " + hours + "h " | 195 | // $scope.timer = days + "d " + hours + "h " |
196 | // + minutes + "m " + seconds + "s " | 196 | // + minutes + "m " + seconds + "s " |
197 | // // Output the result in an element with id="demo" | 197 | // // Output the result in an element with id="demo" |
198 | // document.getElementById("bangalore").innerHTML = days + "d " + hours + "h " | 198 | // document.getElementById("bangalore").innerHTML = days + "d " + hours + "h " |
199 | // + minutes + "m " + seconds + "s "; | 199 | // + minutes + "m " + seconds + "s "; |
200 | // // If the count down is over, write some text | 200 | // // If the count down is over, write some text |
201 | // if (distance < 0) { | 201 | // if (distance < 0) { |
202 | // clearInterval(x); | 202 | // clearInterval(x); |
203 | // document.getElementById("bangalore").innerHTML = "EXPIRED"; | 203 | // document.getElementById("bangalore").innerHTML = "EXPIRED"; |
204 | // } | 204 | // } |
205 | // }, 1000); | 205 | // }, 1000); |
206 | 206 | ||
207 | // var hyderabad = new Date("Nov 21, 2017 16:00:00").getTime(); | 207 | // var hyderabad = new Date("Nov 21, 2017 16:00:00").getTime(); |
208 | // // Update the count down every 1 second | 208 | // // Update the count down every 1 second |
209 | // var x = setInterval(function() { | 209 | // var x = setInterval(function() { |
210 | // // Get todays date and time | 210 | // // Get todays date and time |
211 | // var now = new Date().getTime(); | 211 | // var now = new Date().getTime(); |
212 | // // Find the distance between now an the count down date | 212 | // // Find the distance between now an the count down date |
213 | // var distance = hyderabad - now; | 213 | // var distance = hyderabad - now; |
214 | // // Time calculations for days, hours, minutes and seconds | 214 | // // Time calculations for days, hours, minutes and seconds |
215 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 215 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
216 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 216 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
217 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 217 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
218 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 218 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
219 | // $scope.timer = days + "d " + hours + "h " | 219 | // $scope.timer = days + "d " + hours + "h " |
220 | // + minutes + "m " + seconds + "s " | 220 | // + minutes + "m " + seconds + "s " |
221 | // // Output the result in an element with id="demo" | 221 | // // Output the result in an element with id="demo" |
222 | // document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h " | 222 | // document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h " |
223 | // + minutes + "m " + seconds + "s "; | 223 | // + minutes + "m " + seconds + "s "; |
224 | // // If the count down is over, write some text | 224 | // // If the count down is over, write some text |
225 | // if (distance < 0) { | 225 | // if (distance < 0) { |
226 | // clearInterval(x); | 226 | // clearInterval(x); |
227 | // document.getElementById("hyderabad").innerHTML = "EXPIRED"; | 227 | // document.getElementById("hyderabad").innerHTML = "EXPIRED"; |
228 | // } | 228 | // } |
229 | // }, 1000); | 229 | // }, 1000); |
230 | 230 | ||
231 | // var delhi = new Date("Nov 27, 2017 12:00:00").getTime(); | 231 | // var delhi = new Date("Nov 27, 2017 12:00:00").getTime(); |
232 | // // Update the count down every 1 second | 232 | // // Update the count down every 1 second |
233 | // var x = setInterval(function() { | 233 | // var x = setInterval(function() { |
234 | // // Get todays date and time | 234 | // // Get todays date and time |
235 | // var now = new Date().getTime(); | 235 | // var now = new Date().getTime(); |
236 | // // Find the distance between now an the count down date | 236 | // // Find the distance between now an the count down date |
237 | // var distance = delhi - now; | 237 | // var distance = delhi - now; |
238 | // // Time calculations for days, hours, minutes and seconds | 238 | // // Time calculations for days, hours, minutes and seconds |
239 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 239 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
240 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 240 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
241 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 241 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
242 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 242 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
243 | // $scope.timer = days + "d " + hours + "h " | 243 | // $scope.timer = days + "d " + hours + "h " |
244 | // + minutes + "m " + seconds + "s " | 244 | // + minutes + "m " + seconds + "s " |
245 | // // Output the result in an element with id="demo" | 245 | // // Output the result in an element with id="demo" |
246 | // document.getElementById("delhi").innerHTML = days + "d " + hours + "h " | 246 | // document.getElementById("delhi").innerHTML = days + "d " + hours + "h " |
247 | // + minutes + "m " + seconds + "s "; | 247 | // + minutes + "m " + seconds + "s "; |
248 | // // If the count down is over, write some text | 248 | // // If the count down is over, write some text |
249 | // if (distance < 0) { | 249 | // if (distance < 0) { |
250 | // clearInterval(x); | 250 | // clearInterval(x); |
251 | // document.getElementById("delhi").innerHTML = "EXPIRED"; | 251 | // document.getElementById("delhi").innerHTML = "EXPIRED"; |
252 | // } | 252 | // } |
253 | // }, 1000); | 253 | // }, 1000); |
254 | 254 | ||
255 | // var chandigarh = new Date("Nov 30, 2017 12:00:00").getTime(); | 255 | // var chandigarh = new Date("Nov 30, 2017 12:00:00").getTime(); |
256 | // // Update the count down every 1 second | 256 | // // Update the count down every 1 second |
257 | // var x = setInterval(function() { | 257 | // var x = setInterval(function() { |
258 | // // Get todays date and time | 258 | // // Get todays date and time |
259 | // var now = new Date().getTime(); | 259 | // var now = new Date().getTime(); |
260 | // // Find the distance between now an the count down date | 260 | // // Find the distance between now an the count down date |
261 | // var distance = chandigarh - now; | 261 | // var distance = chandigarh - now; |
262 | // // Time calculations for days, hours, minutes and seconds | 262 | // // Time calculations for days, hours, minutes and seconds |
263 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 263 | // var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
264 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 264 | // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
265 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 265 | // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
266 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 266 | // var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
267 | // $scope.timer = days + "d " + hours + "h " | 267 | // $scope.timer = days + "d " + hours + "h " |
268 | // + minutes + "m " + seconds + "s " | 268 | // + minutes + "m " + seconds + "s " |
269 | // // Output the result in an element with id="demo" | 269 | // // Output the result in an element with id="demo" |
270 | // document.getElementById("chandigarh").innerHTML = days + "d " + hours + "h " | 270 | // document.getElementById("chandigarh").innerHTML = days + "d " + hours + "h " |
271 | // + minutes + "m " + seconds + "s "; | 271 | // + minutes + "m " + seconds + "s "; |
272 | // // If the count down is over, write some text | 272 | // // If the count down is over, write some text |
273 | // if (distance < 0) { | 273 | // if (distance < 0) { |
274 | // clearInterval(x); | 274 | // clearInterval(x); |
275 | // document.getElementById("chandigarh").innerHTML = "EXPIRED"; | 275 | // document.getElementById("chandigarh").innerHTML = "EXPIRED"; |
276 | // } | 276 | // } |
277 | // }, 1000); | 277 | // }, 1000); |
278 | 278 | ||
279 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 279 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
280 | $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 280 | $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
281 | // $scope.Textshow = "yes" | 281 | // $scope.Textshow = "yes" |
282 | $scope.max = 100; | 282 | $scope.max = 100; |
283 | $scope.formPage = false; | 283 | $scope.formPage = false; |
284 | $scope.current = 0; | 284 | $scope.current = 0; |
285 | $scope.payingAmnt = 0; | 285 | $scope.payingAmnt = 0; |
286 | // if ($scope.data.stage == 'select') { | 286 | // if ($scope.data.stage == 'select') { |
287 | 287 | ||
288 | // } | 288 | // } |
289 | 289 | ||
290 | //$scope.author = 'Swarn Singh'; | 290 | //$scope.author = 'Swarn Singh'; |
291 | $scope.data = {}; | 291 | $scope.data = {}; |
292 | // $scope.data.stage = 'Pitch your Business plan'; | 292 | // $scope.data.stage = 'Pitch your Business plan'; |
293 | // $scope.data.networkDinner = "true"; | 293 | // $scope.data.networkDinner = "true"; |
294 | $scope.discountAmount = 0; | 294 | $scope.discountAmount = 0; |
295 | // $scope.data.quantity = "1"; | 295 | // $scope.data.quantity = "1"; |
296 | $scope.check = false; | 296 | $scope.check = false; |
297 | $scope.numberCheck = false; | 297 | $scope.numberCheck = false; |
298 | $scope.paymentResult = {}; | 298 | $scope.paymentResult = {}; |
299 | var data = { | 299 | var data = { |
300 | "amount": $scope.payingAmnt, | 300 | "amount": $scope.payingAmnt, |
301 | "currency": "INR", | 301 | "currency": "INR", |
302 | "status": "pending" | 302 | "status": "pending" |
303 | } | 303 | } |
304 | 304 | ||
305 | /*open videos in modal*/ | 305 | /*open videos in modal*/ |
306 | // $scope.openyoutube16 = function(){ | 306 | // $scope.openyoutube16 = function(){ |
307 | // $('#videoModel').modal('show'); | 307 | // $('#videoModel').modal('show'); |
308 | // } | 308 | // } |
309 | 309 | ||
310 | // $scope.openyoutube17 = function(){ | 310 | // $scope.openyoutube17 = function(){ |
311 | // $('#videoModels').modal('show'); | 311 | // $('#videoModels').modal('show'); |
312 | // } | 312 | // } |
313 | 313 | ||
314 | // $scope.closeModal = function(){ | 314 | // $scope.closeModal = function(){ |
315 | // var url = $('#youtubePlayer').attr('src'); | 315 | // var url = $('#youtubePlayer').attr('src'); |
316 | // $('#youtubePlayer').attr('src', ''); | 316 | // $('#youtubePlayer').attr('src', ''); |
317 | // $('#youtubePlayer').attr('src', url); | 317 | // $('#youtubePlayer').attr('src', url); |
318 | // } | 318 | // } |
319 | 319 | ||
320 | 320 | ||
321 | // $scope.closed = function(){ | 321 | // $scope.closed = function(){ |
322 | // var url = $('#youtubePlayersss').attr('src'); | 322 | // var url = $('#youtubePlayersss').attr('src'); |
323 | // $('#youtubePlayersss').attr('src', ''); | 323 | // $('#youtubePlayersss').attr('src', ''); |
324 | // $('#youtubePlayersss').attr('src', url); | 324 | // $('#youtubePlayersss').attr('src', url); |
325 | // } | 325 | // } |
326 | /*open videos ends here*/ | 326 | /*open videos ends here*/ |
327 | $scope.apply = function() { | 327 | $scope.apply = function() { |
328 | Analytics.trackEvent('register', 'click', 'Registration'); | 328 | Analytics.trackEvent('register', 'click', 'Registration'); |
329 | $location.path("/registration") | 329 | $location.path("/caricatures") |
330 | } | 330 | } |
331 | // $scope.data.citymeetup = ''; | 331 | // $scope.data.citymeetup = ''; |
332 | $scope.register = function(value){ | 332 | $scope.register = function(value){ |
333 | // $scope.data.citymeetup = value; | 333 | // $scope.data.citymeetup = value; |
334 | // if (value == 'mainevent') { | 334 | // if (value == 'mainevent') { |
335 | // $scope.eventType = true; | 335 | // $scope.eventType = true; |
336 | // $scope.mainType = false; | 336 | // $scope.mainType = false; |
337 | // $scope.data.stage = null; | 337 | // $scope.data.stage = null; |
338 | // } | 338 | // } |
339 | // else{ | 339 | // else{ |
340 | // $scope.eventType = false; | 340 | // $scope.eventType = false; |
341 | // $scope.mainType = true; | 341 | // $scope.mainType = true; |
342 | // } | 342 | // } |
343 | $('.hiddenForm').slideDown(); | 343 | $('.hiddenForm').slideDown(); |
344 | $('html, body').animate({ | 344 | $('html, body').animate({ |
345 | scrollTop: $('.hiddenForm').offset().top | 345 | scrollTop: $('.hiddenForm').offset().top |
346 | }, 1000); | 346 | }, 1000); |
347 | console.log('gdggsg', value); | 347 | console.log('gdggsg', value); |
348 | } | 348 | } |
349 | 349 | ||
350 | // $scope.removeError = function() { | 350 | // $scope.removeError = function() { |
351 | // $('#invalidEmail').css('display', 'none'); | 351 | // $('#invalidEmail').css('display', 'none'); |
352 | // $('#alreadyExist').css('display', 'none'); | 352 | // $('#alreadyExist').css('display', 'none'); |
353 | // }; | 353 | // }; |
354 | 354 | ||
355 | // $scope.emailcheck = function(val) { | 355 | // $scope.emailcheck = function(val) { |
356 | // console.log(val) | 356 | // console.log(val) |
357 | // $scope.space = /\s/g.test(val); | 357 | // $scope.space = /\s/g.test(val); |
358 | // console.log("space",$scope.space) | 358 | // console.log("space",$scope.space) |
359 | // if (val == undefined) { | 359 | // if (val == undefined) { |
360 | // $('#invalidEmail').css('display', 'block'); | 360 | // $('#invalidEmail').css('display', 'block'); |
361 | // } else { | 361 | // } else { |
362 | // $http({ | 362 | // $http({ |
363 | // method: 'GET', | 363 | // method: 'GET', |
364 | // url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', | 364 | // url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', |
365 | // headers: {} | 365 | // headers: {} |
366 | // }).then(function mySuccess(searchResult) { | 366 | // }).then(function mySuccess(searchResult) { |
367 | // console.log("searchResult1===>", searchResult) | 367 | // console.log("searchResult1===>", searchResult) |
368 | // if (searchResult.data.length == 0) { | 368 | // if (searchResult.data.length == 0) { |
369 | // $scope.check = false; | 369 | // $scope.check = false; |
370 | // } else { | 370 | // } else { |
371 | // $scope.check = true; | 371 | // $scope.check = true; |
372 | // $scope.emailId = searchResult.data[0].id | 372 | // $scope.emailId = searchResult.data[0].id |
373 | // $('#alreadyExist').css('display', 'block'); | 373 | // $('#alreadyExist').css('display', 'block'); |
374 | 374 | ||
375 | // } | 375 | // } |
376 | // console.log("$scope.data.id",searchResult.data) | 376 | // console.log("$scope.data.id",searchResult.data) |
377 | // }, function myError(error) {}); | 377 | // }, function myError(error) {}); |
378 | // } | 378 | // } |
379 | // }; | 379 | // }; |
380 | 380 | ||
381 | // $scope.removeNoError = function() { | 381 | // $scope.removeNoError = function() { |
382 | // $('#noExist').css('display', 'none'); | 382 | // $('#noExist').css('display', 'none'); |
383 | // }; | 383 | // }; |
384 | 384 | ||
385 | // $scope.numbercheck = function(number) { | 385 | // $scope.numbercheck = function(number) { |
386 | // $http({ | 386 | // $http({ |
387 | // method: 'GET', | 387 | // method: 'GET', |
388 | // url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', | 388 | // url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', |
389 | // data: $scope.data, | 389 | // data: $scope.data, |
390 | // headers: {} | 390 | // headers: {} |
391 | // }).then(function mySuccess(searchResult) { | 391 | // }).then(function mySuccess(searchResult) { |
392 | // console.log("searchResult===>", searchResult) | 392 | // console.log("searchResult===>", searchResult) |
393 | // if (searchResult.data.length == 0) { | 393 | // if (searchResult.data.length == 0) { |
394 | // $scope.numberCheck = false; | 394 | // $scope.numberCheck = false; |
395 | 395 | ||
396 | // } else { | 396 | // } else { |
397 | // $scope.numberCheck = true; | 397 | // $scope.numberCheck = true; |
398 | // $('#noExist').css('display', 'block'); | 398 | // $('#noExist').css('display', 'block'); |
399 | // } | 399 | // } |
400 | // }, function myError(error) {}); | 400 | // }, function myError(error) {}); |
401 | // }; | 401 | // }; |
402 | 402 | ||
403 | // $rootScope.tokenCall = function(val) { | 403 | // $rootScope.tokenCall = function(val) { |
404 | // console.log('val-------->', val); | 404 | // console.log('val-------->', val); |
405 | // if (val == undefined) { | 405 | // if (val == undefined) { |
406 | // $('#invalidToken').css('display', 'block'); | 406 | // $('#invalidToken').css('display', 'block'); |
407 | // } else { | 407 | // } else { |
408 | // val = val.toUpperCase(); | 408 | // val = val.toUpperCase(); |
409 | // $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') | 409 | // $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') |
410 | // .then(function(searchResult) { | 410 | // .then(function(searchResult) { |
411 | // console.log("searchResult",searchResult) | 411 | // console.log("searchResult",searchResult) |
412 | // if (searchResult.data.length == 0) { | 412 | // if (searchResult.data.length == 0) { |
413 | // $scope.tokencheck = false; | 413 | // $scope.tokencheck = false; |
414 | // $scope.discountAmount = 0; | 414 | // $scope.discountAmount = 0; |
415 | // } else { | 415 | // } else { |
416 | // $scope.discountpercentage = searchResult.data[0].discount; | 416 | // $scope.discountpercentage = searchResult.data[0].discount; |
417 | // $scope.tokencheck = true; | 417 | // $scope.tokencheck = true; |
418 | // } | 418 | // } |
419 | // },function(err){ | 419 | // },function(err){ |
420 | // console.log(err) | 420 | // console.log(err) |
421 | // }); | 421 | // }); |
422 | 422 | ||
423 | // } | 423 | // } |
424 | // }; | 424 | // }; |
425 | 425 | ||
426 | // $scope.IfDinnerCheck = function(value){ | 426 | // $scope.IfDinnerCheck = function(value){ |
427 | // $scope.data.networkDinner = value; | 427 | // $scope.data.networkDinner = value; |
428 | // console.log("value",value) | 428 | // console.log("value",value) |
429 | // } | 429 | // } |
430 | 430 | ||
431 | // /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ | 431 | // /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ |
432 | // $(document).ready( | 432 | // $(document).ready( |
433 | // function() { | 433 | // function() { |
434 | // $('input:submit').attr('disabled', true); | 434 | // $('input:submit').attr('disabled', true); |
435 | // $('input:file').change( | 435 | // $('input:file').change( |
436 | // function() { | 436 | // function() { |
437 | // if ($("#picture").val()) { | 437 | // if ($("#picture").val()) { |
438 | // $('input:submit').removeAttr('disabled'); | 438 | // $('input:submit').removeAttr('disabled'); |
439 | // } else { | 439 | // } else { |
440 | // $('input:submit').attr('disabled', true); | 440 | // $('input:submit').attr('disabled', true); |
441 | // } | 441 | // } |
442 | // }); | 442 | // }); |
443 | // }); | 443 | // }); |
444 | 444 | ||
445 | /*****THIS IS FOR STEP ONE FORM ******/ | 445 | /*****THIS IS FOR STEP ONE FORM ******/ |
446 | // $scope.next = function() { | 446 | // $scope.next = function() { |
447 | // $scope.data.status = null | 447 | // $scope.data.status = null |
448 | // if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { | 448 | // if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { |
449 | // var x = document.getElementById("snackbar") | 449 | // var x = document.getElementById("snackbar") |
450 | // x.className = "show"; | 450 | // x.className = "show"; |
451 | // setTimeout(function() { | 451 | // setTimeout(function() { |
452 | // x.className = x.className.replace("show", ""); | 452 | // x.className = x.className.replace("show", ""); |
453 | // }, 3000); | 453 | // }, 3000); |
454 | // } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { | 454 | // } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { |
455 | // $scope.infoForm = true; | 455 | // $scope.infoForm = true; |
456 | // console.log("sdasdasdsa"); | 456 | // console.log("sdasdasdsa"); |
457 | // $scope.data.stage = $scope.data.stage; | 457 | // $scope.data.stage = $scope.data.stage; |
458 | // $scope.detail = {}; | 458 | // $scope.detail = {}; |
459 | // $scope.data.phone = "+91" + $scope.data.number; | 459 | // $scope.data.phone = "+91" + $scope.data.number; |
460 | // $http({ | 460 | // $http({ |
461 | // method: 'POST', | 461 | // method: 'POST', |
462 | // url: BASE_URL + '/information', | 462 | // url: BASE_URL + '/information', |
463 | // data: $scope.data, | 463 | // data: $scope.data, |
464 | // headers: {} | 464 | // headers: {} |
465 | // }).then(function mySuccess(result) { | 465 | // }).then(function mySuccess(result) { |
466 | // Analytics.trackEvent('information', 'click', 'django.mp4'); | 466 | // Analytics.trackEvent('information', 'click', 'django.mp4'); |
467 | // console.log("result", result) | 467 | // console.log("result", result) |
468 | // $scope.detail = result; | 468 | // $scope.detail = result; |
469 | // data.applicantId = result.data.id; | 469 | // data.applicantId = result.data.id; |
470 | // $scope.userId = result.data.id; | 470 | // $scope.userId = result.data.id; |
471 | 471 | ||
472 | // }, function myError(error) {}); | 472 | // }, function myError(error) {}); |
473 | 473 | ||
474 | // } | 474 | // } |
475 | 475 | ||
476 | // } | 476 | // } |
477 | $scope.watch = function(url){ | 477 | $scope.watch = function(){ |
478 | console.log("cllll") | 478 | console.log("cllll") |
479 | window.open(url) | 479 | // window.open(url) |
480 | $location.path("/registration") | ||
480 | } | 481 | } |
481 | 482 | ||
482 | $scope.calculateAmount = function(){ | 483 | $scope.calculateAmount = function(){ |
483 | if($scope.tokencheck == false){ | 484 | if($scope.tokencheck == false){ |
484 | $scope.data.referalToken = null; | 485 | $scope.data.referalToken = null; |
485 | } | 486 | } |
486 | if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | 487 | if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { |
487 | var x = document.getElementById("snackbar") | 488 | var x = document.getElementById("snackbar") |
488 | x.className = "show"; | 489 | x.className = "show"; |
489 | setTimeout(function() { | 490 | setTimeout(function() { |
490 | x.className = x.className.replace("show", ""); | 491 | x.className = x.className.replace("show", ""); |
491 | }, 3000); | 492 | }, 3000); |
492 | } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | 493 | } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { |
493 | $scope.infoForm = true; | 494 | $scope.infoForm = true; |
494 | console.log("sdasdasdsa"); | 495 | console.log("sdasdasdsa"); |
495 | $scope.data.stage = $scope.data.stage; | 496 | $scope.data.stage = $scope.data.stage; |
496 | $scope.detail = {}; | 497 | $scope.detail = {}; |
497 | $scope.data.phone = "+91" + $scope.data.number; | 498 | $scope.data.phone = "+91" + $scope.data.number; |
498 | $http({ | 499 | $http({ |
499 | method: 'POST', | 500 | method: 'POST', |
500 | url: BASE_URL + '/applicants', | 501 | url: BASE_URL + '/applicants', |
501 | data: $scope.data, | 502 | data: $scope.data, |
502 | headers: {} | 503 | headers: {} |
503 | }).then(function mySuccess(result) { | 504 | }).then(function mySuccess(result) { |
504 | Analytics.trackEvent('applicants', 'click','Users'); | 505 | Analytics.trackEvent('applicants', 'click','Users'); |
505 | console.log("result", result) | 506 | console.log("result", result) |
506 | $scope.detail = result; | 507 | $scope.detail = result; |
507 | data.applicantId = result.data.id; | 508 | data.applicantId = result.data.id; |
508 | //$scope.userId = result.data.id; | 509 | //$scope.userId = result.data.id; |
509 | 510 | ||
510 | if($scope.data.networkDinner == "true"){ | 511 | if($scope.data.networkDinner == "true"){ |
511 | if($scope.data.citymeetup == "chandigarh"){ | 512 | if($scope.data.citymeetup == "chandigarh"){ |
512 | if ($scope.data.stage == "Pitch your Business plan") { | 513 | if ($scope.data.stage == "Pitch your Business plan") { |
513 | console.log("$scope.data", $scope.data) | 514 | console.log("$scope.data", $scope.data) |
514 | $scope.ticketAmnt = 3500; | 515 | $scope.ticketAmnt = 3500; |
515 | $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt; | 516 | $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt; |
516 | } | 517 | } |
517 | 518 | ||
518 | if ($scope.data.stage == "Pitch your Startup") { | 519 | if ($scope.data.stage == "Pitch your Startup") { |
519 | $scope.ticketAmnt = 4250; | 520 | $scope.ticketAmnt = 4250; |
520 | $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt; | 521 | $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt; |
521 | } | 522 | } |
522 | 523 | ||
523 | // if ($scope.data.stage == "Growth") { | 524 | // if ($scope.data.stage == "Growth") { |
524 | // $scope.ticketAmnt = 1400; | 525 | // $scope.ticketAmnt = 1400; |
525 | // } | 526 | // } |
526 | } | 527 | } |
527 | } | 528 | } |
528 | 529 | ||
529 | else{ | 530 | else{ |
530 | if($scope.data.citymeetup == "chandigarh"){ | 531 | if($scope.data.citymeetup == "chandigarh"){ |
531 | if ($scope.data.stage == "Pitch your Business plan") { | 532 | if ($scope.data.stage == "Pitch your Business plan") { |
532 | console.log("$scope.data", $scope.data) | 533 | console.log("$scope.data", $scope.data) |
533 | /*add 25%*/ | 534 | /*add 25%*/ |
534 | $scope.ticketAmnt = 1500 ; | 535 | $scope.ticketAmnt = 1500 ; |
535 | $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt; | 536 | $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt; |
536 | } | 537 | } |
537 | 538 | ||
538 | if ($scope.data.stage == "Pitch your Startup") { | 539 | if ($scope.data.stage == "Pitch your Startup") { |
539 | $scope.ticketAmnt = 2250; | 540 | $scope.ticketAmnt = 2250; |
540 | $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt; | 541 | $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt; |
541 | } | 542 | } |
542 | 543 | ||
543 | // if ($scope.data.stage == "Growth") { | 544 | // if ($scope.data.stage == "Growth") { |
544 | // $scope.ticketAmnt = 1400; | 545 | // $scope.ticketAmnt = 1400; |
545 | // } | 546 | // } |
546 | } | 547 | } |
547 | } | 548 | } |
548 | 549 | ||
549 | // else{ | 550 | // else{ |
550 | // if ($scope.data.stage == "Pitch your Idea") { | 551 | // if ($scope.data.stage == "Pitch your Idea") { |
551 | // console.log("$scope.data", $scope.data) | 552 | // console.log("$scope.data", $scope.data) |
552 | // $scope.ticketAmnt = 500; | 553 | // $scope.ticketAmnt = 500; |
553 | // } | 554 | // } |
554 | 555 | ||
555 | // if ($scope.data.stage == "Pitch your Startup") { | 556 | // if ($scope.data.stage == "Pitch your Startup") { |
556 | // $scope.ticketAmnt = 1000; | 557 | // $scope.ticketAmnt = 1000; |
557 | // } | 558 | // } |
558 | 559 | ||
559 | // // if ($scope.data.stage == "Growth") { | 560 | // // if ($scope.data.stage == "Growth") { |
560 | // // $scope.ticketAmnt = 1000; | 561 | // // $scope.ticketAmnt = 1000; |
561 | // // } | 562 | // // } |
562 | // } | 563 | // } |
563 | // if ($scope.data.stage == "Visitor") { | 564 | // if ($scope.data.stage == "Visitor") { |
564 | // $scope.ticketAmnt = 500; | 565 | // $scope.ticketAmnt = 500; |
565 | // } | 566 | // } |
566 | var amount = $scope.ticketAmnt * 100 | 567 | var amount = $scope.ticketAmnt * 100 |
567 | if($scope.tokencheck == true){ | 568 | if($scope.tokencheck == true){ |
568 | var amount = $scope.ticketAmnt | 569 | var amount = $scope.ticketAmnt |
569 | $scope.discountAmount = (amount * $scope.discountpercentage)/100 | 570 | $scope.discountAmount = (amount * $scope.discountpercentage)/100 |
570 | console.log("finalAmount====>",$scope.discountAmount) | 571 | console.log("finalAmount====>",$scope.discountAmount) |
571 | } | 572 | } |
572 | 573 | ||
573 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount | 574 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount |
574 | console.log("$scope.taxTotal----",taxAmount) | 575 | console.log("$scope.taxTotal----",taxAmount) |
575 | $scope.taxTotal = (taxAmount * 18)/100 | 576 | $scope.taxTotal = (taxAmount * 18)/100 |
576 | $scope.payingAmnt = taxAmount + $scope.taxTotal | 577 | $scope.payingAmnt = taxAmount + $scope.taxTotal |
577 | $scope.payingAmnt = $scope.payingAmnt.toFixed() | 578 | $scope.payingAmnt = $scope.payingAmnt.toFixed() |
578 | console.log("taxincludedamount----", $scope.payingAmnt) | 579 | console.log("taxincludedamount----", $scope.payingAmnt) |
579 | console.log("$scope.taxTotal----", $scope.taxTotal) | 580 | console.log("$scope.taxTotal----", $scope.taxTotal) |
580 | // } | 581 | // } |
581 | 582 | ||
582 | /*****THIS IS FOR STEP THREE FORM ******/ | 583 | /*****THIS IS FOR STEP THREE FORM ******/ |
583 | // $scope.create = function() { | 584 | // $scope.create = function() { |
584 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | 585 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { |
585 | // var x = document.getElementById("snackbar") | 586 | // var x = document.getElementById("snackbar") |
586 | // x.className = "show"; | 587 | // x.className = "show"; |
587 | // setTimeout(function() { | 588 | // setTimeout(function() { |
588 | // x.className = x.className.replace("show", ""); | 589 | // x.className = x.className.replace("show", ""); |
589 | // }, 3000); | 590 | // }, 3000); |
590 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | 591 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { |
591 | // $scope.infoForm = true; | 592 | // $scope.infoForm = true; |
592 | // console.log("sdasdasdsa"); | 593 | // console.log("sdasdasdsa"); |
593 | // $scope.data.stage = $scope.data.stage; | 594 | // $scope.data.stage = $scope.data.stage; |
594 | // $scope.detail = {}; | 595 | // $scope.detail = {}; |
595 | // $scope.data.phone = "+91" + $scope.data.number; | 596 | // $scope.data.phone = "+91" + $scope.data.number; |
596 | // $http({ | 597 | // $http({ |
597 | // method: 'POST', | 598 | // method: 'POST', |
598 | // url: BASE_URL + '/applicants', | 599 | // url: BASE_URL + '/applicants', |
599 | // data: $scope.data, | 600 | // data: $scope.data, |
600 | // headers: {} | 601 | // headers: {} |
601 | // }).then(function mySuccess(result) { | 602 | // }).then(function mySuccess(result) { |
602 | 603 | ||
603 | // console.log("=====result=====", result) | 604 | // console.log("=====result=====", result) |
604 | // $scope.detail = result; | 605 | // $scope.detail = result; |
605 | // data.applicantId = result.data.id; | 606 | // data.applicantId = result.data.id; |
606 | // $scope.userId = result.data.id; | 607 | // $scope.userId = result.data.id; |
607 | // console.log("=====data=====", data) | 608 | // console.log("=====data=====", data) |
608 | // data.amount = $scope.payingAmnt + $scope.taxTotal; | 609 | // data.amount = $scope.payingAmnt + $scope.taxTotal; |
609 | data.amount = $scope.payingAmnt; | 610 | data.amount = $scope.payingAmnt; |
610 | console.log("$scope.taxTotal",data.amount) | 611 | console.log("$scope.taxTotal",data.amount) |
611 | if ($scope.detail != null) { | 612 | if ($scope.detail != null) { |
612 | $http({ | 613 | $http({ |
613 | method: 'POST', | 614 | method: 'POST', |
614 | url: BASE_URL + '/payments', | 615 | url: BASE_URL + '/payments', |
615 | data: data, | 616 | data: data, |
616 | headers: {} | 617 | headers: {} |
617 | }).then(function mySuccess(paymentResult) { | 618 | }).then(function mySuccess(paymentResult) { |
618 | console.log("paymentResult",paymentResult) | 619 | console.log("paymentResult",paymentResult) |
619 | $scope.paymentResult = paymentResult; | 620 | $scope.paymentResult = paymentResult; |
620 | }, function myError(error) {}); | 621 | }, function myError(error) {}); |
621 | } | 622 | } |
622 | var i = 0; | 623 | var i = 0; |
623 | //$scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100; | 624 | //$scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100; |
624 | 625 | ||
625 | $scope.payingAmnt = $scope.payingAmnt * 100; | 626 | $scope.payingAmnt = $scope.payingAmnt * 100; |
626 | 627 | ||
627 | console.log("$scope.taxTotal----", $scope.payingAmnt) | 628 | console.log("$scope.taxTotal----", $scope.payingAmnt) |
628 | var options = { | 629 | var options = { |
629 | "key": "rzp_live_mkmCb4FkstuWaS", | 630 | "key": "rzp_live_mkmCb4FkstuWaS", |
630 | //"key": "rzp_test_YwHsVFiDIQ2WUQ", | 631 | //"key": "rzp_test_YwHsVFiDIQ2WUQ", |
631 | "amount": $scope.payingAmnt , | 632 | "amount": $scope.payingAmnt , |
632 | 633 | ||
633 | "name": "Startup Jalsa", | 634 | "name": "Startup Jalsa", |
634 | "description": "amount", | 635 | "description": "amount", |
635 | "currency": "INR", | 636 | "currency": "INR", |
636 | "status": "done", | 637 | "status": "done", |
637 | 638 | ||
638 | "theme": { | 639 | "theme": { |
639 | "color": "#2196f3 ", | 640 | "color": "#2196f3 ", |
640 | "image_padding": "NO" | 641 | "image_padding": "NO" |
641 | }, | 642 | }, |
642 | "modal": { | 643 | "modal": { |
643 | "ondismiss": function() {} | 644 | "ondismiss": function() {} |
644 | }, | 645 | }, |
645 | "handler": function(response) { | 646 | "handler": function(response) { |
646 | createPayment(response); | 647 | createPayment(response); |
647 | } | 648 | } |
648 | }; | 649 | }; |
649 | var rzp1 = new Razorpay(options); | 650 | var rzp1 = new Razorpay(options); |
650 | rzp1.open(); | 651 | rzp1.open(); |
651 | $scope.paymentResponse = {}; | 652 | $scope.paymentResponse = {}; |
652 | 653 | ||
653 | function createPayment(response) { | 654 | function createPayment(response) { |
654 | console.log("response====from===razorpay",response) | 655 | console.log("response====from===razorpay",response) |
655 | $route.reload(); | 656 | $route.reload(); |
656 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 657 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
657 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | 658 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; |
658 | $scope.paymentResponse.amount = data.amount; | 659 | $scope.paymentResponse.amount = data.amount; |
659 | $scope.paymentResponse.currency = "INR"; | 660 | $scope.paymentResponse.currency = "INR"; |
660 | $scope.paymentResponse.status = $scope.paymentResult.data.status; | 661 | $scope.paymentResponse.status = $scope.paymentResult.data.status; |
661 | Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); | 662 | Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); |
662 | $http({ | 663 | $http({ |
663 | method: 'PUT', | 664 | method: 'PUT', |
664 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, | 665 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, |
665 | data: $scope.paymentResponse, | 666 | data: $scope.paymentResponse, |
666 | headers: {} | 667 | headers: {} |
667 | }).then(function mySuccess(searchResult) { | 668 | }).then(function mySuccess(searchResult) { |
668 | // if(paymentResult.data.status == "created"){ | 669 | // if(paymentResult.data.status == "created"){ |
669 | 670 | ||
670 | // } | 671 | // } |
671 | console.log("searchResult", searchResult) | 672 | console.log("searchResult", searchResult) |
672 | $location.path("/confirmation") | 673 | $location.path("/confirmation") |
673 | //$scope.showToastr() | 674 | //$scope.showToastr() |
674 | //toaster.success("Registration done successfully"); | 675 | //toaster.success("Registration done successfully"); |
675 | 676 | ||
676 | }, function myError(error) {}); | 677 | }, function myError(error) {}); |
677 | } | 678 | } |
678 | }, function myError(error) { | 679 | }, function myError(error) { |
679 | console.log("error",error) | 680 | console.log("error",error) |
680 | // $scope.emailId = error.data.error.message; | 681 | // $scope.emailId = error.data.error.message; |
681 | // $scope.id = error.data.error.id; | 682 | // $scope.id = error.data.error.id; |
682 | // $('#myModal').modal('show'); | 683 | // $('#myModal').modal('show'); |
683 | }); | 684 | }); |
684 | } | 685 | } |
685 | 686 | ||
686 | } | 687 | } |
687 | 688 | ||
688 | //}, function myError(error) {}); | 689 | //}, function myError(error) {}); |
689 | //} | 690 | //} |
690 | 691 | ||
691 | //} | 692 | //} |
692 | 693 | ||
693 | // $scope.showToastr = function() { | 694 | // $scope.showToastr = function() { |
694 | // console.log("called toast") | 695 | // console.log("called toast") |
695 | // var x = document.getElementById("snacsskbar") | 696 | // var x = document.getElementById("snacsskbar") |
696 | // x.className = "show"; | 697 | // x.className = "show"; |
697 | // setTimeout(function() { | 698 | // setTimeout(function() { |
698 | // x.className = x.className.replace("show", ""); | 699 | // x.className = x.className.replace("show", ""); |
699 | // }, 3000); | 700 | // }, 3000); |
700 | // } | 701 | // } |
701 | 702 | ||
702 | /*kk***This code for change data when click to chooses stages***/ | 703 | /*kk***This code for change data when click to chooses stages***/ |
703 | $scope.proto = true; | 704 | $scope.proto = true; |
704 | $scope.businessmodel = true; | 705 | $scope.businessmodel = true; |
705 | $scope.Idea = true; | 706 | $scope.Idea = true; |
706 | $scope.current = true; | 707 | $scope.current = true; |
707 | 708 | ||
708 | $scope.stage = function(stage) { | 709 | $scope.stage = function(stage) { |
709 | $scope.stagekeyPress(); | 710 | $scope.stagekeyPress(); |
710 | console.log("stage--2",stage) | 711 | console.log("stage--2",stage) |
711 | 712 | ||
712 | if (stage == 'Pitch your Business plan') { | 713 | if (stage == 'Pitch your Business plan') { |
713 | $scope.Productshow = "no"; | 714 | $scope.Productshow = "no"; |
714 | $scope.current = 10; | 715 | $scope.current = 10; |
715 | $scope.proto = true; | 716 | $scope.proto = true; |
716 | // $scope.visitType = true; | 717 | // $scope.visitType = true; |
717 | $scope.prototyp = false; | 718 | $scope.prototyp = false; |
718 | $scope.protyp = false; | 719 | $scope.protyp = false; |
719 | $scope.market = false; | 720 | $scope.market = false; |
720 | $scope.risks = false; | 721 | $scope.risks = false; |
721 | $scope.team = false; | 722 | $scope.team = false; |
722 | $scope.pitch = false; | 723 | $scope.pitch = false; |
723 | $scope.financials = false; | 724 | $scope.financials = false; |
724 | $scope.businessmodel = true; | 725 | $scope.businessmodel = true; |
725 | $scope.data.stage = stage; | 726 | $scope.data.stage = stage; |
726 | // for right content | 727 | // for right content |
727 | $scope.Idea = true; | 728 | $scope.Idea = true; |
728 | $scope.Product = false; | 729 | $scope.Product = false; |
729 | $scope.Growth = false; | 730 | $scope.Growth = false; |
730 | // $scope.Visitor = false; | 731 | // $scope.Visitor = false; |
731 | } else if (stage == 'Pitch your Startup') { | 732 | } else if (stage == 'Pitch your Startup') { |
732 | $scope.Productshow = "no"; | 733 | $scope.Productshow = "no"; |
733 | $scope.current = 10; | 734 | $scope.current = 10; |
734 | $scope.proto = true; | 735 | $scope.proto = true; |
735 | // $scope.visitType = true; | 736 | // $scope.visitType = true; |
736 | $scope.prototyp = true; | 737 | $scope.prototyp = true; |
737 | $scope.protyp = true; | 738 | $scope.protyp = true; |
738 | $scope.market = true; | 739 | $scope.market = true; |
739 | $scope.risks = true; | 740 | $scope.risks = true; |
740 | $scope.team = true; | 741 | $scope.team = true; |
741 | $scope.pitch = true; | 742 | $scope.pitch = true; |
742 | $scope.financials = true; | 743 | $scope.financials = true; |
743 | $scope.businessmodel = false; | 744 | $scope.businessmodel = false; |
744 | $scope.data.stage = stage; | 745 | $scope.data.stage = stage; |
745 | // for right content | 746 | // for right content |
746 | $scope.Idea = false; | 747 | $scope.Idea = false; |
747 | $scope.Product = true; | 748 | $scope.Product = true; |
748 | $scope.Growth = false; | 749 | $scope.Growth = false; |
749 | // $scope.Visitor = false; | 750 | // $scope.Visitor = false; |
750 | } else if (stage == 'Growth') { | 751 | } else if (stage == 'Growth') { |
751 | $scope.Productshow = "yes"; | 752 | $scope.Productshow = "yes"; |
752 | $scope.current = 10; | 753 | $scope.current = 10; |
753 | $scope.proto = false; | 754 | $scope.proto = false; |
754 | // $scope.visitType = true; | 755 | // $scope.visitType = true; |
755 | $scope.prototyp = true; | 756 | $scope.prototyp = true; |
756 | $scope.protyp = false; | 757 | $scope.protyp = false; |
757 | $scope.market = true; | 758 | $scope.market = true; |
758 | $scope.risks = true; | 759 | $scope.risks = true; |
759 | $scope.team = true; | 760 | $scope.team = true; |
760 | $scope.pitch = true; | 761 | $scope.pitch = true; |
761 | $scope.financials = true; | 762 | $scope.financials = true; |
762 | $scope.businessmodel = false; | 763 | $scope.businessmodel = false; |
763 | // for right content | 764 | // for right content |
764 | $scope.Idea = false; | 765 | $scope.Idea = false; |
765 | $scope.Product = false; | 766 | $scope.Product = false; |
766 | $scope.Growth = true; | 767 | $scope.Growth = true; |
767 | // $scope.Visitor = false; | 768 | // $scope.Visitor = false; |
768 | // } else if (stage == 'Visitor') { | 769 | // } else if (stage == 'Visitor') { |
769 | // $scope.Productshow = "no"; | 770 | // $scope.Productshow = "no"; |
770 | // $scope.current = 10; | 771 | // $scope.current = 10; |
771 | // $scope.proto = false; | 772 | // $scope.proto = false; |
772 | // $scope.visitType = false; | 773 | // $scope.visitType = false; |
773 | // $scope.prototyp = false; | 774 | // $scope.prototyp = false; |
774 | // $scope.protyp = false; | 775 | // $scope.protyp = false; |
775 | // $scope.market = false; | 776 | // $scope.market = false; |
776 | // $scope.risks = false; | 777 | // $scope.risks = false; |
777 | // $scope.team = false; | 778 | // $scope.team = false; |
778 | // $scope.pitch = false; | 779 | // $scope.pitch = false; |
779 | // $scope.financials = false; | 780 | // $scope.financials = false; |
780 | // $scope.businessmodel = false; | 781 | // $scope.businessmodel = false; |
781 | // $scope.data.stage = stage; | 782 | // $scope.data.stage = stage; |
782 | // // for right content | 783 | // // for right content |
783 | // $scope.Idea = false; | 784 | // $scope.Idea = false; |
784 | // $scope.Product = false; | 785 | // $scope.Product = false; |
785 | // $scope.Growth = false; | 786 | // $scope.Growth = false; |
786 | // $scope.Visitor = true; | 787 | // $scope.Visitor = true; |
787 | $scope.data.stage = stage; | 788 | $scope.data.stage = stage; |
788 | } | 789 | } |
789 | 790 | ||
790 | } | 791 | } |
791 | 792 | ||
792 | // $scope.emailTest = function(s){ | 793 | // $scope.emailTest = function(s){ |
793 | // $scope.space = /\s/g.test(s.delegateTarget.value); | 794 | // $scope.space = /\s/g.test(s.delegateTarget.value); |
794 | // console.log("space",$scope.space) | 795 | // console.log("space",$scope.space) |
795 | 796 | ||
796 | // } | 797 | // } |
797 | // $scope.enterbusiness = function(business) { | 798 | // $scope.enterbusiness = function(business) { |
798 | // console.log("business", business); | 799 | // console.log("business", business); |
799 | // if (name == undefined) { | 800 | // if (name == undefined) { |
800 | // $scope.current = false; | 801 | // $scope.current = false; |
801 | 802 | ||
802 | // } else if (name != undefined) { | 803 | // } else if (name != undefined) { |
803 | // $scope.current = true; | 804 | // $scope.current = true; |
804 | // } | 805 | // } |
805 | // } | 806 | // } |
806 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ | 807 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ |
807 | $scope.stagekeyPress = function() { | 808 | $scope.stagekeyPress = function() { |
808 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); | 809 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); |
809 | } | 810 | } |
810 | $scope.sectorkeyPress = function() { | 811 | $scope.sectorkeyPress = function() { |
811 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); | 812 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); |
812 | } | 813 | } |
813 | 814 | ||
814 | $scope.productLaunchkeyPress = function() { | 815 | $scope.productLaunchkeyPress = function() { |
815 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); | 816 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); |
816 | } | 817 | } |
817 | 818 | ||
818 | $scope.launchPeriodkeyPress = function() { | 819 | $scope.launchPeriodkeyPress = function() { |
819 | $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)'); | 820 | $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)'); |
820 | } | 821 | } |
821 | 822 | ||
822 | $scope.industrykeyPress = function(quantity) { | 823 | $scope.industrykeyPress = function(quantity) { |
823 | console.log("fghj",quantity) | 824 | console.log("fghj",quantity) |
824 | $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); | 825 | $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); |
825 | // $scope.addOther = false; | 826 | // $scope.addOther = false; |
826 | // $scope.hideSelectBox = true; | 827 | // $scope.hideSelectBox = true; |
827 | // $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); | 828 | // $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); |
828 | // var e = document.getElementById("dataIndustry"); | 829 | // var e = document.getElementById("dataIndustry"); |
829 | // var dataIndustry = e.options[e.selectedIndex].value; | 830 | // var dataIndustry = e.options[e.selectedIndex].value; |
830 | // if(dataIndustry == "others") { | 831 | // if(dataIndustry == "others") { |
831 | // $scope.addOther = true; | 832 | // $scope.addOther = true; |
832 | // $scope.hideSelectBox = false; | 833 | // $scope.hideSelectBox = false; |
833 | // } | 834 | // } |
834 | } | 835 | } |
835 | 836 | ||
836 | $scope.industryNamekeyPress = function(firstName) { | 837 | $scope.industryNamekeyPress = function(firstName) { |
837 | console.log("lastName==", firstName); | 838 | console.log("lastName==", firstName); |
838 | if (firstName == undefined) { | 839 | if (firstName == undefined) { |
839 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); | 840 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); |
840 | } else { | 841 | } else { |
841 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); | 842 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); |
842 | } | 843 | } |
843 | } | 844 | } |
844 | 845 | ||
845 | $scope.amountkeyPress = function() { | 846 | $scope.amountkeyPress = function() { |
846 | $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)'); | 847 | $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)'); |
847 | } | 848 | } |
848 | 849 | ||
849 | $scope.firstNamekeyPress = function(name) { | 850 | $scope.firstNamekeyPress = function(name) { |
850 | console.log("lastName==", name); | 851 | console.log("lastName==", name); |
851 | if (name == undefined) { | 852 | if (name == undefined) { |
852 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); | 853 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); |
853 | } else { | 854 | } else { |
854 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); | 855 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); |
855 | } | 856 | } |
856 | } | 857 | } |
857 | 858 | ||
858 | $scope.emailkeyPress = function(email) { | 859 | $scope.emailkeyPress = function(email) { |
859 | console.log("email", email); | 860 | console.log("email", email); |
860 | if (email == undefined) { | 861 | if (email == undefined) { |
861 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); | 862 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); |
862 | } else { | 863 | } else { |
863 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); | 864 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); |
864 | } | 865 | } |
865 | } | 866 | } |
866 | 867 | ||
867 | $scope.textCheck = function(){ | 868 | $scope.textCheck = function(){ |
868 | console.log("Val1:::", $scope.textCheck); | 869 | console.log("Val1:::", $scope.textCheck); |
869 | var e = document.getElementById("fundingDiv"); | 870 | var e = document.getElementById("fundingDiv"); |
870 | var funding = e.options[e.selectedIndex].value; | 871 | var funding = e.options[e.selectedIndex].value; |
871 | $scope.Textshow = "no"; | 872 | $scope.Textshow = "no"; |
872 | if(funding == "yes") { | 873 | if(funding == "yes") { |
873 | $scope.Textshow = "yes"; | 874 | $scope.Textshow = "yes"; |
874 | console.log("Val:::", $scope.Textshow); | 875 | console.log("Val:::", $scope.Textshow); |
875 | } | 876 | } |
876 | 877 | ||
877 | } | 878 | } |
878 | 879 | ||
879 | $scope.productCheck = function(){ | 880 | $scope.productCheck = function(){ |
880 | console.log("Val2:::", $scope.productCheck); | 881 | console.log("Val2:::", $scope.productCheck); |
881 | var e = document.getElementById("productDiv"); | 882 | var e = document.getElementById("productDiv"); |
882 | var product = e.options[e.selectedIndex].value; | 883 | var product = e.options[e.selectedIndex].value; |
883 | $scope.Productshow = "no"; | 884 | $scope.Productshow = "no"; |
884 | if(product == "yes") { | 885 | if(product == "yes") { |
885 | $scope.Productshow = "yes"; | 886 | $scope.Productshow = "yes"; |
886 | console.log("Val1:::", $scope.Productshow); | 887 | console.log("Val1:::", $scope.Productshow); |
887 | } | 888 | } |
888 | 889 | ||
889 | } | 890 | } |
890 | 891 | ||
891 | $scope.phonekeyPress = function(number) { | 892 | $scope.phonekeyPress = function(number) { |
892 | console.log("number", number); | 893 | console.log("number", number); |
893 | if (number == undefined || number == '') { | 894 | if (number == undefined || number == '') { |
894 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); | 895 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); |
895 | } else { | 896 | } else { |
896 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); | 897 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); |
897 | } | 898 | } |
898 | } | 899 | } |
899 | 900 | ||
900 | $scope.citykeyPress = function(city) { | 901 | $scope.citykeyPress = function(city) { |
901 | console.log("city", city); | 902 | console.log("city", city); |
902 | if (city == undefined) { | 903 | if (city == undefined) { |
903 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); | 904 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); |
904 | } else { | 905 | } else { |
905 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); | 906 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); |
906 | } | 907 | } |
907 | } | 908 | } |
908 | 909 | ||
909 | $scope.startupNamekeyPress = function(q) { | 910 | $scope.startupNamekeyPress = function(q) { |
910 | if (q == undefined) { | 911 | if (q == undefined) { |
911 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); | 912 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); |
912 | } else { | 913 | } else { |
913 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); | 914 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); |
914 | } | 915 | } |
915 | } | 916 | } |
916 | 917 | ||
917 | $scope.linkedInkeyPress = function(technology) { | 918 | $scope.linkedInkeyPress = function(technology) { |
918 | if (technology == undefined || technology == '') { | 919 | if (technology == undefined || technology == '') { |
919 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); | 920 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); |
920 | } else { | 921 | } else { |
921 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); | 922 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); |
922 | } | 923 | } |
923 | } | 924 | } |
924 | $scope.companykeyPress = function(problem) { | 925 | $scope.companykeyPress = function(problem) { |
925 | if (problem == undefined) { | 926 | if (problem == undefined) { |
926 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); | 927 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); |
927 | } else { | 928 | } else { |
928 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); | 929 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); |
929 | } | 930 | } |
930 | } | 931 | } |
931 | $scope.productNamekeyPress = function(solution) { | 932 | $scope.productNamekeyPress = function(solution) { |
932 | if (solution == undefined) { | 933 | if (solution == undefined) { |
933 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); | 934 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); |
934 | } else { | 935 | } else { |
935 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); | 936 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); |
936 | } | 937 | } |
937 | } | 938 | } |
938 | $scope.businesskeyPress = function(business) { | 939 | $scope.businesskeyPress = function(business) { |
939 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); | 940 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); |
940 | } | 941 | } |
941 | 942 | ||
942 | $scope.websitekeyPress = function(prototype) { | 943 | $scope.websitekeyPress = function(prototype) { |
943 | if (prototype == undefined || prototype == '') { | 944 | if (prototype == undefined || prototype == '') { |
944 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); | 945 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); |
945 | } else { | 946 | } else { |
946 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); | 947 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); |
947 | } | 948 | } |
948 | } | 949 | } |
949 | 950 | ||
950 | $scope.employeekeyPress = function(market) { | 951 | $scope.employeekeyPress = function(market) { |
951 | if (market == undefined || market == '') { | 952 | if (market == undefined || market == '') { |
952 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); | 953 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); |
953 | } else { | 954 | } else { |
954 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); | 955 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); |
955 | } | 956 | } |
956 | } | 957 | } |
957 | 958 | ||
958 | $scope.annualkeyPress = function(risk) { | 959 | $scope.annualkeyPress = function(risk) { |
959 | if (risk == undefined || risk == '') { | 960 | if (risk == undefined || risk == '') { |
960 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); | 961 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); |
961 | } else { | 962 | } else { |
962 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); | 963 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); |
963 | } | 964 | } |
964 | } | 965 | } |
965 | 966 | ||
966 | $scope.revenuekeyPress = function(team) { | 967 | $scope.revenuekeyPress = function(team) { |
967 | if (team == undefined || team == '') { | 968 | if (team == undefined || team == '') { |
968 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); | 969 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); |
969 | } else { | 970 | } else { |
970 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); | 971 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); |
971 | } | 972 | } |
972 | } | 973 | } |
973 | 974 | ||
974 | $scope.descriptionkeyPress = function(pitch) { | 975 | $scope.descriptionkeyPress = function(pitch) { |
975 | if (pitch == undefined) { | 976 | if (pitch == undefined) { |
976 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); | 977 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); |
977 | } else { | 978 | } else { |
978 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); | 979 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); |
979 | } | 980 | } |
980 | } | 981 | } |
981 | 982 | ||
982 | $scope.discountkeyPress = function(discount) { | 983 | $scope.discountkeyPress = function(discount) { |
983 | console.log("lastName==", name); | ||
984 | if (discount == undefined) { | 984 | if (discount == undefined) { |
985 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); | 985 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); |
986 | } else { | 986 | } else { |
987 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); | 987 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); |
988 | } | 988 | } |
989 | } | 989 | } |
990 | 990 | ||
991 | $scope.removeNooError = function() { | 991 | $scope.removeNooError = function() { |
992 | $('#invalidIdea').css('display', 'block'); | 992 | $('#invalidIdea').css('display', 'block'); |
993 | $('#noExist').css('display', 'none'); | 993 | $('#noExist').css('display', 'none'); |
994 | }; | 994 | }; |
995 | 995 | ||
996 | $scope.ideakeyPress = function(financial) { | 996 | $scope.ideakeyPress = function(financial) { |
997 | console.log("financial", financial); | 997 | console.log("financial", financial); |
998 | if (financial == undefined) { | 998 | if (financial == undefined) { |
999 | $('#invalidIdea').css('display', 'block'); | ||
1000 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); | 999 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); |
1001 | } else { | 1000 | } else { |
1002 | $('#invalidIdea').css('display', 'none'); | ||
1003 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); | 1001 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); |
1004 | } | 1002 | } |
1005 | } | 1003 | } |
1006 | 1004 | ||
1007 | $scope.fundkeyPress = function(financial) { | 1005 | $scope.fundkeyPress = function(financial) { |
1008 | console.log("financial", financial); | 1006 | console.log("financial", financial); |
1009 | if (financial == undefined) { | 1007 | if (financial == undefined) { |
1010 | $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); | 1008 | $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); |
1011 | } else { | 1009 | } else { |
1012 | $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)'); | 1010 | $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)'); |
1013 | } | 1011 | } |
1014 | } | 1012 | } |
1015 | 1013 | ||
1016 | $scope.changeReferalIconColor = function(referalToken){ | 1014 | $scope.changeReferalIconColor = function(referalToken){ |
1017 | if (referalToken == undefined || referalToken == '') { | 1015 | if (referalToken == undefined || referalToken == '') { |
1018 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); | 1016 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); |
1019 | }else { | 1017 | }else { |
1020 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); | 1018 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); |
1021 | } | 1019 | } |
1022 | } | 1020 | } |
1023 | 1021 | ||
1024 | }); | 1022 | }); |
1025 | 1023 | ||
1026 | scotchApp.controller('verifyController', function($scope, $http, $location, $route, BASE_URL, Analytics) { | 1024 | scotchApp.controller('verifyController', function($scope, $http, $location, $route, BASE_URL, Analytics) { |
1027 | 1025 | ||
1028 | $scope.pendingPaymentId = $route.current.params.id | 1026 | $scope.pendingPaymentId = $route.current.params.id |
1029 | $http({ | 1027 | $http({ |
1030 | method: "GET", | 1028 | method: "GET", |
1031 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, | 1029 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, |
1032 | }).then(function mySuccess(response) { | 1030 | }).then(function mySuccess(response) { |
1033 | $scope.data = response.data; | 1031 | $scope.data = response.data; |
1034 | console.log("response-1", response); | 1032 | console.log("response-1", response); |
1035 | $scope.pendingPaymentId = $route.current.params.id; | 1033 | $scope.pendingPaymentId = $route.current.params.id; |
1036 | 1034 | ||
1037 | $http({ | 1035 | $http({ |
1038 | method: "GET", | 1036 | method: "GET", |
1039 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', | 1037 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', |
1040 | }).then(function mySuccess(response) { | 1038 | }).then(function mySuccess(response) { |
1041 | $scope.paymentRecord = response.data; | 1039 | $scope.paymentRecord = response.data; |
1042 | }, function myError(response) { | 1040 | }, function myError(response) { |
1043 | console.log("response-2", response); | 1041 | console.log("response-2", response); |
1044 | }); | 1042 | }); |
1045 | }, function myError(response) { | 1043 | }, function myError(response) { |
1046 | $scope.myWelcome = response.statusText; | 1044 | $scope.myWelcome = response.statusText; |
1047 | }); | 1045 | }); |
1048 | 1046 | ||
1049 | $scope.checkView = false; | 1047 | $scope.checkView = false; |
1050 | $scope.verifyView = false; | 1048 | $scope.verifyView = false; |
1051 | $scope.searchResult = {} | 1049 | $scope.searchResult = {} |
1052 | $scope.pendingPaymentId = ''; | 1050 | $scope.pendingPaymentId = ''; |
1053 | 1051 | ||
1054 | $scope.update = function() { | 1052 | $scope.update = function() { |
1055 | 1053 | ||
1056 | $http({ | 1054 | $http({ |
1057 | method: 'GET', | 1055 | method: 'GET', |
1058 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', | 1056 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', |
1059 | headers: {} | 1057 | headers: {} |
1060 | }).then(function mySuccess(searchResult) { | 1058 | }).then(function mySuccess(searchResult) { |
1061 | if (searchResult.data[0].status == "created") { | 1059 | if (searchResult.data[0].status == "created") { |
1062 | //if (searchResult.data[0].status == "cancelled") { | 1060 | //if (searchResult.data[0].status == "cancelled") { |
1063 | $scope.checkView = true; | 1061 | $scope.checkView = true; |
1064 | $scope.verifyView = false; | 1062 | $scope.verifyView = false; |
1065 | $scope.amount = searchResult.data[0].amount; | 1063 | $scope.amount = searchResult.data[0].amount; |
1066 | $scope.searchResult = searchResult.data[0]; | 1064 | $scope.searchResult = searchResult.data[0]; |
1067 | console.log('====searchResult===', searchResult); | 1065 | console.log('====searchResult===', searchResult); |
1068 | console.log("searchResult=====",searchResult.data[0].razorOrderId) | 1066 | console.log("searchResult=====",searchResult.data[0].razorOrderId) |
1069 | var i = 0; | 1067 | var i = 0; |
1070 | $scope.amount = $scope.amount * 100; | 1068 | $scope.amount = $scope.amount * 100; |
1071 | var options = { | 1069 | var options = { |
1072 | "key": "rzp_live_mhSE1uOBlXvFyJ", | 1070 | "key": "rzp_live_mhSE1uOBlXvFyJ", |
1073 | //"key" : "rzp_test_YwHsVFiDIQ2WUQ", | 1071 | //"key" : "rzp_test_YwHsVFiDIQ2WUQ", |
1074 | "amount": $scope.amount, | 1072 | "amount": $scope.amount, |
1075 | 1073 | ||
1076 | "name": "Startup Jalsa", | 1074 | "name": "Startup Jalsa", |
1077 | "description": "amount", | 1075 | "description": "amount", |
1078 | "currency": "INR", | 1076 | "currency": "INR", |
1079 | "status": "done", | 1077 | "status": "done", |
1080 | 1078 | ||
1081 | "theme": { | 1079 | "theme": { |
1082 | "color": "#2196f3 ", | 1080 | "color": "#2196f3 ", |
1083 | "image_padding": "NO" | 1081 | "image_padding": "NO" |
1084 | }, | 1082 | }, |
1085 | "modal": { | 1083 | "modal": { |
1086 | "ondismiss": function() {} | 1084 | "ondismiss": function() {} |
1087 | }, | 1085 | }, |
1088 | "handler": function(response) { | 1086 | "handler": function(response) { |
1089 | createPayment(response); | 1087 | createPayment(response); |
1090 | } | 1088 | } |
1091 | }; | 1089 | }; |
1092 | var rzp1 = new Razorpay(options); | 1090 | var rzp1 = new Razorpay(options); |
1093 | rzp1.open(); | 1091 | rzp1.open(); |
1094 | $scope.paymentResponse = {}; | 1092 | $scope.paymentResponse = {}; |
1095 | function createPayment(response) { | 1093 | function createPayment(response) { |
1096 | console.log("response======retepaymen",response); | 1094 | console.log("response======retepaymen",response); |
1097 | $scope.amount = $scope.amount/100; | 1095 | $scope.amount = $scope.amount/100; |
1098 | 1096 | ||
1099 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 1097 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
1100 | $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; | 1098 | $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; |
1101 | $scope.paymentResponse.amount = $scope.amount; | 1099 | $scope.paymentResponse.amount = $scope.amount; |
1102 | $scope.paymentResponse.currency = $scope.searchResult.currency; | 1100 | $scope.paymentResponse.currency = $scope.searchResult.currency; |
1103 | $scope.paymentResponse.status = $scope.searchResult.status; | 1101 | $scope.paymentResponse.status = $scope.searchResult.status; |
1104 | $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; | 1102 | $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; |
1105 | console.log("$scope.paymentResponse", $scope.paymentResponse) | 1103 | console.log("$scope.paymentResponse", $scope.paymentResponse) |
1106 | $http({ | 1104 | $http({ |
1107 | method: 'PUT', | 1105 | method: 'PUT', |
1108 | url: BASE_URL + '/payments/' + $scope.searchResult.id, | 1106 | url: BASE_URL + '/payments/' + $scope.searchResult.id, |
1109 | data: $scope.paymentResponse, | 1107 | data: $scope.paymentResponse, |
1110 | headers: {} | 1108 | headers: {} |
1111 | }).then(function mySuccess(searchResult) { | 1109 | }).then(function mySuccess(searchResult) { |
1112 | console.log("searchResult--->",searchResult) | 1110 | console.log("searchResult--->",searchResult) |
1113 | // if(paymentResult.data.status == "created"){ | 1111 | // if(paymentResult.data.status == "created"){ |
1114 | // Analytics.trackEvent('payments', 'click', 'Thankyou'); | 1112 | // Analytics.trackEvent('payments', 'click', 'Thankyou'); |
1115 | // } | 1113 | // } |
1116 | console.log("finalsearchResult",searchResult) | 1114 | console.log("finalsearchResult",searchResult) |
1117 | $location.path("/confirmation") | 1115 | $location.path("/confirmation") |
1118 | Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); | 1116 | Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); |
1119 | }, function myError(error) { | 1117 | }, function myError(error) { |
1120 | 1118 | ||
1121 | }); | 1119 | }); |
1122 | } | 1120 | } |
1123 | } else { | 1121 | } else { |
1124 | 1122 | ||
1125 | } | 1123 | } |
1126 | 1124 | ||
1127 | }, function myError(error) {}); | 1125 | }, function myError(error) {}); |
1128 | } | 1126 | } |
1129 | }); | 1127 | }); |
1130 | 1128 | ||
1131 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { | 1129 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { |
1132 | $scope.data = {}; | 1130 | $scope.data = {}; |
1133 | $scope.check = false; | 1131 | $scope.check = false; |
1134 | $scope.numberCheck = false; | 1132 | $scope.numberCheck = false; |
1133 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | ||
1134 | $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | ||
1135 | // $scope.Textshow = "yes" | ||
1136 | $scope.max = 100; | ||
1137 | $scope.formPage = false; | ||
1138 | $scope.current = 0; | ||
1139 | $scope.payingAmnt = 0; | ||
1140 | // if ($scope.data.stage == 'select') { | ||
1141 | |||
1142 | // } | ||
1143 | |||
1144 | //$scope.author = 'Swarn Singh'; | ||
1145 | $scope.data = {}; | ||
1146 | // $scope.data.stage = 'Pitch your Business plan'; | ||
1147 | // $scope.data.networkDinner = "true"; | ||
1148 | $scope.discountAmount = 0; | ||
1149 | // $scope.data.quantity = "1"; | ||
1150 | $scope.check = false; | ||
1151 | $scope.numberCheck = false; | ||
1152 | $scope.paymentResult = {}; | ||
1153 | var data = { | ||
1154 | "amount": $scope.payingAmnt, | ||
1155 | "currency": "INR", | ||
1156 | "status": "pending" | ||
1157 | } | ||
1135 | 1158 | ||
1136 | /*open videos in modal*/ | 1159 | /*open videos in modal*/ |
1137 | $scope.openyoutube16 = function(){ | 1160 | $scope.openyoutube16 = function(){ |
1138 | $('#videoModel').modal('show'); | 1161 | $('#videoModel').modal('show'); |
1139 | } | 1162 | } |
1140 | 1163 | ||
1141 | $scope.openyoutube17 = function(){ | 1164 | $scope.openyoutube17 = function(){ |
1142 | $('#videoModels').modal('show'); | 1165 | $('#videoModels').modal('show'); |
1143 | } | 1166 | } |
1144 | 1167 | ||
1145 | $scope.closeModal = function(){ | 1168 | $scope.closeModal = function(){ |
1146 | var url = $('#youtubePlayer').attr('src'); | 1169 | var url = $('#youtubePlayer').attr('src'); |
1147 | $('#youtubePlayer').attr('src', ''); | 1170 | $('#youtubePlayer').attr('src', ''); |
1148 | $('#youtubePlayer').attr('src', url); | 1171 | $('#youtubePlayer').attr('src', url); |
1149 | } | 1172 | } |
1150 | /*open videos ends here*/ | 1173 | /*open videos ends here*/ |
1151 | 1174 | ||
1152 | $scope.removeError = function() { | 1175 | $scope.removeError = function() { |
1153 | console.log("doooo") | 1176 | console.log("doooo") |
1154 | $('#invalidEmail').css('display', 'none'); | 1177 | $('#invalidEmail').css('display', 'none'); |
1155 | $('#alreadyExist').css('display', 'none'); | 1178 | $('#alreadyExist').css('display', 'none'); |
1156 | }; | 1179 | }; |
1157 | 1180 | ||
1158 | // $scope.emailcheck = function(val) { | 1181 | // $scope.emailcheck = function(val) { |
1159 | // consol.log("kdsbd") | 1182 | // consol.log("kdsbd") |
1160 | // $scope.space = /\s/g.test(val); | 1183 | // $scope.space = /\s/g.test(val); |
1161 | // console.log("space",$scope.space) | 1184 | // console.log("space",$scope.space) |
1162 | // if (val == undefined) { | 1185 | // if (val == undefined) { |
1163 | // $('#invalidEmail').css('display', 'block'); | 1186 | // $('#invalidEmail').css('display', 'block'); |
1164 | // } else { | 1187 | // } else { |
1165 | // $http({ | 1188 | // $http({ |
1166 | // method: 'GET', | 1189 | // method: 'GET', |
1167 | // url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', | 1190 | // url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', |
1168 | // headers: {} | 1191 | // headers: {} |
1169 | // }).then(function mySuccess(searchResult) { | 1192 | // }).then(function mySuccess(searchResult) { |
1170 | // console.log("searchResult1===>", searchResult) | 1193 | // console.log("searchResult1===>", searchResult) |
1171 | // if (searchResult.data.length == 0) { | 1194 | // if (searchResult.data.length == 0) { |
1172 | // $scope.check = false; | 1195 | // $scope.check = false; |
1173 | // } else { | 1196 | // } else { |
1174 | // $scope.check = true; | 1197 | // $scope.check = true; |
1175 | // $('#alreadyExist').css('display', 'block'); | 1198 | // $('#alreadyExist').css('display', 'block'); |
1176 | // } | 1199 | // } |
1177 | // }, function myError(error) {}); | 1200 | // }, function myError(error) {}); |
1178 | // } | 1201 | // } |
1179 | // }; | 1202 | // }; |
1180 | 1203 | ||
1181 | // $scope.removeNoError = function() { | 1204 | // $scope.removeNoError = function() { |
1182 | // $('#invalidNumber').css('display', 'none'); | 1205 | // $('#invalidNumber').css('display', 'none'); |
1183 | // $('#noExist').css('display', 'none'); | 1206 | // $('#noExist').css('display', 'none'); |
1184 | // }; | 1207 | // }; |
1185 | 1208 | ||
1186 | // $scope.numbercheck = function(number) { | 1209 | // $scope.numbercheck = function(number) { |
1187 | // // if (val == undefined) { | 1210 | // // if (val == undefined) { |
1188 | // // $('#invalidNumber').css('display', 'block'); | 1211 | // // $('#invalidNumber').css('display', 'block'); |
1189 | // // } else { | 1212 | // // } else { |
1190 | // $http({ | 1213 | // $http({ |
1191 | // method: 'GET', | 1214 | // method: 'GET', |
1192 | // url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', | 1215 | // url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', |
1193 | // data: $scope.data, | 1216 | // data: $scope.data, |
1194 | // headers: {} | 1217 | // headers: {} |
1195 | // }).then(function mySuccess(searchResult) { | 1218 | // }).then(function mySuccess(searchResult) { |
1196 | // console.log("searchResult===>", searchResult) | 1219 | // console.log("searchResult===>", searchResult) |
1197 | // if (searchResult.data.length == 0) { | 1220 | // if (searchResult.data.length == 0) { |
1198 | // $scope.numberCheck = false; | 1221 | // $scope.numberCheck = false; |
1199 | // } else { | 1222 | // } else { |
1200 | // $scope.numberCheck = true; | 1223 | // $scope.numberCheck = true; |
1201 | // $('#noExist').css('display', 'block'); | 1224 | // $('#noExist').css('display', 'block'); |
1202 | // } | 1225 | // } |
1203 | // }, function myError(error) {}); | 1226 | // }, function myError(error) {}); |
1204 | // //} | 1227 | // //} |
1205 | 1228 | ||
1206 | // }; | 1229 | // }; |
1207 | 1230 | ||
1208 | $scope.submit = function() { | 1231 | $scope.submit = function() { |
1209 | console.log($scope.data.name) | 1232 | $scope.payingAmnt = 50000; |
1210 | var randomNumber = ""+Math.random(); | 1233 | if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { |
1211 | var nameSpliced = $scope.data.name.slice(0,3); | 1234 | var x = document.getElementById("snackbar") |
1212 | var numberSpliced = randomNumber.slice(2,5); | 1235 | x.className = "show"; |
1213 | $scope.data.referalToken = nameSpliced+numberSpliced; | 1236 | setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); |
1214 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); | 1237 | }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { |
1215 | 1238 | ||
1216 | $http({ | 1239 | |
1217 | method: 'POST', | 1240 | // if($scope.data.identity == "a"){ |
1218 | url: BASE_URL + '/ambassadors', | 1241 | |
1219 | data: $scope.data, | 1242 | |
1220 | headers: {} | 1243 | // var image = BASE_URL+'/container1s/proof/download/' |
1221 | }).then(function mySuccess(result) { | 1244 | // var image = document.getElementById('picture').files[0]; |
1222 | console.log("result", result) | 1245 | // var imagePath = image.name; |
1223 | $scope.detail = result; | 1246 | // $scope.NewIamge = image + imagePath; |
1224 | $('#myModal').modal('show'); | 1247 | // $scope.data.pic = $scope.NewIamge; |
1225 | $scope.data.name = ''; | 1248 | // var fd = new FormData() |
1249 | // fd.append('file',image); | ||
1250 | // $http({ | ||
1251 | // method:'POST', | ||
1252 | // url: BASE_URL+'/container1s/proof/upload', | ||
1253 | // data:fd, | ||
1254 | // transformRequest:angular.identity, | ||
1255 | // headers:{'Content-Type':undefined} | ||
1256 | // }).then(function mySuccess(sucessResponse) { | ||
1257 | |||
1258 | |||
1259 | // }, function myError(error) { | ||
1260 | // }); | ||
1261 | |||
1262 | // } | ||
1263 | |||
1264 | $scope.infoForm = true; | ||
1265 | console.log("sdasdasdsa"); | ||
1266 | // $scope.data.stage = $scope.data.stage; | ||
1267 | $scope.detail = {}; | ||
1268 | $scope.data.phone = "+91"+$scope.data.number; | ||
1269 | $http({ | ||
1270 | method: 'POST', | ||
1271 | url: BASE_URL+'/applicants', | ||
1272 | data: $scope.data, | ||
1273 | headers: {} | ||
1274 | }).then(function mySuccess(result) { | ||
1275 | console.log("=====result=====",result) | ||
1276 | $scope.data.name = ''; | ||
1226 | $scope.data.email = ''; | 1277 | $scope.data.email = ''; |
1227 | $scope.data.mobile = ''; | 1278 | $scope.data.number = ''; |
1228 | // $scope.data.discount = ''; | 1279 | $scope.data.city = ''; |
1280 | $scope.data.founder = ''; | ||
1281 | $scope.data.business = ''; | ||
1282 | $scope.data.cityRegister = ''; | ||
1283 | $scope.data.problem = ''; | ||
1284 | $scope.data.companyName = ''; | ||
1285 | $scope.data.website = ''; | ||
1286 | $scope.data.stage = ''; | ||
1287 | $scope.data.intro = ''; | ||
1288 | $scope.data.customer = ''; | ||
1289 | $scope.detail = result; | ||
1290 | data.applicantId = result.data.id; | ||
1291 | $scope.userId = result.data.id; | ||
1292 | console.log("=====data=====",data) | ||
1293 | data.amount = $scope.payingAmnt /100; | ||
1294 | if($scope.detail != null){ | ||
1295 | $http({ | ||
1296 | method: 'POST', | ||
1297 | url: BASE_URL+'/payments', | ||
1298 | data: data, | ||
1299 | headers: {} | ||
1300 | }).then(function mySuccess(paymentResult) { | ||
1301 | $scope.paymentResult = paymentResult; | ||
1302 | }, function myError(error) { | ||
1303 | }); | ||
1304 | } | ||
1305 | var i = 0; | ||
1306 | var options = { | ||
1307 | //"key": "rzp_test_YwHsVFiDIQ2WUQ", | ||
1308 | "key": "rzp_live_mkmCb4FkstuWaS", | ||
1309 | "amount": $scope.payingAmnt, | ||
1310 | |||
1311 | "name": "Startup Jalsa", | ||
1312 | "description":"amount", | ||
1313 | "currency": "INR", | ||
1314 | "status": "done", | ||
1315 | |||
1316 | "prefill": { | ||
1317 | "email": $scope.detail.email, | ||
1318 | "contact": $scope.detail.phone | ||
1319 | }, | ||
1320 | |||
1321 | "theme": { | ||
1322 | "color": "#2196f3 ", | ||
1323 | "image_padding":"NO" | ||
1324 | }, | ||
1325 | "modal": { | ||
1326 | "ondismiss": function(){ | ||
1327 | } | ||
1328 | }, | ||
1329 | "handler": function (response){ | ||
1330 | createPayment(response); | ||
1331 | } | ||
1332 | }; | ||
1333 | var rzp1 = new Razorpay(options); | ||
1334 | rzp1.open(); | ||
1335 | $scope.paymentResponse = {}; | ||
1336 | function createPayment(response){ | ||
1337 | console.log("response12333333",response) | ||
1338 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | ||
1339 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | ||
1340 | $scope.paymentResponse.amount = data.amount; | ||
1341 | $scope.paymentResponse.currency = "INR"; | ||
1342 | $scope.paymentResponse.status = $scope.paymentResult.data.status; | ||
1343 | $http({ | ||
1344 | method: 'PUT', | ||
1345 | url: BASE_URL+'/payments/'+$scope.paymentResult.data.id, | ||
1346 | data: $scope.paymentResponse, | ||
1347 | headers: {} | ||
1348 | }).then(function mySuccess(searchResult) { | ||
1349 | console.log("searchResult",searchResult) | ||
1350 | }, function myError(error) { | ||
1351 | }); | ||
1352 | } | ||
1353 | |||
1354 | }, function myError(error) { | ||
1355 | }); | ||
1356 | } | ||
1357 | // console.log($scope.data.name) | ||
1358 | // var randomNumber = ""+Math.random(); | ||
1359 | // var nameSpliced = $scope.data.name.slice(0,3); | ||
1360 | // var numberSpliced = randomNumber.slice(2,5); | ||
1361 | // $scope.data.referalToken = nameSpliced+numberSpliced; | ||
1362 | // $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); | ||
1363 | |||
1364 | // $http({ | ||
1365 | // method: 'POST', | ||
1366 | // url: BASE_URL + '/ambassadors', | ||
1367 | // data: $scope.data, | ||
1368 | // headers: {} | ||
1369 | // }).then(function mySuccess(result) { | ||
1370 | // console.log("result", result) | ||
1371 | // $scope.detail = result; | ||
1372 | // $('#myModal').modal('show'); | ||
1373 | // $scope.data.name = ''; | ||
1374 | // $scope.data.email = ''; | ||
1375 | // $scope.data.mobile = ''; | ||
1376 | // // $scope.data.discount = ''; | ||
1229 | 1377 | ||
1230 | }, function myError(error) { | 1378 | // }, function myError(error) { |
1231 | console.log(error) | 1379 | // console.log(error) |
1232 | console.log(error.data.error.message) | 1380 | // console.log(error.data.error.message) |
1233 | }); | 1381 | // }); |
1234 | console.log($scope.data) | 1382 | // console.log($scope.data) |
1235 | } | 1383 | } |
1236 | }); | 1384 | }); |
1237 | 1385 |