Commit 5dc669c2cad43db47f90feaa3a875cddb928dfbe
1 parent
b7aed74674
Exists in
master
and in
1 other branch
jaipur entries closed
Showing
2 changed files
with
18 additions
and
18 deletions
Show diff stats
pages/registration.html
1 | <div class="header"> | 1 | <div class="header"> |
2 | <div style="float: left;"> | 2 | <div style="float: left;"> |
3 | <a href="http://startupjalsa.com/" target="_blank"> | 3 | <a href="http://startupjalsa.com/" target="_blank"> |
4 | <img src="images/white.png" class="logo" > | 4 | <img src="images/white.png" class="logo" > |
5 | </a> | 5 | </a> |
6 | </div> | 6 | </div> |
7 | <!-- <div style="float: right;" class="right-side-links"> | 7 | <!-- <div style="float: right;" class="right-side-links"> |
8 | <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a> | 8 | <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a> |
9 | <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a> | 9 | <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a> |
10 | </div> --> | 10 | </div> --> |
11 | <div class="clearfix"></div> | 11 | <div class="clearfix"></div> |
12 | </div> | 12 | </div> |
13 | <!-- CLOSE HEADER --> | 13 | <!-- CLOSE HEADER --> |
14 | <div class="col-xs-12 col-md-10 col-md-offset-1"> | 14 | <div class="col-xs-12 col-md-10 col-md-offset-1"> |
15 | <p class="select-stage" style="font-size:16px;"><b>Please select one city.</b></p> | 15 | <p class="select-stage" style="font-size:16px;"><b>Please select one city.</b></p> |
16 | <div class="stage-shadow"> | 16 | <div class="stage-shadow"> |
17 | <div class="stages card-align"> | 17 | <div class="stages card-align"> |
18 | <div class="row"> | 18 | <div class="row"> |
19 | <div class="col-md-3"> | 19 | <div class="col-md-3"> |
20 | <div class="card" style="width:100%"> | 20 | <div class="card" style="width:100%"> |
21 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 21 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
22 | <img class="card-img-top" src="images/Chennai1.png" style="width:100%"> | 22 | <img class="card-img-top" src="images/Chennai1.png" style="width:100%"> |
23 | <div class="card-block"> | 23 | <div class="card-block"> |
24 | <div class="pull-left"> | 24 | <div class="pull-left"> |
25 | <h4 class="card-title">Chennai</h4> | 25 | <h4 class="card-title">Chennai</h4> |
26 | <label class="card-sub-title">9th November,2017</label> | 26 | <label class="card-sub-title">9th November,2017</label> |
27 | </div> | 27 | </div> |
28 | <div class="pull-right"> | 28 | <div class="pull-right"> |
29 | <!-- <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" data-toggle="collapse" ng-click="register('chennai')" disabled="">Apply</button> --> | 29 | <!-- <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" data-toggle="collapse" ng-click="register('chennai')" disabled="">Apply</button> --> |
30 | </div> | 30 | </div> |
31 | <div class="clearfix"></div> | 31 | <div class="clearfix"></div> |
32 | <!-- <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="chennai"></span>*</label> --> | 32 | <!-- <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="chennai"></span>*</label> --> |
33 | <label class="card-sub-title"><span style="color:red">Closed</span></label> | 33 | <label class="card-sub-title"><span style="color:red">Closed</span></label> |
34 | </div> | 34 | </div> |
35 | <div class="card-text2"> | 35 | <div class="card-text2"> |
36 | <span><b>Location</b></span> | 36 | <span><b>Location</b></span> |
37 | <div class="card-text" style="padding-bottom:16px;">IIT-Madras, Research Park Auditorium</div> | 37 | <div class="card-text" style="padding-bottom:16px;">IIT-Madras, Research Park Auditorium</div> |
38 | </div> | 38 | </div> |
39 | </label> | 39 | </label> |
40 | </div> | 40 | </div> |
41 | </div> | 41 | </div> |
42 | <div class="col-md-3"> | 42 | <div class="col-md-3"> |
43 | <div class="card" style="width:100%"> | 43 | <div class="card" style="width:100%"> |
44 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 44 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
45 | <img class="card-img-top" src="images/pune (1).png" style="width:100%"> | 45 | <img class="card-img-top" src="images/pune (1).png" style="width:100%"> |
46 | <div class="card-block"> | 46 | <div class="card-block"> |
47 | <div class="pull-left"> | 47 | <div class="pull-left"> |
48 | <h4 class="card-title">Pune</h4> | 48 | <h4 class="card-title">Pune</h4> |
49 | <label class="card-sub-title">11th November,2017</label> | 49 | <label class="card-sub-title">11th November,2017</label> |
50 | </div> | 50 | </div> |
51 | <!-- <div class="pull-right"> | 51 | <!-- <div class="pull-right"> |
52 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('pune')">Apply</button> | 52 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('pune')">Apply</button> |
53 | </div> --> | 53 | </div> --> |
54 | <div class="clearfix"></div> | 54 | <div class="clearfix"></div> |
55 | <label class="card-sub-title"><span style="color:red">Closed</span></label> | 55 | <label class="card-sub-title"><span style="color:red">Closed</span></label> |
56 | </div> | 56 | </div> |
57 | <div class="card-text2"> | 57 | <div class="card-text2"> |
58 | <span><b>Location</b></span> | 58 | <span><b>Location</b></span> |
59 | <div class="card-text">Edugild, 9, MIT College Rd, Kothrud, Pune</div> | 59 | <div class="card-text">Edugild, 9, MIT College Rd, Kothrud, Pune</div> |
60 | </div> | 60 | </div> |
61 | </label> | 61 | </label> |
62 | </div> | 62 | </div> |
63 | </div> | 63 | </div> |
64 | <div class="col-md-3"> | 64 | <div class="col-md-3"> |
65 | <div class="card" style="width:100%"> | 65 | <div class="card" style="width:100%"> |
66 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 66 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
67 | <img class="card-img-top" src="images/Mumbai1.png" style="width:100%"> | 67 | <img class="card-img-top" src="images/Mumbai1.png" style="width:100%"> |
68 | <div class="card-block"> | 68 | <div class="card-block"> |
69 | <div class="pull-left"> | 69 | <div class="pull-left"> |
70 | <h4 class="card-title">Mumbai</h4> | 70 | <h4 class="card-title">Mumbai</h4> |
71 | <label class="card-sub-title">13th November,2017</label> | 71 | <label class="card-sub-title">13th November,2017</label> |
72 | </div> | 72 | </div> |
73 | <!-- <div class="pull-right"> | 73 | <!-- <div class="pull-right"> |
74 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mumbai')">Apply</button> | 74 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mumbai')">Apply</button> |
75 | </div> --> | 75 | </div> --> |
76 | <div class="clearfix"></div> | 76 | <div class="clearfix"></div> |
77 | <label class="card-sub-title"><span style="color:red">Closed</span></label> | 77 | <label class="card-sub-title"><span style="color:red">Closed</span></label> |
78 | </div> | 78 | </div> |
79 | <div class="card-text2"> | 79 | <div class="card-text2"> |
80 | <span><b>Location</b></span> | 80 | <span><b>Location</b></span> |
81 | <div class="card-text">Zone Startups, Bombay Stock Exchange, Dalal Street, Mumbai</div> | 81 | <div class="card-text">Zone Startups, Bombay Stock Exchange, Dalal Street, Mumbai</div> |
82 | </div> | 82 | </div> |
83 | </label> | 83 | </label> |
84 | </div> | 84 | </div> |
85 | </div> | 85 | </div> |
86 | <div class="col-md-3"> | 86 | <div class="col-md-3"> |
87 | <div class="card" style="width:100%"> | 87 | <div class="card" style="width:100%"> |
88 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 88 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
89 | <img class="card-img-top" src="images/ahmedabad.jpg" style="width:100%"> | 89 | <img class="card-img-top" src="images/ahmedabad.jpg" style="width:100%"> |
90 | <div class="card-block"> | 90 | <div class="card-block"> |
91 | <div class="pull-left"> | 91 | <div class="pull-left"> |
92 | <h4 class="card-title">Ahmedabad</h4> | 92 | <h4 class="card-title">Ahmedabad</h4> |
93 | <label class="card-sub-title">15th November,2017</label> | 93 | <label class="card-sub-title">15th November,2017</label> |
94 | </div> | 94 | </div> |
95 | <!-- <div class="pull-right"> | 95 | <!-- <div class="pull-right"> |
96 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('ahmedabad')">Apply</button> | 96 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('ahmedabad')">Apply</button> |
97 | </div> --> | 97 | </div> --> |
98 | <div class="clearfix"></div> | 98 | <div class="clearfix"></div> |
99 | <label class="card-sub-title"><span style="color:red">Closed</span></label> | 99 | <label class="card-sub-title"><span style="color:red">Closed</span></label> |
100 | </div> | 100 | </div> |
101 | <div class="card-text2"> | 101 | <div class="card-text2"> |
102 | <span><b>Location</b></span> | 102 | <span><b>Location</b></span> |
103 | <div class="card-text" style="padding-bottom:16px;">IIM-Ahmedabad, Gujarat</div> | 103 | <div class="card-text" style="padding-bottom:16px;">IIM-Ahmedabad, Gujarat</div> |
104 | </div> | 104 | </div> |
105 | </label> | 105 | </label> |
106 | </div> | 106 | </div> |
107 | </div> | 107 | </div> |
108 | </div> | 108 | </div> |
109 | </div> | 109 | </div> |
110 | <div class="clearfix"></div> | 110 | <div class="clearfix"></div> |
111 | <div class="stages card-align" style="margin-top: 2%;"> | 111 | <div class="stages card-align" style="margin-top: 2%;"> |
112 | <div class="row"> | 112 | <div class="row"> |
113 | <div class="col-md-3"> | 113 | <div class="col-md-3"> |
114 | <div class="card" style="width:100%"> | 114 | <div class="card" style="width:100%"> |
115 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 115 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
116 | <img class="card-img-top" src="images/jaipur_2 (1).jpg" style="width:100%"> | 116 | <img class="card-img-top" src="images/jaipur_2 (1).jpg" style="width:100%"> |
117 | <div class="card-block"> | 117 | <div class="card-block"> |
118 | <div class="pull-left"> | 118 | <div class="pull-left"> |
119 | <h4 class="card-title">Jaipur</h4> | 119 | <h4 class="card-title">Jaipur</h4> |
120 | <label class="card-sub-title">17th November,2017</label> | 120 | <label class="card-sub-title">17th November,2017</label> |
121 | </div> | 121 | </div> |
122 | <div class="pull-right"> | 122 | <!-- <div class="pull-right"> |
123 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('jaipur')">Apply</button> | 123 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('jaipur')">Apply</button> |
124 | </div> | 124 | </div> --> |
125 | <div class="clearfix"></div> | 125 | <div class="clearfix"></div> |
126 | <label class="card-sub-title"><span style="color:red"> Post deadline expires in</span> : <span id="jaipur"></span></label> | 126 | <label class="card-sub-title"><span style="color:red">Closed</span></label> |
127 | </div> | 127 | </div> |
128 | <div class="card-text2"> | 128 | <div class="card-text2"> |
129 | <span><b>Location</b></span> | 129 | <span><b>Location</b></span> |
130 | <div class="card-text">Startup Oasis, M-7, Sitapura Industrial Area, Jaipur</div> | 130 | <div class="card-text">Startup Oasis, M-7, Sitapura Industrial Area, Jaipur</div> |
131 | </div> | 131 | </div> |
132 | </label> | 132 | </label> |
133 | </div> | 133 | </div> |
134 | </div> | 134 | </div> |
135 | <div class="col-md-3"> | 135 | <div class="col-md-3"> |
136 | <div class="card" style="width:100%"> | 136 | <div class="card" style="width:100%"> |
137 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 137 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
138 | <img class="card-img-top" src="images/Hyderabad1.png" style="width:100%"> | 138 | <img class="card-img-top" src="images/Hyderabad1.png" style="width:100%"> |
139 | <div class="card-block"> | 139 | <div class="card-block"> |
140 | <div class="pull-left"> | 140 | <div class="pull-left"> |
141 | <h4 class="card-title">Hyderabad</h4> | 141 | <h4 class="card-title">Hyderabad</h4> |
142 | <label class="card-sub-title">21st November,2017</label> | 142 | <label class="card-sub-title">21st November,2017</label> |
143 | </div> | 143 | </div> |
144 | <div class="pull-right"> | 144 | <div class="pull-right"> |
145 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('hyderabad')">Apply</button> | 145 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('hyderabad')">Apply</button> |
146 | </div> | 146 | </div> |
147 | <div class="clearfix"></div> | 147 | <div class="clearfix"></div> |
148 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="hyderabad"></span>*</label> | 148 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="hyderabad"></span>*</label> |
149 | </div> | 149 | </div> |
150 | <div class="card-text2"> | 150 | <div class="card-text2"> |
151 | <span><b>Location</b></span> | 151 | <span><b>Location</b></span> |
152 | <div class="card-text">T-Hub, IIIT-Hyderabad Campus, Gachibowli, Hyderabad</div> | 152 | <div class="card-text">T-Hub, IIIT-Hyderabad Campus, Gachibowli, Hyderabad</div> |
153 | </div> | 153 | </div> |
154 | </label> | 154 | </label> |
155 | </div> | 155 | </div> |
156 | </div> | 156 | </div> |
157 | <div class="col-md-3"> | 157 | <div class="col-md-3"> |
158 | <div class="card" style="width:100%"> | 158 | <div class="card" style="width:100%"> |
159 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 159 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
160 | <img class="card-img-top" src="images/bangalore (1).png" style="width:100%"> | 160 | <img class="card-img-top" src="images/bangalore (1).png" style="width:100%"> |
161 | <div class="card-block"> | 161 | <div class="card-block"> |
162 | <div class="pull-left"> | 162 | <div class="pull-left"> |
163 | <h4 class="card-title">Bangalore</h4> | 163 | <h4 class="card-title">Bangalore</h4> |
164 | <label class="card-sub-title">23rd November,2017</label> | 164 | <label class="card-sub-title">23rd November,2017</label> |
165 | </div> | 165 | </div> |
166 | <div class="pull-right"> | 166 | <div class="pull-right"> |
167 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('bangalore')">Apply</button> | 167 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('bangalore')">Apply</button> |
168 | </div> | 168 | </div> |
169 | <div class="clearfix"></div> | 169 | <div class="clearfix"></div> |
170 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="bangalore"></span>*</label> | 170 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="bangalore"></span>*</label> |
171 | </div> | 171 | </div> |
172 | <div class="card-text2"> | 172 | <div class="card-text2"> |
173 | <span><b>Location</b></span> | 173 | <span><b>Location</b></span> |
174 | <div class="card-text" style="padding-bottom:16px;">Bangalore TBD</div> | 174 | <div class="card-text" style="padding-bottom:16px;">Bangalore TBD</div> |
175 | </div> | 175 | </div> |
176 | </label> | 176 | </label> |
177 | </div> | 177 | </div> |
178 | </div> | 178 | </div> |
179 | <div class="col-md-3"> | 179 | <div class="col-md-3"> |
180 | <div class="card" style="width:100%"> | 180 | <div class="card" style="width:100%"> |
181 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 181 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
182 | <img class="card-img-top" src="images/Delhi (3).png" style="width:100%"> | 182 | <img class="card-img-top" src="images/Delhi (3).png" style="width:100%"> |
183 | <div class="card-block"> | 183 | <div class="card-block"> |
184 | <div class="pull-left"> | 184 | <div class="pull-left"> |
185 | <h4 class="card-title">Delhi</h4> | 185 | <h4 class="card-title">Delhi</h4> |
186 | <label class="card-sub-title">29th November,2017</label> | 186 | <label class="card-sub-title">29th November,2017</label> |
187 | </div> | 187 | </div> |
188 | <div class="pull-right"> | 188 | <div class="pull-right"> |
189 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('delhi')">Apply</button> | 189 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('delhi')">Apply</button> |
190 | </div> | 190 | </div> |
191 | <div class="clearfix"></div> | 191 | <div class="clearfix"></div> |
192 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="delhi"></span>*</label> | 192 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="delhi"></span>*</label> |
193 | </div> | 193 | </div> |
194 | <div class="card-text2"> | 194 | <div class="card-text2"> |
195 | <span><b>Location</b></span> | 195 | <span><b>Location</b></span> |
196 | <div class="card-text">Delhi Technological University, Shahbad Daulatpur, Delhi</div> | 196 | <div class="card-text">Delhi Technological University, Shahbad Daulatpur, Delhi</div> |
197 | </div> | 197 | </div> |
198 | </label> | 198 | </label> |
199 | </div> | 199 | </div> |
200 | </div> | 200 | </div> |
201 | </div> | 201 | </div> |
202 | </div> | 202 | </div> |
203 | <div class="clearfix"></div> | 203 | <div class="clearfix"></div> |
204 | <div class="stages card-align" style="margin-top: 2%;"> | 204 | <div class="stages card-align" style="margin-top: 2%;"> |
205 | <div class="row"> | 205 | <div class="row"> |
206 | <div class="col-md-3"> | 206 | <div class="col-md-3"> |
207 | <div class="card" style="width:100%"> | 207 | <div class="card" style="width:100%"> |
208 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 208 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
209 | <img class="card-img-top" src="images/chandigrh.jpg" style="width:100%"> | 209 | <img class="card-img-top" src="images/chandigrh.jpg" style="width:100%"> |
210 | <div class="card-block"> | 210 | <div class="card-block"> |
211 | <div class="pull-left"> | 211 | <div class="pull-left"> |
212 | <h4 class="card-title">Chandigarh</h4> | 212 | <h4 class="card-title">Chandigarh</h4> |
213 | <label class="card-sub-title">2nd December,2017</label> | 213 | <label class="card-sub-title">2nd December,2017</label> |
214 | </div> | 214 | </div> |
215 | <div class="pull-right"> | 215 | <div class="pull-right"> |
216 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('chandigarh')">Apply</button> | 216 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('chandigarh')">Apply</button> |
217 | </div> | 217 | </div> |
218 | <div class="clearfix"></div> | 218 | <div class="clearfix"></div> |
219 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="chandigarh"></span>*</label> | 219 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="chandigarh"></span>*</label> |
220 | </div> | 220 | </div> |
221 | <div class="card-text2"> | 221 | <div class="card-text2"> |
222 | <span><b>Location</b></span> | 222 | <span><b>Location</b></span> |
223 | <div class="card-text">TBD</div> | 223 | <div class="card-text">TBD</div> |
224 | </div> | 224 | </div> |
225 | </label> | 225 | </label> |
226 | </div> | 226 | </div> |
227 | </div> | 227 | </div> |
228 | <div class="col-md-3"> | 228 | <div class="col-md-3"> |
229 | <div class="card" style="width:100%"> | 229 | <div class="card" style="width:100%"> |
230 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 230 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
231 | <img class="card-img-top" src="images/main.jpg" style="width:100% "> | 231 | <img class="card-img-top" src="images/main.jpg" style="width:100% "> |
232 | <div class="card-block"> | 232 | <div class="card-block"> |
233 | <div class="pull-left"> | 233 | <div class="pull-left"> |
234 | <h4 class="card-title">Main Invest, Chandigarh</h4> | 234 | <h4 class="card-title">Main Invest, Chandigarh</h4> |
235 | <label class="card-sub-title">2nd & 3rd December, 2017</label> | 235 | <label class="card-sub-title">2nd & 3rd December, 2017</label> |
236 | </div> | 236 | </div> |
237 | <div class="pull-right"> | 237 | <div class="pull-right"> |
238 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mainevent')">Apply</button> | 238 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mainevent')">Apply</button> |
239 | </div> | 239 | </div> |
240 | <div class="clearfix"></div> | 240 | <div class="clearfix"></div> |
241 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="maininvest"></span>*</label> | 241 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="maininvest"></span>*</label> |
242 | </div> | 242 | </div> |
243 | <div class="card-text2"> | 243 | <div class="card-text2"> |
244 | <span><b>Location</b></span> | 244 | <span><b>Location</b></span> |
245 | <div class="card-text">TBD</div> | 245 | <div class="card-text">TBD</div> |
246 | </div> | 246 | </div> |
247 | </label> | 247 | </label> |
248 | </div> | 248 | </div> |
249 | </div> | 249 | </div> |
250 | </div> | 250 | </div> |
251 | </div> | 251 | </div> |
252 | <div class="clearfix"></div> | 252 | <div class="clearfix"></div> |
253 | </div> | 253 | </div> |
254 | </div> | 254 | </div> |
255 | <div class="clearfix"></div> | 255 | <div class="clearfix"></div> |
256 | <div style="display: none;" class="hiddenForm"> | 256 | <div style="display: none;" class="hiddenForm"> |
257 | <div class="navbar-collapse"> | 257 | <div class="navbar-collapse"> |
258 | <form name="applicantForm" id="signupForm"> | 258 | <form name="applicantForm" id="signupForm"> |
259 | <div class="col-xs-12 col-md-10 col-md-offset-1"> | 259 | <div class="col-xs-12 col-md-10 col-md-offset-1"> |
260 | <div class="hideform" ng-if="eventType"> | 260 | <div class="hideform" ng-if="eventType"> |
261 | <p> | 261 | <p> |
262 | <ul style="padding-left: 2%;font-size: 15px;"><li>Access to 2-days conference</li> | 262 | <ul style="padding-left: 2%;font-size: 15px;"><li>Access to 2-days conference</li> |
263 | <li>Pitching for funding up to Rs 1 crore</li> | 263 | <li>Pitching for funding up to Rs 1 crore</li> |
264 | <li>Private interaction in khopchas</li> | 264 | <li>Private interaction in khopchas</li> |
265 | <li>Access to 30+ investors</li> | 265 | <li>Access to 30+ investors</li> |
266 | <li>Free lunch for the participants</li> | 266 | <li>Free lunch for the participants</li> |
267 | <li>Network with the biggest names in startup ecosystem</li></ul> | 267 | <li>Network with the biggest names in startup ecosystem</li></ul> |
268 | </p> | 268 | </p> |
269 | </div> | 269 | </div> |
270 | <div class="hideform" ng-if="mainType"> | 270 | <div class="hideform" ng-if="mainType"> |
271 | <p class="select-stage" style="font-size:16px;"><b>Please select one stage.</b></p> | 271 | <p class="select-stage" style="font-size:16px;"><b>Please select one stage.</b></p> |
272 | <div class="stage-shadow"> | 272 | <div class="stage-shadow"> |
273 | <div class="stages card-align"> | 273 | <div class="stages card-align"> |
274 | <div class="col-xs-6 no-padding"> | 274 | <div class="col-xs-6 no-padding"> |
275 | <div class="card stages-card"> | 275 | <div class="card stages-card"> |
276 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="true" checked="true" ng-click="stage('Idea')"> | 276 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Pitch your Idea" name="Pitch your Idea" id="ideation" ng-required="Idea" ng-checked="true" checked="true" ng-click="stage('Pitch your Idea')"> |
277 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation"> | 277 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation"> |
278 | <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> | 278 | <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> |
279 | <div class="card-content f-family"> | 279 | <div class="card-content f-family"> |
280 | <p align="center"><b style="font-size:14px">Pitch your Idea</b></p> | 280 | <p align="center"><b style="font-size:14px">Pitch your Idea</b></p> |
281 | </div> | 281 | </div> |
282 | </label> | 282 | </label> |
283 | </div> | 283 | </div> |
284 | <div class="clearfix"></div> | 284 | <div class="clearfix"></div> |
285 | <div class="cards-content hidden-xs"> | 285 | <div class="cards-content hidden-xs"> |
286 | <p> | 286 | <p> |
287 | ⚬ <span style="font-weight:bold">One idea will get a chance to pitch and 10lac guaranteed funding* T&C</span><br> | 287 | ⚬ <span style="font-weight:bold">One idea will get a chance to pitch and 10lac guaranteed funding* T&C</span><br> |
288 | </p> | 288 | </p> |
289 | </div> | 289 | </div> |
290 | </div> | 290 | </div> |
291 | <div class="col-xs-6 no-padding-mobile"> | 291 | <div class="col-xs-6 no-padding-mobile"> |
292 | <div class="card stages-card margin-auto-mobile"> | 292 | <div class="card stages-card margin-auto-mobile"> |
293 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Product" id="Proof" ng-required="Product" ng-click="stage('Product')"> | 293 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Pitch your Startup" name="Pitch your Startup" id="Proof" ng-required="Product" ng-click="stage('Pitch your Startup')"> |
294 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> | 294 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> |
295 | <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> | 295 | <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> |
296 | <div class="card-content f-family"> | 296 | <div class="card-content f-family"> |
297 | <p align="center"><b style="font-size:14px">Pitch your Startup</b></p> | 297 | <p align="center"><b style="font-size:14px">Pitch your Startup</b></p> |
298 | </div> | 298 | </div> |
299 | </label> | 299 | </label> |
300 | </div> | 300 | </div> |
301 | <div class="clearfix"></div> | 301 | <div class="clearfix"></div> |
302 | <div class="cards-content hidden-xs"> | 302 | <div class="cards-content hidden-xs"> |
303 | <p> | 303 | <p> |
304 | ⚬ <span style="font-weight:bold">The top startup will get Rs 1crore prize in form of funding* T&C</span><br> | 304 | ⚬ <span style="font-weight:bold">The top startup will get Rs 1crore prize in form of funding* T&C</span><br> |
305 | </p> | 305 | </p> |
306 | </div> | 306 | </div> |
307 | </div> | 307 | </div> |
308 | <!--<div class="col-xs-4 no-padding"> | 308 | <!--<div class="col-xs-4 no-padding"> |
309 | <div class="card stages-card right-stage-card"> | 309 | <div class="card stages-card right-stage-card"> |
310 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Growth" id="Beta" ng-required="Growth" ng-click="stage('Growth')"> | 310 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Growth" id="Beta" ng-required="Growth" ng-click="stage('Growth')"> |
311 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> | 311 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> |
312 | <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> | 312 | <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> |
313 | <div class="card-content f-family"> | 313 | <div class="card-content f-family"> |
314 | <p align="center">Growth</p> | 314 | <p align="center">Growth</p> |
315 | </div> | 315 | </div> |
316 | </label> | 316 | </label> |
317 | </div> | 317 | </div> |
318 | <div class="clearfix"></div> | 318 | <div class="clearfix"></div> |
319 | <div class="cards-content hidden-xs"> | 319 | <div class="cards-content hidden-xs"> |
320 | <p> | 320 | <p> |
321 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> | 321 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> |
322 | ⚬ Connect with Series A investors<br> | 322 | ⚬ Connect with Series A investors<br> |
323 | ⚬ Connect and hire top startups | 323 | ⚬ Connect and hire top startups |
324 | </p> | 324 | </p> |
325 | </div> | 325 | </div> |
326 | </div> --> | 326 | </div> --> |
327 | <!-- <div class="col-xs-3 no-padding"> | 327 | <!-- <div class="col-xs-3 no-padding"> |
328 | <div class="card stages-card"> | 328 | <div class="card stages-card"> |
329 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Visitor" name="Visitor" id="visit" ng-required="Visitor" ng-checked="true" checked="true" ng-click="stage('Visitor')"> | 329 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Visitor" name="Visitor" id="visit" ng-required="Visitor" ng-checked="true" checked="true" ng-click="stage('Visitor')"> |
330 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="visit"> | 330 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="visit"> |
331 | <img class="stage-img stage-visit" src="images/idea-stage.png" alt="Lights"> | 331 | <img class="stage-img stage-visit" src="images/idea-stage.png" alt="Lights"> |
332 | <div class="card-content f-family"> | 332 | <div class="card-content f-family"> |
333 | <p align="center">Visitor</p> | 333 | <p align="center">Visitor</p> |
334 | </div> | 334 | </div> |
335 | </label> | 335 | </label> |
336 | </div> | 336 | </div> |
337 | <div class="clearfix"></div> | 337 | <div class="clearfix"></div> |
338 | <div class="cards-content hidden-xs"> | 338 | <div class="cards-content hidden-xs"> |
339 | <p> | 339 | <p> |
340 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> | 340 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> |
341 | ⚬ Get feedback from mentors<br> | 341 | ⚬ Get feedback from mentors<br> |
342 | ⚬ Validate your idea. | 342 | ⚬ Validate your idea. |
343 | </p> | 343 | </p> |
344 | </div> | 344 | </div> |
345 | </div> --> | 345 | </div> --> |
346 | <div class="clearfix"></div> | 346 | <div class="clearfix"></div> |
347 | </div> | 347 | </div> |
348 | <div class="clearfix"></div> | 348 | <div class="clearfix"></div> |
349 | </div> | 349 | </div> |
350 | </div> | 350 | </div> |
351 | <div class="hidden-sm hidden-md hidden-lg"> | 351 | <div class="hidden-sm hidden-md hidden-lg"> |
352 | <div class="cards-content" ng-if="data.stage == 'Idea'"> | 352 | <div class="cards-content" ng-if="data.stage == 'Idea'"> |
353 | <p> | 353 | <p> |
354 | ⚬ <span style="font-weight:bold">One idea will get a chance to pitch and 10lac guaranteed funding* T&C</span><br> | 354 | ⚬ <span style="font-weight:bold">One idea will get a chance to pitch and 10lac guaranteed funding* T&C</span><br> |
355 | </p> | 355 | </p> |
356 | </div> | 356 | </div> |
357 | <div class="cards-content" ng-if="data.stage == 'Product'"> | 357 | <div class="cards-content" ng-if="data.stage == 'Product'"> |
358 | <p> | 358 | <p> |
359 | ⚬ <span style="font-weight:bold">The top startup will get Rs 1crore prize in form of funding* T&C</span><br> | 359 | ⚬ <span style="font-weight:bold">The top startup will get Rs 1crore prize in form of funding* T&C</span><br> |
360 | </p> | 360 | </p> |
361 | </div> | 361 | </div> |
362 | <!-- <div class="cards-content" ng-if="data.stage == 'Growth'"> | 362 | <!-- <div class="cards-content" ng-if="data.stage == 'Growth'"> |
363 | <p> | 363 | <p> |
364 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> | 364 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> |
365 | ⚬ Connect with Series A investors<br> | 365 | ⚬ Connect with Series A investors<br> |
366 | ⚬ Connect and hire top startups | 366 | ⚬ Connect and hire top startups |
367 | </p> | 367 | </p> |
368 | </div> --> | 368 | </div> --> |
369 | <!-- <div class="cards-content" ng-if="data.stage == 'Visitor'"> | 369 | <!-- <div class="cards-content" ng-if="data.stage == 'Visitor'"> |
370 | <p> | 370 | <p> |
371 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> | 371 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> |
372 | ⚬ Get feedback from mentors<br> | 372 | ⚬ Get feedback from mentors<br> |
373 | ⚬ Validate your idea. | 373 | ⚬ Validate your idea. |
374 | </p> | 374 | </p> |
375 | </div> --> | 375 | </div> --> |
376 | </div> | 376 | </div> |
377 | <!-- CLOSE STAGE SHADOW --> | 377 | <!-- CLOSE STAGE SHADOW --> |
378 | <div class="form-all"> | 378 | <div class="form-all"> |
379 | <div class="col-xs-12 col-md-12 input-wrapper"> | 379 | <div class="col-xs-12 col-md-12 input-wrapper"> |
380 | <div id="snackbar">Error ! Please fill in all fields.</div> | 380 | <div id="snackbar">Error ! Please fill in all fields.</div> |
381 | <div class="icon-circle-c"> | 381 | <div class="icon-circle-c"> |
382 | <i class="material-icons" style="line-height: 31px;">person</i> | 382 | <i class="material-icons" style="line-height: 31px;">person</i> |
383 | </div> | 383 | </div> |
384 | <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)"> | 384 | <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)"> |
385 | </div> | 385 | </div> |
386 | <!-- <div class="col-xs-12 col-md-6 input-wrapper"> | 386 | <!-- <div class="col-xs-12 col-md-6 input-wrapper"> |
387 | <div id="snackbar">Error ! Please fill in all fields.</div> | 387 | <div id="snackbar">Error ! Please fill in all fields.</div> |
388 | <div class="icon-circle-x"> | 388 | <div class="icon-circle-x"> |
389 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> | 389 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> |
390 | </div> | 390 | </div> |
391 | <input type="text" class="text-input" required ng-model="data.lastName" placeholder="Last Name *" id="myBtn" name="lastName" ng-change="entername(data.lastName); lastNamekeyPress(data.lastName)"> | 391 | <input type="text" class="text-input" required ng-model="data.lastName" placeholder="Last Name *" id="myBtn" name="lastName" ng-change="entername(data.lastName); lastNamekeyPress(data.lastName)"> |
392 | 392 | ||
393 | </div> --> | 393 | </div> --> |
394 | <div class="col-xs-12 col-md-12 input-wrapper"> | 394 | <div class="col-xs-12 col-md-12 input-wrapper"> |
395 | <div id="snackbar">Error ! Please fill in all fields.</div> | 395 | <div id="snackbar">Error ! Please fill in all fields.</div> |
396 | <div class="icon-circle-d"> | 396 | <div class="icon-circle-d"> |
397 | <i class="material-icons" style="line-height: 30px;">email</i> | 397 | <i class="material-icons" style="line-height: 30px;">email</i> |
398 | </div> | 398 | </div> |
399 | <input type="email" name="email" style="margin-bottom:5px" | 399 | <input type="email" name="email" style="margin-bottom:5px" |
400 | ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address *" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)" ng-keyup="emailTest($event)"> | 400 | ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address *" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)" ng-keyup="emailTest($event)"> |
401 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> | 401 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> |
402 | <label ng-if="check">Email already exist.<a href="http://apply.startupjalsa.com/#/pendingPayment/{{emailId}}">Click here</a> to complete payment</label> | 402 | <label ng-if="check">Email already exist.<a href="http://apply.startupjalsa.com/#/pendingPayment/{{emailId}}">Click here</a> to complete payment</label> |
403 | <label style="color: #ff0000;margin: 5px 4px -5px 0px" ng-if="space == true" >Please remove the space.</label> | 403 | <label style="color: #ff0000;margin: 5px 4px -5px 0px" ng-if="space == true" >Please remove the space.</label> |
404 | 404 | ||
405 | </div> | 405 | </div> |
406 | <!-- <div class="col-xs-12 col-md-6 input-wrapper f-family"> | 406 | <!-- <div class="col-xs-12 col-md-6 input-wrapper f-family"> |
407 | <div class="icon-circle-f"> | 407 | <div class="icon-circle-f"> |
408 | <i class="material-icons" style="line-height: 30px;">location_city</i> | 408 | <i class="material-icons" style="line-height: 30px;">location_city</i> |
409 | </div> | 409 | </div> |
410 | <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" required style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;"> | 410 | <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" required style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;"> |
411 | <option name="city" selected disabled value="">Choose City *</option> | 411 | <option name="city" selected disabled value="">Choose City *</option> |
412 | <option value="Agra">Agra</option> | 412 | <option value="Agra">Agra</option> |
413 | <option value="Ahmedabad">Ahmedabad</option> | 413 | <option value="Ahmedabad">Ahmedabad</option> |
414 | <option value="Ajmer">Ajmer</option> | 414 | <option value="Ajmer">Ajmer</option> |
415 | <option value="Aligarh">Aligarh</option> | 415 | <option value="Aligarh">Aligarh</option> |
416 | <option value="Allahabad">Allahabad</option> | 416 | <option value="Allahabad">Allahabad</option> |
417 | <option value="Ambattur">Ambattur</option> | 417 | <option value="Ambattur">Ambattur</option> |
418 | <option value="Amravati">Amravati</option> | 418 | <option value="Amravati">Amravati</option> |
419 | <option value="Amritsar">Amritsar</option> | 419 | <option value="Amritsar">Amritsar</option> |
420 | <option value="Asansol">Asansol</option> | 420 | <option value="Asansol">Asansol</option> |
421 | <option value="Aurangabad">Aurangabad</option> | 421 | <option value="Aurangabad">Aurangabad</option> |
422 | <option value="Bareilly">Bareilly</option> | 422 | <option value="Bareilly">Bareilly</option> |
423 | <option value="Belgaum">Belgaum</option> | 423 | <option value="Belgaum">Belgaum</option> |
424 | <option value="Bengaluru">Bengaluru</option> | 424 | <option value="Bengaluru">Bengaluru</option> |
425 | <option value="Bhavnagar">Bhavnagar</option> | 425 | <option value="Bhavnagar">Bhavnagar</option> |
426 | <option value="Bhayander">Bhayander</option> | 426 | <option value="Bhayander">Bhayander</option> |
427 | <option value="Bhilai Nagar">Bhilai Nagar</option> | 427 | <option value="Bhilai Nagar">Bhilai Nagar</option> |
428 | <option value="Bhiwandi">Bhiwandi</option> | 428 | <option value="Bhiwandi">Bhiwandi</option> |
429 | <option value="Bhopal">Bhopal</option> | 429 | <option value="Bhopal">Bhopal</option> |
430 | <option value="Bhubaneswar">Bhubaneswar</option> | 430 | <option value="Bhubaneswar">Bhubaneswar</option> |
431 | <option value="Bikaner">Bikaner</option> | 431 | <option value="Bikaner">Bikaner</option> |
432 | <option value="Chandigarh">Chandigarh</option> | 432 | <option value="Chandigarh">Chandigarh</option> |
433 | <option value="Chennai">Chennai</option> | 433 | <option value="Chennai">Chennai</option> |
434 | <option value="Chinchwad">Chinchwad</option> | 434 | <option value="Chinchwad">Chinchwad</option> |
435 | <option value="Coimbatore">Coimbatore</option> | 435 | <option value="Coimbatore">Coimbatore</option> |
436 | <option value="Cuttack">Cuttack</option> | 436 | <option value="Cuttack">Cuttack</option> |
437 | <option value="Dehradun">Dehradun</option> | 437 | <option value="Dehradun">Dehradun</option> |
438 | <option value="Delhi-NCR">Delhi-NCR</option> | 438 | <option value="Delhi-NCR">Delhi-NCR</option> |
439 | <option value="Dhanbad">Dhanbad</option> | 439 | <option value="Dhanbad">Dhanbad</option> |
440 | <option value="Dharwad">Dharwad</option> | 440 | <option value="Dharwad">Dharwad</option> |
441 | <option value="Dombivali">Dombivali</option> | 441 | <option value="Dombivali">Dombivali</option> |
442 | <option value="Durgapur">Durgapur</option> | 442 | <option value="Durgapur">Durgapur</option> |
443 | <option value="Faridabad">Faridabad</option> | 443 | <option value="Faridabad">Faridabad</option> |
444 | <option value="Firozabad">Firozabad</option> | 444 | <option value="Firozabad">Firozabad</option> |
445 | <option value="Gaya">Gaya</option> | 445 | <option value="Gaya">Gaya</option> |
446 | <option value="Ghaziabad">Ghaziabad</option> | 446 | <option value="Ghaziabad">Ghaziabad</option> |
447 | <option value="Gorakhpur">Gorakhpur</option> | 447 | <option value="Gorakhpur">Gorakhpur</option> |
448 | <option value="Gulbarga">Gulbarga</option> | 448 | <option value="Gulbarga">Gulbarga</option> |
449 | <option value="Guntur">Guntur</option> | 449 | <option value="Guntur">Guntur</option> |
450 | <option value="Gurgaon">Gurgaon</option> | 450 | <option value="Gurgaon">Gurgaon</option> |
451 | <option value="Guwahati">Guwahati</option> | 451 | <option value="Guwahati">Guwahati</option> |
452 | <option value="Gwalior">Gwalior</option> | 452 | <option value="Gwalior">Gwalior</option> |
453 | <option value="Haora">Haora</option> | 453 | <option value="Haora">Haora</option> |
454 | <option value="Hubli">Hubli</option> | 454 | <option value="Hubli">Hubli</option> |
455 | <option value="Hyderabad">Hyderabad</option> | 455 | <option value="Hyderabad">Hyderabad</option> |
456 | <option value="Indore">Indore</option> | 456 | <option value="Indore">Indore</option> |
457 | <option value="Jabalpur">Jabalpur</option> | 457 | <option value="Jabalpur">Jabalpur</option> |
458 | <option value="Jaipur">Jaipur</option> | 458 | <option value="Jaipur">Jaipur</option> |
459 | <option value="Jalandhar">Jalandhar</option> | 459 | <option value="Jalandhar">Jalandhar</option> |
460 | <option value="Jalgaon">Jalgaon</option> | 460 | <option value="Jalgaon">Jalgaon</option> |
461 | <option value="Jammu">Jammu</option> | 461 | <option value="Jammu">Jammu</option> |
462 | <option value="Jamnagar">Jamnagar</option> | 462 | <option value="Jamnagar">Jamnagar</option> |
463 | <option value="Jamshedpur">Jamshedpur</option> | 463 | <option value="Jamshedpur">Jamshedpur</option> |
464 | <option value="Jhansi">Jhansi</option> | 464 | <option value="Jhansi">Jhansi</option> |
465 | <option value="Jodhpur">Jodhpur</option> | 465 | <option value="Jodhpur">Jodhpur</option> |
466 | <option value="Kalyan">Kalyan</option> | 466 | <option value="Kalyan">Kalyan</option> |
467 | <option value="Kanpur">Kanpur</option> | 467 | <option value="Kanpur">Kanpur</option> |
468 | <option value="Kochi">Kochi</option> | 468 | <option value="Kochi">Kochi</option> |
469 | <option value="Kolapur">Kolapur</option> | 469 | <option value="Kolapur">Kolapur</option> |
470 | <option value="Kolkata">Kolkata</option> | 470 | <option value="Kolkata">Kolkata</option> |
471 | <option value="Kota">Kota</option> | 471 | <option value="Kota">Kota</option> |
472 | <option value="Loni">Loni</option> | 472 | <option value="Loni">Loni</option> |
473 | <option value="Lucknow">Lucknow</option> | 473 | <option value="Lucknow">Lucknow</option> |
474 | <option value="Ludhiana">Ludhiana</option> | 474 | <option value="Ludhiana">Ludhiana</option> |
475 | <option value="Madurai">Madurai</option> | 475 | <option value="Madurai">Madurai</option> |
476 | <option value="Maheshtala">Maheshtala</option> | 476 | <option value="Maheshtala">Maheshtala</option> |
477 | <option value="Malegoan">Malegoan</option> | 477 | <option value="Malegoan">Malegoan</option> |
478 | <option value="Mangalore">Mangalore</option> | 478 | <option value="Mangalore">Mangalore</option> |
479 | <option value="Meerut">Meerut</option> | 479 | <option value="Meerut">Meerut</option> |
480 | <option value="Mira">Mira</option> | 480 | <option value="Mira">Mira</option> |
481 | <option value="Moradabad">Moradabad</option> | 481 | <option value="Moradabad">Moradabad</option> |
482 | <option value="Mumbai">Mumbai</option> | 482 | <option value="Mumbai">Mumbai</option> |
483 | <option value="Mysore">Mysore</option> | 483 | <option value="Mysore">Mysore</option> |
484 | <option value="Nagpur">Nagpur</option> | 484 | <option value="Nagpur">Nagpur</option> |
485 | <option value="Nanded Waghala">Nanded Waghala</option> | 485 | <option value="Nanded Waghala">Nanded Waghala</option> |
486 | <option value="Nashik">Nashik</option> | 486 | <option value="Nashik">Nashik</option> |
487 | <option value="Navi Mumbai">Navi Mumbai</option> | 487 | <option value="Navi Mumbai">Navi Mumbai</option> |
488 | <option value="Nellore">Nellore</option> | 488 | <option value="Nellore">Nellore</option> |
489 | <option value="Noida">Noida</option> | 489 | <option value="Noida">Noida</option> |
490 | <option value="Patna">Patna</option> | 490 | <option value="Patna">Patna</option> |
491 | <option value="Pimpri">Pimpri</option> | 491 | <option value="Pimpri">Pimpri</option> |
492 | <option value="Pune">Pune</option> | 492 | <option value="Pune">Pune</option> |
493 | <option value="Raipur">Raipur</option> | 493 | <option value="Raipur">Raipur</option> |
494 | <option value="Rajkot">Rajkot</option> | 494 | <option value="Rajkot">Rajkot</option> |
495 | <option value="Ranchi">Ranchi</option> | 495 | <option value="Ranchi">Ranchi</option> |
496 | <option value="Saharanpur">Saharanpur</option> | 496 | <option value="Saharanpur">Saharanpur</option> |
497 | <option value="Salem">Salem</option> | 497 | <option value="Salem">Salem</option> |
498 | <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> | 498 | <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> |
499 | <option value="Siliguri">Siliguri</option> | 499 | <option value="Siliguri">Siliguri</option> |
500 | <option value="Solapur">Solapur</option> | 500 | <option value="Solapur">Solapur</option> |
501 | <option value="Srinagar">Srinagar</option> | 501 | <option value="Srinagar">Srinagar</option> |
502 | <option value="Surat">Surat</option> | 502 | <option value="Surat">Surat</option> |
503 | <option value="Thane">Thane</option> | 503 | <option value="Thane">Thane</option> |
504 | <option value="Thiruvananthapuram">Thiruvananthapuram</option> | 504 | <option value="Thiruvananthapuram">Thiruvananthapuram</option> |
505 | <option value="Tiruchirappalli">Tiruchirappalli</option> | 505 | <option value="Tiruchirappalli">Tiruchirappalli</option> |
506 | <option value="Tirunelveli">Tirunelveli</option> | 506 | <option value="Tirunelveli">Tirunelveli</option> |
507 | <option value="Udaipur">Udaipur</option> | 507 | <option value="Udaipur">Udaipur</option> |
508 | <option value="Ujjain">Ujjain</option> | 508 | <option value="Ujjain">Ujjain</option> |
509 | <option value="Ulhasnagar">Ulhasnagar</option> | 509 | <option value="Ulhasnagar">Ulhasnagar</option> |
510 | <option value="Vadodara">Vadodara</option> | 510 | <option value="Vadodara">Vadodara</option> |
511 | <option value="Varanasi">Varanasi</option> | 511 | <option value="Varanasi">Varanasi</option> |
512 | <option value="Vasai Virar">Vasai Virar</option> | 512 | <option value="Vasai Virar">Vasai Virar</option> |
513 | <option value="Vijayawada">Vijayawada</option> | 513 | <option value="Vijayawada">Vijayawada</option> |
514 | <option value="Visakhapatnam">Visakhapatnam</option> | 514 | <option value="Visakhapatnam">Visakhapatnam</option> |
515 | <option value="Warangal">Warangal</option> | 515 | <option value="Warangal">Warangal</option> |
516 | <option value="anyOther">Any other</option> | 516 | <option value="anyOther">Any other</option> |
517 | </select> | 517 | </select> |
518 | </div> --> | 518 | </div> --> |
519 | <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> | 519 | <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> |
520 | <strong>Which city meet-up would you like to attend? </strong> | 520 | <strong>Which city meet-up would you like to attend? </strong> |
521 | <p class="line-space" ></p> | 521 | <p class="line-space" ></p> |
522 | </div> | 522 | </div> |
523 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 523 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
524 | <div class="icon-circle-p"> | 524 | <div class="icon-circle-p"> |
525 | <i class="material-icons" style="line-height: 30px;">location_city</i> | 525 | <i class="material-icons" style="line-height: 30px;">location_city</i> |
526 | </div> | 526 | </div> |
527 | <select name="citymeetup" ng-model="data.citymeetup" ng-change="enterbusiness(data.citymeetup); businesskeyPress(data.citymeetup)" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> | 527 | <select name="citymeetup" ng-model="data.citymeetup" ng-change="enterbusiness(data.citymeetup); businesskeyPress(data.citymeetup)" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> |
528 | <option selected disabled value="">City meet-up *</option> | 528 | <option selected disabled value="">City meet-up *</option> |
529 | <option value="Chennai">November 9: Chennai</option> | 529 | <option value="Chennai">November 9: Chennai</option> |
530 | <option value="Pune">November 11: Pune</option> | 530 | <option value="Pune">November 11: Pune</option> |
531 | <option value="Ahmedabad">November 13: Ahmedabad</option> | 531 | <option value="Ahmedabad">November 13: Ahmedabad</option> |
532 | <option value="Mumbai">November 17: Mumbai</option> | 532 | <option value="Mumbai">November 17: Mumbai</option> |
533 | <option value="Bengaluru">November 23: Bengaluru</option> | 533 | <option value="Bengaluru">November 23: Bengaluru</option> |
534 | <option value="Delhi">November 25: Delhi</option> | 534 | <option value="Delhi">November 25: Delhi</option> |
535 | <option value="Hyderabad">November 27: Hyderabad</option> | 535 | <option value="Hyderabad">November 27: Hyderabad</option> |
536 | <option value="Chandigarh">December 1: Chandigarh</option> | 536 | <option value="Chandigarh">December 1: Chandigarh</option> |
537 | </select> | 537 | </select> |
538 | </div> --> | 538 | </div> --> |
539 | <div class="col-xs-12 col-md-12 input-wrapper"> | 539 | <div class="col-xs-12 col-md-12 input-wrapper"> |
540 | <div id="snackbar">Error ! Please fill in all fields.</div> | 540 | <div id="snackbar">Error ! Please fill in all fields.</div> |
541 | <div class="icon-circle-e"> | 541 | <div class="icon-circle-e"> |
542 | <i class="material-icons" style="line-height: 30px;">phone</i> | 542 | <i class="material-icons" style="line-height: 30px;">phone</i> |
543 | </div> | 543 | </div> |
544 | <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-model="data.number" placeholder="Mobile No.*" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> | 544 | <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-model="data.number" placeholder="Mobile No.*" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> |
545 | <label ng-if="numberCheck">Contact Number already exist.</label> | 545 | <label ng-if="numberCheck">Contact Number already exist.</label> |
546 | </div> | 546 | </div> |
547 | <div class="col-xs-12 col-md-12 input-wrapper"> | 547 | <div class="col-xs-12 col-md-12 input-wrapper"> |
548 | <div id="snackbar">Error ! Please fill in all fields.</div> | 548 | <div id="snackbar">Error ! Please fill in all fields.</div> |
549 | <div class="icon-circle-x"> | 549 | <div class="icon-circle-x"> |
550 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> | 550 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> |
551 | </div> | 551 | </div> |
552 | <input type="text" class="text-input" required ng-model="data.startupName" placeholder="Startup Name *" id="myBtn" name="startupName" ng-change="entername(data.startupName); startupNamekeyPress(data.startupName)"> | 552 | <input type="text" class="text-input" required ng-model="data.startupName" placeholder="Startup Name *" id="myBtn" name="startupName" ng-change="entername(data.startupName); startupNamekeyPress(data.startupName)"> |
553 | </div> | 553 | </div> |
554 | <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> | 554 | <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> |
555 | <div id="snackbar">Error ! Please fill in all fields.</div> | 555 | <div id="snackbar">Error ! Please fill in all fields.</div> |
556 | <div class="icon-circle-h"> | 556 | <div class="icon-circle-h"> |
557 | <i class="material-icons" style="line-height: 31px;">link</i> | 557 | <i class="material-icons" style="line-height: 31px;">link</i> |
558 | </div> | 558 | </div> |
559 | <input type="text" class="text-input" ng-model="data.linkedInUrl" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="LinkedIn URL" id="myBtn" name="linkedInUrl" ng-change="entername(data.linkedInUrl); linkedInkeyPress(data.linkedInUrl)"> | 559 | <input type="text" class="text-input" ng-model="data.linkedInUrl" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="LinkedIn URL" id="myBtn" name="linkedInUrl" ng-change="entername(data.linkedInUrl); linkedInkeyPress(data.linkedInUrl)"> |
560 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.linkedInUrl == undefined || data.linkedInUrl == ''" style="position:absolute; top: 10px; left: 116px; color: #999">*</span> | 560 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.linkedInUrl == undefined || data.linkedInUrl == ''" style="position:absolute; top: 10px; left: 116px; color: #999">*</span> |
561 | </div> --> | 561 | </div> --> |
562 | <!-- <div class="hideform" ng-if="visitType"> --> | 562 | <!-- <div class="hideform" ng-if="visitType"> --> |
563 | <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> | 563 | <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> |
564 | <strong>Explain your idea/product briefly</strong> | 564 | <strong>Explain your idea/product briefly</strong> |
565 | <p class="line-space" ></p> | 565 | <p class="line-space" ></p> |
566 | </div> | 566 | </div> |
567 | <div class="col-xs-12 col-md-12 input-wrapper"> | 567 | <div class="col-xs-12 col-md-12 input-wrapper"> |
568 | <div id="snackbar">Error ! Please fill in all fields.</div> | 568 | <div id="snackbar">Error ! Please fill in all fields.</div> |
569 | <div class="icon-circle-q"> | 569 | <div class="icon-circle-q"> |
570 | <i class="material-icons" style="line-height: 31px;">thumb_up</i> | 570 | <i class="material-icons" style="line-height: 31px;">thumb_up</i> |
571 | </div> | 571 | </div> |
572 | <textarea type="text" maxlength="300" class="text-input" required ng-model="data.idea" placeholder="Idea/Product *" id="myBtn" name="Idea" ng-focus="removeNooError()" ng-change="entername(data.idea); ideakeyPress(data.idea)"> | 572 | <textarea type="text" maxlength="300" class="text-input" required ng-model="data.idea" placeholder="Idea/Product *" id="myBtn" name="Idea" ng-focus="removeNooError()" ng-change="entername(data.idea); ideakeyPress(data.idea)"> |
573 | </textarea> | 573 | </textarea> |
574 | <label class="error-message f-family" id="invalidIdea">Please answer using 300 words only.</label> | 574 | <label class="error-message f-family" id="invalidIdea">Please answer using 300 words only.</label> |
575 | </div> | 575 | </div> |
576 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 576 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
577 | <div class="icon-circle-abcdefg"> | 577 | <div class="icon-circle-abcdefg"> |
578 | <i class="material-icons" style="line-height: 30px;">open_with</i> | 578 | <i class="material-icons" style="line-height: 30px;">open_with</i> |
579 | </div> | 579 | </div> |
580 | <select name="industry" ng-model="data.industry" ng-change="industry(data.industry); industrykeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="dataIndustry"> | 580 | <select name="industry" ng-model="data.industry" ng-change="industry(data.industry); industrykeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="dataIndustry"> |
581 | <option selected disabled value="">Choose Industry *</option> | 581 | <option selected disabled value="">Choose Industry *</option> |
582 | <option value="Travel">Travel</option> | 582 | <option value="Travel">Travel</option> |
583 | <option value="Retail">Retail</option> | 583 | <option value="Retail">Retail</option> |
584 | <option value="Editech">Editech</option> | 584 | <option value="Editech">Editech</option> |
585 | <option value="Fintech">Fintech</option> | 585 | <option value="Fintech">Fintech</option> |
586 | <option value="Hardware">Hardware</option> | 586 | <option value="Hardware">Hardware</option> |
587 | <option value="Digital">Digital</option> | 587 | <option value="Digital">Digital</option> |
588 | <option value="Rural">Rural</option> | 588 | <option value="Rural">Rural</option> |
589 | <option value="others">Others</option> | 589 | <option value="others">Others</option> |
590 | </select> | 590 | </select> |
591 | </div> | 591 | </div> |
592 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="addOther"> | 592 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="addOther"> |
593 | <div id="snackbar">Error ! Please fill in all fields.</div> | 593 | <div id="snackbar">Error ! Please fill in all fields.</div> |
594 | <div class="icon-circle-o"> | 594 | <div class="icon-circle-o"> |
595 | <i class="material-icons" style="line-height: 31px;">open_with</i> | 595 | <i class="material-icons" style="line-height: 31px;">open_with</i> |
596 | </div> | 596 | </div> |
597 | <input type="text" class="text-input" ng-change="industry(data.industryName); industryNamekeyPress((data.industryName))" ng-model="data.industryName" placeholder="Please mention other industry name"> | 597 | <input type="text" class="text-input" ng-change="industry(data.industryName); industryNamekeyPress((data.industryName))" ng-model="data.industryName" placeholder="Please mention other industry name"> |
598 | </div> --> | 598 | </div> --> |
599 | <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> | 599 | <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> |
600 | <div id="snackbar">Error ! Please fill in all fields.</div> | 600 | <div id="snackbar">Error ! Please fill in all fields.</div> |
601 | <div class="icon-circle-i"> | 601 | <div class="icon-circle-i"> |
602 | <i class="material-icons" style="line-height: 31px;">business</i> | 602 | <i class="material-icons" style="line-height: 31px;">business</i> |
603 | </div> | 603 | </div> |
604 | <input type="text" class="text-input" ng-model="data.companyName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Company Name" id="myBtn" name="companyName" ng-change="entername(data.companyName); companykeyPress(data.companyName)"> | 604 | <input type="text" class="text-input" ng-model="data.companyName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Company Name" id="myBtn" name="companyName" ng-change="entername(data.companyName); companykeyPress(data.companyName)"> |
605 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.companyName == undefined || data.companyName == ''" style="position:absolute; top: 10px; left: 130px; color: #999">*</span> | 605 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.companyName == undefined || data.companyName == ''" style="position:absolute; top: 10px; left: 130px; color: #999">*</span> |
606 | </div> | 606 | </div> |
607 | <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> | 607 | <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> |
608 | <div id="snackbar">Error ! Please fill in all fields.</div> | 608 | <div id="snackbar">Error ! Please fill in all fields.</div> |
609 | <div class="icon-circle-j"> | 609 | <div class="icon-circle-j"> |
610 | <i class="material-icons" style="line-height: 31px;">view_comfy</i> | 610 | <i class="material-icons" style="line-height: 31px;">view_comfy</i> |
611 | </div> | 611 | </div> |
612 | <input type="text" class="text-input" ng-model="data.productName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Product Name" id="myBtn" name="productName" ng-change="entername(data.productName); productNamekeyPress(data.productName)"> | 612 | <input type="text" class="text-input" ng-model="data.productName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Product Name" id="myBtn" name="productName" ng-change="entername(data.productName); productNamekeyPress(data.productName)"> |
613 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.productName == undefined || data.productName == ''" style="position:absolute; top: 10px; left: 120px; color: #999">*</span> | 613 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.productName == undefined || data.productName == ''" style="position:absolute; top: 10px; left: 120px; color: #999">*</span> |
614 | </div> | 614 | </div> |
615 | <div class="hideform" ng-if="prototyp"> | 615 | <div class="hideform" ng-if="prototyp"> |
616 | <div class="hideform" ng-if="protyp"> | 616 | <div class="hideform" ng-if="protyp"> |
617 | <div class="col-xs-12 col-md-12 f-family line-adjust"> | 617 | <div class="col-xs-12 col-md-12 f-family line-adjust"> |
618 | <strong>Product Launched? </strong> | 618 | <strong>Product Launched? </strong> |
619 | <p class="line-space" ></p> | 619 | <p class="line-space" ></p> |
620 | </div> | 620 | </div> |
621 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 621 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
622 | <div class="icon-circle-ab"> | 622 | <div class="icon-circle-ab"> |
623 | <i class="material-icons" style="line-height: 30px;">launch</i> | 623 | <i class="material-icons" style="line-height: 30px;">launch</i> |
624 | </div> | 624 | </div> |
625 | <select name="productLaunch" ng-model="data.productLaunch" ng-change="productLaunch(data.productLaunch); productLaunchkeyPress()" ng-click="productCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="productDiv"> | 625 | <select name="productLaunch" ng-model="data.productLaunch" ng-change="productLaunch(data.productLaunch); productLaunchkeyPress()" ng-click="productCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="productDiv"> |
626 | <option selected disabled value="">Select *</option> | 626 | <option selected disabled value="">Select *</option> |
627 | <option value="yes">Yes</option> | 627 | <option value="yes">Yes</option> |
628 | <option value="no">No</option> | 628 | <option value="no">No</option> |
629 | </select> | 629 | </select> |
630 | </div> | 630 | </div> |
631 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="Productshow == 'yes'"> | 631 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="Productshow == 'yes'"> |
632 | <strong>Product Launch Period </strong> | 632 | <strong>Product Launch Period </strong> |
633 | <p class="line-space" ></p> | 633 | <p class="line-space" ></p> |
634 | </div> | 634 | </div> |
635 | <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="Productshow == 'yes'"> | 635 | <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="Productshow == 'yes'"> |
636 | <div class="icon-circle-abc"> | 636 | <div class="icon-circle-abc"> |
637 | <i class="material-icons" style="line-height: 30px;">launch</i> | 637 | <i class="material-icons" style="line-height: 30px;">launch</i> |
638 | </div> | 638 | </div> |
639 | <select name="launchPeriod" ng-model="data.launchPeriod" ng-change="launchPeriod(data.launchPeriod); launchPeriodkeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> | 639 | <select name="launchPeriod" ng-model="data.launchPeriod" ng-change="launchPeriod(data.launchPeriod); launchPeriodkeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> |
640 | <option selected disabled value="">Select</option> | 640 | <option selected disabled value="">Select</option> |
641 | <option value="less than 1 Month">less than one month</option> | 641 | <option value="less than 1 Month">less than one month</option> |
642 | <option value="less than 6 Months">less than 6 months</option> | 642 | <option value="less than 6 Months">less than 6 months</option> |
643 | <option value="more than 6 Months">more than 6 months</option> | 643 | <option value="more than 6 Months">more than 6 months</option> |
644 | </select> | 644 | </select> |
645 | </div> | 645 | </div> |
646 | </div> | 646 | </div> |
647 | <div class="col-xs-12 col-md-6 input-wrapper"> | 647 | <div class="col-xs-12 col-md-6 input-wrapper"> |
648 | <div id="snackbar">Error ! Please fill in all fields.</div> | 648 | <div id="snackbar">Error ! Please fill in all fields.</div> |
649 | <div class="icon-circle-k"> | 649 | <div class="icon-circle-k"> |
650 | <i class="material-icons" style="line-height: 31px;">web</i> | 650 | <i class="material-icons" style="line-height: 31px;">web</i> |
651 | </div> | 651 | </div> |
652 | <input type="text" class="text-input" ng-model="data.websiteUrl" ng-required="Productshow == 'yes'" placeholder="Website URL *" id="myBtn" name="websiteUrl" ng-change="entername(data.websiteUrl); websitekeyPress(data.websiteUrl)"> | 652 | <input type="text" class="text-input" ng-model="data.websiteUrl" ng-required="Productshow == 'yes'" placeholder="Website URL *" id="myBtn" name="websiteUrl" ng-change="entername(data.websiteUrl); websitekeyPress(data.websiteUrl)"> |
653 | </div> | 653 | </div> |
654 | <div class="col-xs-12 col-md-6 input-wrapper"> | 654 | <div class="col-xs-12 col-md-6 input-wrapper"> |
655 | <div id="snackbar">Error ! Please fill in all fields.</div> | 655 | <div id="snackbar">Error ! Please fill in all fields.</div> |
656 | <div class="icon-circle-m"> | 656 | <div class="icon-circle-m"> |
657 | <i class="material-icons" style="line-height: 31px;">link</i> | 657 | <i class="material-icons" style="line-height: 31px;">link</i> |
658 | </div> | 658 | </div> |
659 | <input type="text" class="text-input" ng-model="data.demoLink" ng-required="Productshow == 'yes'" placeholder="Link to your product/app/demo *" id="myBtn" name="demoLink" ng-change="entername(data.demoLink); annualkeyPress(data.demoLink)"> | 659 | <input type="text" class="text-input" ng-model="data.demoLink" ng-required="Productshow == 'yes'" placeholder="Link to your product/app/demo *" id="myBtn" name="demoLink" ng-change="entername(data.demoLink); annualkeyPress(data.demoLink)"> |
660 | </div> | 660 | </div> |
661 | <div class="col-xs-12 col-md-6 input-wrapper"> | 661 | <div class="col-xs-12 col-md-6 input-wrapper"> |
662 | <div id="snackbar">Error ! Please fill in all fields.</div> | 662 | <div id="snackbar">Error ! Please fill in all fields.</div> |
663 | <div class="icon-circle-l"> | 663 | <div class="icon-circle-l"> |
664 | <i class="material-icons" style="line-height: 31px;">format_list_numbered</i> | 664 | <i class="material-icons" style="line-height: 31px;">format_list_numbered</i> |
665 | </div> | 665 | </div> |
666 | <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-required="Productshow == 'yes'" ng-model="data.numberOfEmployees" placeholder="Number of Employees *" id="myBtn" name="numberOfEmployees" ng-change="entername(data.numberOfEmployees); employeekeyPress(data.numberOfEmployees)"> | 666 | <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-required="Productshow == 'yes'" ng-model="data.numberOfEmployees" placeholder="Number of Employees *" id="myBtn" name="numberOfEmployees" ng-change="entername(data.numberOfEmployees); employeekeyPress(data.numberOfEmployees)"> |
667 | </div> | 667 | </div> |
668 | <div class="col-xs-12 col-md-6 input-wrapper"> | 668 | <div class="col-xs-12 col-md-6 input-wrapper"> |
669 | <div id="snackbar">Error ! Please fill in all fields.</div> | 669 | <div id="snackbar">Error ! Please fill in all fields.</div> |
670 | <div class="icon-circle-n"> | 670 | <div class="icon-circle-n"> |
671 | <i class="material-icons" style="line-height: 31px;">view_stream</i> | 671 | <i class="material-icons" style="line-height: 31px;">view_stream</i> |
672 | </div> | 672 | </div> |
673 | <input type="text" class="text-input" ng-model="data.revenueMonth" ng-required="Productshow == 'yes'" placeholder="Monthly Revenue *" id="myBtn" name="revenueMonth" ng-change="entername(data.revenueMonth); revenuekeyPress(data.revenueMonth)"> | 673 | <input type="text" class="text-input" ng-model="data.revenueMonth" ng-required="Productshow == 'yes'" placeholder="Monthly Revenue *" id="myBtn" name="revenueMonth" ng-change="entername(data.revenueMonth); revenuekeyPress(data.revenueMonth)"> |
674 | </div> | 674 | </div> |
675 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 675 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
676 | <p><b>Have you risen any funding yet?</b></p> | 676 | <p><b>Have you risen any funding yet?</b></p> |
677 | <div class="icon-circle-bc"> | 677 | <div class="icon-circle-bc"> |
678 | <i class="material-icons" style="line-height: 30px;">payment</i> | 678 | <i class="material-icons" style="line-height: 30px;">payment</i> |
679 | </div> | 679 | </div> |
680 | <select name="amount" ng-model="data.amount" ng-required="Productshow == 'yes'" ng-change="amount(data.amount); amountkeyPress()" ng-click="textCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="fundingDiv"> | 680 | <select name="amount" ng-model="data.amount" ng-required="Productshow == 'yes'" ng-change="amount(data.amount); amountkeyPress()" ng-click="textCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="fundingDiv"> |
681 | <option selected disabled value="">Select *</option> | 681 | <option selected disabled value="">Select *</option> |
682 | <option value="yes">Yes</option> | 682 | <option value="yes">Yes</option> |
683 | <option value="no">No</option> | 683 | <option value="no">No</option> |
684 | </select> | 684 | </select> |
685 | </div> | 685 | </div> |
686 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="Textshow == 'yes'"> | 686 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="Textshow == 'yes'"> |
687 | <div class="icon-circle-y" > | 687 | <div class="icon-circle-y" > |
688 | <i class="material-icons" style="line-height: 31px;">money</i> | 688 | <i class="material-icons" style="line-height: 31px;">money</i> |
689 | </div> | 689 | </div> |
690 | <input type="text" name="fund" class="text-input" ng-model="data.fund" placeholder="Fill amount" ng-change="fund(data.fund); fundkeyPress(data.fund)"></input> | 690 | <input type="text" name="fund" class="text-input" ng-model="data.fund" placeholder="Fill amount" ng-change="fund(data.fund); fundkeyPress(data.fund)"></input> |
691 | </div> | 691 | </div> |
692 | </div> --> | 692 | </div> --> |
693 | <!-- </div> --> | 693 | <!-- </div> --> |
694 | <!-- <div class="identity-shadow"> | 694 | <!-- <div class="identity-shadow"> |
695 | <div class="icon-circle-bc"> | 695 | <div class="icon-circle-bc"> |
696 | <i class="material-icons" style="line-height: 30px;">payment</i> | 696 | <i class="material-icons" style="line-height: 30px;">payment</i> |
697 | </div> | 697 | </div> |
698 | <div class="identity-question"> | 698 | <div class="identity-question"> |
699 | <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> | 699 | <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> |
700 | <b>Have you risen any funding yet?</b> | 700 | <b>Have you risen any funding yet?</b> |
701 | <p style="color:grey"></p> | 701 | <p style="color:grey"></p> |
702 | </div> | 702 | </div> |
703 | <div class="clearfix"></div> | 703 | <div class="clearfix"></div> |
704 | </div> | 704 | </div> |
705 | <div class="stages identity-align"> | 705 | <div class="stages identity-align"> |
706 | <div class="col-xs-12"> | 706 | <div class="col-xs-12"> |
707 | <label class="card-small margin-right-label"> | 707 | <label class="card-small margin-right-label"> |
708 | <input type="radio" value="yes" ng-model="data.amount" class="option-input-a radio-a pull-left" id="yesRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('yes')" name="amount" > | 708 | <input type="radio" value="yes" ng-model="data.amount" class="option-input-a radio-a pull-left" id="yesRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('yes')" name="amount" > |
709 | <label class="f-family pull-left width-auto" for="yesRadio">Yes</label> | 709 | <label class="f-family pull-left width-auto" for="yesRadio">Yes</label> |
710 | </label> | 710 | </label> |
711 | <label class="card-small margin-right-label"> | 711 | <label class="card-small margin-right-label"> |
712 | <input type="radio" value="no" ng-model="data.amount" class="option-input-a radio-a pull-left" id="noRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('no')" name="amount" > | 712 | <input type="radio" value="no" ng-model="data.amount" class="option-input-a radio-a pull-left" id="noRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('no')" name="amount" > |
713 | 713 | ||
714 | <label class="f-family pull-left width-auto" for="noRadio">No</label> | 714 | <label class="f-family pull-left width-auto" for="noRadio">No</label> |
715 | </label> | 715 | </label> |
716 | </div> | 716 | </div> |
717 | </div> | 717 | </div> |
718 | 718 | ||
719 | <div class="clearfix"></div> | 719 | <div class="clearfix"></div> |
720 | </div> --> | 720 | </div> --> |
721 | <div class="col-xs-12 input-wrapper"> | 721 | <div class="col-xs-12 input-wrapper"> |
722 | <div class="referel-icon" style="z-index: 999;"> | 722 | <div class="referel-icon" style="z-index: 999;"> |
723 | <i class="material-icons" style="line-height: 30px;">code</i> | 723 | <i class="material-icons" style="line-height: 30px;">code</i> |
724 | </div> | 724 | </div> |
725 | <input class="text-input" ng-model="data.referalToken" maxlength="6" minlength="6" placeholder="Enter Promo code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> | 725 | <input class="text-input" ng-model="data.referalToken" maxlength="6" minlength="6" placeholder="Enter Promo code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> |
726 | <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> | 726 | <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> |
727 | <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> | 727 | <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> |
728 | <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply Promo</button> | 728 | <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply Promo</button> |
729 | </div> | 729 | </div> |
730 | <span style="padding-left:10px">* One ticket is valid for one person.</span> | 730 | <span style="padding-left:10px">* One ticket is valid for one person.</span> |
731 | <div class="clearfix"></div> | 731 | <div class="clearfix"></div> |
732 | <div class="text-center"> | 732 | <div class="text-center"> |
733 | <input type="submit" style="width:200px" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> | 733 | <input type="submit" style="width:200px" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> |
734 | </div> | 734 | </div> |
735 | 735 | ||
736 | </div> | 736 | </div> |
737 | </div> | 737 | </div> |
738 | <!-- CLOSE step-two-form --> | 738 | <!-- CLOSE step-two-form --> |
739 | </div> | 739 | </div> |
740 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> | 740 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> |
741 | </form> | 741 | </form> |
742 | </div> | 742 | </div> |
743 | </div> | 743 | </div> |
744 | <!-- CLOSE FORM --> | 744 | <!-- CLOSE FORM --> |
745 | <footer> | 745 | <footer> |
746 | <img id="footer" class="img-responsive banner"> | 746 | <img id="footer" class="img-responsive banner"> |
747 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> | 747 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> |
748 | </footer> | 748 | </footer> |
749 | <!-- </div> CLOSE CHECK VIEW --> | 749 | <!-- </div> CLOSE CHECK VIEW --> |
750 | <div ng-if="verifyView"> | 750 | <div ng-if="verifyView"> |
751 | <div style="margin-bottom: 0px;" class="text-center"> | 751 | <div style="margin-bottom: 0px;" class="text-center"> |
752 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> | 752 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> |
753 | </div> | 753 | </div> |
754 | </div> | 754 | </div> |
755 | </div> | 755 | </div> |
756 | <div class="modal fade" id="myModal" role="dialog"> | 756 | <div class="modal fade" id="myModal" role="dialog"> |
757 | <div class="modal-dialog" style="left: auto;"> | 757 | <div class="modal-dialog" style="left: auto;"> |
758 | <div class="modal-content"> | 758 | <div class="modal-content"> |
759 | <div class="modal-body" style="text-align:center;margin-top:5%"> | 759 | <div class="modal-body" style="text-align:center;margin-top:5%"> |
760 | <p style="font-size:22px">Your Email is already exist.<a href="http://apply.startupjalsa.com/#/pendingPayment/{{id}}">Click here</a> to complete the payment</p> | 760 | <p style="font-size:22px">Your Email is already exist.<a href="http://apply.startupjalsa.com/#/pendingPayment/{{id}}">Click here</a> to complete the payment</p> |
761 | </div> | 761 | </div> |
762 | <div style="text-align:center;margin-bottom:5%"> | 762 | <div style="text-align:center;margin-bottom:5%"> |
763 | <button style="color: #fff;background-color: #4CAF50;" type="button" class="btn btn-default1" data-dismiss="modal">Close</button> | 763 | <button style="color: #fff;background-color: #4CAF50;" type="button" class="btn btn-default1" data-dismiss="modal">Close</button> |
764 | </div> | 764 | </div> |
765 | </div> | 765 | </div> |
766 | </div> | 766 | </div> |
767 | </div> | 767 | </div> |
768 | <!-- CLOSE NEW-CONTROLLER --> | 768 | <!-- CLOSE NEW-CONTROLLER --> |
769 | <!-- <div id="snacsskbar">Registration done successfully.</div> | 769 | <!-- <div id="snacsskbar">Registration done successfully.</div> |
770 | --><!-- <div class="modal fade" id="myModal" role="dialog"> | 770 | --><!-- <div class="modal fade" id="myModal" role="dialog"> |
771 | <div class="modal-dialog" style="left: auto;"> | 771 | <div class="modal-dialog" style="left: auto;"> |
772 | <div class="modal-content"> | 772 | <div class="modal-content"> |
773 | <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> | 773 | <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> |
774 | <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> | 774 | <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> |
775 | <tbody style="background-color:#f9f9f9"> | 775 | <tbody style="background-color:#f9f9f9"> |
776 | <tr> | 776 | <tr> |
777 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 777 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
778 | </tr> | 778 | </tr> |
779 | <tr> | 779 | <tr> |
780 | <td align="left" valign="top" style="padding:10px"> | 780 | <td align="left" valign="top" style="padding:10px"> |
781 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 781 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
782 | <tbody> | 782 | <tbody> |
783 | <tr> | 783 | <tr> |
784 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> | 784 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> |
785 | </tr> | 785 | </tr> |
786 | </tbody> | 786 | </tbody> |
787 | </table> | 787 | </table> |
788 | </td> | 788 | </td> |
789 | </tr> | 789 | </tr> |
790 | </tbody> | 790 | </tbody> |
791 | <tbody> | 791 | <tbody> |
792 | <tr> | 792 | <tr> |
793 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 793 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
794 | </tr> | 794 | </tr> |
795 | <tr> | 795 | <tr> |
796 | <td align="left" valign="top" style="padding:10px"> | 796 | <td align="left" valign="top" style="padding:10px"> |
797 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 797 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
798 | <tbody> | 798 | <tbody> |
799 | <tr> | 799 | <tr> |
800 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> | 800 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> |
801 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td> | 801 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td> |
802 | </tr> | 802 | </tr> |
803 | </tbody> | 803 | </tbody> |
804 | </table> | 804 | </table> |
805 | </td> | 805 | </td> |
806 | </tr> | 806 | </tr> |
807 | <tr> | 807 | <tr> |
808 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 808 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
809 | </tr> | 809 | </tr> |
810 | <tr> | 810 | <tr> |
811 | <td align="left" valign="top" style="padding:10px"> | 811 | <td align="left" valign="top" style="padding:10px"> |
812 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 812 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
813 | <tbody> | 813 | <tbody> |
814 | <tr> | 814 | <tr> |
815 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> | 815 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> |
816 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td> | 816 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td> |
817 | </tr> | 817 | </tr> |
818 | </tbody> | 818 | </tbody> |
819 | </table> | 819 | </table> |
820 | </td> | 820 | </td> |
821 | </tr> | 821 | </tr> |
822 | <tr> | 822 | <tr> |
823 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 823 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
824 | </tr> | 824 | </tr> |
825 | <tr> | 825 | <tr> |
826 | <td align="left" valign="top" style="padding:10px"> | 826 | <td align="left" valign="top" style="padding:10px"> |
827 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 827 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
828 | <tbody> | 828 | <tbody> |
829 | <tr> | 829 | <tr> |
830 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> | 830 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> |
831 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td> | 831 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td> |
832 | </tr> | 832 | </tr> |
833 | </tbody> | 833 | </tbody> |
834 | </table> | 834 | </table> |
835 | </td> | 835 | </td> |
836 | </tr> | 836 | </tr> |
837 | <tr> | 837 | <tr> |
838 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 838 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
839 | </tr> | 839 | </tr> |
840 | <tr> | 840 | <tr> |
841 | <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> | 841 | <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> |
842 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 842 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
843 | <tbody> | 843 | <tbody> |
844 | <tr> | 844 | <tr> |
845 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> | 845 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> |
846 | <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td> | 846 | <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td> |
847 | </tr> | 847 | </tr> |
848 | </tbody> | 848 | </tbody> |
849 | </table> | 849 | </table> |
850 | </td> | 850 | </td> |
851 | </tr> | 851 | </tr> |
852 | <tr> | 852 | <tr> |
853 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 853 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
854 | </tr> | 854 | </tr> |
855 | </tbody> | 855 | </tbody> |
856 | </table> | 856 | </table> |
857 | <div style="text-align:center;margin-bottom:5%"> | 857 | <div style="text-align:center;margin-bottom:5%"> |
858 | <button type="button" style="color:#fff;background-color:#4CAF50;margin-top:5%" class="btn btn-default" data-dismiss="modal" ng-click="create()">Proceed to Pay</button> | 858 | <button type="button" style="color:#fff;background-color:#4CAF50;margin-top:5%" class="btn btn-default" data-dismiss="modal" ng-click="create()">Proceed to Pay</button> |
859 | </div> | 859 | </div> |
860 | </div> | 860 | </div> |
861 | </div> | 861 | </div> |
862 | </div> | 862 | </div> |
863 | 863 | ||
864 | <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> | 864 | <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> |
865 | <div class="modal-dialog" style="left: auto;"> | 865 | <div class="modal-dialog" style="left: auto;"> |
866 | <div class="modal-content" > | 866 | <div class="modal-content" > |
867 | 867 | ||
868 | <div class="modal-body" style="text-align: right;" > | 868 | <div class="modal-body" style="text-align: right;" > |
869 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> | 869 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> |
870 | <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> | 870 | <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> |
871 | </div> | 871 | </div> |
872 | 872 | ||
873 | </div> | 873 | </div> |
874 | </div> | 874 | </div> |
875 | </div> | 875 | </div> |
876 | 876 | ||
877 | 877 | ||
878 | <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> | 878 | <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> |
879 | <div class="modal-dialog" style="left: auto;"> | 879 | <div class="modal-dialog" style="left: auto;"> |
880 | <div class="modal-content"> | 880 | <div class="modal-content"> |
881 | <div class="modal-body" style="text-align: right;" > | 881 | <div class="modal-body" style="text-align: right;" > |
882 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> | 882 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> |
883 | <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> | 883 | <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> |
884 | </div> | 884 | </div> |
885 | 885 | ||
886 | </div> | 886 | </div> |
887 | </div> | 887 | </div> |
888 | </div> | 888 | </div> |
889 | 889 | ||
890 | 890 | ||
891 | 891 | ||
892 | 892 | ||
893 | 893 | ||
894 | 894 | ||
895 | --> | 895 | --> |
896 | <span ng-show="span == true"> | 896 | <span ng-show="span == true"> |
897 | <span id="chennai"></span> | 897 | <span id="chennai"></span> |
898 | <span id="pune"></span> | 898 | <span id="pune"></span> |
899 | <span id="mumbai"></span> | 899 | <span id="mumbai"></span> |
900 | <span id="hyderabad"></span> | 900 | <span id="hyderabad"></span> |
901 | <span id="chandigarh"></span> | 901 | <span id="chandigarh"></span> |
902 | <span id="delhi"></span> | 902 | <span id="delhi"></span> |
903 | <span id="ahmedabad"></span> | 903 | <span id="ahmedabad"></span> |
904 | <span id="bangalore"></span> | 904 | <span id="bangalore"></span> |
905 | <span id="jaipur"></span> | 905 | <span id="jaipur"></span> |
906 | <span id="maininvest"></span> | 906 | <span id="maininvest"></span> |
907 | </span> | 907 | </span> |
908 | 908 | ||
909 | 909 |
script.js
1 | // create the module and name it scotchApp | 1 | // create the module and name it scotchApp |
2 | var scotchApp = angular.module('scotchApp', ['ngRoute','angular-google-analytics']); | 2 | var scotchApp = angular.module('scotchApp', ['ngRoute','angular-google-analytics']); |
3 | 3 | ||
4 | // configure our routes | 4 | // configure our routes |
5 | scotchApp.config(function($routeProvider) { | 5 | scotchApp.config(function($routeProvider) { |
6 | $routeProvider | 6 | $routeProvider |
7 | 7 | ||
8 | // route for the Home page | 8 | // route for the Home page |
9 | .when('/', { | 9 | .when('/', { |
10 | templateUrl: 'pages/Home.html', | 10 | templateUrl: 'pages/Home.html', |
11 | controller: 'mainController' | 11 | controller: 'mainController' |
12 | }) | 12 | }) |
13 | 13 | ||
14 | // route for the registration page | 14 | // route for the registration page |
15 | .when('/registration', { | 15 | .when('/registration', { |
16 | templateUrl: 'pages/registration.html', | 16 | templateUrl: 'pages/registration.html', |
17 | controller: 'mainController' | 17 | controller: 'mainController' |
18 | }) | 18 | }) |
19 | 19 | ||
20 | // route for the paymentVerify page | 20 | // route for the paymentVerify page |
21 | .when('/pendingPayment/:id', { | 21 | .when('/pendingPayment/:id', { |
22 | templateUrl: 'pages/verify.html', | 22 | templateUrl: 'pages/verify.html', |
23 | controller: 'verifyController' | 23 | controller: 'verifyController' |
24 | }) | 24 | }) |
25 | 25 | ||
26 | // route for the ambassador page | 26 | // route for the ambassador page |
27 | .when('/startupJalsaPromocode', { | 27 | .when('/startupJalsaPromocode', { |
28 | templateUrl: 'pages/ambassador.html', | 28 | templateUrl: 'pages/ambassador.html', |
29 | controller: 'ambassadorController' | 29 | controller: 'ambassadorController' |
30 | }) | 30 | }) |
31 | 31 | ||
32 | // route for the confirmation page | 32 | // route for the confirmation page |
33 | .when('/confirmation', { | 33 | .when('/confirmation', { |
34 | templateUrl: 'pages/confirmation.html', | 34 | templateUrl: 'pages/confirmation.html', |
35 | controller: 'mainController' | 35 | controller: 'mainController' |
36 | }) | 36 | }) |
37 | 37 | ||
38 | }); | 38 | }); |
39 | 39 | ||
40 | scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { | 40 | scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { |
41 | // Add configuration code as desired | 41 | // Add configuration code as desired |
42 | AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code | 42 | AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code |
43 | 43 | ||
44 | // Track all routes (default is true). | 44 | // Track all routes (default is true). |
45 | AnalyticsProvider.trackPages(true); | 45 | AnalyticsProvider.trackPages(true); |
46 | 46 | ||
47 | // Track all URL query params (default is false). | 47 | // Track all URL query params (default is false). |
48 | AnalyticsProvider.trackUrlParams(true); | 48 | AnalyticsProvider.trackUrlParams(true); |
49 | 49 | ||
50 | }]).run(['Analytics', function(Analytics) { }]); | 50 | }]).run(['Analytics', function(Analytics) { }]); |
51 | 51 | ||
52 | scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/v1") | 52 | scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/v1") |
53 | //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") | 53 | //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") |
54 | 54 | ||
55 | // create the controller and inject Angular's $scope | 55 | // create the controller and inject Angular's $scope |
56 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { | 56 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { |
57 | $scope.data = { | 57 | $scope.data = { |
58 | show: true, | 58 | show: true, |
59 | hide: false | 59 | hide: false |
60 | }; | 60 | }; |
61 | 61 | ||
62 | var maininvest = new Date("Nov 30, 2017 12:00:00").getTime(); | 62 | var maininvest = new Date("Nov 30, 2017 12:00:00").getTime(); |
63 | // Update the count down every 1 second | 63 | // Update the count down every 1 second |
64 | var x = setInterval(function() { | 64 | var x = setInterval(function() { |
65 | // Get todays date and time | 65 | // Get todays date and time |
66 | var now = new Date().getTime(); | 66 | var now = new Date().getTime(); |
67 | // Find the distance between now an the count down date | 67 | // Find the distance between now an the count down date |
68 | var distance = maininvest - now; | 68 | var distance = maininvest - now; |
69 | // Time calculations for days, hours, minutes and seconds | 69 | // Time calculations for days, hours, minutes and seconds |
70 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 70 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
71 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 71 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
72 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 72 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
73 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 73 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
74 | $scope.timer = days + "d " + hours + "h " | 74 | $scope.timer = days + "d " + hours + "h " |
75 | + minutes + "m " + seconds + "s " | 75 | + minutes + "m " + seconds + "s " |
76 | // Output the result in an element with id="demo" | 76 | // Output the result in an element with id="demo" |
77 | document.getElementById("maininvest").innerHTML = days + "d " + hours + "h " | 77 | document.getElementById("maininvest").innerHTML = days + "d " + hours + "h " |
78 | + minutes + "m " + seconds + "s "; | 78 | + minutes + "m " + seconds + "s "; |
79 | // If the count down is over, write some text | 79 | // If the count down is over, write some text |
80 | if (distance < 0) { | 80 | if (distance < 0) { |
81 | // $scope.extendedAmount = | 81 | // $scope.extendedAmount = |
82 | clearInterval(x); | 82 | clearInterval(x); |
83 | document.getElementById("maininvest").innerHTML = "EXPIRED"; | 83 | document.getElementById("maininvest").innerHTML = "EXPIRED"; |
84 | } | 84 | } |
85 | }, 1000); | 85 | }, 1000); |
86 | 86 | ||
87 | var pune = new Date("Nov 11, 2017 12:00:00").getTime(); | 87 | var pune = new Date("Nov 11, 2017 12:00:00").getTime(); |
88 | // Update the count down every 1 second | 88 | // Update the count down every 1 second |
89 | var x = setInterval(function() { | 89 | var x = setInterval(function() { |
90 | // Get todays date and time | 90 | // Get todays date and time |
91 | var now = new Date().getTime(); | 91 | var now = new Date().getTime(); |
92 | // Find the distance between now an the count down date | 92 | // Find the distance between now an the count down date |
93 | var distance = pune - now; | 93 | var distance = pune - now; |
94 | // Time calculations for days, hours, minutes and seconds | 94 | // Time calculations for days, hours, minutes and seconds |
95 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 95 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
96 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 96 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
97 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 97 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
98 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 98 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
99 | $scope.timer = days + "d " + hours + "h " | 99 | $scope.timer = days + "d " + hours + "h " |
100 | + minutes + "m " + seconds + "s " | 100 | + minutes + "m " + seconds + "s " |
101 | // Output the result in an element with id="demo" | 101 | // Output the result in an element with id="demo" |
102 | document.getElementById("pune").innerHTML = days + "d " + hours + "h " | 102 | document.getElementById("pune").innerHTML = days + "d " + hours + "h " |
103 | + minutes + "m " + seconds + "s "; | 103 | + minutes + "m " + seconds + "s "; |
104 | // If the count down is over, write some text | 104 | // If the count down is over, write some text |
105 | if (distance < 0) { | 105 | if (distance < 0) { |
106 | clearInterval(x); | 106 | clearInterval(x); |
107 | document.getElementById("pune").innerHTML = "EXPIRED"; | 107 | document.getElementById("pune").innerHTML = "EXPIRED"; |
108 | } | 108 | } |
109 | }, 1000); | 109 | }, 1000); |
110 | 110 | ||
111 | var mumbai = new Date("Nov 13, 2017 16:00:00").getTime(); | 111 | var mumbai = new Date("Nov 13, 2017 16:00:00").getTime(); |
112 | // Update the count down every 1 second | 112 | // Update the count down every 1 second |
113 | var x = setInterval(function() { | 113 | var x = setInterval(function() { |
114 | // Get todays date and time | 114 | // Get todays date and time |
115 | var now = new Date().getTime(); | 115 | var now = new Date().getTime(); |
116 | // Find the distance between now an the count down date | 116 | // Find the distance between now an the count down date |
117 | var distance = mumbai - now; | 117 | var distance = mumbai - now; |
118 | // Time calculations for days, hours, minutes and seconds | 118 | // Time calculations for days, hours, minutes and seconds |
119 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 119 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
120 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 120 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
121 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 121 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
122 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 122 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
123 | $scope.timer = days + "d " + hours + "h " | 123 | $scope.timer = days + "d " + hours + "h " |
124 | + minutes + "m " + seconds + "s " | 124 | + minutes + "m " + seconds + "s " |
125 | // Output the result in an element with id="demo" | 125 | // Output the result in an element with id="demo" |
126 | document.getElementById("mumbai").innerHTML = days + "d " + hours + "h " | 126 | document.getElementById("mumbai").innerHTML = days + "d " + hours + "h " |
127 | + minutes + "m " + seconds + "s "; | 127 | + minutes + "m " + seconds + "s "; |
128 | // If the count down is over, write some text | 128 | // If the count down is over, write some text |
129 | if (distance < 0) { | 129 | if (distance < 0) { |
130 | clearInterval(x); | 130 | clearInterval(x); |
131 | document.getElementById("mumbai").innerHTML = "EXPIRED"; | 131 | document.getElementById("mumbai").innerHTML = "EXPIRED"; |
132 | } | 132 | } |
133 | }, 1000); | 133 | }, 1000); |
134 | 134 | ||
135 | var ahmedabad = new Date("Nov 15, 2017 16:00:00").getTime(); | 135 | var ahmedabad = new Date("Nov 15, 2017 16:00:00").getTime(); |
136 | // Update the count down every 1 second | 136 | // Update the count down every 1 second |
137 | var x = setInterval(function() { | 137 | var x = setInterval(function() { |
138 | // Get todays date and time | 138 | // Get todays date and time |
139 | var now = new Date().getTime(); | 139 | var now = new Date().getTime(); |
140 | // Find the distance between now an the count down date | 140 | // Find the distance between now an the count down date |
141 | var distance = ahmedabad - now; | 141 | var distance = ahmedabad - now; |
142 | // Time calculations for days, hours, minutes and seconds | 142 | // Time calculations for days, hours, minutes and seconds |
143 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 143 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
144 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 144 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
145 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 145 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
146 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 146 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
147 | $scope.timer = days + "d " + hours + "h " | 147 | $scope.timer = days + "d " + hours + "h " |
148 | + minutes + "m " + seconds + "s " | 148 | + minutes + "m " + seconds + "s " |
149 | // Output the result in an element with id="demo" | 149 | // Output the result in an element with id="demo" |
150 | document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h " | 150 | document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h " |
151 | + minutes + "m " + seconds + "s "; | 151 | + minutes + "m " + seconds + "s "; |
152 | // If the count down is over, write some text | 152 | // If the count down is over, write some text |
153 | if (distance < 0) { | 153 | if (distance < 0) { |
154 | clearInterval(x); | 154 | clearInterval(x); |
155 | document.getElementById("ahmedabad").innerHTML = "EXPIRED"; | 155 | document.getElementById("ahmedabad").innerHTML = "EXPIRED"; |
156 | } | 156 | } |
157 | }, 1000); | 157 | }, 1000); |
158 | 158 | ||
159 | var jaipur = new Date("Nov 17, 2017 16:00:00").getTime(); | 159 | var jaipur = new Date("Nov 17, 2017 16:00:00").getTime(); |
160 | // Update the count down every 1 second | 160 | // Update the count down every 1 second |
161 | var x = setInterval(function() { | 161 | var x = setInterval(function() { |
162 | // Get todays date and time | 162 | // Get todays date and time |
163 | var now = new Date().getTime(); | 163 | var now = new Date().getTime(); |
164 | // Find the distance between now an the count down date | 164 | // Find the distance between now an the count down date |
165 | var distance = jaipur - now; | 165 | var distance = jaipur - now; |
166 | // Time calculations for days, hours, minutes and seconds | 166 | // Time calculations for days, hours, minutes and seconds |
167 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 167 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
168 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 168 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
169 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 169 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
170 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 170 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
171 | $scope.timer = days + "d " + hours + "h " | 171 | $scope.timer = days + "d " + hours + "h " |
172 | + minutes + "m " + seconds + "s " | 172 | + minutes + "m " + seconds + "s " |
173 | // Output the result in an element with id="demo" | 173 | // Output the result in an element with id="demo" |
174 | document.getElementById("jaipur").innerHTML = days + "d " + hours + "h " | 174 | document.getElementById("jaipur").innerHTML = days + "d " + hours + "h " |
175 | + minutes + "m " + seconds + "s "; | 175 | + minutes + "m " + seconds + "s "; |
176 | // If the count down is over, write some text | 176 | // If the count down is over, write some text |
177 | if (distance < 0) { | 177 | if (distance < 0) { |
178 | clearInterval(x); | 178 | clearInterval(x); |
179 | document.getElementById("jaipur").innerHTML = "EXPIRED"; | 179 | document.getElementById("jaipur").innerHTML = "EXPIRED"; |
180 | } | 180 | } |
181 | }, 1000); | 181 | }, 1000); |
182 | 182 | ||
183 | var bangalore = new Date("Nov 21, 2017 12:00:00").getTime(); | 183 | var bangalore = new Date("Nov 21, 2017 12:00:00").getTime(); |
184 | // Update the count down every 1 second | 184 | // Update the count down every 1 second |
185 | var x = setInterval(function() { | 185 | var x = setInterval(function() { |
186 | // Get todays date and time | 186 | // Get todays date and time |
187 | var now = new Date().getTime(); | 187 | var now = new Date().getTime(); |
188 | // Find the distance between now an the count down date | 188 | // Find the distance between now an the count down date |
189 | var distance = bangalore - now; | 189 | var distance = bangalore - now; |
190 | // Time calculations for days, hours, minutes and seconds | 190 | // Time calculations for days, hours, minutes and seconds |
191 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 191 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
192 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 192 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
193 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 193 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
194 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 194 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
195 | $scope.timer = days + "d " + hours + "h " | 195 | $scope.timer = days + "d " + hours + "h " |
196 | + minutes + "m " + seconds + "s " | 196 | + minutes + "m " + seconds + "s " |
197 | // Output the result in an element with id="demo" | 197 | // Output the result in an element with id="demo" |
198 | document.getElementById("bangalore").innerHTML = days + "d " + hours + "h " | 198 | document.getElementById("bangalore").innerHTML = days + "d " + hours + "h " |
199 | + minutes + "m " + seconds + "s "; | 199 | + minutes + "m " + seconds + "s "; |
200 | // If the count down is over, write some text | 200 | // If the count down is over, write some text |
201 | if (distance < 0) { | 201 | if (distance < 0) { |
202 | clearInterval(x); | 202 | clearInterval(x); |
203 | document.getElementById("bangalore").innerHTML = "EXPIRED"; | 203 | document.getElementById("bangalore").innerHTML = "EXPIRED"; |
204 | } | 204 | } |
205 | }, 1000); | 205 | }, 1000); |
206 | 206 | ||
207 | var hyderabad = new Date("Nov 19, 2017 12:00:00").getTime(); | 207 | var hyderabad = new Date("Nov 19, 2017 12:00:00").getTime(); |
208 | // Update the count down every 1 second | 208 | // Update the count down every 1 second |
209 | var x = setInterval(function() { | 209 | var x = setInterval(function() { |
210 | // Get todays date and time | 210 | // Get todays date and time |
211 | var now = new Date().getTime(); | 211 | var now = new Date().getTime(); |
212 | // Find the distance between now an the count down date | 212 | // Find the distance between now an the count down date |
213 | var distance = hyderabad - now; | 213 | var distance = hyderabad - now; |
214 | // Time calculations for days, hours, minutes and seconds | 214 | // Time calculations for days, hours, minutes and seconds |
215 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 215 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
216 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 216 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
217 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 217 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
218 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 218 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
219 | $scope.timer = days + "d " + hours + "h " | 219 | $scope.timer = days + "d " + hours + "h " |
220 | + minutes + "m " + seconds + "s " | 220 | + minutes + "m " + seconds + "s " |
221 | // Output the result in an element with id="demo" | 221 | // Output the result in an element with id="demo" |
222 | document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h " | 222 | document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h " |
223 | + minutes + "m " + seconds + "s "; | 223 | + minutes + "m " + seconds + "s "; |
224 | // If the count down is over, write some text | 224 | // If the count down is over, write some text |
225 | if (distance < 0) { | 225 | if (distance < 0) { |
226 | clearInterval(x); | 226 | clearInterval(x); |
227 | document.getElementById("hyderabad").innerHTML = "EXPIRED"; | 227 | document.getElementById("hyderabad").innerHTML = "EXPIRED"; |
228 | } | 228 | } |
229 | }, 1000); | 229 | }, 1000); |
230 | 230 | ||
231 | var delhi = new Date("Nov 27, 2017 12:00:00").getTime(); | 231 | var delhi = new Date("Nov 27, 2017 12:00:00").getTime(); |
232 | // Update the count down every 1 second | 232 | // Update the count down every 1 second |
233 | var x = setInterval(function() { | 233 | var x = setInterval(function() { |
234 | // Get todays date and time | 234 | // Get todays date and time |
235 | var now = new Date().getTime(); | 235 | var now = new Date().getTime(); |
236 | // Find the distance between now an the count down date | 236 | // Find the distance between now an the count down date |
237 | var distance = delhi - now; | 237 | var distance = delhi - now; |
238 | // Time calculations for days, hours, minutes and seconds | 238 | // Time calculations for days, hours, minutes and seconds |
239 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 239 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
240 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 240 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
241 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 241 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
242 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 242 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
243 | $scope.timer = days + "d " + hours + "h " | 243 | $scope.timer = days + "d " + hours + "h " |
244 | + minutes + "m " + seconds + "s " | 244 | + minutes + "m " + seconds + "s " |
245 | // Output the result in an element with id="demo" | 245 | // Output the result in an element with id="demo" |
246 | document.getElementById("delhi").innerHTML = days + "d " + hours + "h " | 246 | document.getElementById("delhi").innerHTML = days + "d " + hours + "h " |
247 | + minutes + "m " + seconds + "s "; | 247 | + minutes + "m " + seconds + "s "; |
248 | // If the count down is over, write some text | 248 | // If the count down is over, write some text |
249 | if (distance < 0) { | 249 | if (distance < 0) { |
250 | clearInterval(x); | 250 | clearInterval(x); |
251 | document.getElementById("delhi").innerHTML = "EXPIRED"; | 251 | document.getElementById("delhi").innerHTML = "EXPIRED"; |
252 | } | 252 | } |
253 | }, 1000); | 253 | }, 1000); |
254 | 254 | ||
255 | var chandigarh = new Date("Nov 30, 2017 12:00:00").getTime(); | 255 | var chandigarh = new Date("Nov 30, 2017 12:00:00").getTime(); |
256 | // Update the count down every 1 second | 256 | // Update the count down every 1 second |
257 | var x = setInterval(function() { | 257 | var x = setInterval(function() { |
258 | // Get todays date and time | 258 | // Get todays date and time |
259 | var now = new Date().getTime(); | 259 | var now = new Date().getTime(); |
260 | // Find the distance between now an the count down date | 260 | // Find the distance between now an the count down date |
261 | var distance = chandigarh - now; | 261 | var distance = chandigarh - now; |
262 | // Time calculations for days, hours, minutes and seconds | 262 | // Time calculations for days, hours, minutes and seconds |
263 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | 263 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); |
264 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | 264 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); |
265 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | 265 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); |
266 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | 266 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); |
267 | $scope.timer = days + "d " + hours + "h " | 267 | $scope.timer = days + "d " + hours + "h " |
268 | + minutes + "m " + seconds + "s " | 268 | + minutes + "m " + seconds + "s " |
269 | // Output the result in an element with id="demo" | 269 | // Output the result in an element with id="demo" |
270 | document.getElementById("chandigarh").innerHTML = days + "d " + hours + "h " | 270 | document.getElementById("chandigarh").innerHTML = days + "d " + hours + "h " |
271 | + minutes + "m " + seconds + "s "; | 271 | + minutes + "m " + seconds + "s "; |
272 | // If the count down is over, write some text | 272 | // If the count down is over, write some text |
273 | if (distance < 0) { | 273 | if (distance < 0) { |
274 | clearInterval(x); | 274 | clearInterval(x); |
275 | document.getElementById("chandigarh").innerHTML = "EXPIRED"; | 275 | document.getElementById("chandigarh").innerHTML = "EXPIRED"; |
276 | } | 276 | } |
277 | }, 1000); | 277 | }, 1000); |
278 | 278 | ||
279 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 279 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
280 | $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 280 | $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
281 | // $scope.Textshow = "yes" | 281 | // $scope.Textshow = "yes" |
282 | $scope.max = 100; | 282 | $scope.max = 100; |
283 | $scope.formPage = false; | 283 | $scope.formPage = false; |
284 | $scope.current = 0; | 284 | $scope.current = 0; |
285 | $scope.payingAmnt = 0; | 285 | $scope.payingAmnt = 0; |
286 | if ($scope.data.stage == 'select') { | 286 | if ($scope.data.stage == 'select') { |
287 | 287 | ||
288 | } | 288 | } |
289 | 289 | ||
290 | //$scope.author = 'Swarn Singh'; | 290 | //$scope.author = 'Swarn Singh'; |
291 | $scope.data = {}; | 291 | $scope.data = {}; |
292 | $scope.data.stage = 'Idea'; | 292 | $scope.data.stage = 'Pitch your Idea'; |
293 | $scope.discountAmount = 0; | 293 | $scope.discountAmount = 0; |
294 | $scope.check = false; | 294 | $scope.check = false; |
295 | $scope.numberCheck = false; | 295 | $scope.numberCheck = false; |
296 | $scope.paymentResult = {}; | 296 | $scope.paymentResult = {}; |
297 | var data = { | 297 | var data = { |
298 | "amount": $scope.payingAmnt, | 298 | "amount": $scope.payingAmnt, |
299 | "currency": "INR", | 299 | "currency": "INR", |
300 | "status": "pending" | 300 | "status": "pending" |
301 | } | 301 | } |
302 | 302 | ||
303 | /*open videos in modal*/ | 303 | /*open videos in modal*/ |
304 | // $scope.openyoutube16 = function(){ | 304 | // $scope.openyoutube16 = function(){ |
305 | // $('#videoModel').modal('show'); | 305 | // $('#videoModel').modal('show'); |
306 | // } | 306 | // } |
307 | 307 | ||
308 | // $scope.openyoutube17 = function(){ | 308 | // $scope.openyoutube17 = function(){ |
309 | // $('#videoModels').modal('show'); | 309 | // $('#videoModels').modal('show'); |
310 | // } | 310 | // } |
311 | 311 | ||
312 | // $scope.closeModal = function(){ | 312 | // $scope.closeModal = function(){ |
313 | // var url = $('#youtubePlayer').attr('src'); | 313 | // var url = $('#youtubePlayer').attr('src'); |
314 | // $('#youtubePlayer').attr('src', ''); | 314 | // $('#youtubePlayer').attr('src', ''); |
315 | // $('#youtubePlayer').attr('src', url); | 315 | // $('#youtubePlayer').attr('src', url); |
316 | // } | 316 | // } |
317 | 317 | ||
318 | 318 | ||
319 | // $scope.closed = function(){ | 319 | // $scope.closed = function(){ |
320 | // var url = $('#youtubePlayersss').attr('src'); | 320 | // var url = $('#youtubePlayersss').attr('src'); |
321 | // $('#youtubePlayersss').attr('src', ''); | 321 | // $('#youtubePlayersss').attr('src', ''); |
322 | // $('#youtubePlayersss').attr('src', url); | 322 | // $('#youtubePlayersss').attr('src', url); |
323 | // } | 323 | // } |
324 | /*open videos ends here*/ | 324 | /*open videos ends here*/ |
325 | $scope.apply = function() { | 325 | $scope.apply = function() { |
326 | Analytics.trackEvent('register', 'click', 'Registration'); | 326 | Analytics.trackEvent('register', 'click', 'Registration'); |
327 | $location.path("/registration") | 327 | $location.path("/registration") |
328 | } | 328 | } |
329 | $scope.data.citymeetup = ''; | 329 | $scope.data.citymeetup = ''; |
330 | $scope.register = function(value){ | 330 | $scope.register = function(value){ |
331 | $scope.data.citymeetup = value; | 331 | $scope.data.citymeetup = value; |
332 | if (value == 'mainevent') { | 332 | if (value == 'mainevent') { |
333 | $scope.eventType = true; | 333 | $scope.eventType = true; |
334 | $scope.mainType = false; | 334 | $scope.mainType = false; |
335 | $scope.data.stage = null; | 335 | $scope.data.stage = null; |
336 | } | 336 | } |
337 | else{ | 337 | else{ |
338 | $scope.eventType = false; | 338 | $scope.eventType = false; |
339 | $scope.mainType = true; | 339 | $scope.mainType = true; |
340 | } | 340 | } |
341 | $('.hiddenForm').slideDown(); | 341 | $('.hiddenForm').slideDown(); |
342 | $('html, body').animate({ | 342 | $('html, body').animate({ |
343 | scrollTop: $('.hiddenForm').offset().top | 343 | scrollTop: $('.hiddenForm').offset().top |
344 | }, 1000); | 344 | }, 1000); |
345 | console.log('gdggsg', value); | 345 | console.log('gdggsg', value); |
346 | } | 346 | } |
347 | 347 | ||
348 | $scope.removeError = function() { | 348 | $scope.removeError = function() { |
349 | $('#invalidEmail').css('display', 'none'); | 349 | $('#invalidEmail').css('display', 'none'); |
350 | $('#alreadyExist').css('display', 'none'); | 350 | $('#alreadyExist').css('display', 'none'); |
351 | }; | 351 | }; |
352 | 352 | ||
353 | $scope.emailcheck = function(val) { | 353 | $scope.emailcheck = function(val) { |
354 | console.log(val) | 354 | console.log(val) |
355 | $scope.space = /\s/g.test(val); | 355 | $scope.space = /\s/g.test(val); |
356 | console.log("space",$scope.space) | 356 | console.log("space",$scope.space) |
357 | if (val == undefined) { | 357 | if (val == undefined) { |
358 | $('#invalidEmail').css('display', 'block'); | 358 | $('#invalidEmail').css('display', 'block'); |
359 | } else { | 359 | } else { |
360 | $http({ | 360 | $http({ |
361 | method: 'GET', | 361 | method: 'GET', |
362 | url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', | 362 | url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', |
363 | headers: {} | 363 | headers: {} |
364 | }).then(function mySuccess(searchResult) { | 364 | }).then(function mySuccess(searchResult) { |
365 | console.log("searchResult1===>", searchResult) | 365 | console.log("searchResult1===>", searchResult) |
366 | if (searchResult.data.length == 0) { | 366 | if (searchResult.data.length == 0) { |
367 | $scope.check = false; | 367 | $scope.check = false; |
368 | } else { | 368 | } else { |
369 | $scope.check = true; | 369 | $scope.check = true; |
370 | $scope.emailId = searchResult.data[0].id | 370 | $scope.emailId = searchResult.data[0].id |
371 | $('#alreadyExist').css('display', 'block'); | 371 | $('#alreadyExist').css('display', 'block'); |
372 | 372 | ||
373 | } | 373 | } |
374 | console.log("$scope.data.id",searchResult.data) | 374 | console.log("$scope.data.id",searchResult.data) |
375 | }, function myError(error) {}); | 375 | }, function myError(error) {}); |
376 | } | 376 | } |
377 | }; | 377 | }; |
378 | 378 | ||
379 | $scope.removeNoError = function() { | 379 | $scope.removeNoError = function() { |
380 | $('#noExist').css('display', 'none'); | 380 | $('#noExist').css('display', 'none'); |
381 | }; | 381 | }; |
382 | 382 | ||
383 | $scope.numbercheck = function(number) { | 383 | $scope.numbercheck = function(number) { |
384 | $http({ | 384 | $http({ |
385 | method: 'GET', | 385 | method: 'GET', |
386 | url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', | 386 | url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', |
387 | data: $scope.data, | 387 | data: $scope.data, |
388 | headers: {} | 388 | headers: {} |
389 | }).then(function mySuccess(searchResult) { | 389 | }).then(function mySuccess(searchResult) { |
390 | console.log("searchResult===>", searchResult) | 390 | console.log("searchResult===>", searchResult) |
391 | if (searchResult.data.length == 0) { | 391 | if (searchResult.data.length == 0) { |
392 | $scope.numberCheck = false; | 392 | $scope.numberCheck = false; |
393 | 393 | ||
394 | } else { | 394 | } else { |
395 | $scope.numberCheck = true; | 395 | $scope.numberCheck = true; |
396 | $('#noExist').css('display', 'block'); | 396 | $('#noExist').css('display', 'block'); |
397 | } | 397 | } |
398 | }, function myError(error) {}); | 398 | }, function myError(error) {}); |
399 | }; | 399 | }; |
400 | 400 | ||
401 | $rootScope.tokenCall = function(val) { | 401 | $rootScope.tokenCall = function(val) { |
402 | console.log('val-------->', val); | 402 | console.log('val-------->', val); |
403 | if (val == undefined) { | 403 | if (val == undefined) { |
404 | $('#invalidToken').css('display', 'block'); | 404 | $('#invalidToken').css('display', 'block'); |
405 | } else { | 405 | } else { |
406 | val = val.toUpperCase(); | 406 | val = val.toUpperCase(); |
407 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') | 407 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') |
408 | .then(function(searchResult) { | 408 | .then(function(searchResult) { |
409 | console.log("searchResult",searchResult) | 409 | console.log("searchResult",searchResult) |
410 | if (searchResult.data.length == 0) { | 410 | if (searchResult.data.length == 0) { |
411 | $scope.tokencheck = false; | 411 | $scope.tokencheck = false; |
412 | $scope.discountAmount = 0; | 412 | $scope.discountAmount = 0; |
413 | } else { | 413 | } else { |
414 | $scope.discountpercentage = searchResult.data[0].discount; | 414 | $scope.discountpercentage = searchResult.data[0].discount; |
415 | $scope.tokencheck = true; | 415 | $scope.tokencheck = true; |
416 | } | 416 | } |
417 | },function(err){ | 417 | },function(err){ |
418 | console.log(err) | 418 | console.log(err) |
419 | }); | 419 | }); |
420 | 420 | ||
421 | } | 421 | } |
422 | }; | 422 | }; |
423 | 423 | ||
424 | /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ | 424 | /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ |
425 | $(document).ready( | 425 | $(document).ready( |
426 | function() { | 426 | function() { |
427 | $('input:submit').attr('disabled', true); | 427 | $('input:submit').attr('disabled', true); |
428 | $('input:file').change( | 428 | $('input:file').change( |
429 | function() { | 429 | function() { |
430 | if ($("#picture").val()) { | 430 | if ($("#picture").val()) { |
431 | $('input:submit').removeAttr('disabled'); | 431 | $('input:submit').removeAttr('disabled'); |
432 | } else { | 432 | } else { |
433 | $('input:submit').attr('disabled', true); | 433 | $('input:submit').attr('disabled', true); |
434 | } | 434 | } |
435 | }); | 435 | }); |
436 | }); | 436 | }); |
437 | 437 | ||
438 | /*****THIS IS FOR STEP ONE FORM ******/ | 438 | /*****THIS IS FOR STEP ONE FORM ******/ |
439 | // $scope.next = function() { | 439 | // $scope.next = function() { |
440 | // $scope.data.status = null | 440 | // $scope.data.status = null |
441 | // if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { | 441 | // if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { |
442 | // var x = document.getElementById("snackbar") | 442 | // var x = document.getElementById("snackbar") |
443 | // x.className = "show"; | 443 | // x.className = "show"; |
444 | // setTimeout(function() { | 444 | // setTimeout(function() { |
445 | // x.className = x.className.replace("show", ""); | 445 | // x.className = x.className.replace("show", ""); |
446 | // }, 3000); | 446 | // }, 3000); |
447 | // } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { | 447 | // } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { |
448 | // $scope.infoForm = true; | 448 | // $scope.infoForm = true; |
449 | // console.log("sdasdasdsa"); | 449 | // console.log("sdasdasdsa"); |
450 | // $scope.data.stage = $scope.data.stage; | 450 | // $scope.data.stage = $scope.data.stage; |
451 | // $scope.detail = {}; | 451 | // $scope.detail = {}; |
452 | // $scope.data.phone = "+91" + $scope.data.number; | 452 | // $scope.data.phone = "+91" + $scope.data.number; |
453 | // $http({ | 453 | // $http({ |
454 | // method: 'POST', | 454 | // method: 'POST', |
455 | // url: BASE_URL + '/information', | 455 | // url: BASE_URL + '/information', |
456 | // data: $scope.data, | 456 | // data: $scope.data, |
457 | // headers: {} | 457 | // headers: {} |
458 | // }).then(function mySuccess(result) { | 458 | // }).then(function mySuccess(result) { |
459 | // Analytics.trackEvent('information', 'click', 'django.mp4'); | 459 | // Analytics.trackEvent('information', 'click', 'django.mp4'); |
460 | // console.log("result", result) | 460 | // console.log("result", result) |
461 | // $scope.detail = result; | 461 | // $scope.detail = result; |
462 | // data.applicantId = result.data.id; | 462 | // data.applicantId = result.data.id; |
463 | // $scope.userId = result.data.id; | 463 | // $scope.userId = result.data.id; |
464 | 464 | ||
465 | // }, function myError(error) {}); | 465 | // }, function myError(error) {}); |
466 | 466 | ||
467 | // } | 467 | // } |
468 | 468 | ||
469 | // } | 469 | // } |
470 | 470 | ||
471 | $scope.calculateAmount = function(){ | 471 | $scope.calculateAmount = function(){ |
472 | if($scope.tokencheck == false){ | 472 | if($scope.tokencheck == false){ |
473 | $scope.data.referalToken = null; | 473 | $scope.data.referalToken = null; |
474 | } | 474 | } |
475 | if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | 475 | if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { |
476 | var x = document.getElementById("snackbar") | 476 | var x = document.getElementById("snackbar") |
477 | x.className = "show"; | 477 | x.className = "show"; |
478 | setTimeout(function() { | 478 | setTimeout(function() { |
479 | x.className = x.className.replace("show", ""); | 479 | x.className = x.className.replace("show", ""); |
480 | }, 3000); | 480 | }, 3000); |
481 | } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | 481 | } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { |
482 | $scope.infoForm = true; | 482 | $scope.infoForm = true; |
483 | console.log("sdasdasdsa"); | 483 | console.log("sdasdasdsa"); |
484 | $scope.data.stage = $scope.data.stage; | 484 | $scope.data.stage = $scope.data.stage; |
485 | $scope.detail = {}; | 485 | $scope.detail = {}; |
486 | $scope.data.phone = "+91" + $scope.data.number; | 486 | $scope.data.phone = "+91" + $scope.data.number; |
487 | $http({ | 487 | $http({ |
488 | method: 'POST', | 488 | method: 'POST', |
489 | url: BASE_URL + '/applicants', | 489 | url: BASE_URL + '/applicants', |
490 | data: $scope.data, | 490 | data: $scope.data, |
491 | headers: {} | 491 | headers: {} |
492 | }).then(function mySuccess(result) { | 492 | }).then(function mySuccess(result) { |
493 | Analytics.trackEvent('applicants', 'click','Users'); | 493 | Analytics.trackEvent('applicants', 'click','Users'); |
494 | console.log("result", result) | 494 | console.log("result", result) |
495 | $scope.detail = result; | 495 | $scope.detail = result; |
496 | data.applicantId = result.data.id; | 496 | data.applicantId = result.data.id; |
497 | //$scope.userId = result.data.id; | 497 | //$scope.userId = result.data.id; |
498 | 498 | ||
499 | if($scope.data.citymeetup == "pune"){ | 499 | if($scope.data.citymeetup == "pune"){ |
500 | if ($scope.data.stage == "Idea") { | 500 | if ($scope.data.stage == "Pitch your Idea") { |
501 | console.log("$scope.data", $scope.data) | 501 | console.log("$scope.data", $scope.data) |
502 | $scope.ticketAmnt = 700; | 502 | $scope.ticketAmnt = 700; |
503 | } | 503 | } |
504 | 504 | ||
505 | if ($scope.data.stage == "Product") { | 505 | if ($scope.data.stage == "Pitch your Startup") { |
506 | $scope.ticketAmnt = 1400; | 506 | $scope.ticketAmnt = 1400; |
507 | } | 507 | } |
508 | 508 | ||
509 | if ($scope.data.stage == "Growth") { | 509 | // if ($scope.data.stage == "Growth") { |
510 | $scope.ticketAmnt = 1400; | 510 | // $scope.ticketAmnt = 1400; |
511 | } | 511 | // } |
512 | } | 512 | } |
513 | else if($scope.data.citymeetup == "mainevent"){ | 513 | else if($scope.data.citymeetup == "mainevent"){ |
514 | // if ($scope.data.stage == '') { | 514 | // if ($scope.data.stage == '') { |
515 | console.log("$scope.data", $scope.data) | 515 | console.log("$scope.data", $scope.data) |
516 | $scope.ticketAmnt = 2000; | 516 | $scope.ticketAmnt = 2000; |
517 | // } | 517 | // } |
518 | 518 | ||
519 | // if ($scope.data.stage == "Product") { | 519 | // if ($scope.data.stage == "Product") { |
520 | // $scope.ticketAmnt = 1500; | 520 | // $scope.ticketAmnt = 1500; |
521 | // } | 521 | // } |
522 | 522 | ||
523 | // if ($scope.data.stage == "Growth") { | 523 | // if ($scope.data.stage == "Growth") { |
524 | // $scope.ticketAmnt = 1500; | 524 | // $scope.ticketAmnt = 1500; |
525 | // } | 525 | // } |
526 | } | 526 | } |
527 | else{ | 527 | else{ |
528 | if ($scope.data.stage == "Idea") { | 528 | if ($scope.data.stage == "Pitch your Idea") { |
529 | console.log("$scope.data", $scope.data) | 529 | console.log("$scope.data", $scope.data) |
530 | $scope.ticketAmnt = 500; | 530 | $scope.ticketAmnt = 500; |
531 | } | 531 | } |
532 | 532 | ||
533 | if ($scope.data.stage == "Product") { | 533 | if ($scope.data.stage == "Pitch your Startup") { |
534 | $scope.ticketAmnt = 1000; | 534 | $scope.ticketAmnt = 1000; |
535 | } | 535 | } |
536 | 536 | ||
537 | if ($scope.data.stage == "Growth") { | 537 | // if ($scope.data.stage == "Growth") { |
538 | $scope.ticketAmnt = 1000; | 538 | // $scope.ticketAmnt = 1000; |
539 | } | 539 | // } |
540 | } | 540 | } |
541 | // if ($scope.data.stage == "Visitor") { | 541 | // if ($scope.data.stage == "Visitor") { |
542 | // $scope.ticketAmnt = 500; | 542 | // $scope.ticketAmnt = 500; |
543 | // } | 543 | // } |
544 | var amount = $scope.ticketAmnt * 100 | 544 | var amount = $scope.ticketAmnt * 100 |
545 | if($scope.tokencheck == true){ | 545 | if($scope.tokencheck == true){ |
546 | var amount = $scope.ticketAmnt | 546 | var amount = $scope.ticketAmnt |
547 | $scope.discountAmount = (amount * $scope.discountpercentage)/100 | 547 | $scope.discountAmount = (amount * $scope.discountpercentage)/100 |
548 | console.log("finalAmount====>",$scope.discountAmount) | 548 | console.log("finalAmount====>",$scope.discountAmount) |
549 | } | 549 | } |
550 | 550 | ||
551 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount | 551 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount |
552 | console.log("$scope.taxTotal----",taxAmount) | 552 | console.log("$scope.taxTotal----",taxAmount) |
553 | $scope.taxTotal = (taxAmount * 18)/100 | 553 | $scope.taxTotal = (taxAmount * 18)/100 |
554 | $scope.payingAmnt = taxAmount + $scope.taxTotal | 554 | $scope.payingAmnt = taxAmount + $scope.taxTotal |
555 | console.log("taxincludedamount----", $scope.payingAmnt) | 555 | console.log("taxincludedamount----", $scope.payingAmnt) |
556 | console.log("$scope.taxTotal----", $scope.taxTotal) | 556 | console.log("$scope.taxTotal----", $scope.taxTotal) |
557 | // } | 557 | // } |
558 | 558 | ||
559 | /*****THIS IS FOR STEP THREE FORM ******/ | 559 | /*****THIS IS FOR STEP THREE FORM ******/ |
560 | // $scope.create = function() { | 560 | // $scope.create = function() { |
561 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | 561 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { |
562 | // var x = document.getElementById("snackbar") | 562 | // var x = document.getElementById("snackbar") |
563 | // x.className = "show"; | 563 | // x.className = "show"; |
564 | // setTimeout(function() { | 564 | // setTimeout(function() { |
565 | // x.className = x.className.replace("show", ""); | 565 | // x.className = x.className.replace("show", ""); |
566 | // }, 3000); | 566 | // }, 3000); |
567 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | 567 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { |
568 | // $scope.infoForm = true; | 568 | // $scope.infoForm = true; |
569 | // console.log("sdasdasdsa"); | 569 | // console.log("sdasdasdsa"); |
570 | // $scope.data.stage = $scope.data.stage; | 570 | // $scope.data.stage = $scope.data.stage; |
571 | // $scope.detail = {}; | 571 | // $scope.detail = {}; |
572 | // $scope.data.phone = "+91" + $scope.data.number; | 572 | // $scope.data.phone = "+91" + $scope.data.number; |
573 | // $http({ | 573 | // $http({ |
574 | // method: 'POST', | 574 | // method: 'POST', |
575 | // url: BASE_URL + '/applicants', | 575 | // url: BASE_URL + '/applicants', |
576 | // data: $scope.data, | 576 | // data: $scope.data, |
577 | // headers: {} | 577 | // headers: {} |
578 | // }).then(function mySuccess(result) { | 578 | // }).then(function mySuccess(result) { |
579 | 579 | ||
580 | // console.log("=====result=====", result) | 580 | // console.log("=====result=====", result) |
581 | // $scope.detail = result; | 581 | // $scope.detail = result; |
582 | // data.applicantId = result.data.id; | 582 | // data.applicantId = result.data.id; |
583 | // $scope.userId = result.data.id; | 583 | // $scope.userId = result.data.id; |
584 | // console.log("=====data=====", data) | 584 | // console.log("=====data=====", data) |
585 | // data.amount = $scope.payingAmnt + $scope.taxTotal; | 585 | // data.amount = $scope.payingAmnt + $scope.taxTotal; |
586 | data.amount = $scope.payingAmnt; | 586 | data.amount = $scope.payingAmnt; |
587 | console.log("$scope.taxTotal",data.amount) | 587 | console.log("$scope.taxTotal",data.amount) |
588 | if ($scope.detail != null) { | 588 | if ($scope.detail != null) { |
589 | $http({ | 589 | $http({ |
590 | method: 'POST', | 590 | method: 'POST', |
591 | url: BASE_URL + '/payments', | 591 | url: BASE_URL + '/payments', |
592 | data: data, | 592 | data: data, |
593 | headers: {} | 593 | headers: {} |
594 | }).then(function mySuccess(paymentResult) { | 594 | }).then(function mySuccess(paymentResult) { |
595 | console.log("paymentResult",paymentResult) | 595 | console.log("paymentResult",paymentResult) |
596 | $scope.paymentResult = paymentResult; | 596 | $scope.paymentResult = paymentResult; |
597 | }, function myError(error) {}); | 597 | }, function myError(error) {}); |
598 | } | 598 | } |
599 | var i = 0; | 599 | var i = 0; |
600 | //$scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100; | 600 | //$scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100; |
601 | 601 | ||
602 | $scope.payingAmnt = $scope.payingAmnt * 100; | 602 | $scope.payingAmnt = $scope.payingAmnt * 100; |
603 | console.log("$scope.taxTotal----", $scope.payingAmnt) | 603 | console.log("$scope.taxTotal----", $scope.payingAmnt) |
604 | var options = { | 604 | var options = { |
605 | "key": "rzp_live_mhSE1uOBlXvFyJ", | 605 | "key": "rzp_live_mhSE1uOBlXvFyJ", |
606 | //"key": "rzp_test_YwHsVFiDIQ2WUQ", | 606 | //"key": "rzp_test_YwHsVFiDIQ2WUQ", |
607 | "amount": $scope.payingAmnt , | 607 | "amount": $scope.payingAmnt , |
608 | 608 | ||
609 | "name": "Startup Jalsa", | 609 | "name": "Startup Jalsa", |
610 | "description": "amount", | 610 | "description": "amount", |
611 | "currency": "INR", | 611 | "currency": "INR", |
612 | "status": "done", | 612 | "status": "done", |
613 | 613 | ||
614 | "theme": { | 614 | "theme": { |
615 | "color": "#2196f3 ", | 615 | "color": "#2196f3 ", |
616 | "image_padding": "NO" | 616 | "image_padding": "NO" |
617 | }, | 617 | }, |
618 | "modal": { | 618 | "modal": { |
619 | "ondismiss": function() {} | 619 | "ondismiss": function() {} |
620 | }, | 620 | }, |
621 | "handler": function(response) { | 621 | "handler": function(response) { |
622 | createPayment(response); | 622 | createPayment(response); |
623 | } | 623 | } |
624 | }; | 624 | }; |
625 | var rzp1 = new Razorpay(options); | 625 | var rzp1 = new Razorpay(options); |
626 | rzp1.open(); | 626 | rzp1.open(); |
627 | $scope.paymentResponse = {}; | 627 | $scope.paymentResponse = {}; |
628 | 628 | ||
629 | function createPayment(response) { | 629 | function createPayment(response) { |
630 | console.log("response====from===razorpay",response) | 630 | console.log("response====from===razorpay",response) |
631 | $route.reload(); | 631 | $route.reload(); |
632 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 632 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
633 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | 633 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; |
634 | $scope.paymentResponse.amount = data.amount; | 634 | $scope.paymentResponse.amount = data.amount; |
635 | $scope.paymentResponse.currency = "INR"; | 635 | $scope.paymentResponse.currency = "INR"; |
636 | $scope.paymentResponse.status = $scope.paymentResult.data.status; | 636 | $scope.paymentResponse.status = $scope.paymentResult.data.status; |
637 | Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); | 637 | Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); |
638 | $http({ | 638 | $http({ |
639 | method: 'PUT', | 639 | method: 'PUT', |
640 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, | 640 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, |
641 | data: $scope.paymentResponse, | 641 | data: $scope.paymentResponse, |
642 | headers: {} | 642 | headers: {} |
643 | }).then(function mySuccess(searchResult) { | 643 | }).then(function mySuccess(searchResult) { |
644 | // if(paymentResult.data.status == "created"){ | 644 | // if(paymentResult.data.status == "created"){ |
645 | 645 | ||
646 | // } | 646 | // } |
647 | console.log("searchResult", searchResult) | 647 | console.log("searchResult", searchResult) |
648 | $location.path("/confirmation") | 648 | $location.path("/confirmation") |
649 | //$scope.showToastr() | 649 | //$scope.showToastr() |
650 | //toaster.success("Registration done successfully"); | 650 | //toaster.success("Registration done successfully"); |
651 | 651 | ||
652 | }, function myError(error) {}); | 652 | }, function myError(error) {}); |
653 | } | 653 | } |
654 | }, function myError(error) { | 654 | }, function myError(error) { |
655 | console.log("error",error) | 655 | console.log("error",error) |
656 | $scope.emailId = error.data.error.message; | 656 | $scope.emailId = error.data.error.message; |
657 | $scope.id = error.data.error.id; | 657 | $scope.id = error.data.error.id; |
658 | $('#myModal').modal('show'); | 658 | $('#myModal').modal('show'); |
659 | }); | 659 | }); |
660 | } | 660 | } |
661 | 661 | ||
662 | } | 662 | } |
663 | 663 | ||
664 | //}, function myError(error) {}); | 664 | //}, function myError(error) {}); |
665 | //} | 665 | //} |
666 | 666 | ||
667 | //} | 667 | //} |
668 | 668 | ||
669 | // $scope.showToastr = function() { | 669 | // $scope.showToastr = function() { |
670 | // console.log("called toast") | 670 | // console.log("called toast") |
671 | // var x = document.getElementById("snacsskbar") | 671 | // var x = document.getElementById("snacsskbar") |
672 | // x.className = "show"; | 672 | // x.className = "show"; |
673 | // setTimeout(function() { | 673 | // setTimeout(function() { |
674 | // x.className = x.className.replace("show", ""); | 674 | // x.className = x.className.replace("show", ""); |
675 | // }, 3000); | 675 | // }, 3000); |
676 | // } | 676 | // } |
677 | 677 | ||
678 | /*kk***This code for change data when click to chooses stages***/ | 678 | /*kk***This code for change data when click to chooses stages***/ |
679 | $scope.proto = true; | 679 | $scope.proto = true; |
680 | $scope.businessmodel = true; | 680 | $scope.businessmodel = true; |
681 | $scope.Idea = true; | 681 | $scope.Idea = true; |
682 | $scope.current = true; | 682 | $scope.current = true; |
683 | 683 | ||
684 | $scope.stage = function(stage) { | 684 | $scope.stage = function(stage) { |
685 | $scope.stagekeyPress(); | 685 | $scope.stagekeyPress(); |
686 | console.log("stage--2",stage) | 686 | console.log("stage--2",stage) |
687 | 687 | ||
688 | if (stage == 'Idea') { | 688 | if (stage == 'Pitch your Idea') { |
689 | $scope.Productshow = "no"; | 689 | $scope.Productshow = "no"; |
690 | $scope.current = 10; | 690 | $scope.current = 10; |
691 | $scope.proto = true; | 691 | $scope.proto = true; |
692 | // $scope.visitType = true; | 692 | // $scope.visitType = true; |
693 | $scope.prototyp = false; | 693 | $scope.prototyp = false; |
694 | $scope.protyp = false; | 694 | $scope.protyp = false; |
695 | $scope.market = false; | 695 | $scope.market = false; |
696 | $scope.risks = false; | 696 | $scope.risks = false; |
697 | $scope.team = false; | 697 | $scope.team = false; |
698 | $scope.pitch = false; | 698 | $scope.pitch = false; |
699 | $scope.financials = false; | 699 | $scope.financials = false; |
700 | $scope.businessmodel = true; | 700 | $scope.businessmodel = true; |
701 | $scope.data.stage = stage; | 701 | $scope.data.stage = stage; |
702 | // for right content | 702 | // for right content |
703 | $scope.Idea = true; | 703 | $scope.Idea = true; |
704 | $scope.Product = false; | 704 | $scope.Product = false; |
705 | $scope.Growth = false; | 705 | $scope.Growth = false; |
706 | // $scope.Visitor = false; | 706 | // $scope.Visitor = false; |
707 | } else if (stage == 'Product') { | 707 | } else if (stage == 'Pitch your Startup') { |
708 | $scope.Productshow = "no"; | 708 | $scope.Productshow = "no"; |
709 | $scope.current = 10; | 709 | $scope.current = 10; |
710 | $scope.proto = true; | 710 | $scope.proto = true; |
711 | // $scope.visitType = true; | 711 | // $scope.visitType = true; |
712 | $scope.prototyp = true; | 712 | $scope.prototyp = true; |
713 | $scope.protyp = true; | 713 | $scope.protyp = true; |
714 | $scope.market = true; | 714 | $scope.market = true; |
715 | $scope.risks = true; | 715 | $scope.risks = true; |
716 | $scope.team = true; | 716 | $scope.team = true; |
717 | $scope.pitch = true; | 717 | $scope.pitch = true; |
718 | $scope.financials = true; | 718 | $scope.financials = true; |
719 | $scope.businessmodel = false; | 719 | $scope.businessmodel = false; |
720 | $scope.data.stage = stage; | 720 | $scope.data.stage = stage; |
721 | // for right content | 721 | // for right content |
722 | $scope.Idea = false; | 722 | $scope.Idea = false; |
723 | $scope.Product = true; | 723 | $scope.Product = true; |
724 | $scope.Growth = false; | 724 | $scope.Growth = false; |
725 | // $scope.Visitor = false; | 725 | // $scope.Visitor = false; |
726 | } else if (stage == 'Growth') { | 726 | } else if (stage == 'Growth') { |
727 | $scope.Productshow = "yes"; | 727 | $scope.Productshow = "yes"; |
728 | $scope.current = 10; | 728 | $scope.current = 10; |
729 | $scope.proto = false; | 729 | $scope.proto = false; |
730 | // $scope.visitType = true; | 730 | // $scope.visitType = true; |
731 | $scope.prototyp = true; | 731 | $scope.prototyp = true; |
732 | $scope.protyp = false; | 732 | $scope.protyp = false; |
733 | $scope.market = true; | 733 | $scope.market = true; |
734 | $scope.risks = true; | 734 | $scope.risks = true; |
735 | $scope.team = true; | 735 | $scope.team = true; |
736 | $scope.pitch = true; | 736 | $scope.pitch = true; |
737 | $scope.financials = true; | 737 | $scope.financials = true; |
738 | $scope.businessmodel = false; | 738 | $scope.businessmodel = false; |
739 | // for right content | 739 | // for right content |
740 | $scope.Idea = false; | 740 | $scope.Idea = false; |
741 | $scope.Product = false; | 741 | $scope.Product = false; |
742 | $scope.Growth = true; | 742 | $scope.Growth = true; |
743 | // $scope.Visitor = false; | 743 | // $scope.Visitor = false; |
744 | // } else if (stage == 'Visitor') { | 744 | // } else if (stage == 'Visitor') { |
745 | // $scope.Productshow = "no"; | 745 | // $scope.Productshow = "no"; |
746 | // $scope.current = 10; | 746 | // $scope.current = 10; |
747 | // $scope.proto = false; | 747 | // $scope.proto = false; |
748 | // $scope.visitType = false; | 748 | // $scope.visitType = false; |
749 | // $scope.prototyp = false; | 749 | // $scope.prototyp = false; |
750 | // $scope.protyp = false; | 750 | // $scope.protyp = false; |
751 | // $scope.market = false; | 751 | // $scope.market = false; |
752 | // $scope.risks = false; | 752 | // $scope.risks = false; |
753 | // $scope.team = false; | 753 | // $scope.team = false; |
754 | // $scope.pitch = false; | 754 | // $scope.pitch = false; |
755 | // $scope.financials = false; | 755 | // $scope.financials = false; |
756 | // $scope.businessmodel = false; | 756 | // $scope.businessmodel = false; |
757 | // $scope.data.stage = stage; | 757 | // $scope.data.stage = stage; |
758 | // // for right content | 758 | // // for right content |
759 | // $scope.Idea = false; | 759 | // $scope.Idea = false; |
760 | // $scope.Product = false; | 760 | // $scope.Product = false; |
761 | // $scope.Growth = false; | 761 | // $scope.Growth = false; |
762 | // $scope.Visitor = true; | 762 | // $scope.Visitor = true; |
763 | $scope.data.stage = stage; | 763 | $scope.data.stage = stage; |
764 | } | 764 | } |
765 | 765 | ||
766 | } | 766 | } |
767 | 767 | ||
768 | $scope.emailTest = function(s){ | 768 | $scope.emailTest = function(s){ |
769 | $scope.space = /\s/g.test(s.delegateTarget.value); | 769 | $scope.space = /\s/g.test(s.delegateTarget.value); |
770 | console.log("space",$scope.space) | 770 | console.log("space",$scope.space) |
771 | 771 | ||
772 | } | 772 | } |
773 | // $scope.enterbusiness = function(business) { | 773 | // $scope.enterbusiness = function(business) { |
774 | // console.log("business", business); | 774 | // console.log("business", business); |
775 | // if (name == undefined) { | 775 | // if (name == undefined) { |
776 | // $scope.current = false; | 776 | // $scope.current = false; |
777 | 777 | ||
778 | // } else if (name != undefined) { | 778 | // } else if (name != undefined) { |
779 | // $scope.current = true; | 779 | // $scope.current = true; |
780 | // } | 780 | // } |
781 | // } | 781 | // } |
782 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ | 782 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ |
783 | $scope.stagekeyPress = function() { | 783 | $scope.stagekeyPress = function() { |
784 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); | 784 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); |
785 | } | 785 | } |
786 | $scope.sectorkeyPress = function() { | 786 | $scope.sectorkeyPress = function() { |
787 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); | 787 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); |
788 | } | 788 | } |
789 | 789 | ||
790 | $scope.productLaunchkeyPress = function() { | 790 | $scope.productLaunchkeyPress = function() { |
791 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); | 791 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); |
792 | } | 792 | } |
793 | 793 | ||
794 | $scope.launchPeriodkeyPress = function() { | 794 | $scope.launchPeriodkeyPress = function() { |
795 | $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)'); | 795 | $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)'); |
796 | } | 796 | } |
797 | 797 | ||
798 | $scope.industrykeyPress = function() { | 798 | $scope.industrykeyPress = function() { |
799 | $scope.addOther = false; | 799 | $scope.addOther = false; |
800 | $scope.hideSelectBox = true; | 800 | $scope.hideSelectBox = true; |
801 | $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); | 801 | $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); |
802 | var e = document.getElementById("dataIndustry"); | 802 | var e = document.getElementById("dataIndustry"); |
803 | var dataIndustry = e.options[e.selectedIndex].value; | 803 | var dataIndustry = e.options[e.selectedIndex].value; |
804 | if(dataIndustry == "others") { | 804 | if(dataIndustry == "others") { |
805 | $scope.addOther = true; | 805 | $scope.addOther = true; |
806 | $scope.hideSelectBox = false; | 806 | $scope.hideSelectBox = false; |
807 | } | 807 | } |
808 | } | 808 | } |
809 | 809 | ||
810 | $scope.industryNamekeyPress = function(firstName) { | 810 | $scope.industryNamekeyPress = function(firstName) { |
811 | console.log("lastName==", firstName); | 811 | console.log("lastName==", firstName); |
812 | if (firstName == undefined) { | 812 | if (firstName == undefined) { |
813 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); | 813 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); |
814 | } else { | 814 | } else { |
815 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); | 815 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); |
816 | } | 816 | } |
817 | } | 817 | } |
818 | 818 | ||
819 | $scope.amountkeyPress = function() { | 819 | $scope.amountkeyPress = function() { |
820 | $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)'); | 820 | $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)'); |
821 | } | 821 | } |
822 | 822 | ||
823 | $scope.firstNamekeyPress = function(name) { | 823 | $scope.firstNamekeyPress = function(name) { |
824 | console.log("lastName==", name); | 824 | console.log("lastName==", name); |
825 | if (name == undefined) { | 825 | if (name == undefined) { |
826 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); | 826 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); |
827 | } else { | 827 | } else { |
828 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); | 828 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); |
829 | } | 829 | } |
830 | } | 830 | } |
831 | 831 | ||
832 | $scope.emailkeyPress = function(email) { | 832 | $scope.emailkeyPress = function(email) { |
833 | console.log("email", email); | 833 | console.log("email", email); |
834 | if (email == undefined) { | 834 | if (email == undefined) { |
835 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); | 835 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); |
836 | } else { | 836 | } else { |
837 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); | 837 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); |
838 | } | 838 | } |
839 | } | 839 | } |
840 | 840 | ||
841 | $scope.textCheck = function(){ | 841 | $scope.textCheck = function(){ |
842 | console.log("Val1:::", $scope.textCheck); | 842 | console.log("Val1:::", $scope.textCheck); |
843 | var e = document.getElementById("fundingDiv"); | 843 | var e = document.getElementById("fundingDiv"); |
844 | var funding = e.options[e.selectedIndex].value; | 844 | var funding = e.options[e.selectedIndex].value; |
845 | $scope.Textshow = "no"; | 845 | $scope.Textshow = "no"; |
846 | if(funding == "yes") { | 846 | if(funding == "yes") { |
847 | $scope.Textshow = "yes"; | 847 | $scope.Textshow = "yes"; |
848 | console.log("Val:::", $scope.Textshow); | 848 | console.log("Val:::", $scope.Textshow); |
849 | } | 849 | } |
850 | 850 | ||
851 | } | 851 | } |
852 | 852 | ||
853 | $scope.productCheck = function(){ | 853 | $scope.productCheck = function(){ |
854 | console.log("Val2:::", $scope.productCheck); | 854 | console.log("Val2:::", $scope.productCheck); |
855 | var e = document.getElementById("productDiv"); | 855 | var e = document.getElementById("productDiv"); |
856 | var product = e.options[e.selectedIndex].value; | 856 | var product = e.options[e.selectedIndex].value; |
857 | $scope.Productshow = "no"; | 857 | $scope.Productshow = "no"; |
858 | if(product == "yes") { | 858 | if(product == "yes") { |
859 | $scope.Productshow = "yes"; | 859 | $scope.Productshow = "yes"; |
860 | console.log("Val1:::", $scope.Productshow); | 860 | console.log("Val1:::", $scope.Productshow); |
861 | } | 861 | } |
862 | 862 | ||
863 | } | 863 | } |
864 | 864 | ||
865 | $scope.phonekeyPress = function(number) { | 865 | $scope.phonekeyPress = function(number) { |
866 | console.log("number", number); | 866 | console.log("number", number); |
867 | if (number == undefined || number == '') { | 867 | if (number == undefined || number == '') { |
868 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); | 868 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); |
869 | } else { | 869 | } else { |
870 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); | 870 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); |
871 | } | 871 | } |
872 | } | 872 | } |
873 | 873 | ||
874 | $scope.citykeyPress = function(city) { | 874 | $scope.citykeyPress = function(city) { |
875 | console.log("city", city); | 875 | console.log("city", city); |
876 | if (city == undefined) { | 876 | if (city == undefined) { |
877 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); | 877 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); |
878 | } else { | 878 | } else { |
879 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); | 879 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); |
880 | } | 880 | } |
881 | } | 881 | } |
882 | 882 | ||
883 | $scope.startupNamekeyPress = function(q) { | 883 | $scope.startupNamekeyPress = function(q) { |
884 | if (q == undefined) { | 884 | if (q == undefined) { |
885 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); | 885 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); |
886 | } else { | 886 | } else { |
887 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); | 887 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); |
888 | } | 888 | } |
889 | } | 889 | } |
890 | 890 | ||
891 | $scope.linkedInkeyPress = function(technology) { | 891 | $scope.linkedInkeyPress = function(technology) { |
892 | if (technology == undefined || technology == '') { | 892 | if (technology == undefined || technology == '') { |
893 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); | 893 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); |
894 | } else { | 894 | } else { |
895 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); | 895 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); |
896 | } | 896 | } |
897 | } | 897 | } |
898 | $scope.companykeyPress = function(problem) { | 898 | $scope.companykeyPress = function(problem) { |
899 | if (problem == undefined) { | 899 | if (problem == undefined) { |
900 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); | 900 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); |
901 | } else { | 901 | } else { |
902 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); | 902 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); |
903 | } | 903 | } |
904 | } | 904 | } |
905 | $scope.productNamekeyPress = function(solution) { | 905 | $scope.productNamekeyPress = function(solution) { |
906 | if (solution == undefined) { | 906 | if (solution == undefined) { |
907 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); | 907 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); |
908 | } else { | 908 | } else { |
909 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); | 909 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); |
910 | } | 910 | } |
911 | } | 911 | } |
912 | $scope.businesskeyPress = function(business) { | 912 | $scope.businesskeyPress = function(business) { |
913 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); | 913 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); |
914 | } | 914 | } |
915 | 915 | ||
916 | $scope.websitekeyPress = function(prototype) { | 916 | $scope.websitekeyPress = function(prototype) { |
917 | if (prototype == undefined || prototype == '') { | 917 | if (prototype == undefined || prototype == '') { |
918 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); | 918 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); |
919 | } else { | 919 | } else { |
920 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); | 920 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); |
921 | } | 921 | } |
922 | } | 922 | } |
923 | 923 | ||
924 | $scope.employeekeyPress = function(market) { | 924 | $scope.employeekeyPress = function(market) { |
925 | if (market == undefined || market == '') { | 925 | if (market == undefined || market == '') { |
926 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); | 926 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); |
927 | } else { | 927 | } else { |
928 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); | 928 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); |
929 | } | 929 | } |
930 | } | 930 | } |
931 | 931 | ||
932 | $scope.annualkeyPress = function(risk) { | 932 | $scope.annualkeyPress = function(risk) { |
933 | if (risk == undefined || risk == '') { | 933 | if (risk == undefined || risk == '') { |
934 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); | 934 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); |
935 | } else { | 935 | } else { |
936 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); | 936 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); |
937 | } | 937 | } |
938 | } | 938 | } |
939 | 939 | ||
940 | $scope.revenuekeyPress = function(team) { | 940 | $scope.revenuekeyPress = function(team) { |
941 | if (team == undefined || team == '') { | 941 | if (team == undefined || team == '') { |
942 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); | 942 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); |
943 | } else { | 943 | } else { |
944 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); | 944 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); |
945 | } | 945 | } |
946 | } | 946 | } |
947 | 947 | ||
948 | $scope.descriptionkeyPress = function(pitch) { | 948 | $scope.descriptionkeyPress = function(pitch) { |
949 | if (pitch == undefined) { | 949 | if (pitch == undefined) { |
950 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); | 950 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); |
951 | } else { | 951 | } else { |
952 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); | 952 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); |
953 | } | 953 | } |
954 | } | 954 | } |
955 | 955 | ||
956 | $scope.discountkeyPress = function(discount) { | 956 | $scope.discountkeyPress = function(discount) { |
957 | console.log("lastName==", name); | 957 | console.log("lastName==", name); |
958 | if (discount == undefined) { | 958 | if (discount == undefined) { |
959 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); | 959 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); |
960 | } else { | 960 | } else { |
961 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); | 961 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); |
962 | } | 962 | } |
963 | } | 963 | } |
964 | 964 | ||
965 | $scope.removeNooError = function() { | 965 | $scope.removeNooError = function() { |
966 | $('#invalidIdea').css('display', 'block'); | 966 | $('#invalidIdea').css('display', 'block'); |
967 | $('#noExist').css('display', 'none'); | 967 | $('#noExist').css('display', 'none'); |
968 | }; | 968 | }; |
969 | 969 | ||
970 | $scope.ideakeyPress = function(financial) { | 970 | $scope.ideakeyPress = function(financial) { |
971 | console.log("financial", financial); | 971 | console.log("financial", financial); |
972 | if (financial == undefined) { | 972 | if (financial == undefined) { |
973 | $('#invalidIdea').css('display', 'block'); | 973 | $('#invalidIdea').css('display', 'block'); |
974 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); | 974 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); |
975 | } else { | 975 | } else { |
976 | $('#invalidIdea').css('display', 'none'); | 976 | $('#invalidIdea').css('display', 'none'); |
977 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); | 977 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); |
978 | } | 978 | } |
979 | } | 979 | } |
980 | 980 | ||
981 | $scope.fundkeyPress = function(financial) { | 981 | $scope.fundkeyPress = function(financial) { |
982 | console.log("financial", financial); | 982 | console.log("financial", financial); |
983 | if (financial == undefined) { | 983 | if (financial == undefined) { |
984 | $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); | 984 | $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); |
985 | } else { | 985 | } else { |
986 | $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)'); | 986 | $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)'); |
987 | } | 987 | } |
988 | } | 988 | } |
989 | 989 | ||
990 | $scope.changeReferalIconColor = function(referalToken){ | 990 | $scope.changeReferalIconColor = function(referalToken){ |
991 | if (referalToken == undefined || referalToken == '') { | 991 | if (referalToken == undefined || referalToken == '') { |
992 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); | 992 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); |
993 | }else { | 993 | }else { |
994 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); | 994 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); |
995 | } | 995 | } |
996 | } | 996 | } |
997 | 997 | ||
998 | }); | 998 | }); |
999 | 999 | ||
1000 | scotchApp.controller('verifyController', function($scope, $http, $location, $route, BASE_URL, Analytics) { | 1000 | scotchApp.controller('verifyController', function($scope, $http, $location, $route, BASE_URL, Analytics) { |
1001 | 1001 | ||
1002 | $scope.pendingPaymentId = $route.current.params.id | 1002 | $scope.pendingPaymentId = $route.current.params.id |
1003 | $http({ | 1003 | $http({ |
1004 | method: "GET", | 1004 | method: "GET", |
1005 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, | 1005 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, |
1006 | }).then(function mySuccess(response) { | 1006 | }).then(function mySuccess(response) { |
1007 | $scope.data = response.data; | 1007 | $scope.data = response.data; |
1008 | console.log("response-1", response); | 1008 | console.log("response-1", response); |
1009 | $scope.pendingPaymentId = $route.current.params.id; | 1009 | $scope.pendingPaymentId = $route.current.params.id; |
1010 | 1010 | ||
1011 | $http({ | 1011 | $http({ |
1012 | method: "GET", | 1012 | method: "GET", |
1013 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', | 1013 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', |
1014 | }).then(function mySuccess(response) { | 1014 | }).then(function mySuccess(response) { |
1015 | $scope.paymentRecord = response.data; | 1015 | $scope.paymentRecord = response.data; |
1016 | }, function myError(response) { | 1016 | }, function myError(response) { |
1017 | console.log("response-2", response); | 1017 | console.log("response-2", response); |
1018 | }); | 1018 | }); |
1019 | }, function myError(response) { | 1019 | }, function myError(response) { |
1020 | $scope.myWelcome = response.statusText; | 1020 | $scope.myWelcome = response.statusText; |
1021 | }); | 1021 | }); |
1022 | 1022 | ||
1023 | $scope.checkView = false; | 1023 | $scope.checkView = false; |
1024 | $scope.verifyView = false; | 1024 | $scope.verifyView = false; |
1025 | $scope.searchResult = {} | 1025 | $scope.searchResult = {} |
1026 | $scope.pendingPaymentId = ''; | 1026 | $scope.pendingPaymentId = ''; |
1027 | 1027 | ||
1028 | $scope.update = function() { | 1028 | $scope.update = function() { |
1029 | 1029 | ||
1030 | $http({ | 1030 | $http({ |
1031 | method: 'GET', | 1031 | method: 'GET', |
1032 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', | 1032 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', |
1033 | headers: {} | 1033 | headers: {} |
1034 | }).then(function mySuccess(searchResult) { | 1034 | }).then(function mySuccess(searchResult) { |
1035 | if (searchResult.data[0].status == "created") { | 1035 | if (searchResult.data[0].status == "created") { |
1036 | //if (searchResult.data[0].status == "cancelled") { | 1036 | //if (searchResult.data[0].status == "cancelled") { |
1037 | $scope.checkView = true; | 1037 | $scope.checkView = true; |
1038 | $scope.verifyView = false; | 1038 | $scope.verifyView = false; |
1039 | $scope.amount = searchResult.data[0].amount; | 1039 | $scope.amount = searchResult.data[0].amount; |
1040 | $scope.searchResult = searchResult.data[0]; | 1040 | $scope.searchResult = searchResult.data[0]; |
1041 | console.log('====searchResult===', searchResult); | 1041 | console.log('====searchResult===', searchResult); |
1042 | console.log("searchResult=====",searchResult.data[0].razorOrderId) | 1042 | console.log("searchResult=====",searchResult.data[0].razorOrderId) |
1043 | var i = 0; | 1043 | var i = 0; |
1044 | $scope.amount = $scope.amount * 100; | 1044 | $scope.amount = $scope.amount * 100; |
1045 | var options = { | 1045 | var options = { |
1046 | "key": "rzp_live_mhSE1uOBlXvFyJ", | 1046 | "key": "rzp_live_mhSE1uOBlXvFyJ", |
1047 | //"key" : "rzp_test_YwHsVFiDIQ2WUQ", | 1047 | //"key" : "rzp_test_YwHsVFiDIQ2WUQ", |
1048 | "amount": $scope.amount, | 1048 | "amount": $scope.amount, |
1049 | 1049 | ||
1050 | "name": "Startup Jalsa", | 1050 | "name": "Startup Jalsa", |
1051 | "description": "amount", | 1051 | "description": "amount", |
1052 | "currency": "INR", | 1052 | "currency": "INR", |
1053 | "status": "done", | 1053 | "status": "done", |
1054 | 1054 | ||
1055 | "theme": { | 1055 | "theme": { |
1056 | "color": "#2196f3 ", | 1056 | "color": "#2196f3 ", |
1057 | "image_padding": "NO" | 1057 | "image_padding": "NO" |
1058 | }, | 1058 | }, |
1059 | "modal": { | 1059 | "modal": { |
1060 | "ondismiss": function() {} | 1060 | "ondismiss": function() {} |
1061 | }, | 1061 | }, |
1062 | "handler": function(response) { | 1062 | "handler": function(response) { |
1063 | createPayment(response); | 1063 | createPayment(response); |
1064 | } | 1064 | } |
1065 | }; | 1065 | }; |
1066 | var rzp1 = new Razorpay(options); | 1066 | var rzp1 = new Razorpay(options); |
1067 | rzp1.open(); | 1067 | rzp1.open(); |
1068 | $scope.paymentResponse = {}; | 1068 | $scope.paymentResponse = {}; |
1069 | function createPayment(response) { | 1069 | function createPayment(response) { |
1070 | console.log("response======retepaymen",response); | 1070 | console.log("response======retepaymen",response); |
1071 | $scope.amount = $scope.amount/100; | 1071 | $scope.amount = $scope.amount/100; |
1072 | 1072 | ||
1073 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 1073 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
1074 | $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; | 1074 | $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; |
1075 | $scope.paymentResponse.amount = $scope.amount; | 1075 | $scope.paymentResponse.amount = $scope.amount; |
1076 | $scope.paymentResponse.currency = $scope.searchResult.currency; | 1076 | $scope.paymentResponse.currency = $scope.searchResult.currency; |
1077 | $scope.paymentResponse.status = $scope.searchResult.status; | 1077 | $scope.paymentResponse.status = $scope.searchResult.status; |
1078 | $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; | 1078 | $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; |
1079 | console.log("$scope.paymentResponse", $scope.paymentResponse) | 1079 | console.log("$scope.paymentResponse", $scope.paymentResponse) |
1080 | $http({ | 1080 | $http({ |
1081 | method: 'PUT', | 1081 | method: 'PUT', |
1082 | url: BASE_URL + '/payments/' + $scope.searchResult.id, | 1082 | url: BASE_URL + '/payments/' + $scope.searchResult.id, |
1083 | data: $scope.paymentResponse, | 1083 | data: $scope.paymentResponse, |
1084 | headers: {} | 1084 | headers: {} |
1085 | }).then(function mySuccess(searchResult) { | 1085 | }).then(function mySuccess(searchResult) { |
1086 | console.log("searchResult--->",searchResult) | 1086 | console.log("searchResult--->",searchResult) |
1087 | // if(paymentResult.data.status == "created"){ | 1087 | // if(paymentResult.data.status == "created"){ |
1088 | // Analytics.trackEvent('payments', 'click', 'Thankyou'); | 1088 | // Analytics.trackEvent('payments', 'click', 'Thankyou'); |
1089 | // } | 1089 | // } |
1090 | console.log("finalsearchResult",searchResult) | 1090 | console.log("finalsearchResult",searchResult) |
1091 | $location.path("/confirmation") | 1091 | $location.path("/confirmation") |
1092 | Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); | 1092 | Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); |
1093 | }, function myError(error) { | 1093 | }, function myError(error) { |
1094 | 1094 | ||
1095 | }); | 1095 | }); |
1096 | } | 1096 | } |
1097 | } else { | 1097 | } else { |
1098 | 1098 | ||
1099 | } | 1099 | } |
1100 | 1100 | ||
1101 | }, function myError(error) {}); | 1101 | }, function myError(error) {}); |
1102 | } | 1102 | } |
1103 | }); | 1103 | }); |
1104 | 1104 | ||
1105 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { | 1105 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { |
1106 | $scope.data = {}; | 1106 | $scope.data = {}; |
1107 | $scope.check = false; | 1107 | $scope.check = false; |
1108 | $scope.numberCheck = false; | 1108 | $scope.numberCheck = false; |
1109 | 1109 | ||
1110 | /*open videos in modal*/ | 1110 | /*open videos in modal*/ |
1111 | $scope.openyoutube16 = function(){ | 1111 | $scope.openyoutube16 = function(){ |
1112 | $('#videoModel').modal('show'); | 1112 | $('#videoModel').modal('show'); |
1113 | } | 1113 | } |
1114 | 1114 | ||
1115 | $scope.openyoutube17 = function(){ | 1115 | $scope.openyoutube17 = function(){ |
1116 | $('#videoModels').modal('show'); | 1116 | $('#videoModels').modal('show'); |
1117 | } | 1117 | } |
1118 | 1118 | ||
1119 | $scope.closeModal = function(){ | 1119 | $scope.closeModal = function(){ |
1120 | var url = $('#youtubePlayer').attr('src'); | 1120 | var url = $('#youtubePlayer').attr('src'); |
1121 | $('#youtubePlayer').attr('src', ''); | 1121 | $('#youtubePlayer').attr('src', ''); |
1122 | $('#youtubePlayer').attr('src', url); | 1122 | $('#youtubePlayer').attr('src', url); |
1123 | } | 1123 | } |
1124 | /*open videos ends here*/ | 1124 | /*open videos ends here*/ |
1125 | 1125 | ||
1126 | $scope.removeError = function() { | 1126 | $scope.removeError = function() { |
1127 | console.log("doooo") | 1127 | console.log("doooo") |
1128 | $('#invalidEmail').css('display', 'none'); | 1128 | $('#invalidEmail').css('display', 'none'); |
1129 | $('#alreadyExist').css('display', 'none'); | 1129 | $('#alreadyExist').css('display', 'none'); |
1130 | }; | 1130 | }; |
1131 | 1131 | ||
1132 | // $scope.emailcheck = function(val) { | 1132 | // $scope.emailcheck = function(val) { |
1133 | // consol.log("kdsbd") | 1133 | // consol.log("kdsbd") |
1134 | // $scope.space = /\s/g.test(val); | 1134 | // $scope.space = /\s/g.test(val); |
1135 | // console.log("space",$scope.space) | 1135 | // console.log("space",$scope.space) |
1136 | // if (val == undefined) { | 1136 | // if (val == undefined) { |
1137 | // $('#invalidEmail').css('display', 'block'); | 1137 | // $('#invalidEmail').css('display', 'block'); |
1138 | // } else { | 1138 | // } else { |
1139 | // $http({ | 1139 | // $http({ |
1140 | // method: 'GET', | 1140 | // method: 'GET', |
1141 | // url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', | 1141 | // url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', |
1142 | // headers: {} | 1142 | // headers: {} |
1143 | // }).then(function mySuccess(searchResult) { | 1143 | // }).then(function mySuccess(searchResult) { |
1144 | // console.log("searchResult1===>", searchResult) | 1144 | // console.log("searchResult1===>", searchResult) |
1145 | // if (searchResult.data.length == 0) { | 1145 | // if (searchResult.data.length == 0) { |
1146 | // $scope.check = false; | 1146 | // $scope.check = false; |
1147 | // } else { | 1147 | // } else { |
1148 | // $scope.check = true; | 1148 | // $scope.check = true; |
1149 | // $('#alreadyExist').css('display', 'block'); | 1149 | // $('#alreadyExist').css('display', 'block'); |
1150 | // } | 1150 | // } |
1151 | // }, function myError(error) {}); | 1151 | // }, function myError(error) {}); |
1152 | // } | 1152 | // } |
1153 | // }; | 1153 | // }; |
1154 | 1154 | ||
1155 | // $scope.removeNoError = function() { | 1155 | // $scope.removeNoError = function() { |
1156 | // $('#invalidNumber').css('display', 'none'); | 1156 | // $('#invalidNumber').css('display', 'none'); |
1157 | // $('#noExist').css('display', 'none'); | 1157 | // $('#noExist').css('display', 'none'); |
1158 | // }; | 1158 | // }; |
1159 | 1159 | ||
1160 | // $scope.numbercheck = function(number) { | 1160 | // $scope.numbercheck = function(number) { |
1161 | // // if (val == undefined) { | 1161 | // // if (val == undefined) { |
1162 | // // $('#invalidNumber').css('display', 'block'); | 1162 | // // $('#invalidNumber').css('display', 'block'); |
1163 | // // } else { | 1163 | // // } else { |
1164 | // $http({ | 1164 | // $http({ |
1165 | // method: 'GET', | 1165 | // method: 'GET', |
1166 | // url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', | 1166 | // url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', |
1167 | // data: $scope.data, | 1167 | // data: $scope.data, |
1168 | // headers: {} | 1168 | // headers: {} |
1169 | // }).then(function mySuccess(searchResult) { | 1169 | // }).then(function mySuccess(searchResult) { |
1170 | // console.log("searchResult===>", searchResult) | 1170 | // console.log("searchResult===>", searchResult) |
1171 | // if (searchResult.data.length == 0) { | 1171 | // if (searchResult.data.length == 0) { |
1172 | // $scope.numberCheck = false; | 1172 | // $scope.numberCheck = false; |
1173 | // } else { | 1173 | // } else { |
1174 | // $scope.numberCheck = true; | 1174 | // $scope.numberCheck = true; |
1175 | // $('#noExist').css('display', 'block'); | 1175 | // $('#noExist').css('display', 'block'); |
1176 | // } | 1176 | // } |
1177 | // }, function myError(error) {}); | 1177 | // }, function myError(error) {}); |
1178 | // //} | 1178 | // //} |
1179 | 1179 | ||
1180 | // }; | 1180 | // }; |
1181 | 1181 | ||
1182 | $scope.submit = function() { | 1182 | $scope.submit = function() { |
1183 | console.log($scope.data.name) | 1183 | console.log($scope.data.name) |
1184 | var randomNumber = ""+Math.random(); | 1184 | var randomNumber = ""+Math.random(); |
1185 | var nameSpliced = $scope.data.name.slice(0,3); | 1185 | var nameSpliced = $scope.data.name.slice(0,3); |
1186 | var numberSpliced = randomNumber.slice(2,5); | 1186 | var numberSpliced = randomNumber.slice(2,5); |
1187 | $scope.data.referalToken = nameSpliced+numberSpliced; | 1187 | $scope.data.referalToken = nameSpliced+numberSpliced; |
1188 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); | 1188 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); |
1189 | 1189 | ||
1190 | $http({ | 1190 | $http({ |
1191 | method: 'POST', | 1191 | method: 'POST', |
1192 | url: BASE_URL + '/ambassadors', | 1192 | url: BASE_URL + '/ambassadors', |
1193 | data: $scope.data, | 1193 | data: $scope.data, |
1194 | headers: {} | 1194 | headers: {} |
1195 | }).then(function mySuccess(result) { | 1195 | }).then(function mySuccess(result) { |
1196 | console.log("result", result) | 1196 | console.log("result", result) |
1197 | $scope.detail = result; | 1197 | $scope.detail = result; |
1198 | $('#myModal').modal('show'); | 1198 | $('#myModal').modal('show'); |
1199 | $scope.data.name = ''; | 1199 | $scope.data.name = ''; |
1200 | $scope.data.email = ''; | 1200 | $scope.data.email = ''; |
1201 | $scope.data.mobile = ''; | 1201 | $scope.data.mobile = ''; |
1202 | // $scope.data.discount = ''; | 1202 | // $scope.data.discount = ''; |
1203 | 1203 | ||
1204 | }, function myError(error) { | 1204 | }, function myError(error) { |
1205 | console.log(error) | 1205 | console.log(error) |
1206 | console.log(error.data.error.message) | 1206 | console.log(error.data.error.message) |
1207 | }); | 1207 | }); |
1208 | console.log($scope.data) | 1208 | console.log($scope.data) |
1209 | } | 1209 | } |
1210 | }); | 1210 | }); |
1211 | 1211 | ||
1212 | 1212 | ||
1213 | 1213 | ||
1214 | 1214 |