Commit 0c48d68b6905512203a5ee5720e6c04d697f3118

Authored by apple
1 parent 5801d23b28
Exists in master and in 1 other branch paytm

text xhange

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 <h4 class="PitchYourPower">#PitchYourPower</h4> 4 <h4 class="PitchYourPower">#PitchYourPower</h4>
5 </div> 5 </div>
6 6
7 <div class="clearfix"></div> 7 <div class="clearfix"></div>
8 </div> 8 </div>
9 <form name="homeForm"> 9 <form name="homeForm">
10 <div class="col-xs-12 col-md-10 col-md-offset-1 city-meetup card-color " > 10 <div class="col-xs-12 col-md-10 col-md-offset-1 city-meetup card-color " >
11 <div class="col-xs-12"> 11 <div class="col-xs-12">
12 <div class="row"> 12 <div class="row">
13 <div class="col-sm-6"> 13 <div class="col-sm-6">
14 <div class="happen-city"> 14 <div class="happen-city">
15 <div class="happen-meetup"> 15 <div class="happen-meetup">
16 <b>What will happen at the pitch session?</b> 16 <b>What will happen at the pitch session?</b>
17 </div> 17 </div>
18 <ul> 18 <ul>
19 <li>Mentoring session by an industry expert followed by a quick Q/A session.</li> 19 <li>Mentoring session by an industry expert followed by a quick Q/A session.</li>
20 <li>Prototype-based startup will be given 90 seconds while idea-based startup will be given 60 seconds to pitch their venture to the judging panel.</li> 20 <li>Prototype-based startup will be given 90 seconds while idea-based startup will be given 60 seconds to pitch their venture to the judging panel.</li>
21 <li>One-on-one interaction between the top 5 startups and the jury.</li> 21 <li>One-on-one interaction between the top 5 startups and the jury.</li>
22 </ul> 22 </ul>
23 <div class="happen-meetup"> 23 <div class="happen-meetup">
24 <b>Who can attend pitch session?</b> 24 <b>Who can attend pitch session?</b>
25 </div> 25 </div>
26 <ul> 26 <ul>
27 <li>Startups of all sectors and stages can attend the pitch session.</li> 27 <li>Startups of all sectors and stages can attend the pitch session.</li>
28 </ul> 28 </ul>
29 </div> 29 </div>
30 </div> 30 </div>
31 <div class="row"> 31 <div class="row">
32 <div class="col-sm-6 happen-attend"> 32 <div class="col-sm-6 happen-attend">
33 <div class="width-auto"> 33 <div class="width-auto">
34 <div class="happen-meetup" style="margin-top: -5px;"> 34 <div class="happen-meetup" style="margin-top: -5px;">
35 <b>Is there any registration fee involved for pitch session?</b> 35 <b>Is there any registration fee involved for pitch session?</b>
36 </div> 36 </div>
37 <ul > 37 <ul >
38 <li>A startup is required to pay a registration fee of Rs.500 to attend the pitch session.</li> 38 <li>A startup is required to pay a registration fee of Rs.500 to attend the pitch session.</li>
39 </ul> 39 </ul>
40 </div><br> 40 </div><br>
41 <div class="width-auto"> 41 <div class="width-auto">
42 <div class="happen-meetup" style="margin-top: -18px;"> 42 <div class="happen-meetup" style="margin-top: -18px;">
43 <b > Why should a startup participate?</b> 43 <b > Why should a startup participate?</b>
44 </div> 44 </div>
45 <ul > 45 <ul >
46 <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> 46 <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>
47 <li>Two exciting startups from each city will get a travel grant to fly to Startup Jalsa, Invest Edition.</li> 47 <li>Two exciting startups from each city will get a travel grant to fly to Startup Jalsa, Invest Edition.</li>
48 </ul> 48 </ul>
49 </div> 49 </div>
50 </div> 50 </div>
51 </div><br> 51 </div><br>
52 <div class="apply-btn"> 52 <div class="apply-btn">
53 <button class="btn submit-button apply-act" value="Apply" ng-click="apply()" >Proceed</button> 53 <button class="btn submit-button apply-act" value="Apply" ng-click="apply()" >Proceed</button>
54 </div> 54 </div>
55 </div> 55 </div>
56 </div> 56 </div>
57 </form> 57 </form>
58 <footer> 58 <footer>
59 <img id="footer" class="img-responsive banner"> 59 <img id="footer" class="img-responsive banner">
60 <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank"></a> </center> 60 <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank"></a> </center>
61 </footer> --> 61 </footer> -->
62 <div class="col-xs-12 buttons"> 62 <div class="col-xs-12 buttons">
63 <button type="button" class="btn btn-dark btn-lg apply-act1 btn1" ng-click="isShowHide('INDIA')" value="INDIA" id="defaultcountry">INDIA</button> 63 <button type="button" class="btn btn-dark btn-lg apply-act1 btn1" ng-click="isShowHide('INDIA')" value="INDIA" id="defaultcountry">INDIA</button>
64 <button type="button" class="btn btn-dark btn-lg apply-act2 btn2" ng-click="isShowHide('SRI LANKA')" value="SRI LANKA">SRI LANKA</button> 64 <button type="button" class="btn btn-dark btn-lg apply-act2 btn2" ng-click="isShowHide('SRI LANKA')" value="SRI LANKA">SRI LANKA</button>
65 <button type="button" class="btn btn-dark btn-lg apply-act3 btn3" ng-click="isShowHide('BANGLADESH')" value="BANGLADESH">BANGLADESH</button> 65 <button type="button" class="btn btn-dark btn-lg apply-act3 btn3" ng-click="isShowHide('BANGLADESH')" value="BANGLADESH">BANGLADESH</button>
66 <button type="button" class="btn btn-dark btn-lg apply-act4 btn4" ng-click="isShowHide('NEPAL')" value="NEPAL">NEPAL</button> 66 <button type="button" class="btn btn-dark btn-lg apply-act4 btn4" ng-click="isShowHide('NEPAL')" value="NEPAL">NEPAL</button>
67 </div> 67 </div>
68 <div class="col-xs-12 col-md-8 col-md-offset-2" ng-show="showval"> 68 <div class="col-xs-12 col-md-8 col-md-offset-2" ng-show="showval">
69 <div class="stage-shadow" id="front"> 69 <div class="stage-shadow" id="front">
70 <div class="stages card-align"> 70 <div class="stages card-align">
71 <div class="row"> 71 <div class="row">
72 <!-- <div class="col-md-4 col-sm-8" style="margin-top: 5%;"> 72 <!-- <div class="col-md-4 col-sm-8" style="margin-top: 5%;">
73 <div class="card" style="width:100%;border-radius: 6px;"> 73 <div class="card" style="width:100%;border-radius: 6px;">
74 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 74 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
75 <img class="card-img-top" src="images/Ahmedabad.png" style="width:100%" ng-click="watch('Chennai')"> 75 <img class="card-img-top" src="images/Ahmedabad.png" style="width:100%" ng-click="watch('Chennai')">
76 </label> 76 </label>
77 </div> 77 </div>
78 <div class="txt">Ahmedabad</div> 78 <div class="txt">Ahmedabad</div>
79 </div> --> 79 </div> -->
80 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 80 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
81 <div class="card1"> 81 <div class="card1">
82 <img class="card-img-top" src="images/ahmedabad.png"> 82 <img class="card-img-top" src="images/ahmedabad.png">
83 <img class="img-top" src="images/Ahmedabad_1.png" ng-click="watch('Ahmedabad')"> 83 <img class="img-top" src="images/Ahmedabad_1.png" ng-click="watch('Ahmedabad')">
84 </div> 84 </div>
85 <div class="txt">Ahmedabad</div> 85 <div class="txt">Ahmedabad</div>
86 <div class="txt1">IIM Ahmedabad | September 11th, 2019</div> 86 <div class="txt1">IIM Ahmedabad | September 11th, 2019</div>
87 </div> 87 </div>
88 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 88 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
89 <div class="card1"> 89 <div class="card1">
90 <img class="card-img-top" src="images/Bengaluru.png"> 90 <img class="card-img-top" src="images/Bengaluru.png">
91 <img class="img-top" src="images/bengaluru_1.png" ng-click="watch('Bengaluru')"> 91 <img class="img-top" src="images/bengaluru_1.png" ng-click="watch('Bengaluru')">
92 </div> 92 </div>
93 <div class="txt">Bengaluru</div> 93 <div class="txt">Bengaluru</div>
94 <div class="txt1">IIM Bengaluru | September 7th, 2019</div> 94 <div class="txt1">IIM Bengaluru | September 7th, 2019</div>
95 </div> 95 </div>
96 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 96 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
97 <div class="card1"> 97 <div class="card1">
98 <img class="card-img-top" src="images/chennai.png"> 98 <img class="card-img-top" src="images/chennai.png">
99 <img class="img-top" src="images/chennai_1.png" ng-click="watch('Chennai')"> 99 <img class="img-top" src="images/chennai_1.png" ng-click="watch('Chennai')">
100 </div> 100 </div>
101 <div class="txt">Chennai</div> 101 <div class="txt">Chennai</div>
102 <div class="txt1">IIT-Madras | October 1st, 2019</div> 102 <div class="txt1">IIT-Madras | October 1st, 2019</div>
103 </div> 103 </div>
104 </div> 104 </div>
105 </div> 105 </div>
106 </div> 106 </div>
107 <div class="clearfix"></div> 107 <div class="clearfix"></div>
108 <div class="stages card-align"> 108 <div class="stages card-align">
109 <div class="row"> 109 <div class="row">
110 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 110 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
111 <div class="card1"> 111 <div class="card1">
112 <img class="card-img-top" src="images/delhi.png"> 112 <img class="card-img-top" src="images/delhi.png">
113 <img class="img-top" src="images/delhi_1.png" ng-click="watch('Delhi')"> 113 <img class="img-top" src="images/delhi_1.png" ng-click="watch('Delhi')">
114 </div> 114 </div>
115 <div class="txt">Delhi</div> 115 <div class="txt">Delhi</div>
116 <div class="txt1">IIT Delhi | October 16th, 2019</div> 116 <div class="txt1">IIT Delhi | October 16th, 2019</div>
117 </div> 117 </div>
118 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 118 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
119 <div class="card1"> 119 <div class="card1">
120 <img class="card-img-top" src="images/Hyderabad.png"> 120 <img class="card-img-top" src="images/Hyderabad.png">
121 <img class="img-top " src="images/hyderabad_1.png" ng-click="watch('Hyderabad')"> 121 <img class="img-top " src="images/hyderabad_1.png" ng-click="watch('Hyderabad')">
122 </div> 122 </div>
123 <div class="txt">hyderabad</div> 123 <div class="txt">Hyderabad</div>
124 <div class="txt1">IIT Hyderabad | September 14th, 2019</div> 124 <div class="txt1">IIT Hyderabad | September 14th, 2019</div>
125 </div> 125 </div>
126 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 126 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
127 <div class="card1"> 127 <div class="card1">
128 <img class="card-img-top" src="images/jaipur.png"> 128 <img class="card-img-top" src="images/jaipur.png">
129 <img class="img-top" src="images/jaipur_1.png" ng-click="watch('Jaipur')"> 129 <img class="img-top" src="images/jaipur_1.png" ng-click="watch('Jaipur')">
130 </div> 130 </div>
131 <div class="txt">Jaipur</div> 131 <div class="txt">Jaipur</div>
132 <div class="txt1">Startup Oasis | September 24th, 2019</div> 132 <div class="txt1">Startup Oasis | September 24th, 2019</div>
133 </div> 133 </div>
134 </div> 134 </div>
135 </div> 135 </div>
136 <div class="clearfix"></div> 136 <div class="clearfix"></div>
137 <div class="stages card-align"> 137 <div class="stages card-align">
138 <div class="row"> 138 <div class="row">
139 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 139 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
140 <div class="card1"> 140 <div class="card1">
141 <img class="card-img-top" src="images/kanpur.png"> 141 <img class="card-img-top" src="images/kanpur.png">
142 <img class="img-top" src="images/kanpur_1.png" ng-click="watch('Kanpur')"> 142 <img class="img-top" src="images/kanpur_1.png" ng-click="watch('Kanpur')">
143 </div> 143 </div>
144 <div class="txt">Kanpur</div> 144 <div class="txt">Kanpur</div>
145 <div class="txt1">IIT Kanpur | September 28th, 2019</div> 145 <div class="txt1">IIT Kanpur | September 28th, 2019</div>
146 </div> 146 </div>
147 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 147 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
148 <div class="card1"> 148 <div class="card1">
149 <img class="card-img-top" src="images/kolkata.png"> 149 <img class="card-img-top" src="images/kolkata.png">
150 <img class="img-top" src="images/kolkata_1.png" ng-click="watch('Kolkata')"> 150 <img class="img-top" src="images/kolkata_1.png" ng-click="watch('Kolkata')">
151 </div> 151 </div>
152 <div class="txt">Kolkata</div> 152 <div class="txt">Kolkata</div>
153 <div class="txt1">IIM Calcutta | September 17th, 2019</div> 153 <div class="txt1">IIM Calcutta | September 17th, 2019</div>
154 </div> 154 </div>
155 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 155 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
156 <div class="card1"> 156 <div class="card1">
157 <img class="card-img-top" src="images/mumbai.png"> 157 <img class="card-img-top" src="images/mumbai.png">
158 <img class="img-top" src="images/mumbai_1.png" ng-click="watch('Mumbai')"> 158 <img class="img-top" src="images/mumbai_1.png" ng-click="watch('Mumbai')">
159 </div> 159 </div>
160 <div class="txt">Mumbai</div> 160 <div class="txt">Mumbai</div>
161 <div class="txt1">IIT Bombay | September 4th, 2019</div> 161 <div class="txt1">IIT Bombay | September 4th, 2019</div>
162 </div> 162 </div>
163 </div> 163 </div>
164 </div> 164 </div>
165 </div> 165 </div>
166 <div class="col-xs-12 col-md-8 col-md-offset-2" ng-show="hideval"> 166 <div class="col-xs-12 col-md-8 col-md-offset-2" ng-show="hideval">
167 <div class="stage-shadow" id="front"> 167 <div class="stage-shadow" id="front">
168 <div class="stages card-align"> 168 <div class="stages card-align">
169 <div class="row"> 169 <div class="row">
170 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 170 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
171 <div class="card1"> 171 <div class="card1">
172 <img class="card-img-top" src="images/Colombo.png"> 172 <img class="card-img-top" src="images/Colombo.png">
173 <img class="img-top" src="images/colombo_1.png" ng-click="watch('Colombo')"> 173 <img class="img-top" src="images/colombo_1.png" ng-click="watch('Colombo')">
174 </div> 174 </div>
175 <div class="txt">Colombo</div> 175 <div class="txt">Colombo</div>
176 <div class="txt1">Colombo, Sri Lanka | October 5th, 2019</div> 176 <div class="txt1">Colombo, Sri Lanka | October 5th, 2019</div>
177 </div> 177 </div>
178 </div> 178 </div>
179 </div> 179 </div>
180 </div> 180 </div>
181 </div> 181 </div>
182 <div class="col-xs-12 col-md-8 col-md-offset-2" ng-show="showvalue"> 182 <div class="col-xs-12 col-md-8 col-md-offset-2" ng-show="showvalue">
183 <div class="stage-shadow" id="front"> 183 <div class="stage-shadow" id="front">
184 <div class="stages card-align"> 184 <div class="stages card-align">
185 <div class="row"> 185 <div class="row">
186 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 186 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
187 <div class="card1"> 187 <div class="card1">
188 <img class="card-img-top" src="images/Dhaka.png"> 188 <img class="card-img-top" src="images/Dhaka.png">
189 <img class="img-top" src="images/dhaka_1.png" ng-click="watch('Dhaka')"> 189 <img class="img-top" src="images/dhaka_1.png" ng-click="watch('Dhaka')">
190 </div> 190 </div>
191 <div class="txt">Dhaka</div> 191 <div class="txt">Dhaka</div>
192 <div class="txt1">Dhaka, Bangladesh | September 21st, 2019</div> 192 <div class="txt1">Dhaka, Bangladesh | September 21st, 2019</div>
193 </div> 193 </div>
194 </div> 194 </div>
195 </div> 195 </div>
196 </div> 196 </div>
197 </div> 197 </div>
198 <div class="col-xs-12 col-md-8 col-md-offset-2" ng-show="hidevalue"> 198 <div class="col-xs-12 col-md-8 col-md-offset-2" ng-show="hidevalue">
199 <div class="stage-shadow" id="front"> 199 <div class="stage-shadow" id="front">
200 <div class="stages card-align"> 200 <div class="stages card-align">
201 <div class="row"> 201 <div class="row">
202 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;"> 202 <div class="col-md-4 col-sm-8 color" style="margin-top: 5%;">
203 <div class="card1"> 203 <div class="card1">
204 <img class="card-img-top" src="images/Kathmandu.png"> 204 <img class="card-img-top" src="images/Kathmandu.png">
205 <img class="img-top" src="images/kathmandu_1.png" ng-click="watch('Kathmandu')"> 205 <img class="img-top" src="images/kathmandu_1.png" ng-click="watch('Kathmandu')">
206 </div> 206 </div>
207 <div class="txt">Kathmandu</div> 207 <div class="txt">Kathmandu</div>
208 <div class="txt1">Kathmandu, Nepal | October 12th, 2019</div> 208 <div class="txt1">Kathmandu, Nepal | October 12th, 2019</div>
209 </div> 209 </div>
210 </div> 210 </div>
211 </div> 211 </div>
212 </div> 212 </div>
213 </div> 213 </div>
214 <span ng-show="span == true"> 214 <span ng-show="span == true">
215 <span id="chennai"></span> 215 <span id="chennai"></span>
216 <span id="mumbai"></span> 216 <span id="mumbai"></span>
217 <span id="hyderabad"></span> 217 <span id="hyderabad"></span>
218 <span id="kolkata"></span> 218 <span id="kolkata"></span>
219 <span id="delhi"></span> 219 <span id="delhi"></span>
220 <span id="ahmedabad"></span> 220 <span id="ahmedabad"></span>
221 <span id="bengaluru"></span> 221 <span id="bengaluru"></span>
222 <span id="jaipur"></span> 222 <span id="jaipur"></span>
223 <span id="kanpur"></span> 223 <span id="kanpur"></span>
224 <span id="dharamsala"></span> 224 <span id="dharamsala"></span>
225 </span> 225 </span>
226 226
227 227
228 228
pages/registration.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 <!-- <img src="images/SartupJalsa_Logo.png" style="width:200px;position:relative;"> --> 4 <!-- <img src="images/SartupJalsa_Logo.png" style="width:200px;position:relative;"> -->
5 </div> 5 </div>
6 <div class="clearfix"></div> 6 <div class="clearfix"></div>
7 </div> 7 </div>
8 <!-- CLOSE HEADER --> 8 <!-- CLOSE HEADER -->
9 <form name="applicantForm"> 9 <form name="applicantForm">
10 <div class="col-xs-12 col-md-8 col-md-offset-2"> 10 <div class="col-xs-12 col-md-8 col-md-offset-2">
11 <div class="form-all"> 11 <div class="form-all">
12 <h4 class="title">General Information</h4> 12 <h4 class="title">General Information</h4>
13 <!-- <table style="width: 100%;"> 13 <!-- <table style="width: 100%;">
14 <tr> 14 <tr>
15 <td> 15 <td>
16 <div class="step-one-form" > --> 16 <div class="step-one-form" > -->
17 <!-- form step 1 --> 17 <!-- form step 1 -->
18 <div class="col-xs-12 col-md-8 col-md-offset-2 input-wrapper" > 18 <div class="col-xs-12 col-md-8 col-md-offset-2 input-wrapper" >
19 <div class="form-group"> 19 <div class="form-group">
20 <label>Name: *</label> 20 <label>Name: *</label>
21 <input type="name" class="form-control" ng-model="data.name" required> 21 <input type="name" class="form-control" ng-model="data.name" required>
22 </div> 22 </div>
23 <div class="form-group"> 23 <div class="form-group">
24 <label>Startup Name: *</label> 24 <label>Startup Name: *</label>
25 <input type="text" class="form-control" ng-model="data.startupName" required> 25 <input type="text" class="form-control" ng-model="data.startupName" required>
26 </div> 26 </div>
27 <div class="form-group"> 27 <div class="form-group">
28 <label>Phone No: *</label> 28 <label>Phone No: *</label>
29 <input type="number" class="form-control" ng-model="data.number" required> 29 <input type="number" class="form-control" ng-model="data.number" required>
30 </div> 30 </div>
31 <div class="form-group"> 31 <div class="form-group">
32 <label>Email: *</label> 32 <label>Email: *</label>
33 <input type="email" class="form-control" ng-model="data.email" required> 33 <input type="email" class="form-control" ng-model="data.email" required>
34 </div> 34 </div>
35 <div class="form-group"> 35 <div class="form-group">
36 <label>Website:</label> 36 <label>Website:</label>
37 <input type="text" class="form-control" ng-model="data.website"> 37 <input type="text" class="form-control" ng-model="data.website">
38 </div> 38 </div>
39 <div class="form-group"> 39 <div class="form-group">
40 <label>Founding Year: *</label> 40 <label>Founding Year: *</label>
41 <input type="text" class="form-control" ng-model="data.founder" required> 41 <input type="text" class="form-control" ng-model="data.founder" required>
42 </div> 42 </div>
43 <div class="form-group"> 43 <div class="form-group">
44 <label>Business Types: *</label> 44 <label>Business Types: *</label>
45 <select class="form-control" ng-model="data.business" required> 45 <select class="form-control" ng-model="data.business" required>
46 <option name="business" selected disabled value="">Choose business type</option> 46 <option name="business" selected disabled value="">Choose business type</option>
47 <option value="B2B">B2B</option> 47 <option value="B2B">B2B</option>
48 <option value="B2C">B2C</option> 48 <option value="B2C">B2C</option>
49 </select> 49 </select>
50 </div> 50 </div>
51 <div class="form-group"> 51 <div class="form-group">
52 <label>Stage: *</label> 52 <label>Stage: *</label>
53 <select class="form-control" ng-model="data.stage" required> 53 <select class="form-control" ng-model="data.stage" required>
54 <option name="stage" selected disabled value="">Choose Startup Stage</option> 54 <option name="stage" selected disabled value="">Choose Startup Stage</option>
55 <option value="Idea">Idea</option> 55 <option value="Idea">Idea</option>
56 <option value="Prototype">Prototype</option> 56 <option value="Prototype">Prototype</option>
57 </select> 57 </select>
58 </div> 58 </div>
59 <div class="form-group"> 59 <div class="form-group">
60 <label>Sector: *</label> 60 <label>Sector: *</label>
61 <select class="form-control" ng-model="data.sector" ng-change="GetValue()" required> 61 <select class="form-control" ng-model="data.sector" ng-change="GetValue()" required>
62 <option name="sector" selected disabled value="">Choose sector</option> 62 <option name="sector" selected disabled value="">Choose sector</option>
63 <option value="Agriculture">Agriculture</option> 63 <option value="Agriculture">Agriculture</option>
64 <option value="Healthcare">Healthcare</option> 64 <option value="Healthcare">Healthcare</option>
65 <option value="e-Governance">e-Governance</option> 65 <option value="e-Governance">e-Governance</option>
66 <option value="Retail">Retail</option> 66 <option value="Retail">Retail</option>
67 <option value="Food and Beverages">Food and Beverages</option> 67 <option value="Food and Beverages">Food and Beverages</option>
68 <option value="Hardware">Hardware</option> 68 <option value="Hardware">Hardware</option>
69 <option value="Software">Software</option> 69 <option value="Software">Software</option>
70 <option value="Media and Entertainment">Media and Entertainment</option> 70 <option value="Media and Entertainment">Media and Entertainment</option>
71 <option value="AI">AI</option> 71 <option value="AI">AI</option>
72 <option value="AR&VR">AR&VR</option> 72 <option value="AR&VR">AR&VR</option>
73 <option value="Automobile">Automobile</option> 73 <option value="Automobile">Automobile</option>
74 <option value="Other">Other</option> 74 <option value="Other">Other</option>
75 </select> 75 </select>
76 </div> 76 </div>
77 <div class="form-group" ng-if="ngShowhide"> 77 <div class="form-group" ng-if="ngShowhide">
78 <input type="text" class="form-control" ng-model="data.sectorType" placeholder="Other Sector Name"> 78 <input type="text" class="form-control" ng-model="data.sectorType" placeholder="Other Sector Name">
79 </div> 79 </div>
80 <div class="form-group"> 80 <div class="form-group">
81 <label>Introduction: *</label> 81 <label>Introduction: *</label>
82 <textarea type="text" class="form-control" ng-model="data.intro" placeholder="Give us a brief introduction in two lines" rows="3" required></textarea> 82 <textarea type="text" class="form-control" ng-model="data.intro" placeholder="Give us a brief introduction in two lines" rows="3" required></textarea>
83 </div> 83 </div>
84 <div class="form-group"> 84 <div class="form-group">
85 <label>Revenue: *</label> 85 <label>Revenue: *</label>
86 <textarea type="text" class="form-control" ng-model="data.revenue" placeholder="Are you generating any revenue? If yes, then mention your numbers" rows="3" required></textarea> 86 <textarea type="text" class="form-control" ng-model="data.revenue" placeholder="Are you generating any revenue? If yes, then mention your numbers" rows="3" required></textarea>
87 </div> 87 </div>
88 <div class="form-group"> 88 <div class="form-group">
89 <label>Previous Investments: *</label> 89 <label>Previous Investments: *</label>
90 <textarea type="text" class="form-control" ng-model="data.investment" placeholder="Did you receive any previous investment? If yes, then mention the investment amount and the equity you diluted?" rows="3" required></textarea> 90 <textarea type="text" class="form-control" ng-model="data.investment" placeholder="Did you receive any previous investment? If yes, then mention the investment amount and the equity you diluted?" rows="3" required></textarea>
91 </div> 91 </div>
92 <div class="form-group"> 92 <div class="form-group">
93 <label>Coupon Code:</label> 93 <label>Coupon Code:</label>
94 <input type="text" class="form-control" placeholder="If you have a coupon code then apply here"ng-model="data.referalToken"> 94 <input type="text" class="form-control" placeholder="If you have a coupon code then apply here"ng-model="data.referalToken">
95 <!-- <input type="text" class="form-control" ng-model="data.referalToken" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> 95 <!-- <input type="text" class="form-control" ng-model="data.referalToken" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)">
96 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> 96 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i>
97 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> 97 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i>
98 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> --> 98 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> -->
99 </div> 99 </div>
100 <div class="form-group"> 100 <div class="form-group">
101 <label>Attach Pitch Deck: *</label> 101 <label>Attach Pitch Deck: *</label>
102 <input type="file" class="form-control-file" file-model="base64textString" id="filePicker" accept=".png, .jpg, .jpeg, .pdf, .ppt" required/> 102 <input type="file" class="form-control-file" ng-model="data.uploadFile" id="filePicker" accept=".png, .jpg, .jpeg, .pdf, .ppt" ng-required="uploadFile">
103 </div>
104 <div>
105 "Fields marked with "<b>*</b>" are mandatory."
103 </div> 106 </div>
104 </div> 107 </div>
105 <!-- <div class="col-xs-12 col-md-6 input-wrapper" > 108 <!-- <div class="col-xs-12 col-md-6 input-wrapper" >
106 <div id="snackbar">Error ! Please fill in all fields.</div> 109 <div id="snackbar">Error ! Please fill in all fields.</div>
107 <div class="icon-circle-c"> 110 <div class="icon-circle-c">
108 <i class="material-icons" style="line-height: 31px;">person</i> 111 <i class="material-icons" style="line-height: 31px;">person</i>
109 </div> 112 </div>
110 <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)"> 113 <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)">
111 </div> 114 </div>
112 <div class="col-xs-12 col-md-6 input-wrapper" > 115 <div class="col-xs-12 col-md-6 input-wrapper" >
113 <div id="snackbar">Error ! Please fill in all fields.</div> 116 <div id="snackbar">Error ! Please fill in all fields.</div>
114 <div class="icon-circle-d"> 117 <div class="icon-circle-d">
115 <i class="material-icons" style="line-height: 30px;">email</i> 118 <i class="material-icons" style="line-height: 30px;">email</i>
116 </div> 119 </div>
117 <input type="email" name="email" ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" ng-blur="emailcheck(data.email)" ng-focus="removeError()" placeholder="Email Address *" ng-change="enteremail(data.email); emailkeyPress(data.email)"> 120 <input type="email" name="email" ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" ng-blur="emailcheck(data.email)" ng-focus="removeError()" placeholder="Email Address *" ng-change="enteremail(data.email); emailkeyPress(data.email)">
118 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> 121 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label>
119 </div> 122 </div>
120 <div class="col-xs-12 col-md-6 input-wrapper"> 123 <div class="col-xs-12 col-md-6 input-wrapper">
121 <div class="icon-circle-f"> 124 <div class="icon-circle-f">
122 <i class="material-icons" style="line-height: 30px;">location_city</i> 125 <i class="material-icons" style="line-height: 30px;">location_city</i>
123 </div> 126 </div>
124 <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> 127 <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required>
125 <option name="city" selected disabled value="">{{data.city}}</option> 128 <option name="city" selected disabled value="">{{data.city}}</option>
126 <option value="Ahmedabad">Ahmedabad</option> 129 <option value="Ahmedabad">Ahmedabad</option>
127 <option value="Bengaluru">Bengaluru</option> 130 <option value="Bengaluru">Bengaluru</option>
128 <option value="Chennai">Chennai</option> 131 <option value="Chennai">Chennai</option>
129 <option value="Delhi">Delhi</option> 132 <option value="Delhi">Delhi</option>
130 <option value="Hyderabad">Hyderabad</option> 133 <option value="Hyderabad">Hyderabad</option>
131 <option value="Jaipur">Jaipur</option> 134 <option value="Jaipur">Jaipur</option>
132 <option value="Kanpur">Kanpur</option> 135 <option value="Kanpur">Kanpur</option>
133 <option value="Kolkata">Kolkata</option> 136 <option value="Kolkata">Kolkata</option>
134 <option value="Mumbai">Mumbai</option> 137 <option value="Mumbai">Mumbai</option>
135 </select> 138 </select>
136 </div> 139 </div>
137 <div class="col-xs-12 col-md-6 input-wrapper" > 140 <div class="col-xs-12 col-md-6 input-wrapper" >
138 <div class="icon-circle-e"> 141 <div class="icon-circle-e">
139 <i class="material-icons" style="line-height: 30px;">phone</i> 142 <i class="material-icons" style="line-height: 30px;">phone</i>
140 </div> 143 </div>
141 <input type="phone" name="phone" ng-pattern="/^\d*(?:\.\d{1,2})?$/" maxlength="10" class="text-input" required class="" ng-model="data.number" ng-blur="numbercheck(data.number)" ng-focus="removeNoError()" placeholder="Mobile No.*" ng-change="enternumber(data.number); phonekeyPress(data.number)"> 144 <input type="phone" name="phone" ng-pattern="/^\d*(?:\.\d{1,2})?$/" maxlength="10" class="text-input" required class="" ng-model="data.number" ng-blur="numbercheck(data.number)" ng-focus="removeNoError()" placeholder="Mobile No.*" ng-change="enternumber(data.number); phonekeyPress(data.number)">
142 <label class="error-message f-family" id="invalidNumber">Please enter only numeric value.</label> 145 <label class="error-message f-family" id="invalidNumber">Please enter only numeric value.</label>
143 </div> 146 </div>
144 <div class="col-xs-12 col-md-6 input-wrapper"> 147 <div class="col-xs-12 col-md-6 input-wrapper">
145 <div class="icon-circle-i"> 148 <div class="icon-circle-i">
146 <i class="material-icons" style="line-height: 30px;">perm_identity</i> 149 <i class="material-icons" style="line-height: 30px;">perm_identity</i>
147 </div> 150 </div>
148 <input type="text" class="text-input" ng-model="data.companyName" placeholder="Company Name *" ng-change="enternumber(data.companyName); companykeyPress(data.companyName)" required> 151 <input type="text" class="text-input" ng-model="data.companyName" placeholder="Company Name *" ng-change="enternumber(data.companyName); companykeyPress(data.companyName)" required>
149 </div> 152 </div>
150 <div class="col-xs-12 col-md-6 input-wrapper"> 153 <div class="col-xs-12 col-md-6 input-wrapper">
151 <div class="icon-circle-n"> 154 <div class="icon-circle-n">
152 <i class="material-icons" style="line-height: 30px;">web</i> 155 <i class="material-icons" style="line-height: 30px;">web</i>
153 </div> 156 </div>
154 <input name="website" class="text-input" ng-model="data.website" placeholder="Website link" ng-change="enterwebsite(data.website); revenuekeyPress(data.website)"></input> 157 <input name="website" class="text-input" ng-model="data.website" placeholder="Website link" ng-change="enterwebsite(data.website); revenuekeyPress(data.website)"></input>
155 </div> 158 </div>
156 <div class="col-xs-12 col-md-6 input-wrapper"> 159 <div class="col-xs-12 col-md-6 input-wrapper">
157 <div class="icon-circle-y"> 160 <div class="icon-circle-y">
158 <i class="material-icons" style="line-height: 30px;">assignment</i> 161 <i class="material-icons" style="line-height: 30px;">assignment</i>
159 </div> 162 </div>
160 <select ng-model="data.stage" ng-change="selectechnology(data.stage); fundkeyPress(data.stage)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> 163 <select ng-model="data.stage" ng-change="selectechnology(data.stage); fundkeyPress(data.stage)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required>
161 <option name="stage" selected disabled value="">Choose Startup Stage *</option> 164 <option name="stage" selected disabled value="">Choose Startup Stage *</option>
162 <option value="Idea">Idea</option> 165 <option value="Idea">Idea</option>
163 <option value="Prototype">Prototype</option> 166 <option value="Prototype">Prototype</option>
164 </select> 167 </select>
165 </div> 168 </div>
166 <div class="col-xs-12 col-md-6 input-wrapper"> 169 <div class="col-xs-12 col-md-6 input-wrapper">
167 <div class="icon-circle-q"> 170 <div class="icon-circle-q">
168 <i class="material-icons" style="line-height: 30px;">business</i> 171 <i class="material-icons" style="line-height: 30px;">business</i>
169 </div> 172 </div>
170 <select ng-model="data.business" ng-change="selectechnology(data.business); ideakeyPress(data.business)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> 173 <select ng-model="data.business" ng-change="selectechnology(data.business); ideakeyPress(data.business)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required>
171 <option name="business" selected disabled value="">Type of business *</option> 174 <option name="business" selected disabled value="">Type of business *</option>
172 <option value="B2B">B2B</option> 175 <option value="B2B">B2B</option>
173 <option value="B2C">B2C</option> 176 <option value="B2C">B2C</option>
174 <option value="Other">Other</option> 177 <option value="Other">Other</option>
175 </select> 178 </select>
176 </div> 179 </div>
177 <div class="col-xs-12 col-md-12 f-family line-adjust"> 180 <div class="col-xs-12 col-md-12 f-family line-adjust">
178 <strong>How many founders/teammates will be attending pitch session? *</strong> 181 <strong>How many founders/teammates will be attending pitch session? *</strong>
179 <p class="line-space" ></p> 182 <p class="line-space" ></p>
180 </div> 183 </div>
181 <div class="col-xs-12 col-md-12 input-wrapper" > 184 <div class="col-xs-12 col-md-12 input-wrapper" >
182 <div class="icon-circle-o"> 185 <div class="icon-circle-o">
183 <i class="material-icons" style="line-height: 30px;">confirmation_number</i> 186 <i class="material-icons" style="line-height: 30px;">confirmation_number</i>
184 </div> 187 </div>
185 <select ng-model="data.founder" ng-change="selectfounder(data.founder); discountkeyPress(data.founder)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> 188 <select ng-model="data.founder" ng-change="selectfounder(data.founder); discountkeyPress(data.founder)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required>
186 <option name="founder" selected disabled value="">Choose</option> 189 <option name="founder" selected disabled value="">Choose</option>
187 <option value="1">1</option> 190 <option value="1">1</option>
188 <option value="2">2</option> 191 <option value="2">2</option>
189 <option value="3">3</option> 192 <option value="3">3</option>
190 <option value="more than 3">more than 3</option> 193 <option value="more than 3">more than 3</option>
191 </select> 194 </select>
192 </div> --> 195 </div> -->
193 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> 196 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust">
194 <strong>In which city is your startup registered at?</strong> 197 <strong>In which city is your startup registered at?</strong>
195 <p class="line-space" ></p> 198 <p class="line-space" ></p>
196 </div> --> 199 </div> -->
197 <!-- <div class="col-xs-12 col-md-12 input-wrapper"> 200 <!-- <div class="col-xs-12 col-md-12 input-wrapper">
198 <div class="icon-circle-m"> 201 <div class="icon-circle-m">
199 <i class="material-icons" style="line-height: 30px;">assessment</i> 202 <i class="material-icons" style="line-height: 30px;">assessment</i>
200 </div> 203 </div>
201 <input type="text" class="text-input" ng-model="data.cityRegister" placeholder="Your Answer.." ng-change="entertechnology(data.cityRegister); annualkeyPress(data.cityRegister)"> 204 <input type="text" class="text-input" ng-model="data.cityRegister" placeholder="Your Answer.." ng-change="entertechnology(data.cityRegister); annualkeyPress(data.cityRegister)">
202 </div> --> 205 </div> -->
203 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> 206 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust">
204 <strong>Give us a brief introduction about your startup. *</strong> 207 <strong>Give us a brief introduction about your startup. *</strong>
205 <p class="line-space" >Kindly write a powerful Twitter Pitch (characters limit - 200).</p> 208 <p class="line-space" >Kindly write a powerful Twitter Pitch (characters limit - 200).</p>
206 </div> 209 </div>
207 <div class="col-xs-12 col-md-12 input-wrapper"> 210 <div class="col-xs-12 col-md-12 input-wrapper">
208 <div class="icon-circle-x"> 211 <div class="icon-circle-x">
209 <i class="material-icons" style="line-height: 30px;">line_weight</i> 212 <i class="material-icons" style="line-height: 30px;">line_weight</i>
210 </div> 213 </div>
211 <textarea name="intro" class="text-input textarea" ng-model="data.intro" placeholder="Your Answer.." maxlength="200" ng-change="enterproblem(data.intro); startupNamekeyPress(data.intro)" required></textarea> 214 <textarea name="intro" class="text-input textarea" ng-model="data.intro" placeholder="Your Answer.." maxlength="200" ng-change="enterproblem(data.intro); startupNamekeyPress(data.intro)" required></textarea>
212 </div> 215 </div>
213 <div class="col-xs-12 col-md-12 f-family line-adjust"> 216 <div class="col-xs-12 col-md-12 f-family line-adjust">
214 <strong>Who are your customers? *</strong> 217 <strong>Who are your customers? *</strong>
215 <p class="line-space" >We are looking for a simple and clear answer of who you are selling to (characters limit - 512).</p> 218 <p class="line-space" >We are looking for a simple and clear answer of who you are selling to (characters limit - 512).</p>
216 </div> 219 </div>
217 <div class="col-xs-12 col-md-12 input-wrapper"> 220 <div class="col-xs-12 col-md-12 input-wrapper">
218 <div class="icon-circle-k"> 221 <div class="icon-circle-k">
219 <i class="material-icons" style="line-height: 30px;">help</i> 222 <i class="material-icons" style="line-height: 30px;">help</i>
220 </div> 223 </div>
221 <textarea name="customer" class="text-input textarea" ng-model="data.customer" placeholder="Your Answer.." maxlength="512" ng-change="entersolution(data.customer); websitekeyPress(data.customer)" required></textarea> 224 <textarea name="customer" class="text-input textarea" ng-model="data.customer" placeholder="Your Answer.." maxlength="512" ng-change="entersolution(data.customer); websitekeyPress(data.customer)" required></textarea>
222 </div> --> 225 </div> -->
223 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> 226 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust">
224 <strong>What problem you are solving for them? *</strong> 227 <strong>What problem you are solving for them? *</strong>
225 <p class="line-space" >We want to understand how clearly you know the pain point, and how big of a problem it is for the customers.</p> 228 <p class="line-space" >We want to understand how clearly you know the pain point, and how big of a problem it is for the customers.</p>
226 </div> 229 </div>
227 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 230 <div class="col-xs-12 col-md-12 input-wrapper f-family">
228 <div class="icon-circle-p"> 231 <div class="icon-circle-p">
229 <i class="material-icons" style="line-height: 30px;">business_center</i> 232 <i class="material-icons" style="line-height: 30px;">business_center</i>
230 </div> 233 </div>
231 <textarea name="problem" class="text-input textarea" ng-model="data.problem" placeholder="Your Answer.." ng-change="enterbusiness(data.problem); businesskeyPress(data.problem)" required> 234 <textarea name="problem" class="text-input textarea" ng-model="data.problem" placeholder="Your Answer.." ng-change="enterbusiness(data.problem); businesskeyPress(data.problem)" required>
232 </textarea> 235 </textarea>
233 </div> --> 236 </div> -->
234 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> 237 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust">
235 <strong>Link your pitch deck presentation. *</strong> 238 <strong>Link your pitch deck presentation. *</strong>
236 <p class="line-space" > Kindly upload the link to your pitch deck (Dropbox/Google Drive, if on google drive make the link open to all).</p> 239 <p class="line-space" > Kindly upload the link to your pitch deck (Dropbox/Google Drive, if on google drive make the link open to all).</p>
237 </div> 240 </div>
238 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 241 <div class="col-xs-12 col-md-12 input-wrapper f-family">
239 <div class="icon-circle-h"> 242 <div class="icon-circle-h">
240 <i class="material-icons" style="line-height: 30px;">web</i> 243 <i class="material-icons" style="line-height: 30px;">web</i>
241 </div> 244 </div>
242 <input name="link" class="text-input" ng-pattern="/^(http[s]?:\/\/){0,1}(www\.){0,1}[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,5}[\.]{0,1}/" ng-blur="emailcheck(data.link)" ng-focus="removeError()" ng-model="data.link" placeholder="link" ng-change="enterbusiness(data.link); linkedInkeyPress(data.link)" required> 245 <input name="link" class="text-input" ng-pattern="/^(http[s]?:\/\/){0,1}(www\.){0,1}[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,5}[\.]{0,1}/" ng-blur="emailcheck(data.link)" ng-focus="removeError()" ng-model="data.link" placeholder="link" ng-change="enterbusiness(data.link); linkedInkeyPress(data.link)" required>
243 <label class="error-message f-family" id="invalidEmail">Please enter a valid link.</label> 246 <label class="error-message f-family" id="invalidEmail">Please enter a valid link.</label>
244 </div> --> 247 </div> -->
245 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> 248 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust">
246 <strong>Coupon Code.</strong> 249 <strong>Coupon Code.</strong>
247 <p class="line-space" >Only applicable for venue partner ecosystem</p> 250 <p class="line-space" >Only applicable for venue partner ecosystem</p>
248 </div> 251 </div>
249 <div class="col-xs-12 input-wrapper"> 252 <div class="col-xs-12 input-wrapper">
250 <div class="referel-icon" style="z-index: 999;"> 253 <div class="referel-icon" style="z-index: 999;">
251 <i class="material-icons" style="line-height: 30px;">code</i> 254 <i class="material-icons" style="line-height: 30px;">code</i>
252 </div> 255 </div>
253 <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> 256 <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)">
254 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> 257 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i>
255 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> 258 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i>
256 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> 259 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button>
257 </div> --> 260 </div> -->
258 <div class="clearfix"></div> 261 <div class="clearfix"></div>
259 <!-- </div> --> 262 <!-- </div> -->
260 <!-- close step-one-form --> 263 <!-- close step-one-form -->
261 <!-- </td> 264 <!-- </td>
262 </tr> 265 </tr>
263 </table> --> 266 </table> -->
264 <div class="text-center"> 267 <div class="text-center">
265 <input type="submit" class="btn submit-button-form" ng-disabled="applicantForm.$invalid" value="Submit" ng-click="submit()"> 268 <input type="submit" class="btn submit-button-form" ng-disabled="applicantForm.$invalid" value="Submit" ng-click="submit()">
266 </div> 269 </div>
267 </div> 270 </div>
268 <!-- CLOSE form-all --> 271 <!-- CLOSE form-all -->
269 <!-- </div> --> 272 <!-- </div> -->
270 <!-- <div class="clearfix"></div> 273 <!-- <div class="clearfix"></div>
271 <div class="text-center"> 274 <div class="text-center">
272 <input type="submit" class="btn submit-button-form" ng-disabled="applicantForm.$invalid" value="Submit" ng-click="submit()"> 275 <input type="submit" class="btn submit-button-form" ng-disabled="applicantForm.$invalid" value="Submit" ng-click="submit()">
273 </div> --> 276 </div> -->
274 </div> 277 </div>
275 <!-- col-xs-12 col-md-8 col-md-offset-2 --> 278 <!-- col-xs-12 col-md-8 col-md-offset-2 -->
276 <!-- <footer> 279 <!-- <footer>
277 <img id="footer" class="img-responsive banner"> 280 <img id="footer" class="img-responsive banner">
278 <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank"></a> 281 <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank"></a>
279 </center> 282 </center>
280 </footer> --> 283 </footer> -->
281 </form> 284 </form>
282 <!-- CLOSE FORM --> 285 <!-- CLOSE FORM -->
283 <!-- </div> CLOSE CHECK VIEW --> 286 <!-- </div> CLOSE CHECK VIEW -->
284 <span ng-show="span == true"> 287 <span ng-show="span == true">
285 <span id="chennai"></span> 288 <span id="chennai"></span>
286 <span id="mumbai"></span> 289 <span id="mumbai"></span>
287 <span id="hyderabad"></span> 290 <span id="hyderabad"></span>
288 <span id="kolkata"></span> 291 <span id="kolkata"></span>
289 <span id="delhi"></span> 292 <span id="delhi"></span>
290 <span id="ahmedabad"></span> 293 <span id="ahmedabad"></span>
291 <span id="bengaluru"></span> 294 <span id="bengaluru"></span>
292 <span id="jaipur"></span>kanpur 295 <span id="jaipur"></span>kanpur
293 <span id="kanpur"></span> 296 <span id="kanpur"></span>
294 <span id="dharamsala"></span> 297 <span id="dharamsala"></span>
295 </span> 298 </span>
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,$locationProvider) { 5 scotchApp.config(function($routeProvider,$locationProvider) {
6 6
7 // use the HTML5 History API 7 // use the HTML5 History API
8 // $locationProvider.html5Mode({ 8 // $locationProvider.html5Mode({
9 // enabled: true, 9 // enabled: true,
10 // requireBase: false 10 // requireBase: false
11 // }); 11 // });
12 //$locationProvider.hashPrefix('!'); 12 //$locationProvider.hashPrefix('!');
13 $routeProvider 13 $routeProvider
14 // route for the Home page 14 // route for the Home page
15 .when('/', { 15 .when('/', {
16 templateUrl: 'pages/Home.html', 16 templateUrl: 'pages/Home.html',
17 controller: 'mainController' 17 controller: 'mainController'
18 }) 18 })
19 19
20 // route for the caricatures page 20 // route for the caricatures page
21 .when('/caricatures', { 21 .when('/caricatures', {
22 templateUrl: 'pages/caricatures.html', 22 templateUrl: 'pages/caricatures.html',
23 controller: 'mainController' 23 controller: 'mainController'
24 }) 24 })
25 25
26 // route for the paymentVerify page 26 // route for the paymentVerify page
27 .when('/pendingPayment/:id', { 27 .when('/pendingPayment/:id', {
28 templateUrl: 'pages/verify.html', 28 templateUrl: 'pages/verify.html',
29 controller: 'verifyController' 29 controller: 'verifyController'
30 }) 30 })
31 31
32 // route for the registration page 32 // route for the registration page
33 .when('/registration', { 33 .when('/registration', {
34 templateUrl: 'pages/registration.html', 34 templateUrl: 'pages/registration.html',
35 controller: 'registrationController' 35 controller: 'registrationController'
36 }) 36 })
37 37
38 //route for the ambassador page 38 //route for the ambassador page
39 // .when('/startupJalsaPromocode', { 39 // .when('/startupJalsaPromocode', {
40 // templateUrl: 'pages/ambassador.html', 40 // templateUrl: 'pages/ambassador.html',
41 // controller: 'ambassadorController' 41 // controller: 'ambassadorController'
42 // }) 42 // })
43 43
44 // route for the confirmation page 44 // route for the confirmation page
45 .when('/confirmation', { 45 .when('/confirmation', {
46 templateUrl: 'pages/confirmation.html', 46 templateUrl: 'pages/confirmation.html',
47 controller: 'registrationController' 47 controller: 'registrationController'
48 }) 48 })
49 49
50 .otherwise({ 50 .otherwise({
51 redirectTo: '/' 51 redirectTo: '/'
52 }); 52 });
53 53
54 }); 54 });
55 55
56 scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { 56 scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) {
57 // Add configuration code as desired 57 // Add configuration code as desired
58 AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code 58 AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code
59 59
60 // Track all routes (default is true). 60 // Track all routes (default is true).
61 AnalyticsProvider.trackPages(true); 61 AnalyticsProvider.trackPages(true);
62 62
63 // Track all URL query params (default is false). 63 // Track all URL query params (default is false).
64 AnalyticsProvider.trackUrlParams(true); 64 AnalyticsProvider.trackUrlParams(true);
65 65
66 }]).run(['Analytics', function(Analytics) { }]); 66 }]).run(['Analytics', function(Analytics) { }]);
67 67
68 scotchApp.constant("BASE_URL", "http://35.154.24.158:4001/v1") 68 scotchApp.constant("BASE_URL", "http://35.154.24.158:4001/v1")
69 //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") 69 //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1")
70 70
71 // create the controller and inject Angular's $scope 71 // create the controller and inject Angular's $scope
72 scotchApp.controller('mainController', function($scope, $http, $window, $location, $route, $rootScope, BASE_URL, Analytics) { 72 scotchApp.controller('mainController', function($scope, $http, $window, $location, $route, $rootScope, BASE_URL, Analytics) {
73 $scope.data = { 73 $scope.data = {
74 show: true, 74 show: true,
75 hide: false 75 hide: false
76 }; 76 };
77 window.onload = function(){ 77 window.onload = function(){
78 var element = document.getElementById("defaultcountry"); 78 var element = document.getElementById("defaultcountry");
79 element.classList.add("btn-active"); 79 element.classList.add("btn-active");
80 //document.getElementById("ahmedabad").src = "images/Ahmedabad_1.png"; 80 //document.getElementById("ahmedabad").src = "images/Ahmedabad_1.png";
81 } 81 }
82 82
83 var chennai = new Date("Sept 19, 2018 12:00:00").getTime(); 83 var chennai = new Date("Sept 19, 2018 12:00:00").getTime();
84 // Update the count down every 1 second 84 // Update the count down every 1 second
85 var x = setInterval(function() { 85 var x = setInterval(function() {
86 // Get todays date and time 86 // Get todays date and time
87 var now = new Date().getTime(); 87 var now = new Date().getTime();
88 // Find the distance between now an the count down date 88 // Find the distance between now an the count down date
89 var distance = chennai - now; 89 var distance = chennai - now;
90 // Time calculations for days, hours, minutes and seconds 90 // Time calculations for days, hours, minutes and seconds
91 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 91 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
92 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 92 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
93 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 93 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
94 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 94 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
95 $scope.timer = days + "d " + hours + "h " 95 $scope.timer = days + "d " + hours + "h "
96 + minutes + "m " + seconds + "s " 96 + minutes + "m " + seconds + "s "
97 // Output the result in an element with id="demo" 97 // Output the result in an element with id="demo"
98 document.getElementById("chennai").innerHTML = days + "d " + hours + "h " 98 document.getElementById("chennai").innerHTML = days + "d " + hours + "h "
99 + minutes + "m " + seconds + "s "; 99 + minutes + "m " + seconds + "s ";
100 // If the count down is over, write some text 100 // If the count down is over, write some text
101 if (distance < 0) { 101 if (distance < 0) {
102 clearInterval(x); 102 clearInterval(x);
103 document.getElementById("chennai").innerHTML = "EXPIRED"; 103 document.getElementById("chennai").innerHTML = "EXPIRED";
104 } 104 }
105 }, 1000); 105 }, 1000);
106 106
107 var hyderabad = new Date("Sept 22, 2018 14:00:00").getTime(); 107 var hyderabad = new Date("Sept 22, 2018 14:00:00").getTime();
108 // Update the count down every 1 second 108 // Update the count down every 1 second
109 var x = setInterval(function() { 109 var x = setInterval(function() {
110 // Get todays date and time 110 // Get todays date and time
111 var now = new Date().getTime(); 111 var now = new Date().getTime();
112 // Find the distance between now an the count down date 112 // Find the distance between now an the count down date
113 var distance = hyderabad - now; 113 var distance = hyderabad - now;
114 // Time calculations for days, hours, minutes and seconds 114 // Time calculations for days, hours, minutes and seconds
115 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 115 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
116 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 116 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
117 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 117 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
118 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 118 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
119 $scope.timer = days + "d " + hours + "h " 119 $scope.timer = days + "d " + hours + "h "
120 + minutes + "m " + seconds + "s " 120 + minutes + "m " + seconds + "s "
121 // Output the result in an element with id="demo" 121 // Output the result in an element with id="demo"
122 document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h " 122 document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h "
123 + minutes + "m " + seconds + "s "; 123 + minutes + "m " + seconds + "s ";
124 // If the count down is over, write some text 124 // If the count down is over, write some text
125 if (distance < 0) { 125 if (distance < 0) {
126 clearInterval(x); 126 clearInterval(x);
127 document.getElementById("hyderabad").innerHTML = "EXPIRED"; 127 document.getElementById("hyderabad").innerHTML = "EXPIRED";
128 } 128 }
129 }, 1000); 129 }, 1000);
130 130
131 var mumbai = new Date("Sept 26, 2018 14:00:00").getTime(); 131 var mumbai = new Date("Sept 26, 2018 14:00:00").getTime();
132 // Update the count down every 1 second 132 // Update the count down every 1 second
133 var x = setInterval(function() { 133 var x = setInterval(function() {
134 // Get todays date and time 134 // Get todays date and time
135 var now = new Date().getTime(); 135 var now = new Date().getTime();
136 // Find the distance between now an the count down date 136 // Find the distance between now an the count down date
137 var distance = mumbai - now; 137 var distance = mumbai - now;
138 // Time calculations for days, hours, minutes and seconds 138 // Time calculations for days, hours, minutes and seconds
139 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 139 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
140 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 140 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
141 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 141 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
142 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 142 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
143 $scope.timer = days + "d " + hours + "h " 143 $scope.timer = days + "d " + hours + "h "
144 + minutes + "m " + seconds + "s " 144 + minutes + "m " + seconds + "s "
145 // Output the result in an element with id="demo" 145 // Output the result in an element with id="demo"
146 document.getElementById("mumbai").innerHTML = days + "d " + hours + "h " 146 document.getElementById("mumbai").innerHTML = days + "d " + hours + "h "
147 + minutes + "m " + seconds + "s "; 147 + minutes + "m " + seconds + "s ";
148 // If the count down is over, write some text 148 // If the count down is over, write some text
149 if (distance < 0) { 149 if (distance < 0) {
150 clearInterval(x); 150 clearInterval(x);
151 document.getElementById("mumbai").innerHTML = "EXPIRED"; 151 document.getElementById("mumbai").innerHTML = "EXPIRED";
152 } 152 }
153 }, 1000); 153 }, 1000);
154 154
155 var kolkata = new Date("Oct 3, 2018 14:00:00").getTime(); 155 var kolkata = new Date("Oct 3, 2018 14:00:00").getTime();
156 // Update the count down every 1 second 156 // Update the count down every 1 second
157 var x = setInterval(function() { 157 var x = setInterval(function() {
158 // Get todays date and time 158 // Get todays date and time
159 var now = new Date().getTime(); 159 var now = new Date().getTime();
160 // Find the distance between now an the count down date 160 // Find the distance between now an the count down date
161 var distance = kolkata - now; 161 var distance = kolkata - now;
162 // Time calculations for days, hours, minutes and seconds 162 // Time calculations for days, hours, minutes and seconds
163 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 163 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
164 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 164 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
165 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 165 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
166 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 166 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
167 $scope.timer = days + "d " + hours + "h " 167 $scope.timer = days + "d " + hours + "h "
168 + minutes + "m " + seconds + "s " 168 + minutes + "m " + seconds + "s "
169 // Output the result in an element with id="demo" 169 // Output the result in an element with id="demo"
170 document.getElementById("kolkata").innerHTML = days + "d " + hours + "h " 170 document.getElementById("kolkata").innerHTML = days + "d " + hours + "h "
171 + minutes + "m " + seconds + "s "; 171 + minutes + "m " + seconds + "s ";
172 // If the count down is over, write some text 172 // If the count down is over, write some text
173 if (distance < 0) { 173 if (distance < 0) {
174 clearInterval(x); 174 clearInterval(x);
175 document.getElementById("kolkata").innerHTML = "EXPIRED"; 175 document.getElementById("kolkata").innerHTML = "EXPIRED";
176 } 176 }
177 }, 1000); 177 }, 1000);
178 178
179 var jaipur = new Date("Oct 5, 2018 14:00:00").getTime(); 179 var jaipur = new Date("Oct 5, 2018 14:00:00").getTime();
180 // Update the count down every 1 second 180 // Update the count down every 1 second
181 var x = setInterval(function() { 181 var x = setInterval(function() {
182 // Get todays date and time 182 // Get todays date and time
183 var now = new Date().getTime(); 183 var now = new Date().getTime();
184 // Find the distance between now an the count down date 184 // Find the distance between now an the count down date
185 var distance = jaipur - now; 185 var distance = jaipur - now;
186 // Time calculations for days, hours, minutes and seconds 186 // Time calculations for days, hours, minutes and seconds
187 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 187 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
188 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 188 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
189 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 189 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
190 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 190 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
191 $scope.timer = days + "d " + hours + "h " 191 $scope.timer = days + "d " + hours + "h "
192 + minutes + "m " + seconds + "s " 192 + minutes + "m " + seconds + "s "
193 // Output the result in an element with id="demo" 193 // Output the result in an element with id="demo"
194 document.getElementById("jaipur").innerHTML = days + "d " + hours + "h " 194 document.getElementById("jaipur").innerHTML = days + "d " + hours + "h "
195 + minutes + "m " + seconds + "s "; 195 + minutes + "m " + seconds + "s ";
196 // If the count down is over, write some text 196 // If the count down is over, write some text
197 if (distance < 0) { 197 if (distance < 0) {
198 clearInterval(x); 198 clearInterval(x);
199 document.getElementById("jaipur").innerHTML = "EXPIRED"; 199 document.getElementById("jaipur").innerHTML = "EXPIRED";
200 } 200 }
201 }, 1000); 201 }, 1000);
202 202
203 var delhi = new Date("Oct 8, 2018 14:00:00").getTime(); 203 var delhi = new Date("Oct 8, 2018 14:00:00").getTime();
204 // Update the count down every 1 second 204 // Update the count down every 1 second
205 var x = setInterval(function() { 205 var x = setInterval(function() {
206 // Get todays date and time 206 // Get todays date and time
207 var now = new Date().getTime(); 207 var now = new Date().getTime();
208 // Find the distance between now an the count down date 208 // Find the distance between now an the count down date
209 var distance = delhi - now; 209 var distance = delhi - now;
210 // Time calculations for days, hours, minutes and seconds 210 // Time calculations for days, hours, minutes and seconds
211 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 211 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
212 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 212 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
213 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 213 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
214 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 214 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
215 $scope.timer = days + "d " + hours + "h " 215 $scope.timer = days + "d " + hours + "h "
216 + minutes + "m " + seconds + "s " 216 + minutes + "m " + seconds + "s "
217 // Output the result in an element with id="demo" 217 // Output the result in an element with id="demo"
218 document.getElementById("delhi").innerHTML = days + "d " + hours + "h " 218 document.getElementById("delhi").innerHTML = days + "d " + hours + "h "
219 + minutes + "m " + seconds + "s "; 219 + minutes + "m " + seconds + "s ";
220 // If the count down is over, write some text 220 // If the count down is over, write some text
221 if (distance < 0) { 221 if (distance < 0) {
222 clearInterval(x); 222 clearInterval(x);
223 document.getElementById("delhi").innerHTML = "EXPIRED"; 223 document.getElementById("delhi").innerHTML = "EXPIRED";
224 } 224 }
225 }, 1000); 225 }, 1000);
226 226
227 var kanpur = new Date("Oct 10, 2018 14:00:00").getTime(); 227 var kanpur = new Date("Oct 10, 2018 14:00:00").getTime();
228 // Update the count down every 1 second 228 // Update the count down every 1 second
229 var x = setInterval(function() { 229 var x = setInterval(function() {
230 // Get todays date and time 230 // Get todays date and time
231 var now = new Date().getTime(); 231 var now = new Date().getTime();
232 // Find the distance between now an the count down date 232 // Find the distance between now an the count down date
233 var distance = kanpur - now; 233 var distance = kanpur - now;
234 // Time calculations for days, hours, minutes and seconds 234 // Time calculations for days, hours, minutes and seconds
235 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 235 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
236 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 236 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
237 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 237 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
238 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 238 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
239 $scope.timer = days + "d " + hours + "h " 239 $scope.timer = days + "d " + hours + "h "
240 + minutes + "m " + seconds + "s " 240 + minutes + "m " + seconds + "s "
241 // Output the result in an element with id="demo" 241 // Output the result in an element with id="demo"
242 document.getElementById("kanpur").innerHTML = days + "d " + hours + "h " 242 document.getElementById("kanpur").innerHTML = days + "d " + hours + "h "
243 + minutes + "m " + seconds + "s "; 243 + minutes + "m " + seconds + "s ";
244 // If the count down is over, write some text 244 // If the count down is over, write some text
245 if (distance < 0) { 245 if (distance < 0) {
246 clearInterval(x); 246 clearInterval(x);
247 document.getElementById("kanpur").innerHTML = "EXPIRED"; 247 document.getElementById("kanpur").innerHTML = "EXPIRED";
248 } 248 }
249 }, 1000); 249 }, 1000);
250 250
251 var ahmedabad = new Date("Oct 12, 2018 14:00:00").getTime(); 251 var ahmedabad = new Date("Oct 12, 2018 14:00:00").getTime();
252 // Update the count down every 1 second 252 // Update the count down every 1 second
253 var x = setInterval(function() { 253 var x = setInterval(function() {
254 // Get todays date and time 254 // Get todays date and time
255 var now = new Date().getTime(); 255 var now = new Date().getTime();
256 // Find the distance between now an the count down date 256 // Find the distance between now an the count down date
257 var distance = ahmedabad - now; 257 var distance = ahmedabad - now;
258 // Time calculations for days, hours, minutes and seconds 258 // Time calculations for days, hours, minutes and seconds
259 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 259 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
260 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 260 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
261 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 261 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
262 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 262 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
263 $scope.timer = days + "d " + hours + "h " 263 $scope.timer = days + "d " + hours + "h "
264 + minutes + "m " + seconds + "s " 264 + minutes + "m " + seconds + "s "
265 // Output the result in an element with id="demo" 265 // Output the result in an element with id="demo"
266 document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h " 266 document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h "
267 + minutes + "m " + seconds + "s "; 267 + minutes + "m " + seconds + "s ";
268 // If the count down is over, write some text 268 // If the count down is over, write some text
269 if (distance < 0) { 269 if (distance < 0) {
270 clearInterval(x); 270 clearInterval(x);
271 document.getElementById("ahmedabad").innerHTML = "EXPIRED"; 271 document.getElementById("ahmedabad").innerHTML = "EXPIRED";
272 } 272 }
273 }, 1000); 273 }, 1000);
274 274
275 var bengaluru = new Date("Oct 13, 2018 14:00:00").getTime(); 275 var bengaluru = new Date("Oct 13, 2018 14:00:00").getTime();
276 // Update the count down every 1 second 276 // Update the count down every 1 second
277 var x = setInterval(function() { 277 var x = setInterval(function() {
278 // Get todays date and time 278 // Get todays date and time
279 var now = new Date().getTime(); 279 var now = new Date().getTime();
280 // Find the distance between now an the count down date 280 // Find the distance between now an the count down date
281 var distance = bengaluru - now; 281 var distance = bengaluru - now;
282 // Time calculations for days, hours, minutes and seconds 282 // Time calculations for days, hours, minutes and seconds
283 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 283 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
284 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 284 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
285 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 285 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
286 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 286 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
287 $scope.timer = days + "d " + hours + "h " 287 $scope.timer = days + "d " + hours + "h "
288 + minutes + "m " + seconds + "s " 288 + minutes + "m " + seconds + "s "
289 // Output the result in an element with id="demo" 289 // Output the result in an element with id="demo"
290 document.getElementById("bengaluru").innerHTML = days + "d " + hours + "h " 290 document.getElementById("bengaluru").innerHTML = days + "d " + hours + "h "
291 + minutes + "m " + seconds + "s "; 291 + minutes + "m " + seconds + "s ";
292 // If the count down is over, write some text 292 // If the count down is over, write some text
293 if (distance < 0) { 293 if (distance < 0) {
294 clearInterval(x); 294 clearInterval(x);
295 document.getElementById("bengaluru").innerHTML = "EXPIRED"; 295 document.getElementById("bengaluru").innerHTML = "EXPIRED";
296 } 296 }
297 }, 1000); 297 }, 1000);
298 298
299 var dharamsala = new Date("Dec 14, 2018 14:00:00").getTime(); 299 var dharamsala = new Date("Dec 14, 2018 14:00:00").getTime();
300 // Update the count down every 1 second 300 // Update the count down every 1 second
301 var x = setInterval(function() { 301 var x = setInterval(function() {
302 // Get todays date and time 302 // Get todays date and time
303 var now = new Date().getTime(); 303 var now = new Date().getTime();
304 // Find the distance between now an the count down date 304 // Find the distance between now an the count down date
305 var distance = dharamsala - now; 305 var distance = dharamsala - now;
306 // Time calculations for days, hours, minutes and seconds 306 // Time calculations for days, hours, minutes and seconds
307 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 307 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
308 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 308 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
309 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 309 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
310 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 310 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
311 $scope.timer = days + "d " + hours + "h " 311 $scope.timer = days + "d " + hours + "h "
312 + minutes + "m " + seconds + "s " 312 + minutes + "m " + seconds + "s "
313 // Output the result in an element with id="demo" 313 // Output the result in an element with id="demo"
314 document.getElementById("dharamsala").innerHTML = days + "d " + hours + "h " 314 document.getElementById("dharamsala").innerHTML = days + "d " + hours + "h "
315 + minutes + "m " + seconds + "s "; 315 + minutes + "m " + seconds + "s ";
316 // If the count down is over, write some text 316 // If the count down is over, write some text
317 if (distance < 0) { 317 if (distance < 0) {
318 clearInterval(x); 318 clearInterval(x);
319 document.getElementById("dharamsala").innerHTML = "EXPIRED"; 319 document.getElementById("dharamsala").innerHTML = "EXPIRED";
320 } 320 }
321 }, 1000); 321 }, 1000);
322 322
323 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 323 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
324 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 324 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
325 // $scope.Textshow = "yes" 325 // $scope.Textshow = "yes"
326 $scope.max = 100; 326 $scope.max = 100;
327 $scope.formPage = false; 327 $scope.formPage = false;
328 $scope.current = 0; 328 $scope.current = 0;
329 $scope.payingAmnt = 0; 329 $scope.payingAmnt = 0;
330 $scope.data = {}; 330 $scope.data = {};
331 $scope.discountAmount = 0; 331 $scope.discountAmount = 0;
332 // $scope.data.quantity = "1"; 332 // $scope.data.quantity = "1";
333 $scope.check = false; 333 $scope.check = false;
334 $scope.numberCheck = false; 334 $scope.numberCheck = false;
335 $scope.paymentResult = {}; 335 $scope.paymentResult = {};
336 var data = { 336 var data = {
337 "amount": $scope.payingAmnt, 337 "amount": $scope.payingAmnt,
338 "currency": "INR", 338 "currency": "INR",
339 "status": "pending" 339 "status": "pending"
340 } 340 }
341 341
342 $scope.showval = true; 342 $scope.showval = true;
343 $scope.hideval = false; 343 $scope.hideval = false;
344 $scope.showvalue = false; 344 $scope.showvalue = false;
345 $scope.hidevalue = false; 345 $scope.hidevalue = false;
346 $scope.isShowHide = function (value) { 346 $scope.isShowHide = function (value) {
347 console.log(value) 347 console.log(value)
348 var element = document.getElementById("defaultcountry"); 348 var element = document.getElementById("defaultcountry");
349 element.classList.remove("btn-active"); 349 element.classList.remove("btn-active");
350 350
351 if (value == "INDIA") { 351 if (value == "INDIA") {
352 console.log("value",value) 352 console.log("value",value)
353 $scope.showval = true; 353 $scope.showval = true;
354 $scope.hideval = false; 354 $scope.hideval = false;
355 $scope.showvalue = false; 355 $scope.showvalue = false;
356 $scope.hidevalue = false; 356 $scope.hidevalue = false;
357 } 357 }
358 else if (value == "SRI LANKA") { 358 else if (value == "SRI LANKA") {
359 console.log("value1",value) 359 console.log("value1",value)
360 $scope.showval = false; 360 $scope.showval = false;
361 $scope.hideval = true; 361 $scope.hideval = true;
362 $scope.showvalue = false; 362 $scope.showvalue = false;
363 $scope.hidevalue = false; 363 $scope.hidevalue = false;
364 } 364 }
365 else if (value == "BANGLADESH") { 365 else if (value == "BANGLADESH") {
366 console.log("value2",value) 366 console.log("value2",value)
367 $scope.showval = false; 367 $scope.showval = false;
368 $scope.hideval = false; 368 $scope.hideval = false;
369 $scope.showvalue = true; 369 $scope.showvalue = true;
370 $scope.hidevalue = false; 370 $scope.hidevalue = false;
371 } 371 }
372 else { 372 else {
373 console.log("value3",value) 373 console.log("value3",value)
374 $scope.showval = false; 374 $scope.showval = false;
375 $scope.hideval = false; 375 $scope.hideval = false;
376 $scope.showvalue = false; 376 $scope.showvalue = false;
377 $scope.hidevalue = true; 377 $scope.hidevalue = true;
378 } 378 }
379 } 379 }
380 380
381 // $scope.apply = function() { 381 // $scope.apply = function() {
382 // //Analytics.trackEvent('register', 'click', 'Registration'); 382 // //Analytics.trackEvent('register', 'click', 'Registration');
383 // $location.path("/caricatures") 383 // $location.path("/caricatures")
384 // } 384 // }
385 385
386 // $scope.data.city = ''; 386 // $scope.data.city = '';
387 $scope.watch = function(){ 387 $scope.watch = function(){
388 //document.getElementById("ahmedabad").src = ""; 388 //document.getElementById("ahmedabad").src = "";
389 // console.log("cllll",value) 389 // console.log("cllll",value)
390 // $scope.data.city = value; 390 // $scope.data.city = value;
391 // if($scope.data.city == "Chennai"){ 391 // if($scope.data.city == "Chennai"){
392 // console.log("cllll1",value) 392 // console.log("cllll1",value)
393 // $window.location.href = 'http://35.154.24.158:8007'; 393 // $window.location.href = 'http://35.154.24.158:8007';
394 // }else{ 394 // }else{
395 // console.log("cllll2",value) 395 // console.log("cllll2",value)
396 // localStorage.setItem("city" ,value); 396 // localStorage.setItem("city" ,value);
397 //$location.path('/registration').search({city: value}); 397 //$location.path('/registration').search({city: value});
398 // $location.path('/registration/'+value+''); 398 // $location.path('/registration/'+value+'');
399 $location.path('/registration'); 399 $location.path('/registration');
400 //$state.go('registration', { 'city': value}) 400 //$state.go('registration', { 'city': value})
401 // } 401 // }
402 } 402 }
403 403
404 $scope.select = function(url){ 404 $scope.select = function(url){
405 console.log("cllll") 405 console.log("cllll")
406 window.open(url) 406 window.open(url)
407 } 407 }
408 408
409 $scope.stagekeyPress = function() { 409 $scope.stagekeyPress = function() {
410 $('.icon-circle-a').css('background-color', 'rgb(25, 104, 157)'); 410 $('.icon-circle-a').css('background-color', 'rgb(25, 104, 157)');
411 } 411 }
412 $scope.sectorkeyPress = function() { 412 $scope.sectorkeyPress = function() {
413 $('.icon-circle-b').css('background-color', 'rgb(25, 104, 157)'); 413 $('.icon-circle-b').css('background-color', 'rgb(25, 104, 157)');
414 } 414 }
415 415
416 $scope.productLaunchkeyPress = function() { 416 $scope.productLaunchkeyPress = function() {
417 $('.icon-circle-ab').css('background-color', 'rgb(25, 104, 157)'); 417 $('.icon-circle-ab').css('background-color', 'rgb(25, 104, 157)');
418 } 418 }
419 419
420 $scope.launchPeriodkeyPress = function() { 420 $scope.launchPeriodkeyPress = function() {
421 $('.icon-circle-abc').css('background-color', 'rgb(25, 104, 157)'); 421 $('.icon-circle-abc').css('background-color', 'rgb(25, 104, 157)');
422 } 422 }
423 423
424 $scope.industrykeyPress = function(quantity) { 424 $scope.industrykeyPress = function(quantity) {
425 console.log("fghj",quantity) 425 console.log("fghj",quantity)
426 $('.icon-circle-abcdefg').css('background-color', 'rgb(25, 104, 157)'); 426 $('.icon-circle-abcdefg').css('background-color', 'rgb(25, 104, 157)');
427 } 427 }
428 428
429 $scope.industryNamekeyPress = function(firstName) { 429 $scope.industryNamekeyPress = function(firstName) {
430 console.log("lastName==", firstName); 430 console.log("lastName==", firstName);
431 if (firstName == undefined) { 431 if (firstName == undefined) {
432 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); 432 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)');
433 } else { 433 } else {
434 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)'); 434 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)');
435 } 435 }
436 } 436 }
437 437
438 $scope.amountkeyPress = function() { 438 $scope.amountkeyPress = function() {
439 $('.icon-circle-bc').css('background-color', 'rgb(25, 104, 157)'); 439 $('.icon-circle-bc').css('background-color', 'rgb(25, 104, 157)');
440 } 440 }
441 441
442 $scope.firstNamekeyPress = function(name) { 442 $scope.firstNamekeyPress = function(name) {
443 console.log("lastName==", name); 443 console.log("lastName==", name);
444 if (name == undefined) { 444 if (name == undefined) {
445 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); 445 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)');
446 } else { 446 } else {
447 $('.icon-circle-c').css('background-color', 'rgb(25, 104, 157)'); 447 $('.icon-circle-c').css('background-color', 'rgb(25, 104, 157)');
448 } 448 }
449 } 449 }
450 450
451 $scope.emailkeyPress = function(email) { 451 $scope.emailkeyPress = function(email) {
452 console.log("email", email); 452 console.log("email", email);
453 if (email == undefined) { 453 if (email == undefined) {
454 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); 454 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)');
455 } else { 455 } else {
456 $('.icon-circle-d').css('background-color', 'rgb(25, 104, 157)'); 456 $('.icon-circle-d').css('background-color', 'rgb(25, 104, 157)');
457 } 457 }
458 } 458 }
459 459
460 $scope.phonekeyPress = function(number) { 460 $scope.phonekeyPress = function(number) {
461 console.log("number", number); 461 console.log("number", number);
462 if (number == undefined || number == '') { 462 if (number == undefined || number == '') {
463 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); 463 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)');
464 } else { 464 } else {
465 $('.icon-circle-e').css('background-color', 'rgb(25, 104, 157)'); 465 $('.icon-circle-e').css('background-color', 'rgb(25, 104, 157)');
466 } 466 }
467 } 467 }
468 468
469 $scope.citykeyPress = function(city) { 469 $scope.citykeyPress = function(city) {
470 console.log("city", city); 470 console.log("city", city);
471 if (city == undefined) { 471 if (city == undefined) {
472 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); 472 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)');
473 } else { 473 } else {
474 $('.icon-circle-f').css('background-color', 'rgb(25, 104, 157)'); 474 $('.icon-circle-f').css('background-color', 'rgb(25, 104, 157)');
475 } 475 }
476 } 476 }
477 477
478 $scope.startupNamekeyPress = function(q) { 478 $scope.startupNamekeyPress = function(q) {
479 if (q == undefined) { 479 if (q == undefined) {
480 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); 480 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)');
481 } else { 481 } else {
482 $('.icon-circle-x').css('background-color', 'rgb(25, 104, 157)'); 482 $('.icon-circle-x').css('background-color', 'rgb(25, 104, 157)');
483 } 483 }
484 } 484 }
485 485
486 $scope.linkedInkeyPress = function(technology) { 486 $scope.linkedInkeyPress = function(technology) {
487 if (technology == undefined || technology == '') { 487 if (technology == undefined || technology == '') {
488 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); 488 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)');
489 } else { 489 } else {
490 $('.icon-circle-h').css('background-color', 'rgb(25, 104, 157)'); 490 $('.icon-circle-h').css('background-color', 'rgb(25, 104, 157)');
491 } 491 }
492 } 492 }
493 $scope.companykeyPress = function(problem) { 493 $scope.companykeyPress = function(problem) {
494 if (problem == undefined) { 494 if (problem == undefined) {
495 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); 495 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)');
496 } else { 496 } else {
497 $('.icon-circle-i').css('background-color', 'rgb(25, 104, 157)'); 497 $('.icon-circle-i').css('background-color', 'rgb(25, 104, 157)');
498 } 498 }
499 } 499 }
500 $scope.productNamekeyPress = function(solution) { 500 $scope.productNamekeyPress = function(solution) {
501 if (solution == undefined) { 501 if (solution == undefined) {
502 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); 502 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)');
503 } else { 503 } else {
504 $('.icon-circle-j').css('background-color', 'rgb(25, 104, 157)'); 504 $('.icon-circle-j').css('background-color', 'rgb(25, 104, 157)');
505 } 505 }
506 } 506 }
507 $scope.businesskeyPress = function(business) { 507 $scope.businesskeyPress = function(business) {
508 if (business == undefined) { 508 if (business == undefined) {
509 $('.icon-circle-p').css('background-color', 'rgb(102, 102, 102)'); 509 $('.icon-circle-p').css('background-color', 'rgb(102, 102, 102)');
510 } else { 510 } else {
511 $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)'); 511 $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)');
512 } 512 }
513 } 513 }
514 514
515 $scope.websitekeyPress = function(prototype) { 515 $scope.websitekeyPress = function(prototype) {
516 if (prototype == undefined || prototype == '') { 516 if (prototype == undefined || prototype == '') {
517 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); 517 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)');
518 } else { 518 } else {
519 $('.icon-circle-k').css('background-color', 'rgb(25, 104, 157)'); 519 $('.icon-circle-k').css('background-color', 'rgb(25, 104, 157)');
520 } 520 }
521 } 521 }
522 522
523 $scope.employeekeyPress = function(market) { 523 $scope.employeekeyPress = function(market) {
524 if (market == undefined || market == '') { 524 if (market == undefined || market == '') {
525 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); 525 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)');
526 } else { 526 } else {
527 $('.icon-circle-l').css('background-color', 'rgb(25, 104, 157)'); 527 $('.icon-circle-l').css('background-color', 'rgb(25, 104, 157)');
528 } 528 }
529 } 529 }
530 530
531 $scope.annualkeyPress = function(risk) { 531 $scope.annualkeyPress = function(risk) {
532 if (risk == undefined || risk == '') { 532 if (risk == undefined || risk == '') {
533 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); 533 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)');
534 } else { 534 } else {
535 $('.icon-circle-m').css('background-color', 'rgb(25, 104, 157)'); 535 $('.icon-circle-m').css('background-color', 'rgb(25, 104, 157)');
536 } 536 }
537 } 537 }
538 538
539 $scope.revenuekeyPress = function(team) { 539 $scope.revenuekeyPress = function(team) {
540 if (team == undefined) { 540 if (team == undefined) {
541 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); 541 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)');
542 } else { 542 } else {
543 $('.icon-circle-n').css('background-color', 'rgb(25, 104, 157)'); 543 $('.icon-circle-n').css('background-color', 'rgb(25, 104, 157)');
544 } 544 }
545 } 545 }
546 546
547 $scope.descriptionkeyPress = function(pitch) { 547 $scope.descriptionkeyPress = function(pitch) {
548 if (pitch == undefined) { 548 if (pitch == undefined) {
549 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); 549 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)');
550 } else { 550 } else {
551 $('.icon-circle-z').css('background-color', 'rgb(25, 104, 157)'); 551 $('.icon-circle-z').css('background-color', 'rgb(25, 104, 157)');
552 } 552 }
553 } 553 }
554 554
555 $scope.discountkeyPress = function(discount) { 555 $scope.discountkeyPress = function(discount) {
556 if (discount == undefined) { 556 if (discount == undefined) {
557 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); 557 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)');
558 } else { 558 } else {
559 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)'); 559 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)');
560 } 560 }
561 } 561 }
562 562
563 $scope.removeNooError = function() { 563 $scope.removeNooError = function() {
564 $('#invalidIdea').css('display', 'block'); 564 $('#invalidIdea').css('display', 'block');
565 $('#noExist').css('display', 'none'); 565 $('#noExist').css('display', 'none');
566 }; 566 };
567 567
568 $scope.ideakeyPress = function(financial) { 568 $scope.ideakeyPress = function(financial) {
569 console.log("financial", financial); 569 console.log("financial", financial);
570 if (financial == undefined) { 570 if (financial == undefined) {
571 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); 571 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)');
572 } else { 572 } else {
573 $('.icon-circle-q').css('background-color', 'rgb(25, 104, 157)'); 573 $('.icon-circle-q').css('background-color', 'rgb(25, 104, 157)');
574 } 574 }
575 } 575 }
576 576
577 $scope.fundkeyPress = function(financial) { 577 $scope.fundkeyPress = function(financial) {
578 console.log("financial", financial); 578 console.log("financial", financial);
579 if (financial == undefined) { 579 if (financial == undefined) {
580 $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); 580 $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)');
581 } else { 581 } else {
582 $('.icon-circle-y').css('background-color', 'rgb(25, 104, 157)'); 582 $('.icon-circle-y').css('background-color', 'rgb(25, 104, 157)');
583 } 583 }
584 } 584 }
585 585
586 $scope.changeReferalIconColor = function(referalToken){ 586 $scope.changeReferalIconColor = function(referalToken){
587 if (referalToken == undefined || referalToken == '') { 587 if (referalToken == undefined || referalToken == '') {
588 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); 588 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)');
589 }else { 589 }else {
590 $('.referel-icon').css('background-color', 'rgb(25, 104, 157)'); 590 $('.referel-icon').css('background-color', 'rgb(25, 104, 157)');
591 } 591 }
592 } 592 }
593 593
594 }); 594 });
595 595
596 scotchApp.controller('registrationController', function($q, $scope, $http, $location, $rootScope,$route,BASE_URL) { 596 scotchApp.controller('registrationController', function($q, $scope, $http, $location, $rootScope,$route,BASE_URL) {
597 $scope.data = {}; 597 $scope.data = {};
598 $scope.check = false; 598 $scope.check = false;
599 $scope.numberCheck = false; 599 $scope.numberCheck = false;
600 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 600 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
601 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 601 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
602 $scope.max = 100; 602 $scope.max = 100;
603 $scope.formPage = false; 603 $scope.formPage = false;
604 $scope.current = 0; 604 $scope.current = 0;
605 $scope.payingAmnt = 0; 605 $scope.payingAmnt = 0;
606 $scope.discountAmount = 0; 606 $scope.discountAmount = 0;
607 // $scope.data.quantity = "1"; 607 // $scope.data.quantity = "1";
608 $scope.check = false; 608 $scope.check = false;
609 $scope.numberCheck = false; 609 $scope.numberCheck = false;
610 $scope.paymentResult = {}; 610 $scope.paymentResult = {};
611 var data = { 611 var data = {
612 "amount": $scope.payingAmnt, 612 "amount": $scope.payingAmnt,
613 "currency": "INR", 613 "currency": "INR",
614 "status": "pending" 614 "status": "pending"
615 } 615 }
616 616
617 $scope.removeError = function() { 617 $scope.removeError = function() {
618 $('#invalidEmail').css('display', 'none'); 618 $('#invalidEmail').css('display', 'none');
619 $('#alreadyExist').css('display', 'none'); 619 $('#alreadyExist').css('display', 'none');
620 }; 620 };
621 621
622 $scope.emailcheck = function(val) { 622 $scope.emailcheck = function(val) {
623 if (val == undefined) { 623 if (val == undefined) {
624 $('#invalidEmail').css('display', 'block'); 624 $('#invalidEmail').css('display', 'block');
625 } else { 625 } else {
626 $('#alreadyExist').css('display', 'block'); 626 $('#alreadyExist').css('display', 'block');
627 } 627 }
628 }; 628 };
629 629
630 $scope.removeNoError = function() { 630 $scope.removeNoError = function() {
631 $('#invalidNumber').css('display', 'none'); 631 $('#invalidNumber').css('display', 'none');
632 $('#alreadyExist').css('display', 'none'); 632 $('#alreadyExist').css('display', 'none');
633 }; 633 };
634 634
635 $scope.numbercheck = function(val) { 635 $scope.numbercheck = function(val) {
636 if (val == undefined) { 636 if (val == undefined) {
637 $('#invalidNumber').css('display', 'block'); 637 $('#invalidNumber').css('display', 'block');
638 } else { 638 } else {
639 $('#alreadyExist').css('display', 'block'); 639 $('#alreadyExist').css('display', 'block');
640 } 640 }
641 }; 641 };
642 642
643 // $scope.$on('city', function (event, value) { 643 // $scope.$on('city', function (event, value) {
644 // $scope.data.city = localStorage.getItem("city"); 644 // $scope.data.city = localStorage.getItem("city");
645 // console.log("HERE===",$scope.data.city ); 645 // console.log("HERE===",$scope.data.city );
646 // }); 646 // });
647 var handleFileSelect = function(evt) { 647 var handleFileSelect = function(evt) {
648 var files = evt.target.files; 648 var files = evt.target.files;
649 var file = files[0]; 649 var file = files[0];
650 650
651 if (files && file) { 651 if (files && file) {
652 var reader = new FileReader(); 652 var reader = new FileReader();
653 653
654 reader.onload = function(readerEvt) { 654 reader.onload = function(readerEvt) {
655 var binaryString = readerEvt.target.result; 655 var binaryString = readerEvt.target.result;
656 $scope.base64textString = btoa(binaryString); 656 $scope.base64textString = btoa(binaryString);
657 console.log("base64textarea",$scope.base64textString) 657 console.log("base64textarea",$scope.base64textString)
658 $scope.data.uploadFile = file.name;
658 }; 659 };
659 660
660 reader.readAsBinaryString(file); 661 reader.readAsBinaryString(file);
661 } 662 }
662 }; 663 };
663 if (window.File && window.FileReader && window.FileList && window.Blob) { 664 if (window.File && window.FileReader && window.FileList && window.Blob) {
664 document.getElementById('filePicker').addEventListener('change', handleFileSelect, false); 665 document.getElementById('filePicker').addEventListener('change', handleFileSelect, false);
665 } 666 }
666 667
667 $scope.ngShowhide = false; 668 $scope.ngShowhide = false;
668 $scope.GetValue = function(){ 669 $scope.GetValue = function(){
669 console.log("====$scope.value===",$scope.data.sector) 670 console.log("====$scope.value===",$scope.data.sector)
670 if($scope.data.sector == "Other"){ 671 if($scope.data.sector == "Other"){
671 $scope.ngShowhide = true; 672 $scope.ngShowhide = true;
672 }else{ 673 }else{
673 $scope.ngShowhide = false; 674 $scope.ngShowhide = false;
674 } 675 }
675 } 676 }
676 677
677 $rootScope.tokenCall = function(val) { 678 // $rootScope.tokenCall = function(val) {
678 console.log('val-------->', val); 679 // console.log('val-------->', val);
679 if (val == undefined) { 680 // if (val == undefined) {
680 $('#invalidToken').css('display', 'block'); 681 // $('#invalidToken').css('display', 'block');
681 } else { 682 // } else {
682 val = val.toUpperCase(); 683 // val = val.toUpperCase();
683 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")){ 684 // 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")){
684 $scope.tokencheck = false; 685 // $scope.tokencheck = false;
685 return; 686 // return;
686 } 687 // }
687 $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": "' + val + '"}}') 688 // $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": "' + val + '"}}')
688 .then(function(searchResult) { 689 // .then(function(searchResult) {
689 console.log("searchResult",searchResult) 690 // console.log("searchResult",searchResult)
690 if (searchResult.data.length == 0) { 691 // if (searchResult.data.length == 0) {
691 $scope.tokencheck = false; 692 // $scope.tokencheck = false;
692 $scope.discountAmount = 0; 693 // $scope.discountAmount = 0;
693 } else { 694 // } else {
694 console.log("===searchResult.data[0].discount===",searchResult.data[0].discount); 695 // console.log("===searchResult.data[0].discount===",searchResult.data[0].discount);
695 $scope.discountpercentage = searchResult.data[0].discount; 696 // $scope.discountpercentage = searchResult.data[0].discount;
696 console.log("===searchResultdiscountpercentage===",$scope.discountpercentage); 697 // console.log("===searchResultdiscountpercentage===",$scope.discountpercentage);
697 $scope.tokencheck = true; 698 // $scope.tokencheck = true;
698 } 699 // }
699 },function(err){ 700 // },function(err){
700 console.log(err) 701 // console.log(err)
701 }); 702 // });
702 703
703 } 704 // }
704 }; 705 // };
705 706
706 $scope.submit = function() { 707 $scope.submit = function() {
707 //$scope.data.uploadFile = $scope.base64textString; 708
708 $scope.ticketAmnt = 500; 709 $scope.ticketAmnt = 500;
709 if($scope.tokencheck == false){ 710 // if($scope.tokencheck == false){
710 $scope.data.referalToken = null; 711 // $scope.data.referalToken = null;
711 } 712 // }
712 // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { 713 // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) {
713 // var x = document.getElementById("snackbar") 714 // var x = document.getElementById("snackbar")
714 // setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); 715 // setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000);
715 // }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { 716 // }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) {
716 $scope.infoForm = true; 717 $scope.infoForm = true;
717 $scope.detail = {}; 718 $scope.detail = {};
718 $scope.data.phone = "+91"+$scope.data.number; 719 $scope.data.phone = "+91"+$scope.data.number;
719 if($scope.data.referalToken == null){ 720 // if($scope.data.referalToken == null){
720 $scope.data.referalToken = "N.A." 721 // $scope.data.referalToken = "N.A."
721 } 722 // }
722 var file =document.getElementById('filePicker').files[0]; 723 // var file =document.getElementById('filePicker').files[0];
723 console.log("file",filePicker) 724 // console.log("file",filePicker)
724 // var image = BASE_URL+'/containers/applicants/download/' 725 // var image = BASE_URL+'/containers/applicants/download/'
725 // console.log("file",image) 726 // var imagePath = file.name;
726 // var imagePath = filePicker.name;
727 // $scope.data.uploadFile = image + imagePath; 727 // $scope.data.uploadFile = image + imagePath;
728 // console.log($scope.data.uploadFile)
728 // var fd = new FormData() 729 // var fd = new FormData()
729 // fd.append('filePicker',data); 730 // fd.append('filePicker',$scope.data);
730
731 // var deferred = $q.defer(); 731 // var deferred = $q.defer();
732 // $http({ 732 // $http({
733 // method:'POST', 733 // method:'POST',
734 // url: BASE_URL+'/containers/applicants/upload', 734 // url: BASE_URL+'/containers/applicants/upload',
735 // data:fd, 735 // data:fd,
736 // transformRequest:angular.identity, 736 // transformRequest:angular.identity,
737 // headers:{'Content-Type':undefined} 737 // headers:{'Content-Type':undefined}
738 // }) 738 // })
739 // .success(function(result){ 739 // .success(function(result){
740 // deferred.resolve(result); 740 // deferred.resolve(result);
741 // })
742
743 $http({ 741 $http({
744 method: 'POST', 742 method: 'POST',
745 url: BASE_URL+'/applicants', 743 url: BASE_URL+'/applicants',
746 data: $scope.data, 744 data: $scope.data,
747 headers: {} 745 headers: {}
748 }).then(function mySuccess(result) { 746 }).then(function mySuccess(result) {
749 console.log("=====result=====",result) 747 console.log("=====result=====",result)
750 $scope.detail = result; 748 $scope.detail = result;
751 data.applicantId = result.data.id; 749 data.applicantId = result.data.id;
752 $scope.userId = result.data.id; 750 $scope.userId = result.data.id;
753 console.log("=====data=====",data) 751 console.log("=====data=====",data)
754 var amount = $scope.ticketAmnt * 100 752 var amount = $scope.ticketAmnt * 100
755 if($scope.tokencheck == true){ 753 if($scope.tokencheck == true){
756 var amount = $scope.ticketAmnt 754 var amount = $scope.ticketAmnt
757 console.log("====$scope.discountpercentage====",$scope.discountpercentage); 755 console.log("====$scope.discountpercentage====",$scope.discountpercentage);
758 console.log("resultcity===",$scope.data.city) 756 console.log("resultcity===",$scope.data.city)
759 if($scope.discountpercentage == "100") { 757 if($scope.discountpercentage == "100") {
760 $scope.discountpercentage = "99.8"; 758 $scope.discountpercentage = "99.8";
761 console.log("$scope.discountpercentage====",$scope.discountpercentage) 759 console.log("$scope.discountpercentage====",$scope.discountpercentage)
762 } 760 }
763 console.log("====$scope.discountpercentage====",$scope.discountpercentage); 761 console.log("====$scope.discountpercentage====",$scope.discountpercentage);
764 $scope.percDiscount = $scope.discountpercentage/100; 762 $scope.percDiscount = $scope.discountpercentage/100;
765 console.log("====$scope.percDiscount====",$scope.percDiscount); 763 console.log("====$scope.percDiscount====",$scope.percDiscount);
766 console.log("====amount=====",amount); 764 console.log("====amount=====",amount);
767 $scope.discountAmount = amount * $scope.percDiscount; 765 $scope.discountAmount = amount * $scope.percDiscount;
768 console.log("finalAmount====>",$scope.discountAmount) 766 console.log("finalAmount====>",$scope.discountAmount)
769 } 767 }
770 var taxAmount = $scope.ticketAmnt - $scope.discountAmount 768 var taxAmount = $scope.ticketAmnt - $scope.discountAmount
771 console.log("$scope.taxTotal----",taxAmount) 769 console.log("$scope.taxTotal----",taxAmount)
772 $scope.payingAmnt = taxAmount; 770 $scope.payingAmnt = taxAmount;
773 console.log("====$scope.payingAmnt====",$scope.payingAmnt) 771 console.log("====$scope.payingAmnt====",$scope.payingAmnt)
774 $scope.payingAmnt = $scope.payingAmnt.toFixed() 772 $scope.payingAmnt = $scope.payingAmnt.toFixed()
775 data.amount = $scope.payingAmnt; 773 data.amount = $scope.payingAmnt;
776 console.log("data.amount==",data.amount) 774 console.log("data.amount==",data.amount)
777 if($scope.detail != null){ 775 if($scope.detail != null){
778 $http({ 776 $http({
779 method: 'POST', 777 method: 'POST',
780 url: BASE_URL+'/payments', 778 url: BASE_URL+'/payments',
781 data: data, 779 data: data,
782 headers: {} 780 headers: {}
783 }).then(function mySuccess(paymentResult) { 781 }).then(function mySuccess(paymentResult) {
784 $scope.paymentResult = paymentResult; 782 $scope.paymentResult = paymentResult;
785 }, function myError(error) { 783 }, function myError(error) {
786 }); 784 });
787 } 785 }
788 var i = 0; 786 var i = 0;
789 $scope.payingAmnt = $scope.payingAmnt * 100; 787 $scope.payingAmnt = $scope.payingAmnt * 100;
790 var options = { 788 var options = {
791 //"key": "rzp_test_YwHsVFiDIQ2WUQ", 789 //"key": "rzp_test_YwHsVFiDIQ2WUQ",
792 "key": "rzp_live_mkmCb4FkstuWaS", 790 "key": "rzp_live_mkmCb4FkstuWaS",
793 "amount": $scope.payingAmnt, 791 "amount": $scope.payingAmnt,
794 792
795 "name": "Startup Jalsa", 793 "name": "Startup Jalsa",
796 "description":"amount", 794 "description":"amount",
797 "currency": "INR", 795 "currency": "INR",
798 "status": "done", 796 "status": "done",
799 797
800 "prefill": { 798 "prefill": {
801 "email": $scope.detail.email, 799 "email": $scope.detail.email,
802 "contact": $scope.detail.phone 800 "contact": $scope.detail.phone
803 }, 801 },
804 802
805 "theme": { 803 "theme": {
806 "color": "#2196f3 ", 804 "color": "#2196f3 ",
807 "image_padding":"NO" 805 "image_padding":"NO"
808 }, 806 },
809 "modal": { 807 "modal": {
810 "ondismiss": function(){ 808 "ondismiss": function(){
811 } 809 }
812 }, 810 },
813 "handler": function (response){ 811 "handler": function (response){
814 createPayment(response); 812 createPayment(response);
815 } 813 }
816 }; 814 };
817 var rzp1 = new Razorpay(options); 815 var rzp1 = new Razorpay(options);
818 rzp1.open(); 816 rzp1.open();
819 $scope.paymentResponse = {}; 817 $scope.paymentResponse = {};
820 function createPayment(response){ 818 function createPayment(response){
821 console.log("response12333333",response) 819 console.log("response12333333",response)
822 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 820 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
823 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; 821 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId;
824 $scope.paymentResponse.amount = data.amount; 822 $scope.paymentResponse.amount = data.amount;
825 $scope.paymentResponse.currency = "INR"; 823 $scope.paymentResponse.currency = "INR";
826 $scope.paymentResponse.status = $scope.paymentResult.data.status; 824 $scope.paymentResponse.status = $scope.paymentResult.data.status;
827 console.log("$scope.paymentResponse.amount=====",$scope.paymentResponse.amount) 825 console.log("$scope.paymentResponse.amount=====",$scope.paymentResponse.amount)
828 $http({ 826 $http({
829 method: 'PUT', 827 method: 'PUT',
830 url: BASE_URL+'/payments/'+$scope.paymentResult.data.id, 828 url: BASE_URL+'/payments/'+$scope.paymentResult.data.id,
831 data: $scope.paymentResponse, 829 data: $scope.paymentResponse,
832 headers: {} 830 headers: {}
833 }).then(function mySuccess(searchResult) { 831 }).then(function mySuccess(searchResult) {
834 console.log("searchResult",searchResult) 832 console.log("searchResult",searchResult)
835 $location.path("/confirmation") 833 $location.path("/confirmation")
836 }, function myError(error) { 834 }, function myError(error) {
837 }); 835 });
838 } 836 }
839 //} 837 //}
840 838
841 }, function myError(error) { 839 }, function myError(error) {
842 840
843 }); 841 });
842
843 // })
844 844
845 //} 845 //}
846 846
847 } 847 }
848 848
849 }); 849 });
850 850
851 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { 851 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) {
852 $scope.data = {}; 852 $scope.data = {};
853 $scope.check = false; 853 $scope.check = false;
854 $scope.numberCheck = false; 854 $scope.numberCheck = false;
855 855
856 $scope.submit = function() { 856 $scope.submit = function() {
857 console.log($scope.data.name) 857 console.log($scope.data.name)
858 var randomNumber = ""+Math.random(); 858 var randomNumber = ""+Math.random();
859 var nameSpliced = $scope.data.name.slice(0,5); 859 var nameSpliced = $scope.data.name.slice(0,5);
860 var numberSpliced = randomNumber.slice(2,4);; 860 var numberSpliced = randomNumber.slice(2,4);;
861 $scope.data.referalToken = nameSpliced+numberSpliced; 861 $scope.data.referalToken = nameSpliced+numberSpliced;
862 $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); 862 $scope.data.referalToken = $scope.data.referalToken.toUpperCase();
863 console.log("dsdfs",numberSpliced); 863 console.log("dsdfs",numberSpliced);
864 $http({ 864 $http({
865 method: 'POST', 865 method: 'POST',
866 url: BASE_URL + '/ambassadors', 866 url: BASE_URL + '/ambassadors',
867 data: $scope.data, 867 data: $scope.data,
868 headers: {} 868 headers: {}
869 }).then(function mySuccess(result) { 869 }).then(function mySuccess(result) {
870 console.log("result", result) 870 console.log("result", result)
871 $scope.detail = result; 871 $scope.detail = result;
872 $('#myModal').modal('show'); 872 $('#myModal').modal('show');
873 $scope.data.name = ''; 873 $scope.data.name = '';
874 $scope.data.email = ''; 874 $scope.data.email = '';
875 $scope.data.mobile = ''; 875 $scope.data.mobile = '';
876 //$scope.data.discount = ''; 876 //$scope.data.discount = '';
877 877
878 }, function myError(error) { 878 }, function myError(error) {
879 console.log(error) 879 console.log(error)
880 console.log(error.data.error.message) 880 console.log(error.data.error.message)
881 }); 881 });
882 } 882 }
883 }); 883 });
884 884