Commit 8e38c5b712c15267a1aae7b6b0c0a0043902014b
1 parent
a987358e89
Exists in
master
and in
1 other branch
integrate timer
Showing
4 changed files
with
59 additions
and
24 deletions
Show diff stats
pages/Home.html
1 | <div class="header" > | 1 | <div class="header" > |
2 | <div> | 2 | <div> |
3 | <img src="images/LOGO.png" class="logojalsa"><span class="jalsaheadr" style="">2018</span> | 3 | <img src="images/LOGO.png" class="logojalsa"><span class="jalsaheadr" style="">2018</span> |
4 | <!-- <h1 class="startup-jalsa">2018</h1> --> | 4 | <!-- <h1 class="startup-jalsa">2018</h1> --> |
5 | <h4 class="PitchYourPower">#PitchYourPower</h4> | 5 | <h4 class="PitchYourPower">#PitchYourPower</h4> |
6 | </div> | 6 | </div> |
7 | 7 | ||
8 | <div class="clearfix"></div> | 8 | <div class="clearfix"></div> |
9 | </div> | 9 | </div> |
10 | <!-- CLOSE HEADER --> | 10 | <!-- CLOSE HEADER --> |
11 | <form name="homeForm"> | 11 | <form name="homeForm"> |
12 | <div class="col-xs-12 col-md-10 col-md-offset-1 city-meetup card-color " > | 12 | <div class="col-xs-12 col-md-10 col-md-offset-1 city-meetup card-color " > |
13 | <div class="col-xs-12"> | 13 | <div class="col-xs-12"> |
14 | <div class="row"> | 14 | <div class="row"> |
15 | <div class="col-sm-6"> | 15 | <div class="col-sm-6"> |
16 | <div class="happen-city"> | 16 | <div class="happen-city"> |
17 | <div class="happen-meetup"> | 17 | <div class="happen-meetup"> |
18 | <b>What will happen at the city meetup?</b> | 18 | <b>What will happen at the city meetup?</b> |
19 | </div> | 19 | </div> |
20 | <ul> | 20 | <ul> |
21 | <li>Mentoring session by an industry expert followed by a quick Q/A session.</li> | 21 | <li>Mentoring session by an industry expert followed by a quick Q/A session.</li> |
22 | <li>Startups will be given 60 seconds to pitch their venture to the judging panel.</li> | 22 | <li>Startups will be given 60 seconds to pitch their venture to the judging panel.</li> |
23 | <li>One-on-one interaction between the top 5 startups and the jury.</li> | 23 | <li>One-on-one interaction between the top 5 startups and the jury.</li> |
24 | </ul> | 24 | </ul> |
25 | <div class="happen-meetup"> | 25 | <div class="happen-meetup"> |
26 | <b>Who can attend the meetup?</b> | 26 | <b>Who can attend the meetup?</b> |
27 | </div> | 27 | </div> |
28 | <ul> | 28 | <ul> |
29 | <li>Startups of all sectors and stages can attend the city meetup.</li> | 29 | <li>Startups of all sectors and stages can attend the city meetup.</li> |
30 | </ul> | 30 | </ul> |
31 | </div> | 31 | </div> |
32 | </div> | 32 | </div> |
33 | <div class="row"> | 33 | <div class="row"> |
34 | <div class="col-sm-6 happen-attend"> | 34 | <div class="col-sm-6 happen-attend"> |
35 | <div class="width-auto"> | 35 | <div class="width-auto"> |
36 | <div class="happen-meetup" style="margin-top: -5px;"> | 36 | <div class="happen-meetup" style="margin-top: -5px;"> |
37 | <b>Is there any registration fee involved for the meetup?</b> | 37 | <b>Is there any registration fee involved for the meetup?</b> |
38 | </div> | 38 | </div> |
39 | <ul > | 39 | <ul > |
40 | <li>A startup is required to pay a registration fee of Rs.500 to attend the city meetup.</li> | 40 | <li>A startup is required to pay a registration fee of Rs.500 to attend the city meetup.</li> |
41 | </ul> | 41 | </ul> |
42 | </div><br> | 42 | </div><br> |
43 | <div class="width-auto"> | 43 | <div class="width-auto"> |
44 | <div class="happen-meetup" style="margin-top: -18px;"> | 44 | <div class="happen-meetup" style="margin-top: -18px;"> |
45 | <b > Why should a startup participate?</b> | 45 | <b > Why should a startup participate?</b> |
46 | </div> | 46 | </div> |
47 | <ul > | 47 | <ul > |
48 | <li><b>4 Startups</b> will get a guaranteed investment opportunity of <b>Rs.25 Lacs each</b> at 10% equity, subject to due diligence.</li> | 48 | <li><b>4 Startups</b> will get a guaranteed investment opportunity of <b>Rs.25 Lacs each</b> at 10% equity, subject to due diligence.</li> |
49 | <li>Two exciting startups from each city will get a travel grant to fly to Startup Jalsa, Invest Edition.</li> | 49 | <li>Two exciting startups from each city will get a travel grant to fly to Startup Jalsa, Invest Edition.</li> |
50 | </ul> | 50 | </ul> |
51 | </div> | 51 | </div> |
52 | <!-- <div class="width-auto"> | 52 | <!-- <div class="width-auto"> |
53 | <div class="happen-meetup" style="margin-top: -18px;"> | 53 | <div class="happen-meetup" style="margin-top: -18px;"> |
54 | <b class="phone-meetup">Who can attend the meetup?</b> | 54 | <b class="phone-meetup">Who can attend the meetup?</b> |
55 | </div> | 55 | </div> |
56 | <ul class="phone-meetup"> | 56 | <ul class="phone-meetup"> |
57 | <li>A MVP (Minimum Viable Product) is all you need to participate. If you have revenue, even better.</li> | 57 | <li>A MVP (Minimum Viable Product) is all you need to participate. If you have revenue, even better.</li> |
58 | </ul> | 58 | </ul> |
59 | </div> | 59 | </div> |
60 | </div> --> | 60 | </div> --> |
61 | </div> | 61 | </div> |
62 | </div><br> | 62 | </div><br> |
63 | <div class="apply-btn"> | 63 | <div class="apply-btn"> |
64 | <!-- <input type="button" class="btn submit-button " value="Apply" ng-click="apply()"> --> | 64 | <!-- <input type="button" class="btn submit-button " value="Apply" ng-click="apply()"> --> |
65 | <button class="btn submit-button apply-act" value="Apply" ng-click="apply()" >Proceed</button> | 65 | <button class="btn submit-button apply-act" value="Apply" ng-click="apply()" >Proceed</button> |
66 | </div> | 66 | </div> |
67 | </div> | 67 | </div> |
68 | </div> | 68 | </div> |
69 | </form> | 69 | </form> |
70 | <footer> | 70 | <footer> |
71 | <img id="footer" class="img-responsive banner"> | 71 | <img id="footer" class="img-responsive banner"> |
72 | <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank"></a> </center> | 72 | <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank"></a> </center> |
73 | </footer> | 73 | </footer> |
74 | <span ng-show="span == true"> | ||
75 | <span id="chennai"></span> | ||
76 | <span id="mumbai"></span> | ||
77 | <span id="hyderabad"></span> | ||
78 | <span id="kolkata"></span> | ||
79 | <span id="delhi"></span> | ||
80 | <span id="ahmedabad"></span> | ||
81 | <span id="bengaluru"></span> | ||
82 | <span id="jaipur"></span>kanpur | ||
83 | <span id="kanpur"></span> | ||
84 | <span id="dharamsala"></span> | ||
85 | </span> | ||
74 | 86 | ||
75 | 87 |
pages/ambassador.html
1 | <div class="header"> | 1 | <div class="header"> |
2 | <div> | 2 | <div> |
3 | <h1 class="startup-jalsa">STARTUP JALSA 2018</h1> | 3 | <h1 class="startup-jalsa">STARTUP JALSA 2018</h1> |
4 | </div> | 4 | </div> |
5 | <div class="clearfix"></div> | 5 | <div class="clearfix"></div> |
6 | </div> | 6 | </div> |
7 | <!-- CLOSE HEADER --> | 7 | <!-- CLOSE HEADER --> |
8 | <form name="applicantForm" id="signupForm"> | 8 | <form name="applicantForm" id="signupForm"> |
9 | <div class="col-xs-12 col-md-4 col-md-offset-4"> | 9 | <div class="col-xs-12 col-md-4 col-md-offset-4"> |
10 | <div class="form-all"> | 10 | <div class="form-all"> |
11 | <table style="width: 100%;"> | 11 | <table style="width: 100%;"> |
12 | <tr> | 12 | <tr> |
13 | <td> | 13 | <td> |
14 | <div class="step-one-form" > | 14 | <div class="step-one-form" > |
15 | <!-- form step 1 --> | 15 | <!-- form step 1 --> |
16 | <div class="col-xs-12 input-wrapper" > | 16 | <div class="col-xs-12 input-wrapper" > |
17 | <div id="snackbar">Error ! Please fill in all fields.</div> | 17 | <div id="snackbar">Error ! Please fill in all fields.</div> |
18 | <div class="icon-circle-c"> | 18 | <div class="icon-circle-c"> |
19 | <i class="material-icons" style="line-height: 31px;">person</i> | 19 | <i class="material-icons" style="line-height: 31px;">person</i> |
20 | </div> | 20 | </div> |
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)"> | 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)"> |
22 | </div> | 22 | </div> |
23 | <div class="clearfix"></div> | 23 | <div class="clearfix"></div> |
24 | <div class="col-xs-12 input-wrapper" > | 24 | <div class="col-xs-12 input-wrapper" > |
25 | <div id="snackbar">Error ! Please fill in all fields.</div> | 25 | <div id="snackbar">Error ! Please fill in all fields.</div> |
26 | <div class="icon-circle-d"> | 26 | <div class="icon-circle-d"> |
27 | <i class="material-icons" style="line-height: 30px;">email</i> | 27 | <i class="material-icons" style="line-height: 30px;">email</i> |
28 | </div> | 28 | </div> |
29 | <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)"> | 29 | <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)"> |
30 | <!-- <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> | 30 | <!-- <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> |
31 | <label ng-if="check">Email already exist.</label> --> | 31 | <label ng-if="check">Email already exist.</label> --> |
32 | </div> | 32 | </div> |
33 | <div class="clearfix"></div> | 33 | <div class="clearfix"></div> |
34 | <div class="col-xs-12 input-wrapper" > | 34 | <div class="col-xs-12 input-wrapper" > |
35 | <div class="icon-circle-e"> | 35 | <div class="icon-circle-e"> |
36 | <i class="material-icons" style="line-height: 30px;">phone</i> | 36 | <i class="material-icons" style="line-height: 30px;">phone</i> |
37 | </div> | 37 | </div> |
38 | <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)"> | 38 | <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)"> |
39 | <!-- <label class="error-message f-family" id="invalidNumber">Please enter only numeric value in mobile number field.</label> --> | 39 | <!-- <label class="error-message f-family" id="invalidNumber">Please enter only numeric value in mobile number field.</label> --> |
40 | <!-- <label ng-if="numberCheck">Contact Number already exist.</label> --> | 40 | <!-- <label ng-if="numberCheck">Contact Number already exist.</label> --> |
41 | </div> | 41 | </div> |
42 | <div class="clearfix"></div> | 42 | <div class="clearfix"></div> |
43 | <div class="col-xs-12 input-wrapper" > | 43 | <div class="col-xs-12 input-wrapper" > |
44 | <div class="icon-circle-o"> | 44 | <div class="icon-circle-o"> |
45 | <i class="material-icons" style="line-height: 30px;">confirmation_number</i> | 45 | <i class="material-icons" style="line-height: 30px;">confirmation_number</i> |
46 | </div> | 46 | </div> |
47 | <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)"> | 47 | <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)"> |
48 | </div> | 48 | </div> |
49 | </div> | 49 | </div> |
50 | <!-- close step-one-form --> | 50 | <!-- close step-one-form --> |
51 | </td> | 51 | </td> |
52 | </tr> | 52 | </tr> |
53 | </table> | 53 | </table> |
54 | </div> | 54 | </div> |
55 | <!-- CLOSE form-all --> | 55 | <!-- CLOSE form-all --> |
56 | <!-- </div> --> | 56 | <!-- </div> --> |
57 | <div class="clearfix"></div> | 57 | <div class="clearfix"></div> |
58 | <div style="margin-bottom: 12%;" class="text-center"> | 58 | <div style="margin-bottom: 12%;" class="text-center"> |
59 | <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="Submit" ng-click="submit()"> | 59 | <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="Submit" ng-click="submit()"> |
60 | </div> | 60 | </div> |
61 | </div> | 61 | </div> |
62 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> | 62 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> |
63 | <footer> | 63 | <footer> |
64 | <img id="footer" class="img-responsive banner"> | 64 | <img id="footer" class="img-responsive banner"> |
65 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> | 65 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> |
66 | </center> | 66 | </center> |
67 | </footer> | 67 | </footer> |
68 | </form> | 68 | </form> |
69 | <!-- </div> CLOSE CHECK VIEW --> | 69 | <!-- </div> CLOSE CHECK VIEW --> |
70 | <div ng-if="verifyView"> | 70 | <div ng-if="verifyView"> |
71 | <div class="text-center"> | 71 | <div class="text-center"> |
72 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> | 72 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> |
73 | </div> | 73 | </div> |
74 | </div> | 74 | </div> |
75 | </div> <!-- CLOSE NEW-CONTROLLER --> | 75 | </div> <!-- CLOSE NEW-CONTROLLER --> |
76 | <div class="modal fade" id="myModal" role="dialog"> | 76 | <div class="modal fade" id="myModal" role="dialog"> |
77 | <div class="modal-dialog" style="left: auto;"> | 77 | <div class="modal-dialog" style="left: auto;"> |
78 | <div class="modal-content"> | 78 | <div class="modal-content"> |
79 | <div class="modal-body" style="text-align:center;margin-top:5%"> | 79 | <div class="modal-body" style="text-align:center;margin-top:5%"> |
80 | <p style="font-size:22px">Your Refral Code for {{data.discount}}% discount is</p><p style="font-size:24px"><b>{{data.referalToken}}</b></p> | 80 | <p style="font-size:22px">Your Refral Code for {{data.discount}}% discount is</p><p style="font-size:24px"><b>{{data.referalToken}}</b></p> |
81 | </div> | 81 | </div> |
82 | <div style="text-align:center;margin-bottom:5%"> | 82 | <div style="text-align:center;margin-bottom:5%"> |
83 | <button style="color: #fff;background-color: #4CAF50;" type="button" class="btn btn-default1" data-dismiss="modal">Close</button> | 83 | <button style="color: #fff;background-color: #4CAF50;" type="button" class="btn btn-default1" data-dismiss="modal">Close</button> |
84 | </div> | 84 | </div> |
85 | </div> | 85 | </div> |
86 | </div> | 86 | </div> |
87 | </div> | ||
87 | </div> |
pages/caricatures.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/chennai.png" style="width:100%"> | 8 | <img class="card-img-top" src="images/chennai.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">Chennai</label><br> | 11 | <label class="card-title">Chennai</label><br> |
12 | <label class="card-sub-title">Thursday</label> | 12 | <label class="card-sub-title">Thursday</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;">IIT-Madras</span> | 16 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Madras</span><br> |
17 | <span id="chennai" style="color:red;"></span>* | ||
17 | </label> | 18 | </label> |
18 | </div> | 19 | </div> |
19 | <div class="clearfix"></div> | 20 | <div class="clearfix"></div> |
20 | <label class="card-sub-title">Sept 20, 2018</label> | 21 | <label class="card-sub-title">Sept 20, 2018</label> |
21 | </div> | 22 | </div> |
22 | </label> | 23 | </label> |
23 | <div class="clearfix"></div> | 24 | <div class="clearfix"></div> |
24 | <div class="card-text2"> | 25 | <div class="card-text2"> |
25 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/chennai/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> | 26 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/chennai/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> |
26 | <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('Chennai')" >Select</button> | 27 | <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('Chennai')" >Select</button> |
27 | </div> | 28 | </div> |
28 | </div> | 29 | </div> |
29 | </div> | 30 | </div> |
30 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 31 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
31 | <div class="card" style="width:100%;border-radius: 6px;"> | 32 | <div class="card" style="width:100%;border-radius: 6px;"> |
32 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 33 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
33 | <img class="card-img-top" src="images/hydrabad.png" style="width:100%"> | 34 | <img class="card-img-top" src="images/hydrabad.png" style="width:100%"> |
34 | <div class="card-block"> | 35 | <div class="card-block"> |
35 | <div class="pull-left"> | 36 | <div class="pull-left"> |
36 | <label class="card-title">Hyderabad</label><br> | 37 | <label class="card-title">Hyderabad</label><br> |
37 | <label class="card-sub-title">Saturday</label> | 38 | <label class="card-sub-title">Saturday</label> |
38 | </div> | 39 | </div> |
39 | <div class="pull-right"> | 40 | <div class="pull-right"> |
40 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 41 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
41 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Hyderabad</span> | 42 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Hyderabad</span><br> |
43 | <span id="hyderabad" style="color:red;padding-left: 23%;"></span>* | ||
42 | </label> | 44 | </label> |
43 | </div> | 45 | </div> |
44 | <div class="clearfix"></div> | 46 | <div class="clearfix"></div> |
45 | <label class="card-sub-title">Sept 22, 2018</label> | 47 | <label class="card-sub-title">Sept 22, 2018</label> |
46 | </div> | 48 | </div> |
47 | </label> | 49 | </label> |
48 | <div class="clearfix"></div> | 50 | <div class="clearfix"></div> |
49 | <div class="card-text2"> | 51 | <div class="card-text2"> |
50 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/hyderabad/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> | 52 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/hyderabad/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> |
51 | <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('Hyderabad')" >Select</button> | 53 | <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('Hyderabad')" >Select</button> |
52 | </div> | 54 | </div> |
53 | </div> | 55 | </div> |
54 | </div> | 56 | </div> |
55 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 57 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
56 | <div class="card" style="width:100%;border-radius: 6px;"> | 58 | <div class="card" style="width:100%;border-radius: 6px;"> |
57 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 59 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
58 | <img class="card-img-top" src="images/mumbai.png" style="width:100%"> | 60 | <img class="card-img-top" src="images/mumbai.png" style="width:100%"> |
59 | <div class="card-block"> | 61 | <div class="card-block"> |
60 | <div class="pull-left"> | 62 | <div class="pull-left"> |
61 | <label class="card-title">Mumbai</label><br> | 63 | <label class="card-title">Mumbai</label><br> |
62 | <label class="card-sub-title">Wednesday</label> | 64 | <label class="card-sub-title">Wednesday</label> |
63 | </div> | 65 | </div> |
64 | <div class="pull-right"> | 66 | <div class="pull-right"> |
65 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 67 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
66 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Bombay</span> | 68 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Bombay</span><br> |
69 | <span id="mumbai" style="color:red;"></span>* | ||
67 | </label> | 70 | </label> |
68 | </div> | 71 | </div> |
69 | <div class="clearfix"></div> | 72 | <div class="clearfix"></div> |
70 | <label class="card-sub-title">Sept 26, 2018</label> | 73 | <label class="card-sub-title">Sept 26, 2018</label> |
71 | </div> | 74 | </div> |
72 | </label> | 75 | </label> |
73 | <div class="clearfix"></div> | 76 | <div class="clearfix"></div> |
74 | <div class="card-text2"> | 77 | <div class="card-text2"> |
75 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/mumbai/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> | 78 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/mumbai/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> |
76 | <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('Mumbai')">Select</button> | 79 | <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('Mumbai')">Select</button> |
77 | </div> | 80 | </div> |
78 | </div> | 81 | </div> |
79 | </div> | 82 | </div> |
80 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 83 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
81 | <div class="card" style="width:100%;border-radius: 6px;"> | 84 | <div class="card" style="width:100%;border-radius: 6px;"> |
82 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 85 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
83 | <img class="card-img-top" src="images/kolkata.png" style="width:100%"> | 86 | <img class="card-img-top" src="images/kolkata.png" style="width:100%"> |
84 | <div class="card-block"> | 87 | <div class="card-block"> |
85 | <div class="pull-left"> | 88 | <div class="pull-left"> |
86 | <label class="card-title">Kolkata</label><br> | 89 | <label class="card-title">Kolkata</label><br> |
87 | <label class="card-sub-title">Wednesday</label> | 90 | <label class="card-sub-title">Wednesday</label> |
88 | </div> | 91 | </div> |
89 | <div class="pull-right"> | 92 | <div class="pull-right"> |
90 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 93 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
91 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Calcutta</span> | 94 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Calcutta</span><br> |
95 | <span id="kolkata" style="color:red;"></span>* | ||
92 | </label> | 96 | </label> |
93 | </div> | 97 | </div> |
94 | <div class="clearfix"></div> | 98 | <div class="clearfix"></div> |
95 | <label class="card-sub-title">Oct 3, 2018</label> | 99 | <label class="card-sub-title">Oct 3, 2018</label> |
96 | </div> | 100 | </div> |
97 | </label> | 101 | </label> |
98 | <div class="clearfix"></div> | 102 | <div class="clearfix"></div> |
99 | <div class="card-text2"> | 103 | <div class="card-text2"> |
100 | <!-- <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('')" >Highlight</button> --> | 104 | <!-- <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('')" >Highlight</button> --> |
101 | <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('Kolkata')" >Select</button> | 105 | <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('Kolkata')" >Select</button> |
102 | </div> | 106 | </div> |
103 | </div> | 107 | </div> |
104 | </div> | 108 | </div> |
105 | </div> | 109 | </div> |
106 | </div> | 110 | </div> |
107 | <div class="clearfix"></div> | 111 | <div class="clearfix"></div> |
108 | <div class="stages card-align"> | 112 | <div class="stages card-align"> |
109 | <div class="row"> | 113 | <div class="row"> |
110 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 114 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
111 | <div class="card" style="width:100%;border-radius: 6px;"> | 115 | <div class="card" style="width:100%;border-radius: 6px;"> |
112 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 116 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
113 | <img class="card-img-top" src="images/jaipur.png" style="width:100%"> | 117 | <img class="card-img-top" src="images/jaipur.png" style="width:100%"> |
114 | <div class="card-block"> | 118 | <div class="card-block"> |
115 | <div class="pull-left"> | 119 | <div class="pull-left"> |
116 | <label class="card-title">Jaipur</label><br> | 120 | <label class="card-title">Jaipur</label><br> |
117 | <label class="card-sub-title">Friday</label> | 121 | <label class="card-sub-title">Friday</label> |
118 | </div> | 122 | </div> |
119 | <div class="pull-right"> | 123 | <div class="pull-right"> |
120 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 124 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
121 | <span style="position: relative;top: -3px;font-size: 17px;">Startup Oasis</span> | 125 | <span style="position: relative;top: -3px;font-size: 17px;">Startup Oasis</span><br> |
126 | <span id="jaipur" style="color:red;padding-left: 17%;"></span>* | ||
122 | </label> | 127 | </label> |
123 | </div> | 128 | </div> |
124 | <div class="clearfix"></div> | 129 | <div class="clearfix"></div> |
125 | <label class="card-sub-title">Oct 5, 2018</label> | 130 | <label class="card-sub-title">Oct 5, 2018</label> |
126 | </div> | 131 | </div> |
127 | </label> | 132 | </label> |
128 | <div class="clearfix"></div> | 133 | <div class="clearfix"></div> |
129 | <div class="card-text2"> | 134 | <div class="card-text2"> |
130 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/jaipur/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> | 135 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/jaipur/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> |
131 | <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('Jaipur')" >Select</button> | 136 | <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('Jaipur')" >Select</button> |
132 | </div> | 137 | </div> |
133 | </div> | 138 | </div> |
134 | </div> | 139 | </div> |
135 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 140 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
136 | <div class="card" style="width:100%;border-radius: 6px;"> | 141 | <div class="card" style="width:100%;border-radius: 6px;"> |
137 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 142 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
138 | <img class="card-img-top" src="images/delhi.png" style="width:100%"> | 143 | <img class="card-img-top" src="images/delhi.png" style="width:100%"> |
139 | <div class="card-block"> | 144 | <div class="card-block"> |
140 | <div class="pull-left"> | 145 | <div class="pull-left"> |
141 | <label class="card-title">Delhi</label><br> | 146 | <label class="card-title">Delhi</label><br> |
142 | <label class="card-sub-title">Monday</label> | 147 | <label class="card-sub-title">Monday</label> |
143 | </div> | 148 | </div> |
144 | <div class="pull-right"> | 149 | <div class="pull-right"> |
145 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 150 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
146 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Delhi</span> | 151 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Delhi</span><br> |
152 | <span id="delhi" style="color:red;"></span>* | ||
147 | </label> | 153 | </label> |
148 | </div> | 154 | </div> |
149 | <div class="clearfix"></div> | 155 | <div class="clearfix"></div> |
150 | <label class="card-sub-title">Oct 8, 2018</label> | 156 | <label class="card-sub-title">Oct 8, 2018</label> |
151 | </div> | 157 | </div> |
152 | </label> | 158 | </label> |
153 | <div class="clearfix"></div> | 159 | <div class="clearfix"></div> |
154 | <div class="card-text2"> | 160 | <div class="card-text2"> |
155 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/delhi/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> | 161 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/delhi/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> |
156 | <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('Delhi')" >Select</button> | 162 | <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('Delhi')" >Select</button> |
157 | </div> | 163 | </div> |
158 | </div> | 164 | </div> |
159 | </div> | 165 | </div> |
160 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 166 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
161 | <div class="card" style="width:100%;border-radius: 6px;"> | 167 | <div class="card" style="width:100%;border-radius: 6px;"> |
162 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 168 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
163 | <img class="card-img-top" src="images/kanpur.png" style="width:100%"> | 169 | <img class="card-img-top" src="images/kanpur.png" style="width:100%"> |
164 | <div class="card-block"> | 170 | <div class="card-block"> |
165 | <div class="pull-left"> | 171 | <div class="pull-left"> |
166 | <label class="card-title">Kanpur</label><br> | 172 | <label class="card-title">Kanpur</label><br> |
167 | <label class="card-sub-title">Wednesday</label> | 173 | <label class="card-sub-title">Wednesday</label> |
168 | </div> | 174 | </div> |
169 | <div class="pull-right"> | 175 | <div class="pull-right"> |
170 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 176 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
171 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Kanpur</span> | 177 | <span style="position: relative;top: -3px;font-size: 17px;">IIT-Kanpur</span><br> |
178 | <span id="kanpur" style="color:red;"></span>* | ||
172 | </label> | 179 | </label> |
173 | </div> | 180 | </div> |
174 | <div class="clearfix"></div> | 181 | <div class="clearfix"></div> |
175 | <label class="card-sub-title">Oct 10, 2018</label> | 182 | <label class="card-sub-title">Oct 10, 2018</label> |
176 | </div> | 183 | </div> |
177 | </label> | 184 | </label> |
178 | <div class="clearfix"></div> | 185 | <div class="clearfix"></div> |
179 | <div class="card-text2"> | 186 | <div class="card-text2"> |
180 | <!-- <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('')" >Highlight</button> --> | 187 | <!-- <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('')" >Highlight</button> --> |
181 | <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('Kanpur')" >Select</button> | 188 | <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('Kanpur')" >Select</button> |
182 | </div> | 189 | </div> |
183 | </div> | 190 | </div> |
184 | </div> | 191 | </div> |
185 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 192 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
186 | <div class="card" style="width:100%;border-radius: 6px;"> | 193 | <div class="card" style="width:100%;border-radius: 6px;"> |
187 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 194 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
188 | <img class="card-img-top" src="images/ahmedabad.png" style="width:100%"> | 195 | <img class="card-img-top" src="images/ahmedabad.png" style="width:100%"> |
189 | <div class="card-block"> | 196 | <div class="card-block"> |
190 | <div class="pull-left"> | 197 | <div class="pull-left"> |
191 | <label class="card-title">Ahmedabad</label><br> | 198 | <label class="card-title">Ahmedabad</label><br> |
192 | <label class="card-sub-title">Friday</label> | 199 | <label class="card-sub-title">Friday</label> |
193 | </div> | 200 | </div> |
194 | <div class="pull-right"> | 201 | <div class="pull-right"> |
195 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 202 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
196 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span> | 203 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span><br> |
204 | <span id="ahmedabad" style="color:red;padding-left: 18%;"></span>* | ||
197 | </label> | 205 | </label> |
198 | </div> | 206 | </div> |
199 | <div class="clearfix"></div> | 207 | <div class="clearfix"></div> |
200 | <label class="card-sub-title">Oct 12, 2018</label> | 208 | <label class="card-sub-title">Oct 12, 2018</label> |
201 | </div> | 209 | </div> |
202 | </label> | 210 | </label> |
203 | <div class="clearfix"></div> | 211 | <div class="clearfix"></div> |
204 | <div class="card-text2"> | 212 | <div class="card-text2"> |
205 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/ahmedabad/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> | 213 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/ahmedabad/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> |
206 | <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('Ahmedabad')" >Select</button> | 214 | <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('Ahmedabad')" >Select</button> |
207 | </div> | 215 | </div> |
208 | </div> | 216 | </div> |
209 | </div> | 217 | </div> |
210 | </div> | 218 | </div> |
211 | </div> | 219 | </div> |
212 | <div class="clearfix"></div> | 220 | <div class="clearfix"></div> |
213 | <div class="stages card-align"> | 221 | <div class="stages card-align"> |
214 | <div class="row"> | 222 | <div class="row"> |
215 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 223 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
216 | <div class="card" style="width:100%;border-radius: 6px;"> | 224 | <div class="card" style="width:100%;border-radius: 6px;"> |
217 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 225 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
218 | <img class="card-img-top" src="images/bangeluru.png" style="width:100%"> | 226 | <img class="card-img-top" src="images/bangeluru.png" style="width:100%"> |
219 | <div class="card-block"> | 227 | <div class="card-block"> |
220 | <div class="pull-left"> | 228 | <div class="pull-left"> |
221 | <label class="card-title">Bengaluru</label><br> | 229 | <label class="card-title">Bengaluru</label><br> |
222 | <label class="card-sub-title">Saturday</label> | 230 | <label class="card-sub-title">Saturday</label> |
223 | </div> | 231 | </div> |
224 | <!-- <div class="pull-right"> | 232 | <div class="pull-right"> |
225 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 233 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
226 | <span style="position: relative;top: -3px;font-size: 17px;">bangalore</span> | 234 | <span style="position: relative;top: -3px;font-size: 17px;">bangalore</span><br> |
235 | <span id="bengaluru" style="color:red;"></span>* | ||
227 | </label> | 236 | </label> |
228 | </div> --> | 237 | </div> |
229 | <div class="clearfix"></div> | 238 | <div class="clearfix"></div> |
230 | <label class="card-sub-title">Oct 13, 2018</label> | 239 | <label class="card-sub-title">Oct 13, 2018</label> |
231 | </div> | 240 | </div> |
232 | </label> | 241 | </label> |
233 | <div class="clearfix"></div> | 242 | <div class="clearfix"></div> |
234 | <div class="card-text2"> | 243 | <div class="card-text2"> |
235 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/bengaluru/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> | 244 | <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/bengaluru/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> |
236 | <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('Bengaluru')" >Select</button> | 245 | <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('Bengaluru')" >Select</button> |
237 | </div> | 246 | </div> |
238 | </div> | 247 | </div> |
239 | </div> | 248 | </div> |
240 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 249 | <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
241 | <div class="card" style="width:100%;border-radius: 6px;"> | 250 | <div class="card" style="width:100%;border-radius: 6px;"> |
242 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 251 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
243 | <img class="card-img-top" src="images/dharamshala_3.png" style="width:100%"> | 252 | <img class="card-img-top" src="images/dharamshala_3.png" style="width:100%"> |
244 | <span style="display:block; text-align:center;">Invest Edition</span> | 253 | <span style="display:block; text-align:center;">Invest Edition</span> |
245 | <div class="card-block"> | 254 | <div class="card-block"> |
246 | <div class="pull-left"> | 255 | <div class="pull-left"> |
247 | <label class="card-title">Dharamsala</label><br> | 256 | <label class="card-title">Dharamsala</label><br> |
248 | <label class="card-sub-title">Friday - Saturday</label> | 257 | <label class="card-sub-title">Friday - Saturday</label> |
249 | </div> | 258 | </div> |
250 | <div class="pull-right"> | 259 | <div class="pull-right"> |
251 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 260 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
252 | <span style="position: relative;top: -3px;font-size: 17px;">The Pavilion</span> | 261 | <span style="position: relative;top: -3px;font-size: 17px;">The Pavilion</span> |
262 | <!-- <span id="dharamsala" style="color:red;"></span>* --> | ||
253 | </label> | 263 | </label> |
254 | </div> | 264 | </div> |
255 | <div class="clearfix"></div> | 265 | <div class="clearfix"></div> |
256 | <label class="card-sub-title">Dec 14-15, 2018</label> | 266 | <label class="card-sub-title">Dec 14-15, 2018</label> |
257 | </div> | 267 | </div> |
258 | <!-- <div class="card-block"> | 268 | <!-- <div class="card-block"> |
259 | <div class="pull-left"> | 269 | <div class="pull-left"> |
260 | <label class="card-title">Ahmedabad</label><br> | 270 | <label class="card-title">Ahmedabad</label><br> |
261 | <label class="card-sub-title">Friday</label> | 271 | <label class="card-sub-title">Friday</label> |
262 | </div> | 272 | </div> |
263 | <div class="pull-right"> | 273 | <div class="pull-right"> |
264 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 274 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
265 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span> | 275 | <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span> |
266 | </label> | 276 | </label> |
267 | </div> | 277 | </div> |
268 | <div class="clearfix"></div> | 278 | <div class="clearfix"></div> |
269 | <label class="card-sub-title">Oct 12, 2018</label> | 279 | <label class="card-sub-title">Oct 12, 2018</label> |
270 | </div> --> | 280 | </div> --> |
271 | </label> | 281 | </label> |
272 | <div class="clearfix"></div> | 282 | <div class="clearfix"></div> |
273 | <div style="display:block; text-align:center;border-top: 1px solid rgba(0, 0, 0, .05) !important;"> | 283 | <div style="display:block; text-align:center;border-top: 1px solid rgba(0, 0, 0, .05) !important;"> |
274 | <label style="padding-top: 3px;"><b style="color: #46b8da;">Invite Only</b></label> | 284 | <label style="padding-top: 3px;"><b style="color: #46b8da;">Invite Only</b></label> |
275 | </div> | 285 | </div> |
276 | </div> | 286 | </div> |
277 | </div> | 287 | </div> |
278 | <!-- <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> | 288 | <!-- <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> |
279 | <div class="card" style="width:100%;border-radius: 6px;"> | 289 | <div class="card" style="width:100%;border-radius: 6px;"> |
280 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> | 290 | <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> |
281 | <img class="card-img-top" src="images/roorkee.png" style="width:100%"> | 291 | <img class="card-img-top" src="images/roorkee.png" style="width:100%"> |
282 | <div class="card-block"> | 292 | <div class="card-block"> |
283 | <div class="pull-left"> | 293 | <div class="pull-left"> |
284 | <h4 class="card-title">Roorkee</h4> | 294 | <h4 class="card-title">Roorkee</h4> |
285 | <label class="card-sub-title">Wednesday</label> | 295 | <label class="card-sub-title">Wednesday</label> |
286 | </div> | 296 | </div> |
287 | <div class="pull-right"> | 297 | <div class="pull-right"> |
288 | <label class="card-sub-title"><i class="material-icons">location_on</i> | 298 | <label class="card-sub-title"><i class="material-icons">location_on</i> |
289 | <span style="position: relative;top: -3px;">IIT-Roorkee</span> | 299 | <span style="position: relative;top: -3px;">IIT-Roorkee</span> |
290 | </label> | 300 | </label> |
291 | </div> | 301 | </div> |
292 | <div class="clearfix"></div> | 302 | <div class="clearfix"></div> |
293 | <label class="card-sub-title">Oct 17, 2018</label> | 303 | <label class="card-sub-title">Oct 17, 2018</label> |
294 | </div> | 304 | </div> |
295 | </label> | 305 | </label> |
296 | <div class="clearfix"></div> | 306 | <div class="clearfix"></div> |
297 | <div class="card-text2"> | 307 | <div class="card-text2"> |
298 | <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> | 308 | <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 | </div> | 309 | </div> |
300 | </div> | 310 | </div> |
301 | </div> --> | 311 | </div> --> |
302 | </div> | 312 | </div> |
303 | </div> | 313 | </div> |
304 | <div class="clearfix"></div> | 314 | <div class="clearfix"></div> |
305 | </div> | 315 | </div> |
316 | <div style="margin-top:3%;">โ* Registeration closesโ</div> | ||
306 | </div> | 317 | </div> |
307 | <div class="clearfix"></div> | 318 | <div class="clearfix"></div> |
308 | <footer style="margin-top: 5%;"> | 319 | <footer style="margin-top: 5%;"> |
309 | <img id="footer" class="img-responsive banner"> | 320 | <img id="footer" class="img-responsive banner"> |
310 | <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> </center> | 321 | <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> </center> |
311 | </footer> | 322 | </footer> |
323 | <span ng-show="span == true"> | ||
324 | <span id="chennai"></span> | ||
325 | <span id="mumbai"></span> | ||
326 | <span id="hyderabad"></span> | ||
327 | <span id="kolkata"></span> | ||
328 | <span id="delhi"></span> | ||
329 | <span id="ahmedabad"></span> | ||
330 | <span id="bengaluru"></span> | ||
331 | <span id="jaipur"></span>kanpur | ||
332 | <span id="kanpur"></span> | ||
333 | <span id="dharamsala"></span> | ||
334 | </span> | ||
312 | 335 | ||
313 | 336 | ||
314 | 337 |
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 caricatures page | 14 | // route for the caricatures page |
15 | .when('/caricatures', { | 15 | .when('/caricatures', { |
16 | templateUrl: 'pages/caricatures.html', | 16 | templateUrl: 'pages/caricatures.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 registration page | 26 | // route for the registration page |
27 | .when('/registration/:city', { | 27 | .when('/registration/:city', { |
28 | templateUrl: 'pages/registration.html', | 28 | templateUrl: 'pages/registration.html', |
29 | controller: 'registrationController' | 29 | controller: 'registrationController' |
30 | }) | 30 | }) |
31 | 31 | ||
32 | // route for the ambassador page | 32 | // route for the ambassador page |
33 | // .when('/startupJalsaPromocode', { | 33 | // .when('/startupJalsaPromocode', { |
34 | // templateUrl: 'pages/ambassador.html', | 34 | // templateUrl: 'pages/ambassador.html', |
35 | // controller: 'ambassadorController' | 35 | // controller: 'ambassadorController' |
36 | // }) | 36 | // }) |
37 | 37 | ||
38 | // route for the confirmation page | 38 | // route for the confirmation page |
39 | .when('/confirmation', { | 39 | .when('/confirmation', { |
40 | templateUrl: 'pages/confirmation.html', | 40 | templateUrl: 'pages/confirmation.html', |
41 | controller: 'registrationController' | 41 | controller: 'registrationController' |
42 | }) | 42 | }) |
43 | 43 | ||
44 | }); | 44 | }); |
45 | 45 | ||
46 | scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { | 46 | scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { |
47 | // Add configuration code as desired | 47 | // Add configuration code as desired |
48 | AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code | 48 | AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code |
49 | 49 | ||
50 | // Track all routes (default is true). | 50 | // Track all routes (default is true). |
51 | AnalyticsProvider.trackPages(true); | 51 | AnalyticsProvider.trackPages(true); |
52 | 52 | ||
53 | // Track all URL query params (default is false). | 53 | // Track all URL query params (default is false). |
54 | AnalyticsProvider.trackUrlParams(true); | 54 | AnalyticsProvider.trackUrlParams(true); |
55 | 55 | ||
56 | }]).run(['Analytics', function(Analytics) { }]); | 56 | }]).run(['Analytics', function(Analytics) { }]); |
57 | 57 | ||
58 | scotchApp.constant("BASE_URL", "http://35.154.24.158:4001/v1") | 58 | scotchApp.constant("BASE_URL", "http://35.154.24.158:4001/v1") |
59 | //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") | 59 | //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") |
60 | 60 | ||
61 | // create the controller and inject Angular's $scope | 61 | // create the controller and inject Angular's $scope |
62 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { | 62 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { |
63 | $scope.data = { | 63 | $scope.data = { |
64 | show: true, | 64 | show: true, |
65 | hide: false | 65 | hide: false |
66 | }; | 66 | }; |
67 | 67 | ||
68 | var chennai = new Date("Sept 20, 2018 12:00:00").getTime(); | 68 | var chennai = new Date("Sept 18, 2018 12:00:00").getTime(); |
69 | // Update the count down every 1 second | 69 | // Update the count down every 1 second |
70 | var x = setInterval(function() { | 70 | var x = setInterval(function() { |
71 | // Get todays date and time | 71 | // Get todays date and time |
72 | var now = new Date().getTime(); | 72 | var now = new Date().getTime(); |
73 | // Find the distance between now an the count down date | 73 | // Find the distance between now an the count down date |
74 | var distance = chennai - now; | 74 | var distance = chennai - now; |
75 | // Time calculations for days, hours, minutes and seconds | 75 | // Time calculations for days, hours, minutes and seconds |
76 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 76 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
77 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 77 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
78 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 78 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
79 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 79 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
80 | $scope.timer = days + "d " + hours + "h " | 80 | $scope.timer = days + "d " + hours + "h " |
81 | + minutes + "m " + seconds + "s " | 81 | + minutes + "m " + seconds + "s " |
82 | // Output the result in an element with id="demo" | 82 | // Output the result in an element with id="demo" |
83 | document.getElementById("chennai").innerHTML = days + "d " + hours + "h " | 83 | document.getElementById("chennai").innerHTML = days + "d " + hours + "h " |
84 | + minutes + "m " + seconds + "s "; | 84 | + minutes + "m " + seconds + "s "; |
85 | // If the count down is over, write some text | 85 | // If the count down is over, write some text |
86 | if (distance < 0) { | 86 | if (distance < 0) { |
87 | clearInterval(x); | 87 | clearInterval(x); |
88 | document.getElementById("chennai").innerHTML = "EXPIRED"; | 88 | document.getElementById("chennai").innerHTML = "EXPIRED"; |
89 | } | 89 | } |
90 | }, 1000); | 90 | }, 1000); |
91 | 91 | ||
92 | var hyderabad = new Date("Sept 22, 2018 12:00:00").getTime(); | 92 | var hyderabad = new Date("Sept 20, 2018 12:00:00").getTime(); |
93 | // Update the count down every 1 second | 93 | // Update the count down every 1 second |
94 | var x = setInterval(function() { | 94 | var x = setInterval(function() { |
95 | // Get todays date and time | 95 | // Get todays date and time |
96 | var now = new Date().getTime(); | 96 | var now = new Date().getTime(); |
97 | // Find the distance between now an the count down date | 97 | // Find the distance between now an the count down date |
98 | var distance = hyderabad - now; | 98 | var distance = hyderabad - now; |
99 | // Time calculations for days, hours, minutes and seconds | 99 | // Time calculations for days, hours, minutes and seconds |
100 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 100 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
101 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 101 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
102 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 102 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
103 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 103 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
104 | $scope.timer = days + "d " + hours + "h " | 104 | $scope.timer = days + "d " + hours + "h " |
105 | + minutes + "m " + seconds + "s " | 105 | + minutes + "m " + seconds + "s " |
106 | // Output the result in an element with id="demo" | 106 | // Output the result in an element with id="demo" |
107 | document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h " | 107 | document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h " |
108 | + minutes + "m " + seconds + "s "; | 108 | + minutes + "m " + seconds + "s "; |
109 | // If the count down is over, write some text | 109 | // If the count down is over, write some text |
110 | if (distance < 0) { | 110 | if (distance < 0) { |
111 | clearInterval(x); | 111 | clearInterval(x); |
112 | document.getElementById("hyderabad").innerHTML = "EXPIRED"; | 112 | document.getElementById("hyderabad").innerHTML = "EXPIRED"; |
113 | } | 113 | } |
114 | }, 1000); | 114 | }, 1000); |
115 | 115 | ||
116 | var mumbai = new Date("Sept 26, 2018 12:00:00").getTime(); | 116 | var mumbai = new Date("Sept 24, 2018 12:00:00").getTime(); |
117 | // Update the count down every 1 second | 117 | // Update the count down every 1 second |
118 | var x = setInterval(function() { | 118 | var x = setInterval(function() { |
119 | // Get todays date and time | 119 | // Get todays date and time |
120 | var now = new Date().getTime(); | 120 | var now = new Date().getTime(); |
121 | // Find the distance between now an the count down date | 121 | // Find the distance between now an the count down date |
122 | var distance = mumbai - now; | 122 | var distance = mumbai - now; |
123 | // Time calculations for days, hours, minutes and seconds | 123 | // Time calculations for days, hours, minutes and seconds |
124 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 124 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
125 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 125 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
126 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 126 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
127 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 127 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
128 | $scope.timer = days + "d " + hours + "h " | 128 | $scope.timer = days + "d " + hours + "h " |
129 | + minutes + "m " + seconds + "s " | 129 | + minutes + "m " + seconds + "s " |
130 | // Output the result in an element with id="demo" | 130 | // Output the result in an element with id="demo" |
131 | document.getElementById("mumbai").innerHTML = days + "d " + hours + "h " | 131 | document.getElementById("mumbai").innerHTML = days + "d " + hours + "h " |
132 | + minutes + "m " + seconds + "s "; | 132 | + minutes + "m " + seconds + "s "; |
133 | // If the count down is over, write some text | 133 | // If the count down is over, write some text |
134 | if (distance < 0) { | 134 | if (distance < 0) { |
135 | clearInterval(x); | 135 | clearInterval(x); |
136 | document.getElementById("mumbai").innerHTML = "EXPIRED"; | 136 | document.getElementById("mumbai").innerHTML = "EXPIRED"; |
137 | } | 137 | } |
138 | }, 1000); | 138 | }, 1000); |
139 | 139 | ||
140 | var kolkata = new Date("Oct 3, 2018 12:00:00").getTime(); | 140 | var kolkata = new Date("Oct 1, 2018 12:00:00").getTime(); |
141 | // Update the count down every 1 second | 141 | // Update the count down every 1 second |
142 | var x = setInterval(function() { | 142 | var x = setInterval(function() { |
143 | // Get todays date and time | 143 | // Get todays date and time |
144 | var now = new Date().getTime(); | 144 | var now = new Date().getTime(); |
145 | // Find the distance between now an the count down date | 145 | // Find the distance between now an the count down date |
146 | var distance = kolkata - now; | 146 | var distance = kolkata - now; |
147 | // Time calculations for days, hours, minutes and seconds | 147 | // Time calculations for days, hours, minutes and seconds |
148 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 148 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
149 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 149 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
150 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 150 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
151 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 151 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
152 | $scope.timer = days + "d " + hours + "h " | 152 | $scope.timer = days + "d " + hours + "h " |
153 | + minutes + "m " + seconds + "s " | 153 | + minutes + "m " + seconds + "s " |
154 | // Output the result in an element with id="demo" | 154 | // Output the result in an element with id="demo" |
155 | document.getElementById("kolkata").innerHTML = days + "d " + hours + "h " | 155 | document.getElementById("kolkata").innerHTML = days + "d " + hours + "h " |
156 | + minutes + "m " + seconds + "s "; | 156 | + minutes + "m " + seconds + "s "; |
157 | // If the count down is over, write some text | 157 | // If the count down is over, write some text |
158 | if (distance < 0) { | 158 | if (distance < 0) { |
159 | clearInterval(x); | 159 | clearInterval(x); |
160 | document.getElementById("kolkata").innerHTML = "EXPIRED"; | 160 | document.getElementById("kolkata").innerHTML = "EXPIRED"; |
161 | } | 161 | } |
162 | }, 1000); | 162 | }, 1000); |
163 | 163 | ||
164 | var jaipur = new Date("Oct 5, 2018 12:00:00").getTime(); | 164 | var jaipur = new Date("Oct 3, 2018 12:00:00").getTime(); |
165 | // Update the count down every 1 second | 165 | // Update the count down every 1 second |
166 | var x = setInterval(function() { | 166 | var x = setInterval(function() { |
167 | // Get todays date and time | 167 | // Get todays date and time |
168 | var now = new Date().getTime(); | 168 | var now = new Date().getTime(); |
169 | // Find the distance between now an the count down date | 169 | // Find the distance between now an the count down date |
170 | var distance = jaipur - now; | 170 | var distance = jaipur - now; |
171 | // Time calculations for days, hours, minutes and seconds | 171 | // Time calculations for days, hours, minutes and seconds |
172 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 172 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
173 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 173 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
174 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 174 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
175 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 175 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
176 | $scope.timer = days + "d " + hours + "h " | 176 | $scope.timer = days + "d " + hours + "h " |
177 | + minutes + "m " + seconds + "s " | 177 | + minutes + "m " + seconds + "s " |
178 | // Output the result in an element with id="demo" | 178 | // Output the result in an element with id="demo" |
179 | document.getElementById("jaipur").innerHTML = days + "d " + hours + "h " | 179 | document.getElementById("jaipur").innerHTML = days + "d " + hours + "h " |
180 | + minutes + "m " + seconds + "s "; | 180 | + minutes + "m " + seconds + "s "; |
181 | // If the count down is over, write some text | 181 | // If the count down is over, write some text |
182 | if (distance < 0) { | 182 | if (distance < 0) { |
183 | clearInterval(x); | 183 | clearInterval(x); |
184 | document.getElementById("jaipur").innerHTML = "EXPIRED"; | 184 | document.getElementById("jaipur").innerHTML = "EXPIRED"; |
185 | } | 185 | } |
186 | }, 1000); | 186 | }, 1000); |
187 | 187 | ||
188 | var delhi = new Date("Oct 8, 2018 12:00:00").getTime(); | 188 | var delhi = new Date("Oct 6, 2018 12:00:00").getTime(); |
189 | // Update the count down every 1 second | 189 | // Update the count down every 1 second |
190 | var x = setInterval(function() { | 190 | var x = setInterval(function() { |
191 | // Get todays date and time | 191 | // Get todays date and time |
192 | var now = new Date().getTime(); | 192 | var now = new Date().getTime(); |
193 | // Find the distance between now an the count down date | 193 | // Find the distance between now an the count down date |
194 | var distance = delhi - now; | 194 | var distance = delhi - now; |
195 | // Time calculations for days, hours, minutes and seconds | 195 | // Time calculations for days, hours, minutes and seconds |
196 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 196 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
197 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 197 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
198 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 198 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
199 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 199 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
200 | $scope.timer = days + "d " + hours + "h " | 200 | $scope.timer = days + "d " + hours + "h " |
201 | + minutes + "m " + seconds + "s " | 201 | + minutes + "m " + seconds + "s " |
202 | // Output the result in an element with id="demo" | 202 | // Output the result in an element with id="demo" |
203 | document.getElementById("delhi").innerHTML = days + "d " + hours + "h " | 203 | document.getElementById("delhi").innerHTML = days + "d " + hours + "h " |
204 | + minutes + "m " + seconds + "s "; | 204 | + minutes + "m " + seconds + "s "; |
205 | // If the count down is over, write some text | 205 | // If the count down is over, write some text |
206 | if (distance < 0) { | 206 | if (distance < 0) { |
207 | clearInterval(x); | 207 | clearInterval(x); |
208 | document.getElementById("delhi").innerHTML = "EXPIRED"; | 208 | document.getElementById("delhi").innerHTML = "EXPIRED"; |
209 | } | 209 | } |
210 | }, 1000); | 210 | }, 1000); |
211 | 211 | ||
212 | var kanpur = new Date("Oct 10, 2018 12:00:00").getTime(); | 212 | var kanpur = new Date("Oct 8, 2018 12:00:00").getTime(); |
213 | // Update the count down every 1 second | 213 | // Update the count down every 1 second |
214 | var x = setInterval(function() { | 214 | var x = setInterval(function() { |
215 | // Get todays date and time | 215 | // Get todays date and time |
216 | var now = new Date().getTime(); | 216 | var now = new Date().getTime(); |
217 | // Find the distance between now an the count down date | 217 | // Find the distance between now an the count down date |
218 | var distance = kanpur - now; | 218 | var distance = kanpur - now; |
219 | // Time calculations for days, hours, minutes and seconds | 219 | // Time calculations for days, hours, minutes and seconds |
220 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 220 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
221 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 221 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
222 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 222 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
223 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 223 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
224 | $scope.timer = days + "d " + hours + "h " | 224 | $scope.timer = days + "d " + hours + "h " |
225 | + minutes + "m " + seconds + "s " | 225 | + minutes + "m " + seconds + "s " |
226 | // Output the result in an element with id="demo" | 226 | // Output the result in an element with id="demo" |
227 | document.getElementById("kanpur").innerHTML = days + "d " + hours + "h " | 227 | document.getElementById("kanpur").innerHTML = days + "d " + hours + "h " |
228 | + minutes + "m " + seconds + "s "; | 228 | + minutes + "m " + seconds + "s "; |
229 | // If the count down is over, write some text | 229 | // If the count down is over, write some text |
230 | if (distance < 0) { | 230 | if (distance < 0) { |
231 | clearInterval(x); | 231 | clearInterval(x); |
232 | document.getElementById("kanpur").innerHTML = "EXPIRED"; | 232 | document.getElementById("kanpur").innerHTML = "EXPIRED"; |
233 | } | 233 | } |
234 | }, 1000); | 234 | }, 1000); |
235 | 235 | ||
236 | var ahmedabad = new Date("Oct 12, 2018 12:00:00").getTime(); | 236 | var ahmedabad = new Date("Oct 10, 2018 12:00:00").getTime(); |
237 | // Update the count down every 1 second | 237 | // Update the count down every 1 second |
238 | var x = setInterval(function() { | 238 | var x = setInterval(function() { |
239 | // Get todays date and time | 239 | // Get todays date and time |
240 | var now = new Date().getTime(); | 240 | var now = new Date().getTime(); |
241 | // Find the distance between now an the count down date | 241 | // Find the distance between now an the count down date |
242 | var distance = ahmedabad - now; | 242 | var distance = ahmedabad - now; |
243 | // Time calculations for days, hours, minutes and seconds | 243 | // Time calculations for days, hours, minutes and seconds |
244 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 244 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
245 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 245 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
246 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 246 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
247 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 247 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
248 | $scope.timer = days + "d " + hours + "h " | 248 | $scope.timer = days + "d " + hours + "h " |
249 | + minutes + "m " + seconds + "s " | 249 | + minutes + "m " + seconds + "s " |
250 | // Output the result in an element with id="demo" | 250 | // Output the result in an element with id="demo" |
251 | document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h " | 251 | document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h " |
252 | + minutes + "m " + seconds + "s "; | 252 | + minutes + "m " + seconds + "s "; |
253 | // If the count down is over, write some text | 253 | // If the count down is over, write some text |
254 | if (distance < 0) { | 254 | if (distance < 0) { |
255 | clearInterval(x); | 255 | clearInterval(x); |
256 | document.getElementById("ahmedabad").innerHTML = "EXPIRED"; | 256 | document.getElementById("ahmedabad").innerHTML = "EXPIRED"; |
257 | } | 257 | } |
258 | }, 1000); | 258 | }, 1000); |
259 | 259 | ||
260 | var bengaluru = new Date("Oct 13, 2018 12:00:00").getTime(); | 260 | var bengaluru = new Date("Oct 11, 2018 12:00:00").getTime(); |
261 | // Update the count down every 1 second | 261 | // Update the count down every 1 second |
262 | var x = setInterval(function() { | 262 | var x = setInterval(function() { |
263 | // Get todays date and time | 263 | // Get todays date and time |
264 | var now = new Date().getTime(); | 264 | var now = new Date().getTime(); |
265 | // Find the distance between now an the count down date | 265 | // Find the distance between now an the count down date |
266 | var distance = bengaluru - now; | 266 | var distance = bengaluru - now; |
267 | // Time calculations for days, hours, minutes and seconds | 267 | // Time calculations for days, hours, minutes and seconds |
268 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 268 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
269 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 269 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
270 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 270 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
271 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 271 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
272 | $scope.timer = days + "d " + hours + "h " | 272 | $scope.timer = days + "d " + hours + "h " |
273 | + minutes + "m " + seconds + "s " | 273 | + minutes + "m " + seconds + "s " |
274 | // Output the result in an element with id="demo" | 274 | // Output the result in an element with id="demo" |
275 | document.getElementById("bengaluru").innerHTML = days + "d " + hours + "h " | 275 | document.getElementById("bengaluru").innerHTML = days + "d " + hours + "h " |
276 | + minutes + "m " + seconds + "s "; | 276 | + minutes + "m " + seconds + "s "; |
277 | // If the count down is over, write some text | 277 | // If the count down is over, write some text |
278 | if (distance < 0) { | 278 | if (distance < 0) { |
279 | clearInterval(x); | 279 | clearInterval(x); |
280 | document.getElementById("bengaluru").innerHTML = "EXPIRED"; | 280 | document.getElementById("bengaluru").innerHTML = "EXPIRED"; |
281 | } | 281 | } |
282 | }, 1000); | 282 | }, 1000); |
283 | 283 | ||
284 | var dharamsala = new Date("Dec 14, 2018 12:00:00").getTime(); | 284 | var dharamsala = new Date("Dec 12, 2018 12:00:00").getTime(); |
285 | // Update the count down every 1 second | 285 | // Update the count down every 1 second |
286 | var x = setInterval(function() { | 286 | var x = setInterval(function() { |
287 | // Get todays date and time | 287 | // Get todays date and time |
288 | var now = new Date().getTime(); | 288 | var now = new Date().getTime(); |
289 | // Find the distance between now an the count down date | 289 | // Find the distance between now an the count down date |
290 | var distance = dharamsala - now; | 290 | var distance = dharamsala - now; |
291 | // Time calculations for days, hours, minutes and seconds | 291 | // Time calculations for days, hours, minutes and seconds |
292 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 292 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
293 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 293 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
294 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 294 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
295 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 295 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
296 | $scope.timer = days + "d " + hours + "h " | 296 | $scope.timer = days + "d " + hours + "h " |
297 | + minutes + "m " + seconds + "s " | 297 | + minutes + "m " + seconds + "s " |
298 | // Output the result in an element with id="demo" | 298 | // Output the result in an element with id="demo" |
299 | document.getElementById("dharamsala").innerHTML = days + "d " + hours + "h " | 299 | document.getElementById("dharamsala").innerHTML = days + "d " + hours + "h " |
300 | + minutes + "m " + seconds + "s "; | 300 | + minutes + "m " + seconds + "s "; |
301 | // If the count down is over, write some text | 301 | // If the count down is over, write some text |
302 | if (distance < 0) { | 302 | if (distance < 0) { |
303 | clearInterval(x); | 303 | clearInterval(x); |
304 | document.getElementById("dharamsala").innerHTML = "EXPIRED"; | 304 | document.getElementById("dharamsala").innerHTML = "EXPIRED"; |
305 | } | 305 | } |
306 | }, 1000); | 306 | }, 1000); |
307 | 307 | ||
308 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 308 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
309 | $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 309 | $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
310 | // $scope.Textshow = "yes" | 310 | // $scope.Textshow = "yes" |
311 | $scope.max = 100; | 311 | $scope.max = 100; |
312 | $scope.formPage = false; | 312 | $scope.formPage = false; |
313 | $scope.current = 0; | 313 | $scope.current = 0; |
314 | $scope.payingAmnt = 0; | 314 | $scope.payingAmnt = 0; |
315 | $scope.data = {}; | 315 | $scope.data = {}; |
316 | $scope.discountAmount = 0; | 316 | $scope.discountAmount = 0; |
317 | // $scope.data.quantity = "1"; | 317 | // $scope.data.quantity = "1"; |
318 | $scope.check = false; | 318 | $scope.check = false; |
319 | $scope.numberCheck = false; | 319 | $scope.numberCheck = false; |
320 | $scope.paymentResult = {}; | 320 | $scope.paymentResult = {}; |
321 | var data = { | 321 | var data = { |
322 | "amount": $scope.payingAmnt, | 322 | "amount": $scope.payingAmnt, |
323 | "currency": "INR", | 323 | "currency": "INR", |
324 | "status": "pending" | 324 | "status": "pending" |
325 | } | 325 | } |
326 | 326 | ||
327 | $scope.apply = function() { | 327 | $scope.apply = function() { |
328 | //Analytics.trackEvent('register', 'click', 'Registration'); | 328 | //Analytics.trackEvent('register', 'click', 'Registration'); |
329 | $location.path("/caricatures") | 329 | $location.path("/caricatures") |
330 | } | 330 | } |
331 | 331 | ||
332 | $scope.data.city = ''; | 332 | $scope.data.city = ''; |
333 | $scope.watch = function(value){ | 333 | $scope.watch = function(value){ |
334 | console.log("cllll",value) | 334 | console.log("cllll",value) |
335 | $scope.data.city = value; | 335 | $scope.data.city = value; |
336 | localStorage.setItem("city" ,value); | 336 | localStorage.setItem("city" ,value); |
337 | //$location.path('/registration').search({city: value}); | 337 | //$location.path('/registration').search({city: value}); |
338 | $location.path('/registration/'+value+''); | 338 | $location.path('/registration/'+value+''); |
339 | //$state.go('registration', { 'city': value}) | 339 | //$state.go('registration', { 'city': value}) |
340 | } | 340 | } |
341 | 341 | ||
342 | $scope.select = function(url){ | 342 | $scope.select = function(url){ |
343 | console.log("cllll") | 343 | console.log("cllll") |
344 | window.open(url) | 344 | window.open(url) |
345 | } | 345 | } |
346 | 346 | ||
347 | $scope.stagekeyPress = function() { | 347 | $scope.stagekeyPress = function() { |
348 | $('.icon-circle-a').css('background-color', 'rgb(25, 104, 157)'); | 348 | $('.icon-circle-a').css('background-color', 'rgb(25, 104, 157)'); |
349 | } | 349 | } |
350 | $scope.sectorkeyPress = function() { | 350 | $scope.sectorkeyPress = function() { |
351 | $('.icon-circle-b').css('background-color', 'rgb(25, 104, 157)'); | 351 | $('.icon-circle-b').css('background-color', 'rgb(25, 104, 157)'); |
352 | } | 352 | } |
353 | 353 | ||
354 | $scope.productLaunchkeyPress = function() { | 354 | $scope.productLaunchkeyPress = function() { |
355 | $('.icon-circle-ab').css('background-color', 'rgb(25, 104, 157)'); | 355 | $('.icon-circle-ab').css('background-color', 'rgb(25, 104, 157)'); |
356 | } | 356 | } |
357 | 357 | ||
358 | $scope.launchPeriodkeyPress = function() { | 358 | $scope.launchPeriodkeyPress = function() { |
359 | $('.icon-circle-abc').css('background-color', 'rgb(25, 104, 157)'); | 359 | $('.icon-circle-abc').css('background-color', 'rgb(25, 104, 157)'); |
360 | } | 360 | } |
361 | 361 | ||
362 | $scope.industrykeyPress = function(quantity) { | 362 | $scope.industrykeyPress = function(quantity) { |
363 | console.log("fghj",quantity) | 363 | console.log("fghj",quantity) |
364 | $('.icon-circle-abcdefg').css('background-color', 'rgb(25, 104, 157)'); | 364 | $('.icon-circle-abcdefg').css('background-color', 'rgb(25, 104, 157)'); |
365 | } | 365 | } |
366 | 366 | ||
367 | $scope.industryNamekeyPress = function(firstName) { | 367 | $scope.industryNamekeyPress = function(firstName) { |
368 | console.log("lastName==", firstName); | 368 | console.log("lastName==", firstName); |
369 | if (firstName == undefined) { | 369 | if (firstName == undefined) { |
370 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); | 370 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); |
371 | } else { | 371 | } else { |
372 | $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)'); | 372 | $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)'); |
373 | } | 373 | } |
374 | } | 374 | } |
375 | 375 | ||
376 | $scope.amountkeyPress = function() { | 376 | $scope.amountkeyPress = function() { |
377 | $('.icon-circle-bc').css('background-color', 'rgb(25, 104, 157)'); | 377 | $('.icon-circle-bc').css('background-color', 'rgb(25, 104, 157)'); |
378 | } | 378 | } |
379 | 379 | ||
380 | $scope.firstNamekeyPress = function(name) { | 380 | $scope.firstNamekeyPress = function(name) { |
381 | console.log("lastName==", name); | 381 | console.log("lastName==", name); |
382 | if (name == undefined) { | 382 | if (name == undefined) { |
383 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); | 383 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); |
384 | } else { | 384 | } else { |
385 | $('.icon-circle-c').css('background-color', 'rgb(25, 104, 157)'); | 385 | $('.icon-circle-c').css('background-color', 'rgb(25, 104, 157)'); |
386 | } | 386 | } |
387 | } | 387 | } |
388 | 388 | ||
389 | $scope.emailkeyPress = function(email) { | 389 | $scope.emailkeyPress = function(email) { |
390 | console.log("email", email); | 390 | console.log("email", email); |
391 | if (email == undefined) { | 391 | if (email == undefined) { |
392 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); | 392 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); |
393 | } else { | 393 | } else { |
394 | $('.icon-circle-d').css('background-color', 'rgb(25, 104, 157)'); | 394 | $('.icon-circle-d').css('background-color', 'rgb(25, 104, 157)'); |
395 | } | 395 | } |
396 | } | 396 | } |
397 | 397 | ||
398 | $scope.phonekeyPress = function(number) { | 398 | $scope.phonekeyPress = function(number) { |
399 | console.log("number", number); | 399 | console.log("number", number); |
400 | if (number == undefined || number == '') { | 400 | if (number == undefined || number == '') { |
401 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); | 401 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); |
402 | } else { | 402 | } else { |
403 | $('.icon-circle-e').css('background-color', 'rgb(25, 104, 157)'); | 403 | $('.icon-circle-e').css('background-color', 'rgb(25, 104, 157)'); |
404 | } | 404 | } |
405 | } | 405 | } |
406 | 406 | ||
407 | $scope.citykeyPress = function(city) { | 407 | $scope.citykeyPress = function(city) { |
408 | console.log("city", city); | 408 | console.log("city", city); |
409 | if (city == undefined) { | 409 | if (city == undefined) { |
410 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); | 410 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); |
411 | } else { | 411 | } else { |
412 | $('.icon-circle-f').css('background-color', 'rgb(25, 104, 157)'); | 412 | $('.icon-circle-f').css('background-color', 'rgb(25, 104, 157)'); |
413 | } | 413 | } |
414 | } | 414 | } |
415 | 415 | ||
416 | $scope.startupNamekeyPress = function(q) { | 416 | $scope.startupNamekeyPress = function(q) { |
417 | if (q == undefined) { | 417 | if (q == undefined) { |
418 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); | 418 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); |
419 | } else { | 419 | } else { |
420 | $('.icon-circle-x').css('background-color', 'rgb(25, 104, 157)'); | 420 | $('.icon-circle-x').css('background-color', 'rgb(25, 104, 157)'); |
421 | } | 421 | } |
422 | } | 422 | } |
423 | 423 | ||
424 | $scope.linkedInkeyPress = function(technology) { | 424 | $scope.linkedInkeyPress = function(technology) { |
425 | if (technology == undefined || technology == '') { | 425 | if (technology == undefined || technology == '') { |
426 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); | 426 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); |
427 | } else { | 427 | } else { |
428 | $('.icon-circle-h').css('background-color', 'rgb(25, 104, 157)'); | 428 | $('.icon-circle-h').css('background-color', 'rgb(25, 104, 157)'); |
429 | } | 429 | } |
430 | } | 430 | } |
431 | $scope.companykeyPress = function(problem) { | 431 | $scope.companykeyPress = function(problem) { |
432 | if (problem == undefined) { | 432 | if (problem == undefined) { |
433 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); | 433 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); |
434 | } else { | 434 | } else { |
435 | $('.icon-circle-i').css('background-color', 'rgb(25, 104, 157)'); | 435 | $('.icon-circle-i').css('background-color', 'rgb(25, 104, 157)'); |
436 | } | 436 | } |
437 | } | 437 | } |
438 | $scope.productNamekeyPress = function(solution) { | 438 | $scope.productNamekeyPress = function(solution) { |
439 | if (solution == undefined) { | 439 | if (solution == undefined) { |
440 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); | 440 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); |
441 | } else { | 441 | } else { |
442 | $('.icon-circle-j').css('background-color', 'rgb(25, 104, 157)'); | 442 | $('.icon-circle-j').css('background-color', 'rgb(25, 104, 157)'); |
443 | } | 443 | } |
444 | } | 444 | } |
445 | $scope.businesskeyPress = function(business) { | 445 | $scope.businesskeyPress = function(business) { |
446 | if (business == undefined) { | 446 | if (business == undefined) { |
447 | $('.icon-circle-p').css('background-color', 'rgb(102, 102, 102)'); | 447 | $('.icon-circle-p').css('background-color', 'rgb(102, 102, 102)'); |
448 | } else { | 448 | } else { |
449 | $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)'); | 449 | $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)'); |
450 | } | 450 | } |
451 | } | 451 | } |
452 | 452 | ||
453 | $scope.websitekeyPress = function(prototype) { | 453 | $scope.websitekeyPress = function(prototype) { |
454 | if (prototype == undefined || prototype == '') { | 454 | if (prototype == undefined || prototype == '') { |
455 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); | 455 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); |
456 | } else { | 456 | } else { |
457 | $('.icon-circle-k').css('background-color', 'rgb(25, 104, 157)'); | 457 | $('.icon-circle-k').css('background-color', 'rgb(25, 104, 157)'); |
458 | } | 458 | } |
459 | } | 459 | } |
460 | 460 | ||
461 | $scope.employeekeyPress = function(market) { | 461 | $scope.employeekeyPress = function(market) { |
462 | if (market == undefined || market == '') { | 462 | if (market == undefined || market == '') { |
463 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); | 463 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); |
464 | } else { | 464 | } else { |
465 | $('.icon-circle-l').css('background-color', 'rgb(25, 104, 157)'); | 465 | $('.icon-circle-l').css('background-color', 'rgb(25, 104, 157)'); |
466 | } | 466 | } |
467 | } | 467 | } |
468 | 468 | ||
469 | $scope.annualkeyPress = function(risk) { | 469 | $scope.annualkeyPress = function(risk) { |
470 | if (risk == undefined || risk == '') { | 470 | if (risk == undefined || risk == '') { |
471 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); | 471 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); |
472 | } else { | 472 | } else { |
473 | $('.icon-circle-m').css('background-color', 'rgb(25, 104, 157)'); | 473 | $('.icon-circle-m').css('background-color', 'rgb(25, 104, 157)'); |
474 | } | 474 | } |
475 | } | 475 | } |
476 | 476 | ||
477 | $scope.revenuekeyPress = function(team) { | 477 | $scope.revenuekeyPress = function(team) { |
478 | if (team == undefined) { | 478 | if (team == undefined) { |
479 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); | 479 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); |
480 | } else { | 480 | } else { |
481 | $('.icon-circle-n').css('background-color', 'rgb(25, 104, 157)'); | 481 | $('.icon-circle-n').css('background-color', 'rgb(25, 104, 157)'); |
482 | } | 482 | } |
483 | } | 483 | } |
484 | 484 | ||
485 | $scope.descriptionkeyPress = function(pitch) { | 485 | $scope.descriptionkeyPress = function(pitch) { |
486 | if (pitch == undefined) { | 486 | if (pitch == undefined) { |
487 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); | 487 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); |
488 | } else { | 488 | } else { |
489 | $('.icon-circle-z').css('background-color', 'rgb(25, 104, 157)'); | 489 | $('.icon-circle-z').css('background-color', 'rgb(25, 104, 157)'); |
490 | } | 490 | } |
491 | } | 491 | } |
492 | 492 | ||
493 | $scope.discountkeyPress = function(discount) { | 493 | $scope.discountkeyPress = function(discount) { |
494 | if (discount == undefined) { | 494 | if (discount == undefined) { |
495 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); | 495 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); |
496 | } else { | 496 | } else { |
497 | $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)'); | 497 | $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)'); |
498 | } | 498 | } |
499 | } | 499 | } |
500 | 500 | ||
501 | $scope.removeNooError = function() { | 501 | $scope.removeNooError = function() { |
502 | $('#invalidIdea').css('display', 'block'); | 502 | $('#invalidIdea').css('display', 'block'); |
503 | $('#noExist').css('display', 'none'); | 503 | $('#noExist').css('display', 'none'); |
504 | }; | 504 | }; |
505 | 505 | ||
506 | $scope.ideakeyPress = function(financial) { | 506 | $scope.ideakeyPress = function(financial) { |
507 | console.log("financial", financial); | 507 | console.log("financial", financial); |
508 | if (financial == undefined) { | 508 | if (financial == undefined) { |
509 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); | 509 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); |
510 | } else { | 510 | } else { |
511 | $('.icon-circle-q').css('background-color', 'rgb(25, 104, 157)'); | 511 | $('.icon-circle-q').css('background-color', 'rgb(25, 104, 157)'); |
512 | } | 512 | } |
513 | } | 513 | } |
514 | 514 | ||
515 | $scope.fundkeyPress = function(financial) { | 515 | $scope.fundkeyPress = function(financial) { |
516 | console.log("financial", financial); | 516 | console.log("financial", financial); |
517 | if (financial == undefined) { | 517 | if (financial == undefined) { |
518 | $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); | 518 | $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); |
519 | } else { | 519 | } else { |
520 | $('.icon-circle-y').css('background-color', 'rgb(25, 104, 157)'); | 520 | $('.icon-circle-y').css('background-color', 'rgb(25, 104, 157)'); |
521 | } | 521 | } |
522 | } | 522 | } |
523 | 523 | ||
524 | $scope.changeReferalIconColor = function(referalToken){ | 524 | $scope.changeReferalIconColor = function(referalToken){ |
525 | if (referalToken == undefined || referalToken == '') { | 525 | if (referalToken == undefined || referalToken == '') { |
526 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); | 526 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); |
527 | }else { | 527 | }else { |
528 | $('.referel-icon').css('background-color', 'rgb(25, 104, 157)'); | 528 | $('.referel-icon').css('background-color', 'rgb(25, 104, 157)'); |
529 | } | 529 | } |
530 | } | 530 | } |
531 | 531 | ||
532 | }); | 532 | }); |
533 | 533 | ||
534 | scotchApp.controller('registrationController', function($scope, $http, $location, $rootScope,$route,BASE_URL) { | 534 | scotchApp.controller('registrationController', function($scope, $http, $location, $rootScope,$route,BASE_URL) { |
535 | $scope.data = {}; | 535 | $scope.data = {}; |
536 | $scope.check = false; | 536 | $scope.check = false; |
537 | $scope.numberCheck = false; | 537 | $scope.numberCheck = false; |
538 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 538 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
539 | $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 539 | $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
540 | $scope.max = 100; | 540 | $scope.max = 100; |
541 | $scope.formPage = false; | 541 | $scope.formPage = false; |
542 | $scope.current = 0; | 542 | $scope.current = 0; |
543 | $scope.payingAmnt = 0; | 543 | $scope.payingAmnt = 0; |
544 | $scope.discountAmount = 0; | 544 | $scope.discountAmount = 0; |
545 | // $scope.data.quantity = "1"; | 545 | // $scope.data.quantity = "1"; |
546 | $scope.check = false; | 546 | $scope.check = false; |
547 | $scope.numberCheck = false; | 547 | $scope.numberCheck = false; |
548 | $scope.paymentResult = {}; | 548 | $scope.paymentResult = {}; |
549 | var data = { | 549 | var data = { |
550 | "amount": $scope.payingAmnt, | 550 | "amount": $scope.payingAmnt, |
551 | "currency": "INR", | 551 | "currency": "INR", |
552 | "status": "pending" | 552 | "status": "pending" |
553 | } | 553 | } |
554 | 554 | ||
555 | $scope.removeError = function() { | 555 | $scope.removeError = function() { |
556 | $('#invalidEmail').css('display', 'none'); | 556 | $('#invalidEmail').css('display', 'none'); |
557 | $('#alreadyExist').css('display', 'none'); | 557 | $('#alreadyExist').css('display', 'none'); |
558 | }; | 558 | }; |
559 | 559 | ||
560 | $scope.emailcheck = function(val) { | 560 | $scope.emailcheck = function(val) { |
561 | if (val == undefined) { | 561 | if (val == undefined) { |
562 | $('#invalidEmail').css('display', 'block'); | 562 | $('#invalidEmail').css('display', 'block'); |
563 | } else { | 563 | } else { |
564 | $('#alreadyExist').css('display', 'block'); | 564 | $('#alreadyExist').css('display', 'block'); |
565 | } | 565 | } |
566 | }; | 566 | }; |
567 | 567 | ||
568 | $scope.removeNoError = function() { | 568 | $scope.removeNoError = function() { |
569 | $('#invalidNumber').css('display', 'none'); | 569 | $('#invalidNumber').css('display', 'none'); |
570 | $('#alreadyExist').css('display', 'none'); | 570 | $('#alreadyExist').css('display', 'none'); |
571 | }; | 571 | }; |
572 | 572 | ||
573 | $scope.numbercheck = function(val) { | 573 | $scope.numbercheck = function(val) { |
574 | if (val == undefined) { | 574 | if (val == undefined) { |
575 | $('#invalidNumber').css('display', 'block'); | 575 | $('#invalidNumber').css('display', 'block'); |
576 | } else { | 576 | } else { |
577 | $('#alreadyExist').css('display', 'block'); | 577 | $('#alreadyExist').css('display', 'block'); |
578 | } | 578 | } |
579 | }; | 579 | }; |
580 | 580 | ||
581 | // $scope.$on('city', function (event, value) { | 581 | // $scope.$on('city', function (event, value) { |
582 | $scope.data.city = localStorage.getItem("city"); | 582 | $scope.data.city = localStorage.getItem("city"); |
583 | console.log("HERE===",$scope.data.city ); | 583 | console.log("HERE===",$scope.data.city ); |
584 | // }); | 584 | // }); |
585 | 585 | ||
586 | $rootScope.tokenCall = function(val) { | 586 | $rootScope.tokenCall = function(val) { |
587 | console.log('val-------->', val); | 587 | console.log('val-------->', val); |
588 | if (val == undefined) { | 588 | if (val == undefined) { |
589 | $('#invalidToken').css('display', 'block'); | 589 | $('#invalidToken').css('display', 'block'); |
590 | } else { | 590 | } else { |
591 | val = val.toUpperCase(); | 591 | val = val.toUpperCase(); |
592 | if((val == "IITH99" && $scope.data.city != "Hyderabad") || (val == "IITM99" && $scope.data.city != "Chennai") || (val == "IITD99" && $scope.data.city != "Delhi") || (val == "IITB99" && $scope.data.city != "Mumbai") || (val == "IITK99" && $scope.data.city != "Kanpur") || (val == "IIMC99" && $scope.data.city != "Kolkata") || (val == "IIMA99" && $scope.data.city != "Ahmedabad") || (val == "JAI40" && $scope.data.city != "Jaipur")){ | 592 | if((val == "IITH99" && $scope.data.city != "Hyderabad") || (val == "IITM99" && $scope.data.city != "Chennai") || (val == "IITD99" && $scope.data.city != "Delhi") || (val == "IITB99" && $scope.data.city != "Mumbai") || (val == "IITK99" && $scope.data.city != "Kanpur") || (val == "IIMC99" && $scope.data.city != "Kolkata") || (val == "IIMA99" && $scope.data.city != "Ahmedabad") || (val == "JAI40" && $scope.data.city != "Jaipur")){ |
593 | $scope.tokencheck = false; | 593 | $scope.tokencheck = false; |
594 | return; | 594 | return; |
595 | } | 595 | } |
596 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": "' + val + '"}}') | 596 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": "' + val + '"}}') |
597 | .then(function(searchResult) { | 597 | .then(function(searchResult) { |
598 | console.log("searchResult",searchResult) | 598 | console.log("searchResult",searchResult) |
599 | if (searchResult.data.length == 0) { | 599 | if (searchResult.data.length == 0) { |
600 | $scope.tokencheck = false; | 600 | $scope.tokencheck = false; |
601 | $scope.discountAmount = 0; | 601 | $scope.discountAmount = 0; |
602 | } else { | 602 | } else { |
603 | console.log("===searchResult.data[0].discount===",searchResult.data[0].discount); | 603 | console.log("===searchResult.data[0].discount===",searchResult.data[0].discount); |
604 | $scope.discountpercentage = searchResult.data[0].discount; | 604 | $scope.discountpercentage = searchResult.data[0].discount; |
605 | console.log("===searchResultdiscountpercentage===",$scope.discountpercentage); | 605 | console.log("===searchResultdiscountpercentage===",$scope.discountpercentage); |
606 | $scope.tokencheck = true; | 606 | $scope.tokencheck = true; |
607 | } | 607 | } |
608 | },function(err){ | 608 | },function(err){ |
609 | console.log(err) | 609 | console.log(err) |
610 | }); | 610 | }); |
611 | 611 | ||
612 | } | 612 | } |
613 | }; | 613 | }; |
614 | 614 | ||
615 | $scope.submit = function() { | 615 | $scope.submit = function() { |
616 | $scope.ticketAmnt = 500; | 616 | $scope.ticketAmnt = 500; |
617 | if($scope.tokencheck == false){ | 617 | if($scope.tokencheck == false){ |
618 | $scope.data.referalToken = null; | 618 | $scope.data.referalToken = null; |
619 | } | 619 | } |
620 | if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | 620 | if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { |
621 | var x = document.getElementById("snackbar") | 621 | var x = document.getElementById("snackbar") |
622 | setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); | 622 | setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); |
623 | }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | 623 | }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { |
624 | $scope.infoForm = true; | 624 | $scope.infoForm = true; |
625 | $scope.detail = {}; | 625 | $scope.detail = {}; |
626 | $scope.data.phone = "+91"+$scope.data.number; | 626 | $scope.data.phone = "+91"+$scope.data.number; |
627 | if($scope.data.referalToken == null){ | 627 | if($scope.data.referalToken == null){ |
628 | $scope.data.referalToken = "N.A." | 628 | $scope.data.referalToken = "N.A." |
629 | } | 629 | } |
630 | $http({ | 630 | $http({ |
631 | method: 'POST', | 631 | method: 'POST', |
632 | url: BASE_URL+'/applicants', | 632 | url: BASE_URL+'/applicants', |
633 | data: $scope.data, | 633 | data: $scope.data, |
634 | headers: {} | 634 | headers: {} |
635 | }).then(function mySuccess(result) { | 635 | }).then(function mySuccess(result) { |
636 | console.log("=====result=====",result) | 636 | console.log("=====result=====",result) |
637 | $scope.detail = result; | 637 | $scope.detail = result; |
638 | data.applicantId = result.data.id; | 638 | data.applicantId = result.data.id; |
639 | $scope.userId = result.data.id; | 639 | $scope.userId = result.data.id; |
640 | console.log("=====data=====",data) | 640 | console.log("=====data=====",data) |
641 | var amount = $scope.ticketAmnt * 100 | 641 | var amount = $scope.ticketAmnt * 100 |
642 | if($scope.tokencheck == true){ | 642 | if($scope.tokencheck == true){ |
643 | var amount = $scope.ticketAmnt | 643 | var amount = $scope.ticketAmnt |
644 | console.log("====$scope.discountpercentage====",$scope.discountpercentage); | 644 | console.log("====$scope.discountpercentage====",$scope.discountpercentage); |
645 | console.log("resultcity===",$scope.data.city) | 645 | console.log("resultcity===",$scope.data.city) |
646 | if($scope.discountpercentage == "100") { | 646 | if($scope.discountpercentage == "100") { |
647 | $scope.discountpercentage = "99.8"; | 647 | $scope.discountpercentage = "99.8"; |
648 | console.log("$scope.discountpercentage====",$scope.discountpercentage) | 648 | console.log("$scope.discountpercentage====",$scope.discountpercentage) |
649 | } | 649 | } |
650 | console.log("====$scope.discountpercentage====",$scope.discountpercentage); | 650 | console.log("====$scope.discountpercentage====",$scope.discountpercentage); |
651 | $scope.percDiscount = $scope.discountpercentage/100; | 651 | $scope.percDiscount = $scope.discountpercentage/100; |
652 | console.log("====$scope.percDiscount====",$scope.percDiscount); | 652 | console.log("====$scope.percDiscount====",$scope.percDiscount); |
653 | console.log("====amount=====",amount); | 653 | console.log("====amount=====",amount); |
654 | $scope.discountAmount = amount * $scope.percDiscount; | 654 | $scope.discountAmount = amount * $scope.percDiscount; |
655 | console.log("finalAmount====>",$scope.discountAmount) | 655 | console.log("finalAmount====>",$scope.discountAmount) |
656 | } | 656 | } |
657 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount | 657 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount |
658 | console.log("$scope.taxTotal----",taxAmount) | 658 | console.log("$scope.taxTotal----",taxAmount) |
659 | $scope.payingAmnt = taxAmount; | 659 | $scope.payingAmnt = taxAmount; |
660 | console.log("====$scope.payingAmnt====",$scope.payingAmnt) | 660 | console.log("====$scope.payingAmnt====",$scope.payingAmnt) |
661 | $scope.payingAmnt = $scope.payingAmnt.toFixed() | 661 | $scope.payingAmnt = $scope.payingAmnt.toFixed() |
662 | data.amount = $scope.payingAmnt; | 662 | data.amount = $scope.payingAmnt; |
663 | console.log("data.amount==",data.amount) | 663 | console.log("data.amount==",data.amount) |
664 | if($scope.detail != null){ | 664 | if($scope.detail != null){ |
665 | $http({ | 665 | $http({ |
666 | method: 'POST', | 666 | method: 'POST', |
667 | url: BASE_URL+'/payments', | 667 | url: BASE_URL+'/payments', |
668 | data: data, | 668 | data: data, |
669 | headers: {} | 669 | headers: {} |
670 | }).then(function mySuccess(paymentResult) { | 670 | }).then(function mySuccess(paymentResult) { |
671 | $scope.paymentResult = paymentResult; | 671 | $scope.paymentResult = paymentResult; |
672 | }, function myError(error) { | 672 | }, function myError(error) { |
673 | }); | 673 | }); |
674 | } | 674 | } |
675 | var i = 0; | 675 | var i = 0; |
676 | $scope.payingAmnt = $scope.payingAmnt * 100; | 676 | $scope.payingAmnt = $scope.payingAmnt * 100; |
677 | var options = { | 677 | var options = { |
678 | //"key": "rzp_test_YwHsVFiDIQ2WUQ", | 678 | //"key": "rzp_test_YwHsVFiDIQ2WUQ", |
679 | "key": "rzp_live_mkmCb4FkstuWaS", | 679 | "key": "rzp_live_mkmCb4FkstuWaS", |
680 | "amount": $scope.payingAmnt, | 680 | "amount": $scope.payingAmnt, |
681 | 681 | ||
682 | "name": "Startup Jalsa", | 682 | "name": "Startup Jalsa", |
683 | "description":"amount", | 683 | "description":"amount", |
684 | "currency": "INR", | 684 | "currency": "INR", |
685 | "status": "done", | 685 | "status": "done", |
686 | 686 | ||
687 | "prefill": { | 687 | "prefill": { |
688 | "email": $scope.detail.email, | 688 | "email": $scope.detail.email, |
689 | "contact": $scope.detail.phone | 689 | "contact": $scope.detail.phone |
690 | }, | 690 | }, |
691 | 691 | ||
692 | "theme": { | 692 | "theme": { |
693 | "color": "#2196f3 ", | 693 | "color": "#2196f3 ", |
694 | "image_padding":"NO" | 694 | "image_padding":"NO" |
695 | }, | 695 | }, |
696 | "modal": { | 696 | "modal": { |
697 | "ondismiss": function(){ | 697 | "ondismiss": function(){ |
698 | } | 698 | } |
699 | }, | 699 | }, |
700 | "handler": function (response){ | 700 | "handler": function (response){ |
701 | createPayment(response); | 701 | createPayment(response); |
702 | } | 702 | } |
703 | }; | 703 | }; |
704 | var rzp1 = new Razorpay(options); | 704 | var rzp1 = new Razorpay(options); |
705 | rzp1.open(); | 705 | rzp1.open(); |
706 | $scope.paymentResponse = {}; | 706 | $scope.paymentResponse = {}; |
707 | function createPayment(response){ | 707 | function createPayment(response){ |
708 | console.log("response12333333",response) | 708 | console.log("response12333333",response) |
709 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 709 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
710 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | 710 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; |
711 | $scope.paymentResponse.amount = data.amount; | 711 | $scope.paymentResponse.amount = data.amount; |
712 | $scope.paymentResponse.currency = "INR"; | 712 | $scope.paymentResponse.currency = "INR"; |
713 | $scope.paymentResponse.status = $scope.paymentResult.data.status; | 713 | $scope.paymentResponse.status = $scope.paymentResult.data.status; |
714 | console.log("$scope.paymentResponse.amount=====",$scope.paymentResponse.amount) | 714 | console.log("$scope.paymentResponse.amount=====",$scope.paymentResponse.amount) |
715 | $http({ | 715 | $http({ |
716 | method: 'PUT', | 716 | method: 'PUT', |
717 | url: BASE_URL+'/payments/'+$scope.paymentResult.data.id, | 717 | url: BASE_URL+'/payments/'+$scope.paymentResult.data.id, |
718 | data: $scope.paymentResponse, | 718 | data: $scope.paymentResponse, |
719 | headers: {} | 719 | headers: {} |
720 | }).then(function mySuccess(searchResult) { | 720 | }).then(function mySuccess(searchResult) { |
721 | console.log("searchResult",searchResult) | 721 | console.log("searchResult",searchResult) |
722 | $location.path("/confirmation") | 722 | $location.path("/confirmation") |
723 | }, function myError(error) { | 723 | }, function myError(error) { |
724 | }); | 724 | }); |
725 | } | 725 | } |
726 | //} | 726 | //} |
727 | 727 | ||
728 | }, function myError(error) { | 728 | }, function myError(error) { |
729 | 729 | ||
730 | }); | 730 | }); |
731 | 731 | ||
732 | } | 732 | } |
733 | 733 | ||
734 | } | 734 | } |
735 | 735 | ||
736 | }); | 736 | }); |
737 | 737 | ||
738 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { | 738 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { |
739 | $scope.data = {}; | 739 | $scope.data = {}; |
740 | $scope.check = false; | 740 | $scope.check = false; |
741 | $scope.numberCheck = false; | 741 | $scope.numberCheck = false; |
742 | 742 | ||
743 | $scope.submit = function() { | 743 | $scope.submit = function() { |
744 | console.log($scope.data.name) | 744 | console.log($scope.data.name) |
745 | var randomNumber = ""+Math.random(); | 745 | var randomNumber = ""+Math.random(); |
746 | var nameSpliced = $scope.data.name.slice(0,5); | 746 | var nameSpliced = $scope.data.name.slice(0,5); |
747 | var numberSpliced = randomNumber.slice(2,4);; | 747 | var numberSpliced = randomNumber.slice(2,4);; |
748 | $scope.data.referalToken = nameSpliced+numberSpliced; | 748 | $scope.data.referalToken = nameSpliced+numberSpliced; |
749 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); | 749 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); |
750 | console.log("dsdfs",numberSpliced); | 750 | console.log("dsdfs",numberSpliced); |
751 | $http({ | 751 | $http({ |
752 | method: 'POST', | 752 | method: 'POST', |
753 | url: BASE_URL + '/ambassadors', | 753 | url: BASE_URL + '/ambassadors', |
754 | data: $scope.data, | 754 | data: $scope.data, |
755 | headers: {} | 755 | headers: {} |
756 | }).then(function mySuccess(result) { | 756 | }).then(function mySuccess(result) { |
757 | console.log("result", result) | 757 | console.log("result", result) |
758 | $scope.detail = result; | 758 | $scope.detail = result; |
759 | $('#myModal').modal('show'); | 759 | $('#myModal').modal('show'); |
760 | $scope.data.name = ''; | 760 | $scope.data.name = ''; |
761 | $scope.data.email = ''; | 761 | $scope.data.email = ''; |
762 | $scope.data.mobile = ''; | 762 | $scope.data.mobile = ''; |
763 | //$scope.data.discount = ''; | 763 | //$scope.data.discount = ''; |
764 | 764 | ||
765 | }, function myError(error) { | 765 | }, function myError(error) { |
766 | console.log(error) | 766 | console.log(error) |
767 | console.log(error.data.error.message) | 767 | console.log(error.data.error.message) |
768 | }); | 768 | }); |
769 | } | 769 | } |
770 | }); | 770 | }); |
771 | 771 | ||
772 | 772 | ||
773 | 773 | ||
774 | 774 | ||
775 | 775 |