Commit 629cc1f8f70a0cb2655a6d7b73ebfe3ead3f88fb

Authored by Palak Handa
1 parent 8f41724fcd
Exists in master and in 1 other branch paytm

minor changes

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