Commit 21f07926217cac68e6f396b2f650c50ae9c54866
1 parent
6dcd0101f6
Exists in
master
and in
1 other branch
dfd
Showing
2 changed files
with
2 additions
and
2 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"> Post deadline expires in</span> : <span id="pune"></span></label> | 55 | <label class="card-sub-title"><span style="color:red"> Post deadline expires in</span> : <span id="pune"></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"> Early bird deadline</span> : <span id="mumbai"></span>*</label> | 77 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="mumbai"></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"> Early bird deadline</span> : <span id="ahmedabad"></span>*</label> | 99 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="ahmedabad"></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"> Early bird deadline</span> : <span id="jaipur"></span>*</label> | 126 | <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="jaipur"></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('maininvest')">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-4 no-padding"> | 274 | <div class="col-xs-4 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="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="true" checked="true" ng-click="stage('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">Idea</p> | 280 | <p align="center">Idea</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">Have an idea and need execution help?</span><br> | 287 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> |
288 | ⚬ Get feedback from mentors<br> | 288 | ⚬ Get feedback from mentors<br> |
289 | ⚬ Validate your idea. | 289 | ⚬ Validate your idea. |
290 | </p> | 290 | </p> |
291 | </div> | 291 | </div> |
292 | </div> | 292 | </div> |
293 | <div class="col-xs-4 no-padding-mobile"> | 293 | <div class="col-xs-4 no-padding-mobile"> |
294 | <div class="card stages-card margin-auto-mobile"> | 294 | <div class="card stages-card margin-auto-mobile"> |
295 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Product" id="Proof" ng-required="Product" ng-click="stage('Product')"> | 295 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Product" id="Proof" ng-required="Product" ng-click="stage('Product')"> |
296 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> | 296 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> |
297 | <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> | 297 | <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> |
298 | <div class="card-content f-family"> | 298 | <div class="card-content f-family"> |
299 | <p align="center">Product</p> | 299 | <p align="center">Product</p> |
300 | </div> | 300 | </div> |
301 | </label> | 301 | </label> |
302 | </div> | 302 | </div> |
303 | <div class="clearfix"></div> | 303 | <div class="clearfix"></div> |
304 | <div class="cards-content hidden-xs"> | 304 | <div class="cards-content hidden-xs"> |
305 | <p> | 305 | <p> |
306 | ⚬ <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> | 306 | ⚬ <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> |
307 | ⚬ Advice on fundraising<br> | 307 | ⚬ Advice on fundraising<br> |
308 | ⚬ Advice on go-to-market strategy | 308 | ⚬ Advice on go-to-market strategy |
309 | </p> | 309 | </p> |
310 | </div> | 310 | </div> |
311 | </div> | 311 | </div> |
312 | <div class="col-xs-4 no-padding"> | 312 | <div class="col-xs-4 no-padding"> |
313 | <div class="card stages-card right-stage-card"> | 313 | <div class="card stages-card right-stage-card"> |
314 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Growth" id="Beta" ng-required="Growth" ng-click="stage('Growth')"> | 314 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Growth" id="Beta" ng-required="Growth" ng-click="stage('Growth')"> |
315 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> | 315 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> |
316 | <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> | 316 | <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> |
317 | <div class="card-content f-family"> | 317 | <div class="card-content f-family"> |
318 | <p align="center">Growth</p> | 318 | <p align="center">Growth</p> |
319 | </div> | 319 | </div> |
320 | </label> | 320 | </label> |
321 | </div> | 321 | </div> |
322 | <div class="clearfix"></div> | 322 | <div class="clearfix"></div> |
323 | <div class="cards-content hidden-xs"> | 323 | <div class="cards-content hidden-xs"> |
324 | <p> | 324 | <p> |
325 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> | 325 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> |
326 | ⚬ Connect with Series A investors<br> | 326 | ⚬ Connect with Series A investors<br> |
327 | ⚬ Connect and hire top startups | 327 | ⚬ Connect and hire top startups |
328 | </p> | 328 | </p> |
329 | </div> | 329 | </div> |
330 | </div> | 330 | </div> |
331 | <!-- <div class="col-xs-3 no-padding"> | 331 | <!-- <div class="col-xs-3 no-padding"> |
332 | <div class="card stages-card"> | 332 | <div class="card stages-card"> |
333 | <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')"> | 333 | <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')"> |
334 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="visit"> | 334 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="visit"> |
335 | <img class="stage-img stage-visit" src="images/idea-stage.png" alt="Lights"> | 335 | <img class="stage-img stage-visit" src="images/idea-stage.png" alt="Lights"> |
336 | <div class="card-content f-family"> | 336 | <div class="card-content f-family"> |
337 | <p align="center">Visitor</p> | 337 | <p align="center">Visitor</p> |
338 | </div> | 338 | </div> |
339 | </label> | 339 | </label> |
340 | </div> | 340 | </div> |
341 | <div class="clearfix"></div> | 341 | <div class="clearfix"></div> |
342 | <div class="cards-content hidden-xs"> | 342 | <div class="cards-content hidden-xs"> |
343 | <p> | 343 | <p> |
344 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> | 344 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> |
345 | ⚬ Get feedback from mentors<br> | 345 | ⚬ Get feedback from mentors<br> |
346 | ⚬ Validate your idea. | 346 | ⚬ Validate your idea. |
347 | </p> | 347 | </p> |
348 | </div> | 348 | </div> |
349 | </div> --> | 349 | </div> --> |
350 | <div class="clearfix"></div> | 350 | <div class="clearfix"></div> |
351 | </div> | 351 | </div> |
352 | <div class="clearfix"></div> | 352 | <div class="clearfix"></div> |
353 | </div> | 353 | </div> |
354 | </div> | 354 | </div> |
355 | <div class="hidden-sm hidden-md hidden-lg"> | 355 | <div class="hidden-sm hidden-md hidden-lg"> |
356 | <div class="cards-content" ng-if="data.stage == 'Idea'"> | 356 | <div class="cards-content" ng-if="data.stage == 'Idea'"> |
357 | <p> | 357 | <p> |
358 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> | 358 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> |
359 | ⚬ Get feedback from mentors<br> | 359 | ⚬ Get feedback from mentors<br> |
360 | ⚬ Validate your idea. | 360 | ⚬ Validate your idea. |
361 | </p> | 361 | </p> |
362 | </div> | 362 | </div> |
363 | <div class="cards-content" ng-if="data.stage == 'Product'"> | 363 | <div class="cards-content" ng-if="data.stage == 'Product'"> |
364 | <p> | 364 | <p> |
365 | ⚬ <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> | 365 | ⚬ <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> |
366 | ⚬ Advice on fundraising<br> | 366 | ⚬ Advice on fundraising<br> |
367 | ⚬ Advice on go-to-market strategy | 367 | ⚬ Advice on go-to-market strategy |
368 | </p> | 368 | </p> |
369 | </div> | 369 | </div> |
370 | <div class="cards-content" ng-if="data.stage == 'Growth'"> | 370 | <div class="cards-content" ng-if="data.stage == 'Growth'"> |
371 | <p> | 371 | <p> |
372 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> | 372 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> |
373 | ⚬ Connect with Series A investors<br> | 373 | ⚬ Connect with Series A investors<br> |
374 | ⚬ Connect and hire top startups | 374 | ⚬ Connect and hire top startups |
375 | </p> | 375 | </p> |
376 | </div> | 376 | </div> |
377 | <!-- <div class="cards-content" ng-if="data.stage == 'Visitor'"> | 377 | <!-- <div class="cards-content" ng-if="data.stage == 'Visitor'"> |
378 | <p> | 378 | <p> |
379 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> | 379 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> |
380 | ⚬ Get feedback from mentors<br> | 380 | ⚬ Get feedback from mentors<br> |
381 | ⚬ Validate your idea. | 381 | ⚬ Validate your idea. |
382 | </p> | 382 | </p> |
383 | </div> --> | 383 | </div> --> |
384 | </div> | 384 | </div> |
385 | <!-- CLOSE STAGE SHADOW --> | 385 | <!-- CLOSE STAGE SHADOW --> |
386 | <div class="form-all"> | 386 | <div class="form-all"> |
387 | <div class="col-xs-12 col-md-12 input-wrapper"> | 387 | <div class="col-xs-12 col-md-12 input-wrapper"> |
388 | <div id="snackbar">Error ! Please fill in all fields.</div> | 388 | <div id="snackbar">Error ! Please fill in all fields.</div> |
389 | <div class="icon-circle-c"> | 389 | <div class="icon-circle-c"> |
390 | <i class="material-icons" style="line-height: 31px;">person</i> | 390 | <i class="material-icons" style="line-height: 31px;">person</i> |
391 | </div> | 391 | </div> |
392 | <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)"> | 392 | <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)"> |
393 | </div> | 393 | </div> |
394 | <!-- <div class="col-xs-12 col-md-6 input-wrapper"> | 394 | <!-- <div class="col-xs-12 col-md-6 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-x"> | 396 | <div class="icon-circle-x"> |
397 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> | 397 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> |
398 | </div> | 398 | </div> |
399 | <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)"> | 399 | <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)"> |
400 | </div> --> | 400 | </div> --> |
401 | <div class="col-xs-12 col-md-12 input-wrapper"> | 401 | <div class="col-xs-12 col-md-12 input-wrapper"> |
402 | <div id="snackbar">Error ! Please fill in all fields.</div> | 402 | <div id="snackbar">Error ! Please fill in all fields.</div> |
403 | <div class="icon-circle-d"> | 403 | <div class="icon-circle-d"> |
404 | <i class="material-icons" style="line-height: 30px;">email</i> | 404 | <i class="material-icons" style="line-height: 30px;">email</i> |
405 | </div> | 405 | </div> |
406 | <input type="email" name="email" 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)"> | 406 | <input type="email" name="email" 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)"> |
407 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> | 407 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> |
408 | <label ng-if="check">Email already exist</label> | 408 | <label ng-if="check">Email already exist</label> |
409 | <label style="color: #ff0000;margin: 5px 4px -5px 0px" ng-if="space == true" >Please remove the space.</label> | 409 | <label style="color: #ff0000;margin: 5px 4px -5px 0px" ng-if="space == true" >Please remove the space.</label> |
410 | 410 | ||
411 | </div> | 411 | </div> |
412 | <!-- <div class="col-xs-12 col-md-6 input-wrapper f-family"> | 412 | <!-- <div class="col-xs-12 col-md-6 input-wrapper f-family"> |
413 | <div class="icon-circle-f"> | 413 | <div class="icon-circle-f"> |
414 | <i class="material-icons" style="line-height: 30px;">location_city</i> | 414 | <i class="material-icons" style="line-height: 30px;">location_city</i> |
415 | </div> | 415 | </div> |
416 | <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;"> | 416 | <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;"> |
417 | <option name="city" selected disabled value="">Choose City *</option> | 417 | <option name="city" selected disabled value="">Choose City *</option> |
418 | <option value="Agra">Agra</option> | 418 | <option value="Agra">Agra</option> |
419 | <option value="Ahmedabad">Ahmedabad</option> | 419 | <option value="Ahmedabad">Ahmedabad</option> |
420 | <option value="Ajmer">Ajmer</option> | 420 | <option value="Ajmer">Ajmer</option> |
421 | <option value="Aligarh">Aligarh</option> | 421 | <option value="Aligarh">Aligarh</option> |
422 | <option value="Allahabad">Allahabad</option> | 422 | <option value="Allahabad">Allahabad</option> |
423 | <option value="Ambattur">Ambattur</option> | 423 | <option value="Ambattur">Ambattur</option> |
424 | <option value="Amravati">Amravati</option> | 424 | <option value="Amravati">Amravati</option> |
425 | <option value="Amritsar">Amritsar</option> | 425 | <option value="Amritsar">Amritsar</option> |
426 | <option value="Asansol">Asansol</option> | 426 | <option value="Asansol">Asansol</option> |
427 | <option value="Aurangabad">Aurangabad</option> | 427 | <option value="Aurangabad">Aurangabad</option> |
428 | <option value="Bareilly">Bareilly</option> | 428 | <option value="Bareilly">Bareilly</option> |
429 | <option value="Belgaum">Belgaum</option> | 429 | <option value="Belgaum">Belgaum</option> |
430 | <option value="Bengaluru">Bengaluru</option> | 430 | <option value="Bengaluru">Bengaluru</option> |
431 | <option value="Bhavnagar">Bhavnagar</option> | 431 | <option value="Bhavnagar">Bhavnagar</option> |
432 | <option value="Bhayander">Bhayander</option> | 432 | <option value="Bhayander">Bhayander</option> |
433 | <option value="Bhilai Nagar">Bhilai Nagar</option> | 433 | <option value="Bhilai Nagar">Bhilai Nagar</option> |
434 | <option value="Bhiwandi">Bhiwandi</option> | 434 | <option value="Bhiwandi">Bhiwandi</option> |
435 | <option value="Bhopal">Bhopal</option> | 435 | <option value="Bhopal">Bhopal</option> |
436 | <option value="Bhubaneswar">Bhubaneswar</option> | 436 | <option value="Bhubaneswar">Bhubaneswar</option> |
437 | <option value="Bikaner">Bikaner</option> | 437 | <option value="Bikaner">Bikaner</option> |
438 | <option value="Chandigarh">Chandigarh</option> | 438 | <option value="Chandigarh">Chandigarh</option> |
439 | <option value="Chennai">Chennai</option> | 439 | <option value="Chennai">Chennai</option> |
440 | <option value="Chinchwad">Chinchwad</option> | 440 | <option value="Chinchwad">Chinchwad</option> |
441 | <option value="Coimbatore">Coimbatore</option> | 441 | <option value="Coimbatore">Coimbatore</option> |
442 | <option value="Cuttack">Cuttack</option> | 442 | <option value="Cuttack">Cuttack</option> |
443 | <option value="Dehradun">Dehradun</option> | 443 | <option value="Dehradun">Dehradun</option> |
444 | <option value="Delhi-NCR">Delhi-NCR</option> | 444 | <option value="Delhi-NCR">Delhi-NCR</option> |
445 | <option value="Dhanbad">Dhanbad</option> | 445 | <option value="Dhanbad">Dhanbad</option> |
446 | <option value="Dharwad">Dharwad</option> | 446 | <option value="Dharwad">Dharwad</option> |
447 | <option value="Dombivali">Dombivali</option> | 447 | <option value="Dombivali">Dombivali</option> |
448 | <option value="Durgapur">Durgapur</option> | 448 | <option value="Durgapur">Durgapur</option> |
449 | <option value="Faridabad">Faridabad</option> | 449 | <option value="Faridabad">Faridabad</option> |
450 | <option value="Firozabad">Firozabad</option> | 450 | <option value="Firozabad">Firozabad</option> |
451 | <option value="Gaya">Gaya</option> | 451 | <option value="Gaya">Gaya</option> |
452 | <option value="Ghaziabad">Ghaziabad</option> | 452 | <option value="Ghaziabad">Ghaziabad</option> |
453 | <option value="Gorakhpur">Gorakhpur</option> | 453 | <option value="Gorakhpur">Gorakhpur</option> |
454 | <option value="Gulbarga">Gulbarga</option> | 454 | <option value="Gulbarga">Gulbarga</option> |
455 | <option value="Guntur">Guntur</option> | 455 | <option value="Guntur">Guntur</option> |
456 | <option value="Gurgaon">Gurgaon</option> | 456 | <option value="Gurgaon">Gurgaon</option> |
457 | <option value="Guwahati">Guwahati</option> | 457 | <option value="Guwahati">Guwahati</option> |
458 | <option value="Gwalior">Gwalior</option> | 458 | <option value="Gwalior">Gwalior</option> |
459 | <option value="Haora">Haora</option> | 459 | <option value="Haora">Haora</option> |
460 | <option value="Hubli">Hubli</option> | 460 | <option value="Hubli">Hubli</option> |
461 | <option value="Hyderabad">Hyderabad</option> | 461 | <option value="Hyderabad">Hyderabad</option> |
462 | <option value="Indore">Indore</option> | 462 | <option value="Indore">Indore</option> |
463 | <option value="Jabalpur">Jabalpur</option> | 463 | <option value="Jabalpur">Jabalpur</option> |
464 | <option value="Jaipur">Jaipur</option> | 464 | <option value="Jaipur">Jaipur</option> |
465 | <option value="Jalandhar">Jalandhar</option> | 465 | <option value="Jalandhar">Jalandhar</option> |
466 | <option value="Jalgaon">Jalgaon</option> | 466 | <option value="Jalgaon">Jalgaon</option> |
467 | <option value="Jammu">Jammu</option> | 467 | <option value="Jammu">Jammu</option> |
468 | <option value="Jamnagar">Jamnagar</option> | 468 | <option value="Jamnagar">Jamnagar</option> |
469 | <option value="Jamshedpur">Jamshedpur</option> | 469 | <option value="Jamshedpur">Jamshedpur</option> |
470 | <option value="Jhansi">Jhansi</option> | 470 | <option value="Jhansi">Jhansi</option> |
471 | <option value="Jodhpur">Jodhpur</option> | 471 | <option value="Jodhpur">Jodhpur</option> |
472 | <option value="Kalyan">Kalyan</option> | 472 | <option value="Kalyan">Kalyan</option> |
473 | <option value="Kanpur">Kanpur</option> | 473 | <option value="Kanpur">Kanpur</option> |
474 | <option value="Kochi">Kochi</option> | 474 | <option value="Kochi">Kochi</option> |
475 | <option value="Kolapur">Kolapur</option> | 475 | <option value="Kolapur">Kolapur</option> |
476 | <option value="Kolkata">Kolkata</option> | 476 | <option value="Kolkata">Kolkata</option> |
477 | <option value="Kota">Kota</option> | 477 | <option value="Kota">Kota</option> |
478 | <option value="Loni">Loni</option> | 478 | <option value="Loni">Loni</option> |
479 | <option value="Lucknow">Lucknow</option> | 479 | <option value="Lucknow">Lucknow</option> |
480 | <option value="Ludhiana">Ludhiana</option> | 480 | <option value="Ludhiana">Ludhiana</option> |
481 | <option value="Madurai">Madurai</option> | 481 | <option value="Madurai">Madurai</option> |
482 | <option value="Maheshtala">Maheshtala</option> | 482 | <option value="Maheshtala">Maheshtala</option> |
483 | <option value="Malegoan">Malegoan</option> | 483 | <option value="Malegoan">Malegoan</option> |
484 | <option value="Mangalore">Mangalore</option> | 484 | <option value="Mangalore">Mangalore</option> |
485 | <option value="Meerut">Meerut</option> | 485 | <option value="Meerut">Meerut</option> |
486 | <option value="Mira">Mira</option> | 486 | <option value="Mira">Mira</option> |
487 | <option value="Moradabad">Moradabad</option> | 487 | <option value="Moradabad">Moradabad</option> |
488 | <option value="Mumbai">Mumbai</option> | 488 | <option value="Mumbai">Mumbai</option> |
489 | <option value="Mysore">Mysore</option> | 489 | <option value="Mysore">Mysore</option> |
490 | <option value="Nagpur">Nagpur</option> | 490 | <option value="Nagpur">Nagpur</option> |
491 | <option value="Nanded Waghala">Nanded Waghala</option> | 491 | <option value="Nanded Waghala">Nanded Waghala</option> |
492 | <option value="Nashik">Nashik</option> | 492 | <option value="Nashik">Nashik</option> |
493 | <option value="Navi Mumbai">Navi Mumbai</option> | 493 | <option value="Navi Mumbai">Navi Mumbai</option> |
494 | <option value="Nellore">Nellore</option> | 494 | <option value="Nellore">Nellore</option> |
495 | <option value="Noida">Noida</option> | 495 | <option value="Noida">Noida</option> |
496 | <option value="Patna">Patna</option> | 496 | <option value="Patna">Patna</option> |
497 | <option value="Pimpri">Pimpri</option> | 497 | <option value="Pimpri">Pimpri</option> |
498 | <option value="Pune">Pune</option> | 498 | <option value="Pune">Pune</option> |
499 | <option value="Raipur">Raipur</option> | 499 | <option value="Raipur">Raipur</option> |
500 | <option value="Rajkot">Rajkot</option> | 500 | <option value="Rajkot">Rajkot</option> |
501 | <option value="Ranchi">Ranchi</option> | 501 | <option value="Ranchi">Ranchi</option> |
502 | <option value="Saharanpur">Saharanpur</option> | 502 | <option value="Saharanpur">Saharanpur</option> |
503 | <option value="Salem">Salem</option> | 503 | <option value="Salem">Salem</option> |
504 | <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> | 504 | <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> |
505 | <option value="Siliguri">Siliguri</option> | 505 | <option value="Siliguri">Siliguri</option> |
506 | <option value="Solapur">Solapur</option> | 506 | <option value="Solapur">Solapur</option> |
507 | <option value="Srinagar">Srinagar</option> | 507 | <option value="Srinagar">Srinagar</option> |
508 | <option value="Surat">Surat</option> | 508 | <option value="Surat">Surat</option> |
509 | <option value="Thane">Thane</option> | 509 | <option value="Thane">Thane</option> |
510 | <option value="Thiruvananthapuram">Thiruvananthapuram</option> | 510 | <option value="Thiruvananthapuram">Thiruvananthapuram</option> |
511 | <option value="Tiruchirappalli">Tiruchirappalli</option> | 511 | <option value="Tiruchirappalli">Tiruchirappalli</option> |
512 | <option value="Tirunelveli">Tirunelveli</option> | 512 | <option value="Tirunelveli">Tirunelveli</option> |
513 | <option value="Udaipur">Udaipur</option> | 513 | <option value="Udaipur">Udaipur</option> |
514 | <option value="Ujjain">Ujjain</option> | 514 | <option value="Ujjain">Ujjain</option> |
515 | <option value="Ulhasnagar">Ulhasnagar</option> | 515 | <option value="Ulhasnagar">Ulhasnagar</option> |
516 | <option value="Vadodara">Vadodara</option> | 516 | <option value="Vadodara">Vadodara</option> |
517 | <option value="Varanasi">Varanasi</option> | 517 | <option value="Varanasi">Varanasi</option> |
518 | <option value="Vasai Virar">Vasai Virar</option> | 518 | <option value="Vasai Virar">Vasai Virar</option> |
519 | <option value="Vijayawada">Vijayawada</option> | 519 | <option value="Vijayawada">Vijayawada</option> |
520 | <option value="Visakhapatnam">Visakhapatnam</option> | 520 | <option value="Visakhapatnam">Visakhapatnam</option> |
521 | <option value="Warangal">Warangal</option> | 521 | <option value="Warangal">Warangal</option> |
522 | <option value="anyOther">Any other</option> | 522 | <option value="anyOther">Any other</option> |
523 | </select> | 523 | </select> |
524 | </div> --> | 524 | </div> --> |
525 | <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> | 525 | <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> |
526 | <strong>Which city meet-up would you like to attend? </strong> | 526 | <strong>Which city meet-up would you like to attend? </strong> |
527 | <p class="line-space" ></p> | 527 | <p class="line-space" ></p> |
528 | </div> | 528 | </div> |
529 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 529 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
530 | <div class="icon-circle-p"> | 530 | <div class="icon-circle-p"> |
531 | <i class="material-icons" style="line-height: 30px;">location_city</i> | 531 | <i class="material-icons" style="line-height: 30px;">location_city</i> |
532 | </div> | 532 | </div> |
533 | <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;"> | 533 | <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;"> |
534 | <option selected disabled value="">City meet-up *</option> | 534 | <option selected disabled value="">City meet-up *</option> |
535 | <option value="Chennai">November 9: Chennai</option> | 535 | <option value="Chennai">November 9: Chennai</option> |
536 | <option value="Pune">November 11: Pune</option> | 536 | <option value="Pune">November 11: Pune</option> |
537 | <option value="Ahmedabad">November 13: Ahmedabad</option> | 537 | <option value="Ahmedabad">November 13: Ahmedabad</option> |
538 | <option value="Mumbai">November 17: Mumbai</option> | 538 | <option value="Mumbai">November 17: Mumbai</option> |
539 | <option value="Bengaluru">November 23: Bengaluru</option> | 539 | <option value="Bengaluru">November 23: Bengaluru</option> |
540 | <option value="Delhi">November 25: Delhi</option> | 540 | <option value="Delhi">November 25: Delhi</option> |
541 | <option value="Hyderabad">November 27: Hyderabad</option> | 541 | <option value="Hyderabad">November 27: Hyderabad</option> |
542 | <option value="Chandigarh">December 1: Chandigarh</option> | 542 | <option value="Chandigarh">December 1: Chandigarh</option> |
543 | </select> | 543 | </select> |
544 | </div> --> | 544 | </div> --> |
545 | <div class="col-xs-12 col-md-12 input-wrapper"> | 545 | <div class="col-xs-12 col-md-12 input-wrapper"> |
546 | <div id="snackbar">Error ! Please fill in all fields.</div> | 546 | <div id="snackbar">Error ! Please fill in all fields.</div> |
547 | <div class="icon-circle-e"> | 547 | <div class="icon-circle-e"> |
548 | <i class="material-icons" style="line-height: 30px;">phone</i> | 548 | <i class="material-icons" style="line-height: 30px;">phone</i> |
549 | </div> | 549 | </div> |
550 | <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-blur="numbercheck(data.number)" ng-model="data.number" placeholder="Mobile No.*" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> | 550 | <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-blur="numbercheck(data.number)" ng-model="data.number" placeholder="Mobile No.*" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> |
551 | <label ng-if="numberCheck">Contact Number already exist.</label> | 551 | <label ng-if="numberCheck">Contact Number already exist.</label> |
552 | </div> | 552 | </div> |
553 | <div class="col-xs-12 col-md-12 input-wrapper"> | 553 | <div class="col-xs-12 col-md-12 input-wrapper"> |
554 | <div id="snackbar">Error ! Please fill in all fields.</div> | 554 | <div id="snackbar">Error ! Please fill in all fields.</div> |
555 | <div class="icon-circle-x"> | 555 | <div class="icon-circle-x"> |
556 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> | 556 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> |
557 | </div> | 557 | </div> |
558 | <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)"> | 558 | <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)"> |
559 | </div> | 559 | </div> |
560 | <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> | 560 | <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> |
561 | <div id="snackbar">Error ! Please fill in all fields.</div> | 561 | <div id="snackbar">Error ! Please fill in all fields.</div> |
562 | <div class="icon-circle-h"> | 562 | <div class="icon-circle-h"> |
563 | <i class="material-icons" style="line-height: 31px;">link</i> | 563 | <i class="material-icons" style="line-height: 31px;">link</i> |
564 | </div> | 564 | </div> |
565 | <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)"> | 565 | <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)"> |
566 | <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> | 566 | <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> |
567 | </div> --> | 567 | </div> --> |
568 | <!-- <div class="hideform" ng-if="visitType"> --> | 568 | <!-- <div class="hideform" ng-if="visitType"> --> |
569 | <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> | 569 | <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> |
570 | <strong>Explain your idea/product briefly</strong> | 570 | <strong>Explain your idea/product briefly</strong> |
571 | <p class="line-space" ></p> | 571 | <p class="line-space" ></p> |
572 | </div> | 572 | </div> |
573 | <div class="col-xs-12 col-md-12 input-wrapper"> | 573 | <div class="col-xs-12 col-md-12 input-wrapper"> |
574 | <div id="snackbar">Error ! Please fill in all fields.</div> | 574 | <div id="snackbar">Error ! Please fill in all fields.</div> |
575 | <div class="icon-circle-q"> | 575 | <div class="icon-circle-q"> |
576 | <i class="material-icons" style="line-height: 31px;">thumb_up</i> | 576 | <i class="material-icons" style="line-height: 31px;">thumb_up</i> |
577 | </div> | 577 | </div> |
578 | <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)"> | 578 | <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)"> |
579 | </textarea> | 579 | </textarea> |
580 | <label class="error-message f-family" id="invalidIdea">Please answer using 300 words only.</label> | 580 | <label class="error-message f-family" id="invalidIdea">Please answer using 300 words only.</label> |
581 | </div> | 581 | </div> |
582 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 582 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
583 | <div class="icon-circle-abcdefg"> | 583 | <div class="icon-circle-abcdefg"> |
584 | <i class="material-icons" style="line-height: 30px;">open_with</i> | 584 | <i class="material-icons" style="line-height: 30px;">open_with</i> |
585 | </div> | 585 | </div> |
586 | <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"> | 586 | <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"> |
587 | <option selected disabled value="">Choose Industry *</option> | 587 | <option selected disabled value="">Choose Industry *</option> |
588 | <option value="Travel">Travel</option> | 588 | <option value="Travel">Travel</option> |
589 | <option value="Retail">Retail</option> | 589 | <option value="Retail">Retail</option> |
590 | <option value="Editech">Editech</option> | 590 | <option value="Editech">Editech</option> |
591 | <option value="Fintech">Fintech</option> | 591 | <option value="Fintech">Fintech</option> |
592 | <option value="Hardware">Hardware</option> | 592 | <option value="Hardware">Hardware</option> |
593 | <option value="Digital">Digital</option> | 593 | <option value="Digital">Digital</option> |
594 | <option value="Rural">Rural</option> | 594 | <option value="Rural">Rural</option> |
595 | <option value="others">Others</option> | 595 | <option value="others">Others</option> |
596 | </select> | 596 | </select> |
597 | </div> | 597 | </div> |
598 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="addOther"> | 598 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="addOther"> |
599 | <div id="snackbar">Error ! Please fill in all fields.</div> | 599 | <div id="snackbar">Error ! Please fill in all fields.</div> |
600 | <div class="icon-circle-o"> | 600 | <div class="icon-circle-o"> |
601 | <i class="material-icons" style="line-height: 31px;">open_with</i> | 601 | <i class="material-icons" style="line-height: 31px;">open_with</i> |
602 | </div> | 602 | </div> |
603 | <input type="text" class="text-input" ng-change="industry(data.industryName); industryNamekeyPress((data.industryName))" ng-model="data.industryName" placeholder="Please mention other industry name"> | 603 | <input type="text" class="text-input" ng-change="industry(data.industryName); industryNamekeyPress((data.industryName))" ng-model="data.industryName" placeholder="Please mention other industry name"> |
604 | </div> --> | 604 | </div> --> |
605 | <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> | 605 | <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> |
606 | <div id="snackbar">Error ! Please fill in all fields.</div> | 606 | <div id="snackbar">Error ! Please fill in all fields.</div> |
607 | <div class="icon-circle-i"> | 607 | <div class="icon-circle-i"> |
608 | <i class="material-icons" style="line-height: 31px;">business</i> | 608 | <i class="material-icons" style="line-height: 31px;">business</i> |
609 | </div> | 609 | </div> |
610 | <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)"> | 610 | <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)"> |
611 | <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> | 611 | <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> |
612 | </div> | 612 | </div> |
613 | <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> | 613 | <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> |
614 | <div id="snackbar">Error ! Please fill in all fields.</div> | 614 | <div id="snackbar">Error ! Please fill in all fields.</div> |
615 | <div class="icon-circle-j"> | 615 | <div class="icon-circle-j"> |
616 | <i class="material-icons" style="line-height: 31px;">view_comfy</i> | 616 | <i class="material-icons" style="line-height: 31px;">view_comfy</i> |
617 | </div> | 617 | </div> |
618 | <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)"> | 618 | <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)"> |
619 | <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> | 619 | <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> |
620 | </div> | 620 | </div> |
621 | <div class="hideform" ng-if="prototyp"> | 621 | <div class="hideform" ng-if="prototyp"> |
622 | <div class="hideform" ng-if="protyp"> | 622 | <div class="hideform" ng-if="protyp"> |
623 | <div class="col-xs-12 col-md-12 f-family line-adjust"> | 623 | <div class="col-xs-12 col-md-12 f-family line-adjust"> |
624 | <strong>Product Launched? </strong> | 624 | <strong>Product Launched? </strong> |
625 | <p class="line-space" ></p> | 625 | <p class="line-space" ></p> |
626 | </div> | 626 | </div> |
627 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 627 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
628 | <div class="icon-circle-ab"> | 628 | <div class="icon-circle-ab"> |
629 | <i class="material-icons" style="line-height: 30px;">launch</i> | 629 | <i class="material-icons" style="line-height: 30px;">launch</i> |
630 | </div> | 630 | </div> |
631 | <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"> | 631 | <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"> |
632 | <option selected disabled value="">Select *</option> | 632 | <option selected disabled value="">Select *</option> |
633 | <option value="yes">Yes</option> | 633 | <option value="yes">Yes</option> |
634 | <option value="no">No</option> | 634 | <option value="no">No</option> |
635 | </select> | 635 | </select> |
636 | </div> | 636 | </div> |
637 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="Productshow == 'yes'"> | 637 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="Productshow == 'yes'"> |
638 | <strong>Product Launch Period </strong> | 638 | <strong>Product Launch Period </strong> |
639 | <p class="line-space" ></p> | 639 | <p class="line-space" ></p> |
640 | </div> | 640 | </div> |
641 | <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="Productshow == 'yes'"> | 641 | <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="Productshow == 'yes'"> |
642 | <div class="icon-circle-abc"> | 642 | <div class="icon-circle-abc"> |
643 | <i class="material-icons" style="line-height: 30px;">launch</i> | 643 | <i class="material-icons" style="line-height: 30px;">launch</i> |
644 | </div> | 644 | </div> |
645 | <select name="launchPeriod" ng-model="data.launchPeriod" ng-change="launchPeriod(data.launchPeriod); launchPeriodkeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> | 645 | <select name="launchPeriod" ng-model="data.launchPeriod" ng-change="launchPeriod(data.launchPeriod); launchPeriodkeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> |
646 | <option selected disabled value="">Select</option> | 646 | <option selected disabled value="">Select</option> |
647 | <option value="less than 1 Month">less than one month</option> | 647 | <option value="less than 1 Month">less than one month</option> |
648 | <option value="less than 6 Months">less than 6 months</option> | 648 | <option value="less than 6 Months">less than 6 months</option> |
649 | <option value="more than 6 Months">more than 6 months</option> | 649 | <option value="more than 6 Months">more than 6 months</option> |
650 | </select> | 650 | </select> |
651 | </div> | 651 | </div> |
652 | </div> | 652 | </div> |
653 | <div class="col-xs-12 col-md-6 input-wrapper"> | 653 | <div class="col-xs-12 col-md-6 input-wrapper"> |
654 | <div id="snackbar">Error ! Please fill in all fields.</div> | 654 | <div id="snackbar">Error ! Please fill in all fields.</div> |
655 | <div class="icon-circle-k"> | 655 | <div class="icon-circle-k"> |
656 | <i class="material-icons" style="line-height: 31px;">web</i> | 656 | <i class="material-icons" style="line-height: 31px;">web</i> |
657 | </div> | 657 | </div> |
658 | <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)"> | 658 | <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)"> |
659 | </div> | 659 | </div> |
660 | <div class="col-xs-12 col-md-6 input-wrapper"> | 660 | <div class="col-xs-12 col-md-6 input-wrapper"> |
661 | <div id="snackbar">Error ! Please fill in all fields.</div> | 661 | <div id="snackbar">Error ! Please fill in all fields.</div> |
662 | <div class="icon-circle-m"> | 662 | <div class="icon-circle-m"> |
663 | <i class="material-icons" style="line-height: 31px;">link</i> | 663 | <i class="material-icons" style="line-height: 31px;">link</i> |
664 | </div> | 664 | </div> |
665 | <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)"> | 665 | <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)"> |
666 | </div> | 666 | </div> |
667 | <div class="col-xs-12 col-md-6 input-wrapper"> | 667 | <div class="col-xs-12 col-md-6 input-wrapper"> |
668 | <div id="snackbar">Error ! Please fill in all fields.</div> | 668 | <div id="snackbar">Error ! Please fill in all fields.</div> |
669 | <div class="icon-circle-l"> | 669 | <div class="icon-circle-l"> |
670 | <i class="material-icons" style="line-height: 31px;">format_list_numbered</i> | 670 | <i class="material-icons" style="line-height: 31px;">format_list_numbered</i> |
671 | </div> | 671 | </div> |
672 | <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)"> | 672 | <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)"> |
673 | </div> | 673 | </div> |
674 | <div class="col-xs-12 col-md-6 input-wrapper"> | 674 | <div class="col-xs-12 col-md-6 input-wrapper"> |
675 | <div id="snackbar">Error ! Please fill in all fields.</div> | 675 | <div id="snackbar">Error ! Please fill in all fields.</div> |
676 | <div class="icon-circle-n"> | 676 | <div class="icon-circle-n"> |
677 | <i class="material-icons" style="line-height: 31px;">view_stream</i> | 677 | <i class="material-icons" style="line-height: 31px;">view_stream</i> |
678 | </div> | 678 | </div> |
679 | <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)"> | 679 | <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)"> |
680 | </div> | 680 | </div> |
681 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 681 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
682 | <p><b>Have you risen any funding yet?</b></p> | 682 | <p><b>Have you risen any funding yet?</b></p> |
683 | <div class="icon-circle-bc"> | 683 | <div class="icon-circle-bc"> |
684 | <i class="material-icons" style="line-height: 30px;">payment</i> | 684 | <i class="material-icons" style="line-height: 30px;">payment</i> |
685 | </div> | 685 | </div> |
686 | <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"> | 686 | <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"> |
687 | <option selected disabled value="">Select *</option> | 687 | <option selected disabled value="">Select *</option> |
688 | <option value="yes">Yes</option> | 688 | <option value="yes">Yes</option> |
689 | <option value="no">No</option> | 689 | <option value="no">No</option> |
690 | </select> | 690 | </select> |
691 | </div> | 691 | </div> |
692 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="Textshow == 'yes'"> | 692 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="Textshow == 'yes'"> |
693 | <div class="icon-circle-y" > | 693 | <div class="icon-circle-y" > |
694 | <i class="material-icons" style="line-height: 31px;">money</i> | 694 | <i class="material-icons" style="line-height: 31px;">money</i> |
695 | </div> | 695 | </div> |
696 | <input type="text" name="fund" class="text-input" ng-model="data.fund" placeholder="Fill amount" ng-change="fund(data.fund); fundkeyPress(data.fund)"></input> | 696 | <input type="text" name="fund" class="text-input" ng-model="data.fund" placeholder="Fill amount" ng-change="fund(data.fund); fundkeyPress(data.fund)"></input> |
697 | </div> | 697 | </div> |
698 | </div> --> | 698 | </div> --> |
699 | <!-- </div> --> | 699 | <!-- </div> --> |
700 | <!-- <div class="identity-shadow"> | 700 | <!-- <div class="identity-shadow"> |
701 | <div class="icon-circle-bc"> | 701 | <div class="icon-circle-bc"> |
702 | <i class="material-icons" style="line-height: 30px;">payment</i> | 702 | <i class="material-icons" style="line-height: 30px;">payment</i> |
703 | </div> | 703 | </div> |
704 | <div class="identity-question"> | 704 | <div class="identity-question"> |
705 | <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> | 705 | <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> |
706 | <b>Have you risen any funding yet?</b> | 706 | <b>Have you risen any funding yet?</b> |
707 | <p style="color:grey"></p> | 707 | <p style="color:grey"></p> |
708 | </div> | 708 | </div> |
709 | <div class="clearfix"></div> | 709 | <div class="clearfix"></div> |
710 | </div> | 710 | </div> |
711 | <div class="stages identity-align"> | 711 | <div class="stages identity-align"> |
712 | <div class="col-xs-12"> | 712 | <div class="col-xs-12"> |
713 | <label class="card-small margin-right-label"> | 713 | <label class="card-small margin-right-label"> |
714 | <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" > | 714 | <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" > |
715 | <label class="f-family pull-left width-auto" for="yesRadio">Yes</label> | 715 | <label class="f-family pull-left width-auto" for="yesRadio">Yes</label> |
716 | </label> | 716 | </label> |
717 | <label class="card-small margin-right-label"> | 717 | <label class="card-small margin-right-label"> |
718 | <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" > | 718 | <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" > |
719 | 719 | ||
720 | <label class="f-family pull-left width-auto" for="noRadio">No</label> | 720 | <label class="f-family pull-left width-auto" for="noRadio">No</label> |
721 | </label> | 721 | </label> |
722 | </div> | 722 | </div> |
723 | </div> | 723 | </div> |
724 | 724 | ||
725 | <div class="clearfix"></div> | 725 | <div class="clearfix"></div> |
726 | </div> --> | 726 | </div> --> |
727 | <div class="col-xs-12 input-wrapper"> | 727 | <div class="col-xs-12 input-wrapper"> |
728 | <div class="referel-icon" style="z-index: 999;"> | 728 | <div class="referel-icon" style="z-index: 999;"> |
729 | <i class="material-icons" style="line-height: 30px;">code</i> | 729 | <i class="material-icons" style="line-height: 30px;">code</i> |
730 | </div> | 730 | </div> |
731 | <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)"> | 731 | <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)"> |
732 | <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> | 732 | <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> |
733 | <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> | 733 | <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> |
734 | <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> | 734 | <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> |
735 | </div> | 735 | </div> |
736 | <span style="padding-left:10px">* One ticket is valid for one person.</span> | 736 | <span style="padding-left:10px">* One ticket is valid for one person.</span> |
737 | <div class="clearfix"></div> | 737 | <div class="clearfix"></div> |
738 | <div class="text-center"> | 738 | <div class="text-center"> |
739 | <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> | 739 | <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> |
740 | </div> | 740 | </div> |
741 | 741 | ||
742 | </div> | 742 | </div> |
743 | </div> | 743 | </div> |
744 | <!-- CLOSE step-two-form --> | 744 | <!-- CLOSE step-two-form --> |
745 | </div> | 745 | </div> |
746 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> | 746 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> |
747 | </form> | 747 | </form> |
748 | </div> | 748 | </div> |
749 | </div> | 749 | </div> |
750 | <!-- CLOSE FORM --> | 750 | <!-- CLOSE FORM --> |
751 | <footer> | 751 | <footer> |
752 | <img id="footer" class="img-responsive banner"> | 752 | <img id="footer" class="img-responsive banner"> |
753 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> | 753 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> |
754 | </footer> | 754 | </footer> |
755 | <!-- </div> CLOSE CHECK VIEW --> | 755 | <!-- </div> CLOSE CHECK VIEW --> |
756 | <div ng-if="verifyView"> | 756 | <div ng-if="verifyView"> |
757 | <div style="margin-bottom: 0px;" class="text-center"> | 757 | <div style="margin-bottom: 0px;" class="text-center"> |
758 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> | 758 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> |
759 | </div> | 759 | </div> |
760 | </div> | 760 | </div> |
761 | </div> <!-- CLOSE NEW-CONTROLLER --> | 761 | </div> <!-- CLOSE NEW-CONTROLLER --> |
762 | <!-- <div id="snacsskbar">Registration done successfully.</div> | 762 | <!-- <div id="snacsskbar">Registration done successfully.</div> |
763 | --><!-- <div class="modal fade" id="myModal" role="dialog"> | 763 | --><!-- <div class="modal fade" id="myModal" role="dialog"> |
764 | <div class="modal-dialog" style="left: auto;"> | 764 | <div class="modal-dialog" style="left: auto;"> |
765 | <div class="modal-content"> | 765 | <div class="modal-content"> |
766 | <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> | 766 | <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> |
767 | <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> | 767 | <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> |
768 | <tbody style="background-color:#f9f9f9"> | 768 | <tbody style="background-color:#f9f9f9"> |
769 | <tr> | 769 | <tr> |
770 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 770 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
771 | </tr> | 771 | </tr> |
772 | <tr> | 772 | <tr> |
773 | <td align="left" valign="top" style="padding:10px"> | 773 | <td align="left" valign="top" style="padding:10px"> |
774 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 774 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
775 | <tbody> | 775 | <tbody> |
776 | <tr> | 776 | <tr> |
777 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> | 777 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> |
778 | </tr> | 778 | </tr> |
779 | </tbody> | 779 | </tbody> |
780 | </table> | 780 | </table> |
781 | </td> | 781 | </td> |
782 | </tr> | 782 | </tr> |
783 | </tbody> | 783 | </tbody> |
784 | <tbody> | 784 | <tbody> |
785 | <tr> | 785 | <tr> |
786 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 786 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
787 | </tr> | 787 | </tr> |
788 | <tr> | 788 | <tr> |
789 | <td align="left" valign="top" style="padding:10px"> | 789 | <td align="left" valign="top" style="padding:10px"> |
790 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 790 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
791 | <tbody> | 791 | <tbody> |
792 | <tr> | 792 | <tr> |
793 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> | 793 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> |
794 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td> | 794 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td> |
795 | </tr> | 795 | </tr> |
796 | </tbody> | 796 | </tbody> |
797 | </table> | 797 | </table> |
798 | </td> | 798 | </td> |
799 | </tr> | 799 | </tr> |
800 | <tr> | 800 | <tr> |
801 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 801 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
802 | </tr> | 802 | </tr> |
803 | <tr> | 803 | <tr> |
804 | <td align="left" valign="top" style="padding:10px"> | 804 | <td align="left" valign="top" style="padding:10px"> |
805 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 805 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
806 | <tbody> | 806 | <tbody> |
807 | <tr> | 807 | <tr> |
808 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> | 808 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> |
809 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td> | 809 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td> |
810 | </tr> | 810 | </tr> |
811 | </tbody> | 811 | </tbody> |
812 | </table> | 812 | </table> |
813 | </td> | 813 | </td> |
814 | </tr> | 814 | </tr> |
815 | <tr> | 815 | <tr> |
816 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 816 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
817 | </tr> | 817 | </tr> |
818 | <tr> | 818 | <tr> |
819 | <td align="left" valign="top" style="padding:10px"> | 819 | <td align="left" valign="top" style="padding:10px"> |
820 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 820 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
821 | <tbody> | 821 | <tbody> |
822 | <tr> | 822 | <tr> |
823 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> | 823 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> |
824 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td> | 824 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td> |
825 | </tr> | 825 | </tr> |
826 | </tbody> | 826 | </tbody> |
827 | </table> | 827 | </table> |
828 | </td> | 828 | </td> |
829 | </tr> | 829 | </tr> |
830 | <tr> | 830 | <tr> |
831 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 831 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
832 | </tr> | 832 | </tr> |
833 | <tr> | 833 | <tr> |
834 | <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> | 834 | <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> |
835 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 835 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
836 | <tbody> | 836 | <tbody> |
837 | <tr> | 837 | <tr> |
838 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> | 838 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> |
839 | <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td> | 839 | <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td> |
840 | </tr> | 840 | </tr> |
841 | </tbody> | 841 | </tbody> |
842 | </table> | 842 | </table> |
843 | </td> | 843 | </td> |
844 | </tr> | 844 | </tr> |
845 | <tr> | 845 | <tr> |
846 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 846 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
847 | </tr> | 847 | </tr> |
848 | </tbody> | 848 | </tbody> |
849 | </table> | 849 | </table> |
850 | <div style="text-align:center;margin-bottom:5%"> | 850 | <div style="text-align:center;margin-bottom:5%"> |
851 | <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> | 851 | <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> |
852 | </div> | 852 | </div> |
853 | </div> | 853 | </div> |
854 | </div> | 854 | </div> |
855 | </div> | 855 | </div> |
856 | 856 | ||
857 | <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> | 857 | <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> |
858 | <div class="modal-dialog" style="left: auto;"> | 858 | <div class="modal-dialog" style="left: auto;"> |
859 | <div class="modal-content" > | 859 | <div class="modal-content" > |
860 | 860 | ||
861 | <div class="modal-body" style="text-align: right;" > | 861 | <div class="modal-body" style="text-align: right;" > |
862 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> | 862 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> |
863 | <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> | 863 | <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> |
864 | </div> | 864 | </div> |
865 | 865 | ||
866 | </div> | 866 | </div> |
867 | </div> | 867 | </div> |
868 | </div> | 868 | </div> |
869 | 869 | ||
870 | 870 | ||
871 | <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> | 871 | <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> |
872 | <div class="modal-dialog" style="left: auto;"> | 872 | <div class="modal-dialog" style="left: auto;"> |
873 | <div class="modal-content"> | 873 | <div class="modal-content"> |
874 | <div class="modal-body" style="text-align: right;" > | 874 | <div class="modal-body" style="text-align: right;" > |
875 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> | 875 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> |
876 | <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> | 876 | <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> |
877 | </div> | 877 | </div> |
878 | 878 | ||
879 | </div> | 879 | </div> |
880 | </div> | 880 | </div> |
881 | </div> | 881 | </div> |
882 | 882 | ||
883 | 883 | ||
884 | 884 | ||
885 | 885 | ||
886 | 886 | ||
887 | 887 | ||
888 | --> | 888 | --> |
889 | <span ng-show="span == true"> | 889 | <span ng-show="span == true"> |
890 | <span id="chennai"></span> | 890 | <span id="chennai"></span> |
891 | <span id="pune"></span> | 891 | <span id="pune"></span> |
892 | <span id="mumbai"></span> | 892 | <span id="mumbai"></span> |
893 | <span id="hyderabad"></span> | 893 | <span id="hyderabad"></span> |
894 | <span id="chandigarh"></span> | 894 | <span id="chandigarh"></span> |
895 | <span id="delhi"></span> | 895 | <span id="delhi"></span> |
896 | <span id="ahmedabad"></span> | 896 | <span id="ahmedabad"></span> |
897 | <span id="bangalore"></span> | 897 | <span id="bangalore"></span> |
898 | <span id="jaipur"></span> | 898 | <span id="jaipur"></span> |
899 | <span id="maininvest"></span> | 899 | <span id="maininvest"></span> |
900 | </span> | 900 | </span> |
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 11, 2017 12:00:00").getTime(); | 111 | var mumbai = new Date("Nov 11, 2017 12: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 13, 2017 12:00:00").getTime(); | 135 | var ahmedabad = new Date("Nov 13, 2017 12: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 15, 2017 12:00:00").getTime(); | 159 | var jaipur = new Date("Nov 15, 2017 12: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 = '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 == 'maininvest') { | 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 | $('#alreadyExist').css('display', 'block'); | 370 | $('#alreadyExist').css('display', 'block'); |
371 | 371 | ||
372 | } | 372 | } |
373 | }, function myError(error) {}); | 373 | }, function myError(error) {}); |
374 | } | 374 | } |
375 | }; | 375 | }; |
376 | 376 | ||
377 | $scope.removeNoError = function() { | 377 | $scope.removeNoError = function() { |
378 | $('#noExist').css('display', 'none'); | 378 | $('#noExist').css('display', 'none'); |
379 | }; | 379 | }; |
380 | 380 | ||
381 | $scope.numbercheck = function(number) { | 381 | $scope.numbercheck = function(number) { |
382 | $http({ | 382 | $http({ |
383 | method: 'GET', | 383 | method: 'GET', |
384 | url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', | 384 | url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', |
385 | data: $scope.data, | 385 | data: $scope.data, |
386 | headers: {} | 386 | headers: {} |
387 | }).then(function mySuccess(searchResult) { | 387 | }).then(function mySuccess(searchResult) { |
388 | console.log("searchResult===>", searchResult) | 388 | console.log("searchResult===>", searchResult) |
389 | if (searchResult.data.length == 0) { | 389 | if (searchResult.data.length == 0) { |
390 | $scope.numberCheck = false; | 390 | $scope.numberCheck = false; |
391 | 391 | ||
392 | } else { | 392 | } else { |
393 | $scope.numberCheck = true; | 393 | $scope.numberCheck = true; |
394 | $('#noExist').css('display', 'block'); | 394 | $('#noExist').css('display', 'block'); |
395 | } | 395 | } |
396 | }, function myError(error) {}); | 396 | }, function myError(error) {}); |
397 | }; | 397 | }; |
398 | 398 | ||
399 | $rootScope.tokenCall = function(val) { | 399 | $rootScope.tokenCall = function(val) { |
400 | console.log('val-------->', val); | 400 | console.log('val-------->', val); |
401 | if (val == undefined) { | 401 | if (val == undefined) { |
402 | $('#invalidToken').css('display', 'block'); | 402 | $('#invalidToken').css('display', 'block'); |
403 | } else { | 403 | } else { |
404 | val = val.toUpperCase(); | 404 | val = val.toUpperCase(); |
405 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') | 405 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') |
406 | .then(function(searchResult) { | 406 | .then(function(searchResult) { |
407 | console.log("searchResult",searchResult) | 407 | console.log("searchResult",searchResult) |
408 | if (searchResult.data.length == 0) { | 408 | if (searchResult.data.length == 0) { |
409 | $scope.tokencheck = false; | 409 | $scope.tokencheck = false; |
410 | $scope.discountAmount = 0; | 410 | $scope.discountAmount = 0; |
411 | } else { | 411 | } else { |
412 | $scope.discountpercentage = searchResult.data[0].discount; | 412 | $scope.discountpercentage = searchResult.data[0].discount; |
413 | $scope.tokencheck = true; | 413 | $scope.tokencheck = true; |
414 | } | 414 | } |
415 | },function(err){ | 415 | },function(err){ |
416 | console.log(err) | 416 | console.log(err) |
417 | }); | 417 | }); |
418 | 418 | ||
419 | } | 419 | } |
420 | }; | 420 | }; |
421 | 421 | ||
422 | 422 | ||
423 | 423 | ||
424 | 424 | ||
425 | /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ | 425 | /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ |
426 | $(document).ready( | 426 | $(document).ready( |
427 | function() { | 427 | function() { |
428 | $('input:submit').attr('disabled', true); | 428 | $('input:submit').attr('disabled', true); |
429 | $('input:file').change( | 429 | $('input:file').change( |
430 | function() { | 430 | function() { |
431 | if ($("#picture").val()) { | 431 | if ($("#picture").val()) { |
432 | $('input:submit').removeAttr('disabled'); | 432 | $('input:submit').removeAttr('disabled'); |
433 | } else { | 433 | } else { |
434 | $('input:submit').attr('disabled', true); | 434 | $('input:submit').attr('disabled', true); |
435 | } | 435 | } |
436 | }); | 436 | }); |
437 | }); | 437 | }); |
438 | 438 | ||
439 | /*****THIS IS FOR STEP ONE FORM ******/ | 439 | /*****THIS IS FOR STEP ONE FORM ******/ |
440 | // $scope.next = function() { | 440 | // $scope.next = function() { |
441 | // $scope.data.status = null | 441 | // $scope.data.status = null |
442 | // if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { | 442 | // if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { |
443 | // var x = document.getElementById("snackbar") | 443 | // var x = document.getElementById("snackbar") |
444 | // x.className = "show"; | 444 | // x.className = "show"; |
445 | // setTimeout(function() { | 445 | // setTimeout(function() { |
446 | // x.className = x.className.replace("show", ""); | 446 | // x.className = x.className.replace("show", ""); |
447 | // }, 3000); | 447 | // }, 3000); |
448 | // } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { | 448 | // } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { |
449 | // $scope.infoForm = true; | 449 | // $scope.infoForm = true; |
450 | // console.log("sdasdasdsa"); | 450 | // console.log("sdasdasdsa"); |
451 | // $scope.data.stage = $scope.data.stage; | 451 | // $scope.data.stage = $scope.data.stage; |
452 | // $scope.detail = {}; | 452 | // $scope.detail = {}; |
453 | // $scope.data.phone = "+91" + $scope.data.number; | 453 | // $scope.data.phone = "+91" + $scope.data.number; |
454 | // $http({ | 454 | // $http({ |
455 | // method: 'POST', | 455 | // method: 'POST', |
456 | // url: BASE_URL + '/information', | 456 | // url: BASE_URL + '/information', |
457 | // data: $scope.data, | 457 | // data: $scope.data, |
458 | // headers: {} | 458 | // headers: {} |
459 | // }).then(function mySuccess(result) { | 459 | // }).then(function mySuccess(result) { |
460 | // Analytics.trackEvent('information', 'click', 'django.mp4'); | 460 | // Analytics.trackEvent('information', 'click', 'django.mp4'); |
461 | // console.log("result", result) | 461 | // console.log("result", result) |
462 | // $scope.detail = result; | 462 | // $scope.detail = result; |
463 | // data.applicantId = result.data.id; | 463 | // data.applicantId = result.data.id; |
464 | // $scope.userId = result.data.id; | 464 | // $scope.userId = result.data.id; |
465 | 465 | ||
466 | // }, function myError(error) {}); | 466 | // }, function myError(error) {}); |
467 | 467 | ||
468 | // } | 468 | // } |
469 | 469 | ||
470 | // } | 470 | // } |
471 | 471 | ||
472 | $scope.calculateAmount = function(){ | 472 | $scope.calculateAmount = function(){ |
473 | if($scope.tokencheck == false){ | 473 | if($scope.tokencheck == false){ |
474 | $scope.data.referalToken = null; | 474 | $scope.data.referalToken = null; |
475 | } | 475 | } |
476 | if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | 476 | if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { |
477 | var x = document.getElementById("snackbar") | 477 | var x = document.getElementById("snackbar") |
478 | x.className = "show"; | 478 | x.className = "show"; |
479 | setTimeout(function() { | 479 | setTimeout(function() { |
480 | x.className = x.className.replace("show", ""); | 480 | x.className = x.className.replace("show", ""); |
481 | }, 3000); | 481 | }, 3000); |
482 | } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | 482 | } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { |
483 | $scope.infoForm = true; | 483 | $scope.infoForm = true; |
484 | console.log("sdasdasdsa"); | 484 | console.log("sdasdasdsa"); |
485 | $scope.data.stage = $scope.data.stage; | 485 | $scope.data.stage = $scope.data.stage; |
486 | $scope.detail = {}; | 486 | $scope.detail = {}; |
487 | $scope.data.phone = "+91" + $scope.data.number; | 487 | $scope.data.phone = "+91" + $scope.data.number; |
488 | $http({ | 488 | $http({ |
489 | method: 'POST', | 489 | method: 'POST', |
490 | url: BASE_URL + '/applicants', | 490 | url: BASE_URL + '/applicants', |
491 | data: $scope.data, | 491 | data: $scope.data, |
492 | headers: {} | 492 | headers: {} |
493 | }).then(function mySuccess(result) { | 493 | }).then(function mySuccess(result) { |
494 | Analytics.trackEvent('applicants', 'click',$scope.data.email ,$scope.data.phone); | 494 | Analytics.trackEvent('applicants', 'click',$scope.data.email ,$scope.data.phone); |
495 | console.log("result", result) | 495 | console.log("result", result) |
496 | $scope.detail = result; | 496 | $scope.detail = result; |
497 | data.applicantId = result.data.id; | 497 | data.applicantId = result.data.id; |
498 | //$scope.userId = result.data.id; | 498 | //$scope.userId = result.data.id; |
499 | 499 | ||
500 | if($scope.data.citymeetup == "pune"){ | 500 | if($scope.data.citymeetup == "pune"){ |
501 | if ($scope.data.stage == "Idea") { | 501 | if ($scope.data.stage == "Idea") { |
502 | console.log("$scope.data", $scope.data) | 502 | console.log("$scope.data", $scope.data) |
503 | $scope.ticketAmnt = 750; | 503 | $scope.ticketAmnt = 750; |
504 | } | 504 | } |
505 | 505 | ||
506 | if ($scope.data.stage == "Product") { | 506 | if ($scope.data.stage == "Product") { |
507 | $scope.ticketAmnt = 1500; | 507 | $scope.ticketAmnt = 1500; |
508 | } | 508 | } |
509 | 509 | ||
510 | if ($scope.data.stage == "Growth") { | 510 | if ($scope.data.stage == "Growth") { |
511 | $scope.ticketAmnt = 1500; | 511 | $scope.ticketAmnt = 1500; |
512 | } | 512 | } |
513 | } | 513 | } |
514 | else if($scope.data.citymeetup == "maininvest"){ | 514 | else if($scope.data.citymeetup == "maininvest"){ |
515 | // if ($scope.data.stage == '') { | 515 | // if ($scope.data.stage == '') { |
516 | console.log("$scope.data", $scope.data) | 516 | console.log("$scope.data", $scope.data) |
517 | $scope.ticketAmnt = 5000; | 517 | $scope.ticketAmnt = 5000; |
518 | // } | 518 | // } |
519 | 519 | ||
520 | // if ($scope.data.stage == "Product") { | 520 | // if ($scope.data.stage == "Product") { |
521 | // $scope.ticketAmnt = 1500; | 521 | // $scope.ticketAmnt = 1500; |
522 | // } | 522 | // } |
523 | 523 | ||
524 | // if ($scope.data.stage == "Growth") { | 524 | // if ($scope.data.stage == "Growth") { |
525 | // $scope.ticketAmnt = 1500; | 525 | // $scope.ticketAmnt = 1500; |
526 | // } | 526 | // } |
527 | } | 527 | } |
528 | else{ | 528 | else{ |
529 | if ($scope.data.stage == "Idea") { | 529 | if ($scope.data.stage == "Idea") { |
530 | console.log("$scope.data", $scope.data) | 530 | console.log("$scope.data", $scope.data) |
531 | $scope.ticketAmnt = 500; | 531 | $scope.ticketAmnt = 500; |
532 | } | 532 | } |
533 | 533 | ||
534 | if ($scope.data.stage == "Product") { | 534 | if ($scope.data.stage == "Product") { |
535 | $scope.ticketAmnt = 1000; | 535 | $scope.ticketAmnt = 1000; |
536 | } | 536 | } |
537 | 537 | ||
538 | if ($scope.data.stage == "Growth") { | 538 | if ($scope.data.stage == "Growth") { |
539 | $scope.ticketAmnt = 1000; | 539 | $scope.ticketAmnt = 1000; |
540 | } | 540 | } |
541 | } | 541 | } |
542 | // if ($scope.data.stage == "Visitor") { | 542 | // if ($scope.data.stage == "Visitor") { |
543 | // $scope.ticketAmnt = 500; | 543 | // $scope.ticketAmnt = 500; |
544 | // } | 544 | // } |
545 | var amount = $scope.ticketAmnt * 100 | 545 | var amount = $scope.ticketAmnt * 100 |
546 | if($scope.tokencheck == true){ | 546 | if($scope.tokencheck == true){ |
547 | var amount = $scope.ticketAmnt | 547 | var amount = $scope.ticketAmnt |
548 | $scope.discountAmount = (amount * $scope.discountpercentage)/100 | 548 | $scope.discountAmount = (amount * $scope.discountpercentage)/100 |
549 | console.log("finalAmount====>",$scope.discountAmount) | 549 | console.log("finalAmount====>",$scope.discountAmount) |
550 | } | 550 | } |
551 | 551 | ||
552 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount | 552 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount |
553 | console.log("$scope.taxTotal----",taxAmount) | 553 | console.log("$scope.taxTotal----",taxAmount) |
554 | $scope.taxTotal = (taxAmount * 18)/100 | 554 | $scope.taxTotal = (taxAmount * 18)/100 |
555 | $scope.payingAmnt = taxAmount + $scope.taxTotal | 555 | $scope.payingAmnt = taxAmount + $scope.taxTotal |
556 | console.log("taxincludedamount----", $scope.payingAmnt) | 556 | console.log("taxincludedamount----", $scope.payingAmnt) |
557 | console.log("$scope.taxTotal----", $scope.taxTotal) | 557 | console.log("$scope.taxTotal----", $scope.taxTotal) |
558 | // } | 558 | // } |
559 | 559 | ||
560 | /*****THIS IS FOR STEP THREE FORM ******/ | 560 | /*****THIS IS FOR STEP THREE FORM ******/ |
561 | // $scope.create = function() { | 561 | // $scope.create = function() { |
562 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | 562 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { |
563 | // var x = document.getElementById("snackbar") | 563 | // var x = document.getElementById("snackbar") |
564 | // x.className = "show"; | 564 | // x.className = "show"; |
565 | // setTimeout(function() { | 565 | // setTimeout(function() { |
566 | // x.className = x.className.replace("show", ""); | 566 | // x.className = x.className.replace("show", ""); |
567 | // }, 3000); | 567 | // }, 3000); |
568 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | 568 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { |
569 | // $scope.infoForm = true; | 569 | // $scope.infoForm = true; |
570 | // console.log("sdasdasdsa"); | 570 | // console.log("sdasdasdsa"); |
571 | // $scope.data.stage = $scope.data.stage; | 571 | // $scope.data.stage = $scope.data.stage; |
572 | // $scope.detail = {}; | 572 | // $scope.detail = {}; |
573 | // $scope.data.phone = "+91" + $scope.data.number; | 573 | // $scope.data.phone = "+91" + $scope.data.number; |
574 | // $http({ | 574 | // $http({ |
575 | // method: 'POST', | 575 | // method: 'POST', |
576 | // url: BASE_URL + '/applicants', | 576 | // url: BASE_URL + '/applicants', |
577 | // data: $scope.data, | 577 | // data: $scope.data, |
578 | // headers: {} | 578 | // headers: {} |
579 | // }).then(function mySuccess(result) { | 579 | // }).then(function mySuccess(result) { |
580 | 580 | ||
581 | // console.log("=====result=====", result) | 581 | // console.log("=====result=====", result) |
582 | // $scope.detail = result; | 582 | // $scope.detail = result; |
583 | // data.applicantId = result.data.id; | 583 | // data.applicantId = result.data.id; |
584 | // $scope.userId = result.data.id; | 584 | // $scope.userId = result.data.id; |
585 | // console.log("=====data=====", data) | 585 | // console.log("=====data=====", data) |
586 | // data.amount = $scope.payingAmnt + $scope.taxTotal; | 586 | // data.amount = $scope.payingAmnt + $scope.taxTotal; |
587 | data.amount = $scope.payingAmnt; | 587 | data.amount = $scope.payingAmnt; |
588 | console.log("$scope.taxTotal",data.amount) | 588 | console.log("$scope.taxTotal",data.amount) |
589 | if ($scope.detail != null) { | 589 | if ($scope.detail != null) { |
590 | $http({ | 590 | $http({ |
591 | method: 'POST', | 591 | method: 'POST', |
592 | url: BASE_URL + '/payments', | 592 | url: BASE_URL + '/payments', |
593 | data: data, | 593 | data: data, |
594 | headers: {} | 594 | headers: {} |
595 | }).then(function mySuccess(paymentResult) { | 595 | }).then(function mySuccess(paymentResult) { |
596 | console.log("paymentResult",paymentResult) | 596 | console.log("paymentResult",paymentResult) |
597 | $scope.paymentResult = paymentResult; | 597 | $scope.paymentResult = paymentResult; |
598 | }, function myError(error) {}); | 598 | }, function myError(error) {}); |
599 | } | 599 | } |
600 | var i = 0; | 600 | var i = 0; |
601 | //$scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100; | 601 | //$scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100; |
602 | 602 | ||
603 | $scope.payingAmnt = $scope.payingAmnt * 100; | 603 | $scope.payingAmnt = $scope.payingAmnt * 100; |
604 | console.log("$scope.taxTotal----", $scope.payingAmnt) | 604 | console.log("$scope.taxTotal----", $scope.payingAmnt) |
605 | var options = { | 605 | var options = { |
606 | "key": "rzp_live_mhSE1uOBlXvFyJ", | 606 | "key": "rzp_live_mhSE1uOBlXvFyJ", |
607 | //"key": "rzp_test_YwHsVFiDIQ2WUQ", | 607 | //"key": "rzp_test_YwHsVFiDIQ2WUQ", |
608 | "amount": $scope.payingAmnt , | 608 | "amount": $scope.payingAmnt , |
609 | 609 | ||
610 | "name": "Startup Jalsa", | 610 | "name": "Startup Jalsa", |
611 | "description": "amount", | 611 | "description": "amount", |
612 | "currency": "INR", | 612 | "currency": "INR", |
613 | "status": "done", | 613 | "status": "done", |
614 | 614 | ||
615 | "theme": { | 615 | "theme": { |
616 | "color": "#2196f3 ", | 616 | "color": "#2196f3 ", |
617 | "image_padding": "NO" | 617 | "image_padding": "NO" |
618 | }, | 618 | }, |
619 | "modal": { | 619 | "modal": { |
620 | "ondismiss": function() {} | 620 | "ondismiss": function() {} |
621 | }, | 621 | }, |
622 | "handler": function(response) { | 622 | "handler": function(response) { |
623 | createPayment(response); | 623 | createPayment(response); |
624 | } | 624 | } |
625 | }; | 625 | }; |
626 | var rzp1 = new Razorpay(options); | 626 | var rzp1 = new Razorpay(options); |
627 | rzp1.open(); | 627 | rzp1.open(); |
628 | $scope.paymentResponse = {}; | 628 | $scope.paymentResponse = {}; |
629 | 629 | ||
630 | function createPayment(response) { | 630 | function createPayment(response) { |
631 | console.log("response====from===razorpay",response) | 631 | console.log("response====from===razorpay",response) |
632 | $route.reload(); | 632 | $route.reload(); |
633 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 633 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
634 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | 634 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; |
635 | $scope.paymentResponse.amount = data.amount; | 635 | $scope.paymentResponse.amount = data.amount; |
636 | $scope.paymentResponse.currency = "INR"; | 636 | $scope.paymentResponse.currency = "INR"; |
637 | $scope.paymentResponse.status = $scope.paymentResult.data.status; | 637 | $scope.paymentResponse.status = $scope.paymentResult.data.status; |
638 | Analytics.trackEvent('payment','Successfully Done',$scope.paymentResponse.amount); | 638 | Analytics.trackEvent('payment','Successfully Done',$scope.paymentResponse.amount); |
639 | $http({ | 639 | $http({ |
640 | method: 'PUT', | 640 | method: 'PUT', |
641 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, | 641 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, |
642 | data: $scope.paymentResponse, | 642 | data: $scope.paymentResponse, |
643 | headers: {} | 643 | headers: {} |
644 | }).then(function mySuccess(searchResult) { | 644 | }).then(function mySuccess(searchResult) { |
645 | // if(paymentResult.data.status == "created"){ | 645 | // if(paymentResult.data.status == "created"){ |
646 | 646 | ||
647 | // } | 647 | // } |
648 | console.log("searchResult", searchResult) | 648 | console.log("searchResult", searchResult) |
649 | $location.path("/confirmation") | 649 | $location.path("/confirmation") |
650 | //$scope.showToastr() | 650 | //$scope.showToastr() |
651 | //toaster.success("Registration done successfully"); | 651 | //toaster.success("Registration done successfully"); |
652 | 652 | ||
653 | }, function myError(error) {}); | 653 | }, function myError(error) {}); |
654 | } | 654 | } |
655 | }, function myError(error) {}); | 655 | }, function myError(error) {}); |
656 | } | 656 | } |
657 | 657 | ||
658 | } | 658 | } |
659 | 659 | ||
660 | //}, function myError(error) {}); | 660 | //}, function myError(error) {}); |
661 | //} | 661 | //} |
662 | 662 | ||
663 | //} | 663 | //} |
664 | 664 | ||
665 | // $scope.showToastr = function() { | 665 | // $scope.showToastr = function() { |
666 | // console.log("called toast") | 666 | // console.log("called toast") |
667 | // var x = document.getElementById("snacsskbar") | 667 | // var x = document.getElementById("snacsskbar") |
668 | // x.className = "show"; | 668 | // x.className = "show"; |
669 | // setTimeout(function() { | 669 | // setTimeout(function() { |
670 | // x.className = x.className.replace("show", ""); | 670 | // x.className = x.className.replace("show", ""); |
671 | // }, 3000); | 671 | // }, 3000); |
672 | // } | 672 | // } |
673 | 673 | ||
674 | /*kk***This code for change data when click to chooses stages***/ | 674 | /*kk***This code for change data when click to chooses stages***/ |
675 | $scope.proto = true; | 675 | $scope.proto = true; |
676 | $scope.businessmodel = true; | 676 | $scope.businessmodel = true; |
677 | $scope.Idea = true; | 677 | $scope.Idea = true; |
678 | $scope.current = true; | 678 | $scope.current = true; |
679 | 679 | ||
680 | $scope.stage = function(stage) { | 680 | $scope.stage = function(stage) { |
681 | $scope.stagekeyPress(); | 681 | $scope.stagekeyPress(); |
682 | console.log("stage--2",stage) | 682 | console.log("stage--2",stage) |
683 | 683 | ||
684 | if (stage == 'Idea') { | 684 | if (stage == 'Idea') { |
685 | $scope.Productshow = "no"; | 685 | $scope.Productshow = "no"; |
686 | $scope.current = 10; | 686 | $scope.current = 10; |
687 | $scope.proto = true; | 687 | $scope.proto = true; |
688 | // $scope.visitType = true; | 688 | // $scope.visitType = true; |
689 | $scope.prototyp = false; | 689 | $scope.prototyp = false; |
690 | $scope.protyp = false; | 690 | $scope.protyp = false; |
691 | $scope.market = false; | 691 | $scope.market = false; |
692 | $scope.risks = false; | 692 | $scope.risks = false; |
693 | $scope.team = false; | 693 | $scope.team = false; |
694 | $scope.pitch = false; | 694 | $scope.pitch = false; |
695 | $scope.financials = false; | 695 | $scope.financials = false; |
696 | $scope.businessmodel = true; | 696 | $scope.businessmodel = true; |
697 | $scope.data.stage = stage; | 697 | $scope.data.stage = stage; |
698 | // for right content | 698 | // for right content |
699 | $scope.Idea = true; | 699 | $scope.Idea = true; |
700 | $scope.Product = false; | 700 | $scope.Product = false; |
701 | $scope.Growth = false; | 701 | $scope.Growth = false; |
702 | // $scope.Visitor = false; | 702 | // $scope.Visitor = false; |
703 | } else if (stage == 'Product') { | 703 | } else if (stage == 'Product') { |
704 | $scope.Productshow = "no"; | 704 | $scope.Productshow = "no"; |
705 | $scope.current = 10; | 705 | $scope.current = 10; |
706 | $scope.proto = true; | 706 | $scope.proto = true; |
707 | // $scope.visitType = true; | 707 | // $scope.visitType = true; |
708 | $scope.prototyp = true; | 708 | $scope.prototyp = true; |
709 | $scope.protyp = true; | 709 | $scope.protyp = true; |
710 | $scope.market = true; | 710 | $scope.market = true; |
711 | $scope.risks = true; | 711 | $scope.risks = true; |
712 | $scope.team = true; | 712 | $scope.team = true; |
713 | $scope.pitch = true; | 713 | $scope.pitch = true; |
714 | $scope.financials = true; | 714 | $scope.financials = true; |
715 | $scope.businessmodel = false; | 715 | $scope.businessmodel = false; |
716 | $scope.data.stage = stage; | 716 | $scope.data.stage = stage; |
717 | // for right content | 717 | // for right content |
718 | $scope.Idea = false; | 718 | $scope.Idea = false; |
719 | $scope.Product = true; | 719 | $scope.Product = true; |
720 | $scope.Growth = false; | 720 | $scope.Growth = false; |
721 | // $scope.Visitor = false; | 721 | // $scope.Visitor = false; |
722 | } else if (stage == 'Growth') { | 722 | } else if (stage == 'Growth') { |
723 | $scope.Productshow = "yes"; | 723 | $scope.Productshow = "yes"; |
724 | $scope.current = 10; | 724 | $scope.current = 10; |
725 | $scope.proto = false; | 725 | $scope.proto = false; |
726 | // $scope.visitType = true; | 726 | // $scope.visitType = true; |
727 | $scope.prototyp = true; | 727 | $scope.prototyp = true; |
728 | $scope.protyp = false; | 728 | $scope.protyp = false; |
729 | $scope.market = true; | 729 | $scope.market = true; |
730 | $scope.risks = true; | 730 | $scope.risks = true; |
731 | $scope.team = true; | 731 | $scope.team = true; |
732 | $scope.pitch = true; | 732 | $scope.pitch = true; |
733 | $scope.financials = true; | 733 | $scope.financials = true; |
734 | $scope.businessmodel = false; | 734 | $scope.businessmodel = false; |
735 | // for right content | 735 | // for right content |
736 | $scope.Idea = false; | 736 | $scope.Idea = false; |
737 | $scope.Product = false; | 737 | $scope.Product = false; |
738 | $scope.Growth = true; | 738 | $scope.Growth = true; |
739 | // $scope.Visitor = false; | 739 | // $scope.Visitor = false; |
740 | // } else if (stage == 'Visitor') { | 740 | // } else if (stage == 'Visitor') { |
741 | // $scope.Productshow = "no"; | 741 | // $scope.Productshow = "no"; |
742 | // $scope.current = 10; | 742 | // $scope.current = 10; |
743 | // $scope.proto = false; | 743 | // $scope.proto = false; |
744 | // $scope.visitType = false; | 744 | // $scope.visitType = false; |
745 | // $scope.prototyp = false; | 745 | // $scope.prototyp = false; |
746 | // $scope.protyp = false; | 746 | // $scope.protyp = false; |
747 | // $scope.market = false; | 747 | // $scope.market = false; |
748 | // $scope.risks = false; | 748 | // $scope.risks = false; |
749 | // $scope.team = false; | 749 | // $scope.team = false; |
750 | // $scope.pitch = false; | 750 | // $scope.pitch = false; |
751 | // $scope.financials = false; | 751 | // $scope.financials = false; |
752 | // $scope.businessmodel = false; | 752 | // $scope.businessmodel = false; |
753 | // $scope.data.stage = stage; | 753 | // $scope.data.stage = stage; |
754 | // // for right content | 754 | // // for right content |
755 | // $scope.Idea = false; | 755 | // $scope.Idea = false; |
756 | // $scope.Product = false; | 756 | // $scope.Product = false; |
757 | // $scope.Growth = false; | 757 | // $scope.Growth = false; |
758 | // $scope.Visitor = true; | 758 | // $scope.Visitor = true; |
759 | $scope.data.stage = stage; | 759 | $scope.data.stage = stage; |
760 | } | 760 | } |
761 | 761 | ||
762 | } | 762 | } |
763 | 763 | ||
764 | $scope.emailTest = function(s){ | 764 | $scope.emailTest = function(s){ |
765 | $scope.space = /\s/g.test(s.delegateTarget.value); | 765 | $scope.space = /\s/g.test(s.delegateTarget.value); |
766 | console.log("space",$scope.space) | 766 | console.log("space",$scope.space) |
767 | 767 | ||
768 | } | 768 | } |
769 | // $scope.enterbusiness = function(business) { | 769 | // $scope.enterbusiness = function(business) { |
770 | // console.log("business", business); | 770 | // console.log("business", business); |
771 | // if (name == undefined) { | 771 | // if (name == undefined) { |
772 | // $scope.current = false; | 772 | // $scope.current = false; |
773 | 773 | ||
774 | // } else if (name != undefined) { | 774 | // } else if (name != undefined) { |
775 | // $scope.current = true; | 775 | // $scope.current = true; |
776 | // } | 776 | // } |
777 | // } | 777 | // } |
778 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ | 778 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ |
779 | $scope.stagekeyPress = function() { | 779 | $scope.stagekeyPress = function() { |
780 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); | 780 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); |
781 | } | 781 | } |
782 | $scope.sectorkeyPress = function() { | 782 | $scope.sectorkeyPress = function() { |
783 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); | 783 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); |
784 | } | 784 | } |
785 | 785 | ||
786 | $scope.productLaunchkeyPress = function() { | 786 | $scope.productLaunchkeyPress = function() { |
787 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); | 787 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); |
788 | } | 788 | } |
789 | 789 | ||
790 | $scope.launchPeriodkeyPress = function() { | 790 | $scope.launchPeriodkeyPress = function() { |
791 | $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)'); | 791 | $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)'); |
792 | } | 792 | } |
793 | 793 | ||
794 | $scope.industrykeyPress = function() { | 794 | $scope.industrykeyPress = function() { |
795 | $scope.addOther = false; | 795 | $scope.addOther = false; |
796 | $scope.hideSelectBox = true; | 796 | $scope.hideSelectBox = true; |
797 | $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); | 797 | $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); |
798 | var e = document.getElementById("dataIndustry"); | 798 | var e = document.getElementById("dataIndustry"); |
799 | var dataIndustry = e.options[e.selectedIndex].value; | 799 | var dataIndustry = e.options[e.selectedIndex].value; |
800 | if(dataIndustry == "others") { | 800 | if(dataIndustry == "others") { |
801 | $scope.addOther = true; | 801 | $scope.addOther = true; |
802 | $scope.hideSelectBox = false; | 802 | $scope.hideSelectBox = false; |
803 | } | 803 | } |
804 | } | 804 | } |
805 | 805 | ||
806 | $scope.industryNamekeyPress = function(firstName) { | 806 | $scope.industryNamekeyPress = function(firstName) { |
807 | console.log("lastName==", firstName); | 807 | console.log("lastName==", firstName); |
808 | if (firstName == undefined) { | 808 | if (firstName == undefined) { |
809 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); | 809 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); |
810 | } else { | 810 | } else { |
811 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); | 811 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); |
812 | } | 812 | } |
813 | } | 813 | } |
814 | 814 | ||
815 | $scope.amountkeyPress = function() { | 815 | $scope.amountkeyPress = function() { |
816 | $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)'); | 816 | $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)'); |
817 | } | 817 | } |
818 | 818 | ||
819 | $scope.firstNamekeyPress = function(name) { | 819 | $scope.firstNamekeyPress = function(name) { |
820 | console.log("lastName==", name); | 820 | console.log("lastName==", name); |
821 | if (name == undefined) { | 821 | if (name == undefined) { |
822 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); | 822 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); |
823 | } else { | 823 | } else { |
824 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); | 824 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); |
825 | } | 825 | } |
826 | } | 826 | } |
827 | 827 | ||
828 | $scope.emailkeyPress = function(email) { | 828 | $scope.emailkeyPress = function(email) { |
829 | console.log("email", email); | 829 | console.log("email", email); |
830 | if (email == undefined) { | 830 | if (email == undefined) { |
831 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); | 831 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); |
832 | } else { | 832 | } else { |
833 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); | 833 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); |
834 | } | 834 | } |
835 | } | 835 | } |
836 | 836 | ||
837 | $scope.textCheck = function(){ | 837 | $scope.textCheck = function(){ |
838 | console.log("Val1:::", $scope.textCheck); | 838 | console.log("Val1:::", $scope.textCheck); |
839 | var e = document.getElementById("fundingDiv"); | 839 | var e = document.getElementById("fundingDiv"); |
840 | var funding = e.options[e.selectedIndex].value; | 840 | var funding = e.options[e.selectedIndex].value; |
841 | $scope.Textshow = "no"; | 841 | $scope.Textshow = "no"; |
842 | if(funding == "yes") { | 842 | if(funding == "yes") { |
843 | $scope.Textshow = "yes"; | 843 | $scope.Textshow = "yes"; |
844 | console.log("Val:::", $scope.Textshow); | 844 | console.log("Val:::", $scope.Textshow); |
845 | } | 845 | } |
846 | 846 | ||
847 | } | 847 | } |
848 | 848 | ||
849 | $scope.productCheck = function(){ | 849 | $scope.productCheck = function(){ |
850 | console.log("Val2:::", $scope.productCheck); | 850 | console.log("Val2:::", $scope.productCheck); |
851 | var e = document.getElementById("productDiv"); | 851 | var e = document.getElementById("productDiv"); |
852 | var product = e.options[e.selectedIndex].value; | 852 | var product = e.options[e.selectedIndex].value; |
853 | $scope.Productshow = "no"; | 853 | $scope.Productshow = "no"; |
854 | if(product == "yes") { | 854 | if(product == "yes") { |
855 | $scope.Productshow = "yes"; | 855 | $scope.Productshow = "yes"; |
856 | console.log("Val1:::", $scope.Productshow); | 856 | console.log("Val1:::", $scope.Productshow); |
857 | } | 857 | } |
858 | 858 | ||
859 | } | 859 | } |
860 | 860 | ||
861 | $scope.phonekeyPress = function(number) { | 861 | $scope.phonekeyPress = function(number) { |
862 | console.log("number", number); | 862 | console.log("number", number); |
863 | if (number == undefined || number == '') { | 863 | if (number == undefined || number == '') { |
864 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); | 864 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); |
865 | } else { | 865 | } else { |
866 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); | 866 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); |
867 | } | 867 | } |
868 | } | 868 | } |
869 | 869 | ||
870 | $scope.citykeyPress = function(city) { | 870 | $scope.citykeyPress = function(city) { |
871 | console.log("city", city); | 871 | console.log("city", city); |
872 | if (city == undefined) { | 872 | if (city == undefined) { |
873 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); | 873 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); |
874 | } else { | 874 | } else { |
875 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); | 875 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); |
876 | } | 876 | } |
877 | } | 877 | } |
878 | 878 | ||
879 | $scope.startupNamekeyPress = function(q) { | 879 | $scope.startupNamekeyPress = function(q) { |
880 | if (q == undefined) { | 880 | if (q == undefined) { |
881 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); | 881 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); |
882 | } else { | 882 | } else { |
883 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); | 883 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); |
884 | } | 884 | } |
885 | } | 885 | } |
886 | 886 | ||
887 | $scope.linkedInkeyPress = function(technology) { | 887 | $scope.linkedInkeyPress = function(technology) { |
888 | if (technology == undefined || technology == '') { | 888 | if (technology == undefined || technology == '') { |
889 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); | 889 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); |
890 | } else { | 890 | } else { |
891 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); | 891 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); |
892 | } | 892 | } |
893 | } | 893 | } |
894 | $scope.companykeyPress = function(problem) { | 894 | $scope.companykeyPress = function(problem) { |
895 | if (problem == undefined) { | 895 | if (problem == undefined) { |
896 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); | 896 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); |
897 | } else { | 897 | } else { |
898 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); | 898 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); |
899 | } | 899 | } |
900 | } | 900 | } |
901 | $scope.productNamekeyPress = function(solution) { | 901 | $scope.productNamekeyPress = function(solution) { |
902 | if (solution == undefined) { | 902 | if (solution == undefined) { |
903 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); | 903 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); |
904 | } else { | 904 | } else { |
905 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); | 905 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); |
906 | } | 906 | } |
907 | } | 907 | } |
908 | $scope.businesskeyPress = function(business) { | 908 | $scope.businesskeyPress = function(business) { |
909 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); | 909 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); |
910 | } | 910 | } |
911 | 911 | ||
912 | $scope.websitekeyPress = function(prototype) { | 912 | $scope.websitekeyPress = function(prototype) { |
913 | if (prototype == undefined || prototype == '') { | 913 | if (prototype == undefined || prototype == '') { |
914 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); | 914 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); |
915 | } else { | 915 | } else { |
916 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); | 916 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); |
917 | } | 917 | } |
918 | } | 918 | } |
919 | 919 | ||
920 | $scope.employeekeyPress = function(market) { | 920 | $scope.employeekeyPress = function(market) { |
921 | if (market == undefined || market == '') { | 921 | if (market == undefined || market == '') { |
922 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); | 922 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); |
923 | } else { | 923 | } else { |
924 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); | 924 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); |
925 | } | 925 | } |
926 | } | 926 | } |
927 | 927 | ||
928 | $scope.annualkeyPress = function(risk) { | 928 | $scope.annualkeyPress = function(risk) { |
929 | if (risk == undefined || risk == '') { | 929 | if (risk == undefined || risk == '') { |
930 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); | 930 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); |
931 | } else { | 931 | } else { |
932 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); | 932 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); |
933 | } | 933 | } |
934 | } | 934 | } |
935 | 935 | ||
936 | $scope.revenuekeyPress = function(team) { | 936 | $scope.revenuekeyPress = function(team) { |
937 | if (team == undefined || team == '') { | 937 | if (team == undefined || team == '') { |
938 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); | 938 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); |
939 | } else { | 939 | } else { |
940 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); | 940 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); |
941 | } | 941 | } |
942 | } | 942 | } |
943 | 943 | ||
944 | $scope.descriptionkeyPress = function(pitch) { | 944 | $scope.descriptionkeyPress = function(pitch) { |
945 | if (pitch == undefined) { | 945 | if (pitch == undefined) { |
946 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); | 946 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); |
947 | } else { | 947 | } else { |
948 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); | 948 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); |
949 | } | 949 | } |
950 | } | 950 | } |
951 | 951 | ||
952 | $scope.discountkeyPress = function(discount) { | 952 | $scope.discountkeyPress = function(discount) { |
953 | console.log("lastName==", name); | 953 | console.log("lastName==", name); |
954 | if (discount == undefined) { | 954 | if (discount == undefined) { |
955 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); | 955 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); |
956 | } else { | 956 | } else { |
957 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); | 957 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); |
958 | } | 958 | } |
959 | } | 959 | } |
960 | 960 | ||
961 | $scope.removeNooError = function() { | 961 | $scope.removeNooError = function() { |
962 | $('#invalidIdea').css('display', 'block'); | 962 | $('#invalidIdea').css('display', 'block'); |
963 | $('#noExist').css('display', 'none'); | 963 | $('#noExist').css('display', 'none'); |
964 | }; | 964 | }; |
965 | 965 | ||
966 | $scope.ideakeyPress = function(financial) { | 966 | $scope.ideakeyPress = function(financial) { |
967 | console.log("financial", financial); | 967 | console.log("financial", financial); |
968 | if (financial == undefined) { | 968 | if (financial == undefined) { |
969 | $('#invalidIdea').css('display', 'block'); | 969 | $('#invalidIdea').css('display', 'block'); |
970 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); | 970 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); |
971 | } else { | 971 | } else { |
972 | $('#invalidIdea').css('display', 'none'); | 972 | $('#invalidIdea').css('display', 'none'); |
973 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); | 973 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); |
974 | } | 974 | } |
975 | } | 975 | } |
976 | 976 | ||
977 | $scope.fundkeyPress = function(financial) { | 977 | $scope.fundkeyPress = function(financial) { |
978 | console.log("financial", financial); | 978 | console.log("financial", financial); |
979 | if (financial == undefined) { | 979 | if (financial == undefined) { |
980 | $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); | 980 | $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); |
981 | } else { | 981 | } else { |
982 | $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)'); | 982 | $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)'); |
983 | } | 983 | } |
984 | } | 984 | } |
985 | 985 | ||
986 | $scope.changeReferalIconColor = function(referalToken){ | 986 | $scope.changeReferalIconColor = function(referalToken){ |
987 | if (referalToken == undefined || referalToken == '') { | 987 | if (referalToken == undefined || referalToken == '') { |
988 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); | 988 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); |
989 | }else { | 989 | }else { |
990 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); | 990 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); |
991 | } | 991 | } |
992 | } | 992 | } |
993 | 993 | ||
994 | }); | 994 | }); |
995 | 995 | ||
996 | scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) { | 996 | scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) { |
997 | $scope.pendingPaymentId = $route.current.params.id | 997 | $scope.pendingPaymentId = $route.current.params.id |
998 | $http({ | 998 | $http({ |
999 | method: "GET", | 999 | method: "GET", |
1000 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, | 1000 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, |
1001 | }).then(function mySuccess(response) { | 1001 | }).then(function mySuccess(response) { |
1002 | $scope.data = response.data; | 1002 | $scope.data = response.data; |
1003 | console.log("response-1", response); | 1003 | console.log("response-1", response); |
1004 | $scope.pendingPaymentId = $route.current.params.id; | 1004 | $scope.pendingPaymentId = $route.current.params.id; |
1005 | 1005 | ||
1006 | $http({ | 1006 | $http({ |
1007 | method: "GET", | 1007 | method: "GET", |
1008 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', | 1008 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', |
1009 | }).then(function mySuccess(response) { | 1009 | }).then(function mySuccess(response) { |
1010 | $scope.paymentRecord = response.data; | 1010 | $scope.paymentRecord = response.data; |
1011 | }, function myError(response) { | 1011 | }, function myError(response) { |
1012 | }); | 1012 | }); |
1013 | }, function myError(response) { | 1013 | }, function myError(response) { |
1014 | $scope.myWelcome = response.statusText; | 1014 | $scope.myWelcome = response.statusText; |
1015 | }); | 1015 | }); |
1016 | 1016 | ||
1017 | $scope.checkView = false; | 1017 | $scope.checkView = false; |
1018 | $scope.verifyView = false; | 1018 | $scope.verifyView = false; |
1019 | 1019 | ||
1020 | $scope.pendingPaymentId = ''; | 1020 | $scope.pendingPaymentId = ''; |
1021 | 1021 | ||
1022 | $scope.update = function() { | 1022 | $scope.update = function() { |
1023 | 1023 | ||
1024 | $http({ | 1024 | $http({ |
1025 | method: 'GET', | 1025 | method: 'GET', |
1026 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', | 1026 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', |
1027 | headers: {} | 1027 | headers: {} |
1028 | }).then(function mySuccess(searchResult) { | 1028 | }).then(function mySuccess(searchResult) { |
1029 | if (searchResult.data[0].status == "created") { | 1029 | if (searchResult.data[0].status == "created") { |
1030 | //if (searchResult.data[0].status == "cancelled") { | 1030 | //if (searchResult.data[0].status == "cancelled") { |
1031 | $scope.checkView = true; | 1031 | $scope.checkView = true; |
1032 | $scope.verifyView = false; | 1032 | $scope.verifyView = false; |
1033 | $scope.amount = searchResult.data[0].amount; | 1033 | $scope.amount = searchResult.data[0].amount; |
1034 | $scope.searchResult = searchResult.data[0]; | 1034 | $scope.searchResult = searchResult.data[0]; |
1035 | console.log('====searchResult===', searchResult); | 1035 | console.log('====searchResult===', searchResult); |
1036 | console.log("searchResult=====",searchResult.data[0].razorOrderId) | 1036 | console.log("searchResult=====",searchResult.data[0].razorOrderId) |
1037 | var i = 0; | 1037 | var i = 0; |
1038 | $scope.amount = $scope.amount * 100; | 1038 | $scope.amount = $scope.amount * 100; |
1039 | var options = { | 1039 | var options = { |
1040 | "key": "rzp_live_mhSE1uOBlXvFyJ", | 1040 | "key": "rzp_live_mhSE1uOBlXvFyJ", |
1041 | //"key" : "rzp_test_YwHsVFiDIQ2WUQ", | 1041 | //"key" : "rzp_test_YwHsVFiDIQ2WUQ", |
1042 | "amount": $scope.amount, | 1042 | "amount": $scope.amount, |
1043 | 1043 | ||
1044 | "name": "Startup Jalsa", | 1044 | "name": "Startup Jalsa", |
1045 | "description": "amount", | 1045 | "description": "amount", |
1046 | "currency": "INR", | 1046 | "currency": "INR", |
1047 | "status": "done", | 1047 | "status": "done", |
1048 | 1048 | ||
1049 | "theme": { | 1049 | "theme": { |
1050 | "color": "#2196f3 ", | 1050 | "color": "#2196f3 ", |
1051 | "image_padding": "NO" | 1051 | "image_padding": "NO" |
1052 | }, | 1052 | }, |
1053 | "modal": { | 1053 | "modal": { |
1054 | "ondismiss": function() {} | 1054 | "ondismiss": function() {} |
1055 | }, | 1055 | }, |
1056 | "handler": function(response) { | 1056 | "handler": function(response) { |
1057 | createPayment(response); | 1057 | createPayment(response); |
1058 | } | 1058 | } |
1059 | }; | 1059 | }; |
1060 | var rzp1 = new Razorpay(options); | 1060 | var rzp1 = new Razorpay(options); |
1061 | rzp1.open(); | 1061 | rzp1.open(); |
1062 | $scope.paymentResponse = {}; | 1062 | $scope.paymentResponse = {}; |
1063 | function createPayment(response) { | 1063 | function createPayment(response) { |
1064 | Analytics.trackEvent('payment','Successfully Done',$scope.paymentResponse.amount); | 1064 | Analytics.trackEvent('payment','Successfully Done',$scope.paymentResponse.amount); |
1065 | $scope.amount = $scope.amount / 100; | 1065 | $scope.amount = $scope.amount / 100; |
1066 | console.log("response======retepaymen",response); | 1066 | console.log("response======retepaymen",response); |
1067 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 1067 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
1068 | $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; | 1068 | $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; |
1069 | $scope.paymentResponse.amount = $scope.amount; | 1069 | $scope.paymentResponse.amount = $scope.amount; |
1070 | $scope.paymentResponse.currency = $scope.searchResult.currency; | 1070 | $scope.paymentResponse.currency = $scope.searchResult.currency; |
1071 | $scope.paymentResponse.status = $scope.searchResult.status; | 1071 | $scope.paymentResponse.status = $scope.searchResult.status; |
1072 | $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; | 1072 | $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; |
1073 | console.log("$scope.paymentResponse", $scope.paymentResponse) | 1073 | console.log("$scope.paymentResponse", $scope.paymentResponse) |
1074 | $http({ | 1074 | $http({ |
1075 | method: 'PUT', | 1075 | method: 'PUT', |
1076 | url: BASE_URL + '/payments/' + $scope.searchResult.id, | 1076 | url: BASE_URL + '/payments/' + $scope.searchResult.id, |
1077 | data: $scope.paymentResponse, | 1077 | data: $scope.paymentResponse, |
1078 | headers: {} | 1078 | headers: {} |
1079 | }).then(function mySuccess(searchResult) { | 1079 | }).then(function mySuccess(searchResult) { |
1080 | console.log("searchResult--->",searchResult) | 1080 | console.log("searchResult--->",searchResult) |
1081 | // if(paymentResult.data.status == "created"){ | 1081 | // if(paymentResult.data.status == "created"){ |
1082 | // Analytics.trackEvent('payments', 'click', 'Thankyou'); | 1082 | // Analytics.trackEvent('payments', 'click', 'Thankyou'); |
1083 | // } | 1083 | // } |
1084 | console.log("finalsearchResult",searchResult) | 1084 | console.log("finalsearchResult",searchResult) |
1085 | $location.path("/confirmation") | 1085 | $location.path("/confirmation") |
1086 | }, function myError(error) { | 1086 | }, function myError(error) { |
1087 | 1087 | ||
1088 | }); | 1088 | }); |
1089 | } | 1089 | } |
1090 | } else { | 1090 | } else { |
1091 | 1091 | ||
1092 | } | 1092 | } |
1093 | 1093 | ||
1094 | }, function myError(error) {}); | 1094 | }, function myError(error) {}); |
1095 | } | 1095 | } |
1096 | }); | 1096 | }); |
1097 | 1097 | ||
1098 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { | 1098 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { |
1099 | $scope.data = {}; | 1099 | $scope.data = {}; |
1100 | $scope.check = false; | 1100 | $scope.check = false; |
1101 | $scope.numberCheck = false; | 1101 | $scope.numberCheck = false; |
1102 | 1102 | ||
1103 | /*open videos in modal*/ | 1103 | /*open videos in modal*/ |
1104 | $scope.openyoutube16 = function(){ | 1104 | $scope.openyoutube16 = function(){ |
1105 | $('#videoModel').modal('show'); | 1105 | $('#videoModel').modal('show'); |
1106 | } | 1106 | } |
1107 | 1107 | ||
1108 | $scope.openyoutube17 = function(){ | 1108 | $scope.openyoutube17 = function(){ |
1109 | $('#videoModels').modal('show'); | 1109 | $('#videoModels').modal('show'); |
1110 | } | 1110 | } |
1111 | 1111 | ||
1112 | $scope.closeModal = function(){ | 1112 | $scope.closeModal = function(){ |
1113 | var url = $('#youtubePlayer').attr('src'); | 1113 | var url = $('#youtubePlayer').attr('src'); |
1114 | $('#youtubePlayer').attr('src', ''); | 1114 | $('#youtubePlayer').attr('src', ''); |
1115 | $('#youtubePlayer').attr('src', url); | 1115 | $('#youtubePlayer').attr('src', url); |
1116 | } | 1116 | } |
1117 | /*open videos ends here*/ | 1117 | /*open videos ends here*/ |
1118 | 1118 | ||
1119 | $scope.removeError = function() { | 1119 | $scope.removeError = function() { |
1120 | console.log("doooo") | 1120 | console.log("doooo") |
1121 | $('#invalidEmail').css('display', 'none'); | 1121 | $('#invalidEmail').css('display', 'none'); |
1122 | $('#alreadyExist').css('display', 'none'); | 1122 | $('#alreadyExist').css('display', 'none'); |
1123 | }; | 1123 | }; |
1124 | 1124 | ||
1125 | // $scope.emailcheck = function(val) { | 1125 | // $scope.emailcheck = function(val) { |
1126 | // consol.log("kdsbd") | 1126 | // consol.log("kdsbd") |
1127 | // $scope.space = /\s/g.test(val); | 1127 | // $scope.space = /\s/g.test(val); |
1128 | // console.log("space",$scope.space) | 1128 | // console.log("space",$scope.space) |
1129 | // if (val == undefined) { | 1129 | // if (val == undefined) { |
1130 | // $('#invalidEmail').css('display', 'block'); | 1130 | // $('#invalidEmail').css('display', 'block'); |
1131 | // } else { | 1131 | // } else { |
1132 | // $http({ | 1132 | // $http({ |
1133 | // method: 'GET', | 1133 | // method: 'GET', |
1134 | // url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', | 1134 | // url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', |
1135 | // headers: {} | 1135 | // headers: {} |
1136 | // }).then(function mySuccess(searchResult) { | 1136 | // }).then(function mySuccess(searchResult) { |
1137 | // console.log("searchResult1===>", searchResult) | 1137 | // console.log("searchResult1===>", searchResult) |
1138 | // if (searchResult.data.length == 0) { | 1138 | // if (searchResult.data.length == 0) { |
1139 | // $scope.check = false; | 1139 | // $scope.check = false; |
1140 | // } else { | 1140 | // } else { |
1141 | // $scope.check = true; | 1141 | // $scope.check = true; |
1142 | // $('#alreadyExist').css('display', 'block'); | 1142 | // $('#alreadyExist').css('display', 'block'); |
1143 | // } | 1143 | // } |
1144 | // }, function myError(error) {}); | 1144 | // }, function myError(error) {}); |
1145 | // } | 1145 | // } |
1146 | // }; | 1146 | // }; |
1147 | 1147 | ||
1148 | // $scope.removeNoError = function() { | 1148 | // $scope.removeNoError = function() { |
1149 | // $('#invalidNumber').css('display', 'none'); | 1149 | // $('#invalidNumber').css('display', 'none'); |
1150 | // $('#noExist').css('display', 'none'); | 1150 | // $('#noExist').css('display', 'none'); |
1151 | // }; | 1151 | // }; |
1152 | 1152 | ||
1153 | // $scope.numbercheck = function(number) { | 1153 | // $scope.numbercheck = function(number) { |
1154 | // // if (val == undefined) { | 1154 | // // if (val == undefined) { |
1155 | // // $('#invalidNumber').css('display', 'block'); | 1155 | // // $('#invalidNumber').css('display', 'block'); |
1156 | // // } else { | 1156 | // // } else { |
1157 | // $http({ | 1157 | // $http({ |
1158 | // method: 'GET', | 1158 | // method: 'GET', |
1159 | // url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', | 1159 | // url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', |
1160 | // data: $scope.data, | 1160 | // data: $scope.data, |
1161 | // headers: {} | 1161 | // headers: {} |
1162 | // }).then(function mySuccess(searchResult) { | 1162 | // }).then(function mySuccess(searchResult) { |
1163 | // console.log("searchResult===>", searchResult) | 1163 | // console.log("searchResult===>", searchResult) |
1164 | // if (searchResult.data.length == 0) { | 1164 | // if (searchResult.data.length == 0) { |
1165 | // $scope.numberCheck = false; | 1165 | // $scope.numberCheck = false; |
1166 | // } else { | 1166 | // } else { |
1167 | // $scope.numberCheck = true; | 1167 | // $scope.numberCheck = true; |
1168 | // $('#noExist').css('display', 'block'); | 1168 | // $('#noExist').css('display', 'block'); |
1169 | // } | 1169 | // } |
1170 | // }, function myError(error) {}); | 1170 | // }, function myError(error) {}); |
1171 | // //} | 1171 | // //} |
1172 | 1172 | ||
1173 | // }; | 1173 | // }; |
1174 | 1174 | ||
1175 | $scope.submit = function() { | 1175 | $scope.submit = function() { |
1176 | console.log($scope.data.name) | 1176 | console.log($scope.data.name) |
1177 | var randomNumber = ""+Math.random(); | 1177 | var randomNumber = ""+Math.random(); |
1178 | var nameSpliced = $scope.data.name.slice(0,3); | 1178 | var nameSpliced = $scope.data.name.slice(0,3); |
1179 | var numberSpliced = randomNumber.slice(2,5); | 1179 | var numberSpliced = randomNumber.slice(2,5); |
1180 | $scope.data.referalToken = nameSpliced+numberSpliced; | 1180 | $scope.data.referalToken = nameSpliced+numberSpliced; |
1181 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); | 1181 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); |
1182 | 1182 | ||
1183 | $http({ | 1183 | $http({ |
1184 | method: 'POST', | 1184 | method: 'POST', |
1185 | url: BASE_URL + '/ambassadors', | 1185 | url: BASE_URL + '/ambassadors', |
1186 | data: $scope.data, | 1186 | data: $scope.data, |
1187 | headers: {} | 1187 | headers: {} |
1188 | }).then(function mySuccess(result) { | 1188 | }).then(function mySuccess(result) { |
1189 | console.log("result", result) | 1189 | console.log("result", result) |
1190 | $scope.detail = result; | 1190 | $scope.detail = result; |
1191 | $('#myModal').modal('show'); | 1191 | $('#myModal').modal('show'); |
1192 | $scope.data.name = ''; | 1192 | $scope.data.name = ''; |
1193 | $scope.data.email = ''; | 1193 | $scope.data.email = ''; |
1194 | $scope.data.mobile = ''; | 1194 | $scope.data.mobile = ''; |
1195 | // $scope.data.discount = ''; | 1195 | // $scope.data.discount = ''; |
1196 | 1196 | ||
1197 | }, function myError(error) { | 1197 | }, function myError(error) { |
1198 | console.log(error) | 1198 | console.log(error) |
1199 | console.log(error.data.error.message) | 1199 | console.log(error.data.error.message) |
1200 | }); | 1200 | }); |
1201 | console.log($scope.data) | 1201 | console.log($scope.data) |
1202 | } | 1202 | } |
1203 | }); | 1203 | }); |
1204 | 1204 | ||
1205 | 1205 | ||
1206 | 1206 | ||
1207 | 1207 |