Commit 317a805717a01dc2e85f34ba444504d39f17be2d

Authored by Palak Handa
1 parent 5f03559c63
Exists in master and in 1 other branch paytm

city selected

pages/ambassador.html
1 <div class="header"> 1 <div class="header">
2 <div> 2 <div>
3 <h1 class="startup-jalsa">STARTUP JALSA 2018</h1> 3 <h1 class="startup-jalsa">STARTUP JALSA 2018</h1>
4 </div> 4 </div>
5 <div class="clearfix"></div> 5 <div class="clearfix"></div>
6 </div> 6 </div>
7 <!-- CLOSE HEADER --> 7 <!-- CLOSE HEADER -->
8 <form name="applicantForm"> 8 <form name="applicantForm">
9 <div class="col-xs-12 col-md-8 col-md-offset-2"> 9 <div class="col-xs-12 col-md-8 col-md-offset-2">
10 <div class="form-all"> 10 <div class="form-all">
11 <!-- <table style="width: 100%;"> 11 <!-- <table style="width: 100%;">
12 <tr> 12 <tr>
13 <td> 13 <td>
14 <div class="step-one-form" > --> 14 <div class="step-one-form" > -->
15 <!-- form step 1 --> 15 <!-- form step 1 -->
16 <div class="col-xs-12 col-md-6 input-wrapper" > 16 <div class="col-xs-12 col-md-6 input-wrapper" >
17 <div id="snackbar">Error ! Please fill in all fields.</div> 17 <div id="snackbar">Error ! Please fill in all fields.</div>
18 <div class="icon-circle-c"> 18 <div class="icon-circle-c">
19 <i class="material-icons" style="line-height: 31px;">person</i> 19 <i class="material-icons" style="line-height: 31px;">person</i>
20 </div> 20 </div>
21 <input type="text" class="text-input" required ng-model="data.name" placeholder="Name *" id="myBtn" name="name" ng-change="entername(data.name); firstNamekeyPress(data.name)"> 21 <input type="text" class="text-input" required ng-model="data.name" placeholder="Name *" id="myBtn" name="name" ng-change="entername(data.name); firstNamekeyPress(data.name)">
22 </div> 22 </div>
23 <div class="col-xs-12 col-md-6 input-wrapper" > 23 <div class="col-xs-12 col-md-6 input-wrapper" >
24 <div id="snackbar">Error ! Please fill in all fields.</div> 24 <div id="snackbar">Error ! Please fill in all fields.</div>
25 <div class="icon-circle-d"> 25 <div class="icon-circle-d">
26 <i class="material-icons" style="line-height: 30px;">email</i> 26 <i class="material-icons" style="line-height: 30px;">email</i>
27 </div> 27 </div>
28 <input type="email" name="email" ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address *" ng-change="enteremail(data.email); emailkeyPress(data.email)"> 28 <input type="email" name="email" ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address *" ng-change="enteremail(data.email); emailkeyPress(data.email)">
29 <!-- <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> 29 <!-- <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label>
30 <label ng-if="check">Email already exist.</label> --> 30 <label ng-if="check">Email already exist.</label> -->
31 </div> 31 </div>
32 <div class="col-xs-12 col-md-6 input-wrapper" > 32 <div class="col-xs-12 col-md-6 input-wrapper" >
33 <div class="icon-circle-e"> 33 <div class="icon-circle-e">
34 <i class="material-icons" style="line-height: 30px;">phone</i> 34 <i class="material-icons" style="line-height: 30px;">phone</i>
35 </div> 35 </div>
36 <input type="text" ng-pattern="/^\d*(?:\.\d{1,2})?$/" title="Please enter only numberic numbers" maxlength="10" required class="text-input" ng-model="data.number" placeholder="Mobile No.*" ng-change="enternumber(data.number); phonekeyPress(data.number)"> 36 <input type="text" ng-pattern="/^\d*(?:\.\d{1,2})?$/" title="Please enter only numberic numbers" maxlength="10" required class="text-input" ng-model="data.number" placeholder="Mobile No.*" ng-change="enternumber(data.number); phonekeyPress(data.number)">
37 <!-- <label class="error-message f-family" id="invalidNumber">Please enter only numeric value in mobile number field.</label> --> 37 <!-- <label class="error-message f-family" id="invalidNumber">Please enter only numeric value in mobile number field.</label> -->
38 <label ng-if="numberCheck">Contact Number already exist.</label> 38 <label ng-if="numberCheck">Contact Number already exist.</label>
39 </div> 39 </div>
40 <div class="col-xs-12 col-md-6 input-wrapper"> 40 <div class="col-xs-12 col-md-6 input-wrapper">
41 <div class="icon-circle-f"> 41 <div class="icon-circle-f">
42 <i class="material-icons" style="line-height: 30px;">location_city</i> 42 <i class="material-icons" style="line-height: 30px;">location_city</i>
43 </div> 43 </div>
44 <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> 44 <select ng-model="city" ng-change="selectcity(city); citykeyPress(city)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required>
45 <option name="city" selected disabled value="">Choose City *</option> 45 <option name="city" selected disabled value="">{{city}}</option>
46 <option value="Ahmedabad">Ahmedabad</option> 46 <option value="Ahmedabad">Ahmedabad</option>
47 <option value="Bangalore">Bangalore</option> 47 <option value="Bangalore">Bangalore</option>
48 <option value="Chennai">Chennai</option> 48 <option value="Chennai">Chennai</option>
49 <option value="Delhi">Delhi</option> 49 <option value="Delhi">Delhi</option>
50 <option value="Guwahati">Guwahati</option> 50 <option value="Guwahati">Guwahati</option>
51 <option value="Hyderabad">Hyderabad</option> 51 <option value="Hyderabad">Hyderabad</option>
52 <option value="Jaipur">Jaipur</option> 52 <option value="Jaipur">Jaipur</option>
53 <option value="Kanpur">Kanpur</option> 53 <option value="Kanpur">Kanpur</option>
54 <option value="Kolkata">Kolkata</option> 54 <option value="Kolkata">Kolkata</option>
55 <option value="Mumbai">Mumbai</option> 55 <option value="Mumbai">Mumbai</option>
56 </select> 56 </select>
57 </div> 57 </div>
58 <div class="col-xs-12 col-md-6 input-wrapper"> 58 <div class="col-xs-12 col-md-6 input-wrapper">
59 <div class="icon-circle-i"> 59 <div class="icon-circle-i">
60 <i class="material-icons" style="line-height: 30px;">perm_identity</i> 60 <i class="material-icons" style="line-height: 30px;">perm_identity</i>
61 </div> 61 </div>
62 <input type="text" class="text-input" ng-model="data.companyName" placeholder="Company Name *" ng-change="enternumber(data.companyName); companykeyPress(data.companyName)" required> 62 <input type="text" class="text-input" ng-model="data.companyName" placeholder="Company Name *" ng-change="enternumber(data.companyName); companykeyPress(data.companyName)" required>
63 </div> 63 </div>
64 <div class="col-xs-12 col-md-6 input-wrapper"> 64 <div class="col-xs-12 col-md-6 input-wrapper">
65 <div class="icon-circle-z"> 65 <div class="icon-circle-z">
66 <i class="material-icons" style="line-height: 30px;">web</i> 66 <i class="material-icons" style="line-height: 30px;">web</i>
67 </div> 67 </div>
68 <input name="website" class="text-input" ng-model="data.website" placeholder="Website link" ng-change="abc(); descriptionkeyPress(data.website)"></input> 68 <input name="website" class="text-input" ng-model="data.website" placeholder="Website link" ng-change="abc(); descriptionkeyPress(data.website)"></input>
69 </div> 69 </div>
70 <div class="col-xs-12 col-md-6 input-wrapper"> 70 <div class="col-xs-12 col-md-6 input-wrapper">
71 <div class="icon-circle-y"> 71 <div class="icon-circle-y">
72 <i class="material-icons" style="line-height: 30px;">assignment</i> 72 <i class="material-icons" style="line-height: 30px;">assignment</i>
73 </div> 73 </div>
74 <select ng-model="data.stage" ng-change="selectechnology(data.stage); fundkeyPress(data.stage)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> 74 <select ng-model="data.stage" ng-change="selectechnology(data.stage); fundkeyPress(data.stage)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required>
75 <option name="stage" selected disabled value="">Choose Startup Stage *</option> 75 <option name="stage" selected disabled value="">Choose Startup Stage *</option>
76 <option value="Proof of Concept">Proof of Concept</option> 76 <option value="Proof of Concept">Proof of Concept</option>
77 <option value="Beta Launched">Beta Launched</option> 77 <option value="Beta Launched">Beta Launched</option>
78 <option value="Early Revenues">Early Revenues</option> 78 <option value="Early Revenues">Early Revenues</option>
79 <option value="Steady Revenues">Steady Revenues</option> 79 <option value="Steady Revenues">Steady Revenues</option>
80 <option value="Other">Other</option> 80 <option value="Other">Other</option>
81 </select> 81 </select>
82 </div> 82 </div>
83 <div class="col-xs-12 col-md-6 input-wrapper"> 83 <div class="col-xs-12 col-md-6 input-wrapper">
84 <div class="icon-circle-q"> 84 <div class="icon-circle-q">
85 <i class="material-icons" style="line-height: 30px;">business</i> 85 <i class="material-icons" style="line-height: 30px;">business</i>
86 </div> 86 </div>
87 <select ng-model="data.business" ng-change="selectechnology(data.business); ideakeyPress(data.business)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> 87 <select ng-model="data.business" ng-change="selectechnology(data.business); ideakeyPress(data.business)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required>
88 <option name="business" selected disabled value="">Type of business *</option> 88 <option name="business" selected disabled value="">Type of business *</option>
89 <option value="B2B">B2B</option> 89 <option value="B2B">B2B</option>
90 <option value="B2C">B2C</option> 90 <option value="B2C">B2C</option>
91 </select> 91 </select>
92 </div> 92 </div>
93 <div class="col-xs-12 col-md-12 f-family line-adjust"> 93 <div class="col-xs-12 col-md-12 f-family line-adjust">
94 <strong>How many founders/teammates will be attending the meetup? *</strong> 94 <strong>How many founders/teammates will be attending the meetup? *</strong>
95 <p class="line-space" ></p> 95 <p class="line-space" ></p>
96 </div> 96 </div>
97 <div class="col-xs-12 col-md-12 input-wrapper" > 97 <div class="col-xs-12 col-md-12 input-wrapper" >
98 <div class="icon-circle-o"> 98 <div class="icon-circle-o">
99 <i class="material-icons" style="line-height: 30px;">confirmation_number</i> 99 <i class="material-icons" style="line-height: 30px;">confirmation_number</i>
100 </div> 100 </div>
101 <select ng-model="data.founder" ng-change="selectfounder(data.founder); discountkeyPress(data.founder)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> 101 <select ng-model="data.founder" ng-change="selectfounder(data.founder); discountkeyPress(data.founder)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required>
102 <option name="founder" selected disabled value="">Choose</option> 102 <option name="founder" selected disabled value="">Choose</option>
103 <option value="1">1</option> 103 <option value="1">1</option>
104 <option value="2">2</option> 104 <option value="2">2</option>
105 <option value="3">3</option> 105 <option value="3">3</option>
106 <option value="more than 3">more than 3</option> 106 <option value="more than 3">more than 3</option>
107 </select> 107 </select>
108 </div> 108 </div>
109 <div class="col-xs-12 col-md-12 f-family line-adjust"> 109 <div class="col-xs-12 col-md-12 f-family line-adjust">
110 <strong>In which city is your startup registered at?</strong> 110 <strong>In which city is your startup registered at?</strong>
111 <p class="line-space" ></p> 111 <p class="line-space" ></p>
112 </div> 112 </div>
113 <div class="col-xs-12 col-md-12 input-wrapper"> 113 <div class="col-xs-12 col-md-12 input-wrapper">
114 <div class="icon-circle-m"> 114 <div class="icon-circle-m">
115 <i class="material-icons" style="line-height: 30px;">assessment</i> 115 <i class="material-icons" style="line-height: 30px;">assessment</i>
116 </div> 116 </div>
117 <input type="text" class="text-input" ng-model="data.cityRegister" placeholder="Your Answer.." ng-change="entertechnology(data.cityRegister); annualkeyPress(data.cityRegister)"> 117 <input type="text" class="text-input" ng-model="data.cityRegister" placeholder="Your Answer.." ng-change="entertechnology(data.cityRegister); annualkeyPress(data.cityRegister)">
118 </div> 118 </div>
119 <div class="col-xs-12 col-md-12 f-family line-adjust"> 119 <div class="col-xs-12 col-md-12 f-family line-adjust">
120 <strong>Give us a brief introduction about your startup. *</strong> 120 <strong>Give us a brief introduction about your startup. *</strong>
121 <p class="line-space" >Kindly write a powerful Twitter Pitch.</p> 121 <p class="line-space" >Kindly write a powerful Twitter Pitch.</p>
122 </div> 122 </div>
123 <div class="col-xs-12 col-md-12 input-wrapper"> 123 <div class="col-xs-12 col-md-12 input-wrapper">
124 <div class="icon-circle-x"> 124 <div class="icon-circle-x">
125 <i class="material-icons" style="line-height: 30px;">line_weight</i> 125 <i class="material-icons" style="line-height: 30px;">line_weight</i>
126 </div> 126 </div>
127 <textarea name="intro" class="text-input textarea" ng-model="data.intro" placeholder="Your Answer.." maxlength="200" ng-change="enterproblem(data.intro); startupNamekeyPress(data.intro)" required></textarea> 127 <textarea name="intro" class="text-input textarea" ng-model="data.intro" placeholder="Your Answer.." maxlength="200" ng-change="enterproblem(data.intro); startupNamekeyPress(data.intro)" required></textarea>
128 </div> 128 </div>
129 <div class="col-xs-12 col-md-12 f-family line-adjust"> 129 <div class="col-xs-12 col-md-12 f-family line-adjust">
130 <strong>Who are your customers? *</strong> 130 <strong>Who are your customers? *</strong>
131 <p class="line-space" >We are looking for a simple and clear answer of who you are selling to.</p> 131 <p class="line-space" >We are looking for a simple and clear answer of who you are selling to.</p>
132 </div> 132 </div>
133 <div class="col-xs-12 col-md-12 input-wrapper"> 133 <div class="col-xs-12 col-md-12 input-wrapper">
134 <div class="icon-circle-k"> 134 <div class="icon-circle-k">
135 <i class="material-icons" style="line-height: 30px;">help</i> 135 <i class="material-icons" style="line-height: 30px;">help</i>
136 </div> 136 </div>
137 <textarea name="customer" class="text-input textarea" ng-model="data.customer" placeholder="Your Answer.." ng-change="entersolution(data.customer); websitekeyPress(data.customer)" required></textarea> 137 <textarea name="customer" class="text-input textarea" ng-model="data.customer" placeholder="Your Answer.." ng-change="entersolution(data.customer); websitekeyPress(data.customer)" required></textarea>
138 </div> 138 </div>
139 <div class="col-xs-12 col-md-12 f-family line-adjust"> 139 <div class="col-xs-12 col-md-12 f-family line-adjust">
140 <strong>What problem you are solving for them? *</strong> 140 <strong>What problem you are solving for them? *</strong>
141 <p class="line-space" >We want to understand how clearly you know the pain point, and how big of a problem it is for the customers.</p> 141 <p class="line-space" >We want to understand how clearly you know the pain point, and how big of a problem it is for the customers.</p>
142 </div> 142 </div>
143 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 143 <div class="col-xs-12 col-md-12 input-wrapper f-family">
144 <div class="icon-circle-p"> 144 <div class="icon-circle-p">
145 <i class="material-icons" style="line-height: 30px;">business_center</i> 145 <i class="material-icons" style="line-height: 30px;">business_center</i>
146 </div> 146 </div>
147 <textarea name="problem" class="text-input textarea" ng-model="data.problem" placeholder="Your Answer.." ng-change="enterbusiness(data.problem); businesskeyPress(data.problem)" required> 147 <textarea name="problem" class="text-input textarea" ng-model="data.problem" placeholder="Your Answer.." ng-change="enterbusiness(data.problem); businesskeyPress(data.problem)" required>
148 </textarea> 148 </textarea>
149 </div> 149 </div>
150 <div class="col-xs-12 col-md-12 f-family line-adjust"> 150 <div class="col-xs-12 col-md-12 f-family line-adjust">
151 <strong>Link your pitch deck presentation. *</strong> 151 <strong>Link your pitch deck presentation. *</strong>
152 <p class="line-space" >Kindly upload your pitch deck to Google Presentation and make the link sharing settings open to all.</p> 152 <p class="line-space" >Kindly upload your pitch deck to Google Presentation and make the link sharing settings open to all.</p>
153 </div> 153 </div>
154 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 154 <div class="col-xs-12 col-md-12 input-wrapper f-family">
155 <div class="icon-circle-h"> 155 <div class="icon-circle-h">
156 <i class="material-icons" style="line-height: 30px;">web</i> 156 <i class="material-icons" style="line-height: 30px;">web</i>
157 </div> 157 </div>
158 <input name="link" class="text-input" ng-pattern="/^(http[s]?:\/\/){0,1}(www\.){0,1}[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,5}[\.]{0,1}/" ng-blur="emailcheck(data.link)" ng-focus="removeError()" ng-model="data.link" placeholder="link" ng-change="enterbusiness(data.link); linkedInkeyPress(data.link)" required> 158 <input name="link" class="text-input" ng-pattern="/^(http[s]?:\/\/){0,1}(www\.){0,1}[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,5}[\.]{0,1}/" ng-blur="emailcheck(data.link)" ng-focus="removeError()" ng-model="data.link" placeholder="link" ng-change="enterbusiness(data.link); linkedInkeyPress(data.link)" required>
159 <!-- <label class="error-message f-family" id="invalidEmail">Please enter a valid link.</label> --> 159 <!-- <label class="error-message f-family" id="invalidEmail">Please enter a valid link.</label> -->
160 </div> 160 </div>
161 <div class="col-xs-12 col-md-12 f-family line-adjust"> 161 <div class="col-xs-12 col-md-12 f-family line-adjust">
162 <strong>Coupon Code.</strong> 162 <strong>Coupon Code.</strong>
163 <p class="line-space" >It's applicable.</p> 163 <p class="line-space" >It's applicable.</p>
164 </div> 164 </div>
165 <div class="col-xs-12 input-wrapper"> 165 <div class="col-xs-12 input-wrapper">
166 <div class="referel-icon" style="z-index: 999;"> 166 <div class="referel-icon" style="z-index: 999;">
167 <i class="material-icons" style="line-height: 30px;">code</i> 167 <i class="material-icons" style="line-height: 30px;">code</i>
168 </div> 168 </div>
169 <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> 169 <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)">
170 <!-- <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> 170 <!-- <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i>
171 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> 171 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i>
172 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> --> 172 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> -->
173 </div> 173 </div>
174 <div class="clearfix"></div> 174 <div class="clearfix"></div>
175 <!-- </div> --> 175 <!-- </div> -->
176 <!-- close step-one-form --> 176 <!-- close step-one-form -->
177 <!-- </td> 177 <!-- </td>
178 </tr> 178 </tr>
179 </table> --> 179 </table> -->
180 </div> 180 </div>
181 <!-- CLOSE form-all --> 181 <!-- CLOSE form-all -->
182 <!-- </div> --> 182 <!-- </div> -->
183 <div class="clearfix"></div> 183 <div class="clearfix"></div>
184 <div class="text-center"> 184 <div class="text-center">
185 <input type="submit" class="btn submit-button-form" ng-disabled="applicantForm.$invalid" value="Submit" ng-click="submit()"> 185 <input type="submit" class="btn submit-button-form" ng-disabled="applicantForm.$invalid" value="Submit" ng-click="submit()">
186 </div> 186 </div>
187 </div> 187 </div>
188 <!-- col-xs-12 col-md-8 col-md-offset-2 --> 188 <!-- col-xs-12 col-md-8 col-md-offset-2 -->
189 <footer> 189 <footer>
190 <img id="footer" class="img-responsive banner"> 190 <img id="footer" class="img-responsive banner">
191 <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank"></a> 191 <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank"></a>
192 </center> 192 </center>
193 </footer> 193 </footer>
194 </form> 194 </form>
195 <!-- CLOSE FORM --> 195 <!-- CLOSE FORM -->
196 <!-- </div> CLOSE CHECK VIEW --> 196 <!-- </div> CLOSE CHECK VIEW -->
pages/registration.html
1 <div class="col-xs-12 col-md-10 col-md-offset-1"> 1 <div class="col-xs-12 col-md-10 col-md-offset-1">
2 <div class="stage-shadow" id="front"> 2 <div class="stage-shadow" id="front">
3 <div class="stages card-align"> 3 <div class="stages card-align">
4 <div class="row"> 4 <div class="row">
5 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 5 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
6 <div class="card" style="width:100%;border-radius: 6px;"> 6 <div class="card" style="width:100%;border-radius: 6px;">
7 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 7 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
8 <img class="card-img-top" src="images/bangeluru.png" style="width:100%"> 8 <img class="card-img-top" src="images/bangeluru.png" style="width:100%">
9 <div class="card-block"> 9 <div class="card-block">
10 <div class="pull-left"> 10 <div class="pull-left">
11 <label class="card-title">Bangalore</label><br> 11 <label class="card-title">Bangalore</label><br>
12 <label class="card-sub-title">Tuesday</label> 12 <label class="card-sub-title">Tuesday</label>
13 </div> 13 </div>
14 <div class="pull-right"> 14 <div class="pull-right">
15 <label class="card-sub-title"><i class="material-icons">location_on</i> 15 <label class="card-sub-title"><i class="material-icons">location_on</i>
16 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Bangalore</span> 16 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Bangalore</span>
17 </label> 17 </label>
18 </div> 18 </div>
19 <div class="clearfix"></div> 19 <div class="clearfix"></div>
20 <label class="card-sub-title">Sept 18, 2018</label> 20 <label class="card-sub-title">Sept 18, 2018</label>
21 </div> 21 </div>
22 </label> 22 </label>
23 <div class="clearfix"></div> 23 <div class="clearfix"></div>
24 <div class="card-text2"> 24 <div class="card-text2">
25 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> 25 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Bangalore')" >Apply</button>
26 </div> 26 </div>
27 </div> 27 </div>
28 </div> 28 </div>
29 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 29 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
30 <div class="card" style="width:100%;border-radius: 6px;"> 30 <div class="card" style="width:100%;border-radius: 6px;">
31 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 31 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
32 <img class="card-img-top" src="images/chennai.png" style="width:100%"> 32 <img class="card-img-top" src="images/chennai.png" style="width:100%">
33 <div class="card-block"> 33 <div class="card-block">
34 <div class="pull-left"> 34 <div class="pull-left">
35 <label class="card-title">Chennai</label><br> 35 <label class="card-title">Chennai</label><br>
36 <label class="card-sub-title">Thursday</label> 36 <label class="card-sub-title">Thursday</label>
37 </div> 37 </div>
38 <div class="pull-right"> 38 <div class="pull-right">
39 <label class="card-sub-title"><i class="material-icons">location_on</i> 39 <label class="card-sub-title"><i class="material-icons">location_on</i>
40 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Madras</span> 40 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Madras</span>
41 </label> 41 </label>
42 </div> 42 </div>
43 <div class="clearfix"></div> 43 <div class="clearfix"></div>
44 <label class="card-sub-title">Sept 20, 2018</label> 44 <label class="card-sub-title">Sept 20, 2018</label>
45 </div> 45 </div>
46 </label> 46 </label>
47 <div class="clearfix"></div> 47 <div class="clearfix"></div>
48 <div class="card-text2"> 48 <div class="card-text2">
49 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> 49 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Chennai')" >Apply</button>
50 </div> 50 </div>
51 </div> 51 </div>
52 </div> 52 </div>
53 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 53 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
54 <div class="card" style="width:100%;border-radius: 6px;"> 54 <div class="card" style="width:100%;border-radius: 6px;">
55 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 55 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
56 <img class="card-img-top" src="images/hydrabad.png" style="width:100%"> 56 <img class="card-img-top" src="images/hydrabad.png" style="width:100%">
57 <div class="card-block"> 57 <div class="card-block">
58 <div class="pull-left"> 58 <div class="pull-left">
59 <label class="card-title">Hyderabad</label><br> 59 <label class="card-title">Hyderabad</label><br>
60 <label class="card-sub-title">Saturday</label> 60 <label class="card-sub-title">Saturday</label>
61 </div> 61 </div>
62 <div class="pull-right"> 62 <div class="pull-right">
63 <label class="card-sub-title"><i class="material-icons">location_on</i> 63 <label class="card-sub-title"><i class="material-icons">location_on</i>
64 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Hyderabad</span> 64 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Hyderabad</span>
65 </label> 65 </label>
66 </div> 66 </div>
67 <div class="clearfix"></div> 67 <div class="clearfix"></div>
68 <label class="card-sub-title">Sept 22, 2018</label> 68 <label class="card-sub-title">Sept 22, 2018</label>
69 </div> 69 </div>
70 </label> 70 </label>
71 <div class="clearfix"></div> 71 <div class="clearfix"></div>
72 <div class="card-text2"> 72 <div class="card-text2">
73 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> 73 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Hyderabad')" >Apply</button>
74 </div> 74 </div>
75 </div> 75 </div>
76 </div> 76 </div>
77 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 77 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
78 <div class="card" style="width:100%;border-radius: 6px;"> 78 <div class="card" style="width:100%;border-radius: 6px;">
79 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 79 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
80 <img class="card-img-top" src="images/mumbai.png" style="width:100%"> 80 <img class="card-img-top" src="images/mumbai.png" style="width:100%">
81 <div class="card-block"> 81 <div class="card-block">
82 <div class="pull-left"> 82 <div class="pull-left">
83 <label class="card-title">Mumbai</label><br> 83 <label class="card-title">Mumbai</label><br>
84 <label class="card-sub-title">Wednesday</label> 84 <label class="card-sub-title">Wednesday</label>
85 </div> 85 </div>
86 <div class="pull-right"> 86 <div class="pull-right">
87 <label class="card-sub-title"><i class="material-icons">location_on</i> 87 <label class="card-sub-title"><i class="material-icons">location_on</i>
88 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Bombay</span> 88 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Bombay</span>
89 </label> 89 </label>
90 </div> 90 </div>
91 <div class="clearfix"></div> 91 <div class="clearfix"></div>
92 <label class="card-sub-title">Sept 26, 2018</label> 92 <label class="card-sub-title">Sept 26, 2018</label>
93 </div> 93 </div>
94 </label> 94 </label>
95 <div class="clearfix"></div> 95 <div class="clearfix"></div>
96 <div class="card-text2"> 96 <div class="card-text2">
97 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> 97 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Mumbai')" >Apply</button>
98 </div> 98 </div>
99 </div> 99 </div>
100 </div> 100 </div>
101 </div> 101 </div>
102 </div> 102 </div>
103 <div class="clearfix"></div> 103 <div class="clearfix"></div>
104 <div class="stages card-align"> 104 <div class="stages card-align">
105 <div class="row"> 105 <div class="row">
106 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 106 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
107 <div class="card" style="width:100%;border-radius: 6px;"> 107 <div class="card" style="width:100%;border-radius: 6px;">
108 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 108 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
109 <img class="card-img-top" src="images/guwahati.png" style="width:100%"> 109 <img class="card-img-top" src="images/guwahati.png" style="width:100%">
110 <div class="card-block"> 110 <div class="card-block">
111 <div class="pull-left"> 111 <div class="pull-left">
112 <label class="card-title">Guwahati</label><br> 112 <label class="card-title">Guwahati</label><br>
113 <label class="card-sub-title">Saturday</label> 113 <label class="card-sub-title">Saturday</label>
114 </div> 114 </div>
115 <div class="pull-right"> 115 <div class="pull-right">
116 <label class="card-sub-title"><i class="material-icons">location_on</i> 116 <label class="card-sub-title"><i class="material-icons">location_on</i>
117 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Guwahati</span> 117 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Guwahati</span>
118 </label> 118 </label>
119 </div> 119 </div>
120 <div class="clearfix"></div> 120 <div class="clearfix"></div>
121 <label class="card-sub-title">Sept 29, 2018</label> 121 <label class="card-sub-title">Sept 29, 2018</label>
122 </div> 122 </div>
123 </label> 123 </label>
124 <div class="clearfix"></div> 124 <div class="clearfix"></div>
125 <div class="card-text2"> 125 <div class="card-text2">
126 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> 126 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Guwahati')" >Apply</button>
127 </div> 127 </div>
128 </div> 128 </div>
129 </div> 129 </div>
130 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 130 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
131 <div class="card" style="width:100%;border-radius: 6px;"> 131 <div class="card" style="width:100%;border-radius: 6px;">
132 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 132 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
133 <img class="card-img-top" src="images/kolkata.png" style="width:100%"> 133 <img class="card-img-top" src="images/kolkata.png" style="width:100%">
134 <div class="card-block"> 134 <div class="card-block">
135 <div class="pull-left"> 135 <div class="pull-left">
136 <label class="card-title">Kolkata</label><br> 136 <label class="card-title">Kolkata</label><br>
137 <label class="card-sub-title">Wednesday</label> 137 <label class="card-sub-title">Wednesday</label>
138 </div> 138 </div>
139 <div class="pull-right"> 139 <div class="pull-right">
140 <label class="card-sub-title"><i class="material-icons">location_on</i> 140 <label class="card-sub-title"><i class="material-icons">location_on</i>
141 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Calcutta</span> 141 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Calcutta</span>
142 </label> 142 </label>
143 </div> 143 </div>
144 <div class="clearfix"></div> 144 <div class="clearfix"></div>
145 <label class="card-sub-title">Oct 3, 2018</label> 145 <label class="card-sub-title">Oct 3, 2018</label>
146 </div> 146 </div>
147 </label> 147 </label>
148 <div class="clearfix"></div> 148 <div class="clearfix"></div>
149 <div class="card-text2"> 149 <div class="card-text2">
150 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> 150 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Kolkata')" >Apply</button>
151 </div> 151 </div>
152 </div> 152 </div>
153 </div> 153 </div>
154 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 154 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
155 <div class="card" style="width:100%;border-radius: 6px;"> 155 <div class="card" style="width:100%;border-radius: 6px;">
156 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 156 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
157 <img class="card-img-top" src="images/jaipur.png" style="width:100%"> 157 <img class="card-img-top" src="images/jaipur.png" style="width:100%">
158 <div class="card-block"> 158 <div class="card-block">
159 <div class="pull-left"> 159 <div class="pull-left">
160 <label class="card-title">Jaipur</label><br> 160 <label class="card-title">Jaipur</label><br>
161 <label class="card-sub-title">Friday</label> 161 <label class="card-sub-title">Friday</label>
162 </div> 162 </div>
163 <div class="pull-right"> 163 <div class="pull-right">
164 <label class="card-sub-title"><i class="material-icons">location_on</i> 164 <label class="card-sub-title"><i class="material-icons">location_on</i>
165 <span style="position: relative;top: -3px;font-size: 17px;">Startup Oasis</span> 165 <span style="position: relative;top: -3px;font-size: 17px;">Startup Oasis</span>
166 </label> 166 </label>
167 </div> 167 </div>
168 <div class="clearfix"></div> 168 <div class="clearfix"></div>
169 <label class="card-sub-title">Oct 5, 2018</label> 169 <label class="card-sub-title">Oct 5, 2018</label>
170 </div> 170 </div>
171 </label> 171 </label>
172 <div class="clearfix"></div> 172 <div class="clearfix"></div>
173 <div class="card-text2"> 173 <div class="card-text2">
174 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> 174 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Jaipur')" >Apply</button>
175 </div> 175 </div>
176 </div> 176 </div>
177 </div> 177 </div>
178 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 178 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
179 <div class="card" style="width:100%;border-radius: 6px;"> 179 <div class="card" style="width:100%;border-radius: 6px;">
180 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 180 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
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 <label class="card-title">Delhi</label><br> 184 <label class="card-title">Delhi</label><br>
185 <label class="card-sub-title">Monday</label> 185 <label class="card-sub-title">Monday</label>
186 </div> 186 </div>
187 <div class="pull-right"> 187 <div class="pull-right">
188 <label class="card-sub-title"><i class="material-icons">location_on</i> 188 <label class="card-sub-title"><i class="material-icons">location_on</i>
189 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Delhi</span> 189 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Delhi</span>
190 </label> 190 </label>
191 </div> 191 </div>
192 <div class="clearfix"></div> 192 <div class="clearfix"></div>
193 <label class="card-sub-title">Oct 8, 2018</label> 193 <label class="card-sub-title">Oct 8, 2018</label>
194 </div> 194 </div>
195 </label> 195 </label>
196 <div class="clearfix"></div> 196 <div class="clearfix"></div>
197 <div class="card-text2"> 197 <div class="card-text2">
198 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> 198 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Delhi')" >Apply</button>
199 </div> 199 </div>
200 </div> 200 </div>
201 </div> 201 </div>
202 </div> 202 </div>
203 </div> 203 </div>
204 <div class="clearfix"></div> 204 <div class="clearfix"></div>
205 <div class="stages card-align"> 205 <div class="stages card-align">
206 <div class="row"> 206 <div class="row">
207 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 207 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
208 <div class="card" style="width:100%;border-radius: 6px;"> 208 <div class="card" style="width:100%;border-radius: 6px;">
209 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 209 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
210 <img class="card-img-top" src="images/kanpur.png" style="width:100%"> 210 <img class="card-img-top" src="images/kanpur.png" style="width:100%">
211 <div class="card-block"> 211 <div class="card-block">
212 <div class="pull-left"> 212 <div class="pull-left">
213 <label class="card-title">Kanpur</label><br> 213 <label class="card-title">Kanpur</label><br>
214 <label class="card-sub-title">Wednesday</label> 214 <label class="card-sub-title">Wednesday</label>
215 </div> 215 </div>
216 <div class="pull-right"> 216 <div class="pull-right">
217 <label class="card-sub-title"><i class="material-icons">location_on</i> 217 <label class="card-sub-title"><i class="material-icons">location_on</i>
218 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Kanpur</span> 218 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Kanpur</span>
219 </label> 219 </label>
220 </div> 220 </div>
221 <div class="clearfix"></div> 221 <div class="clearfix"></div>
222 <label class="card-sub-title">Oct 10, 2018</label> 222 <label class="card-sub-title">Oct 10, 2018</label>
223 </div> 223 </div>
224 </label> 224 </label>
225 <div class="clearfix"></div> 225 <div class="clearfix"></div>
226 <div class="card-text2"> 226 <div class="card-text2">
227 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> 227 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Kanpur')" >Apply</button>
228 </div> 228 </div>
229 </div> 229 </div>
230 </div> 230 </div>
231 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 231 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
232 <div class="card" style="width:100%;border-radius: 6px;"> 232 <div class="card" style="width:100%;border-radius: 6px;">
233 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 233 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
234 <img class="card-img-top" src="images/ahmedabad.png" style="width:100%"> 234 <img class="card-img-top" src="images/ahmedabad.png" style="width:100%">
235 <div class="card-block"> 235 <div class="card-block">
236 <div class="pull-left"> 236 <div class="pull-left">
237 <label class="card-title">Ahmedabad</label><br> 237 <label class="card-title">Ahmedabad</label><br>
238 <label class="card-sub-title">Friday</label> 238 <label class="card-sub-title">Friday</label>
239 </div> 239 </div>
240 <div class="pull-right"> 240 <div class="pull-right">
241 <label class="card-sub-title"><i class="material-icons">location_on</i> 241 <label class="card-sub-title"><i class="material-icons">location_on</i>
242 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span> 242 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span>
243 </label> 243 </label>
244 </div> 244 </div>
245 <div class="clearfix"></div> 245 <div class="clearfix"></div>
246 <label class="card-sub-title">Oct 12, 2018</label> 246 <label class="card-sub-title">Oct 12, 2018</label>
247 </div> 247 </div>
248 </label> 248 </label>
249 <div class="clearfix"></div> 249 <div class="clearfix"></div>
250 <div class="card-text2"> 250 <div class="card-text2">
251 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> 251 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Ahmedabad')" >Apply</button>
252 </div> 252 </div>
253 </div> 253 </div>
254 </div> 254 </div>
255 <!-- <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 255 <!-- <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
256 <div class="card" style="width:100%;border-radius: 6px;"> 256 <div class="card" style="width:100%;border-radius: 6px;">
257 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 257 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
258 <img class="card-img-top" src="images/indore.png" style="width:100%"> 258 <img class="card-img-top" src="images/indore.png" style="width:100%">
259 <div class="card-block"> 259 <div class="card-block">
260 <div class="pull-left"> 260 <div class="pull-left">
261 <h4 class="card-title">Indore</h4> 261 <h4 class="card-title">Indore</h4>
262 <label class="card-sub-title">Monday</label> 262 <label class="card-sub-title">Monday</label>
263 </div> 263 </div>
264 <div class="pull-right"> 264 <div class="pull-right">
265 <label class="card-sub-title"><i class="material-icons">location_on</i> 265 <label class="card-sub-title"><i class="material-icons">location_on</i>
266 <span style="position: relative;top: -3px;">IIM-Indore</span> 266 <span style="position: relative;top: -3px;">IIM-Indore</span>
267 </label> 267 </label>
268 </div> 268 </div>
269 <div class="clearfix"></div> 269 <div class="clearfix"></div>
270 <label class="card-sub-title">Oct 15, 2018</label> 270 <label class="card-sub-title">Oct 15, 2018</label>
271 </div> 271 </div>
272 </label> 272 </label>
273 <div class="clearfix"></div> 273 <div class="clearfix"></div>
274 <div class="card-text2"> 274 <div class="card-text2">
275 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> 275 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button>
276 </div> 276 </div>
277 </div> 277 </div>
278 </div> 278 </div>
279 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 279 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
280 <div class="card" style="width:100%;border-radius: 6px;"> 280 <div class="card" style="width:100%;border-radius: 6px;">
281 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 281 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
282 <img class="card-img-top" src="images/roorkee.png" style="width:100%"> 282 <img class="card-img-top" src="images/roorkee.png" style="width:100%">
283 <div class="card-block"> 283 <div class="card-block">
284 <div class="pull-left"> 284 <div class="pull-left">
285 <h4 class="card-title">Roorkee</h4> 285 <h4 class="card-title">Roorkee</h4>
286 <label class="card-sub-title">Wednesday</label> 286 <label class="card-sub-title">Wednesday</label>
287 </div> 287 </div>
288 <div class="pull-right"> 288 <div class="pull-right">
289 <label class="card-sub-title"><i class="material-icons">location_on</i> 289 <label class="card-sub-title"><i class="material-icons">location_on</i>
290 <span style="position: relative;top: -3px;">IIT-Roorkee</span> 290 <span style="position: relative;top: -3px;">IIT-Roorkee</span>
291 </label> 291 </label>
292 </div> 292 </div>
293 <div class="clearfix"></div> 293 <div class="clearfix"></div>
294 <label class="card-sub-title">Oct 17, 2018</label> 294 <label class="card-sub-title">Oct 17, 2018</label>
295 </div> 295 </div>
296 </label> 296 </label>
297 <div class="clearfix"></div> 297 <div class="clearfix"></div>
298 <div class="card-text2"> 298 <div class="card-text2">
299 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> 299 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button>
300 </div> 300 </div>
301 </div> 301 </div>
302 </div> --> 302 </div> -->
303 </div> 303 </div>
304 </div> 304 </div>
305 <div class="clearfix"></div> 305 <div class="clearfix"></div>
306 </div> 306 </div>
307 </div> 307 </div>
308 <div class="clearfix"></div> 308 <div class="clearfix"></div>
309 <footer style="margin-top: 5%;"> 309 <footer style="margin-top: 5%;">
310 <img id="footer" class="img-responsive banner"> 310 <img id="footer" class="img-responsive banner">
311 <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> </center> 311 <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> </center>
312 </footer> 312 </footer>
313 313
314 314
315 315
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('/caricatures', { 15 .when('/caricatures', {
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('/registration', { 27 .when('/registration', {
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: 'ambassadorController' 35 controller: 'ambassadorController'
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://35.154.24.158:4001/v1") 52 scotchApp.constant("BASE_URL", "http://35.154.24.158:4001/v1")
53 //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") 53 //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1")
54 54
55 // create the controller and inject Angular's $scope 55 // create the controller and inject Angular's $scope
56 scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { 56 scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) {
57 $scope.data = { 57 $scope.data = {
58 show: true, 58 show: true,
59 hide: false 59 hide: false
60 }; 60 };
61 61
62 // var maininvest = new Date("Dec 16, 2017 06:00:00").getTime();
63 // // Update the count down every 1 second
64 // var x = setInterval(function() {
65 // // Get todays date and time
66 // var now = new Date().getTime();
67 // // Find the distance between now an the count down date
68 // var distance = maininvest - now;
69 // // Time calculations for days, hours, minutes and seconds
70 // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
71 // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
72 // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
73 // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
74 // $scope.timer = days + "d " + hours + "h "
75 // + minutes + "m " + seconds + "s "
76 // // Output the result in an element with id="demo"
77 // document.getElementById("maininvest").innerHTML = days + "d " + hours + "h "
78 // + minutes + "m " + seconds + "s ";
79 // // If the count down is over, write some text
80 // if (distance < 0) {
81 // // $scope.extendedAmount =
82 // clearInterval(x);
83 // document.getElementById("maininvest").innerHTML = "EXPIRED";
84 // }
85 // }, 1000);
86
87 // var pune = new Date("Nov 11, 2017 12:00:00").getTime();
88 // // Update the count down every 1 second
89 // var x = setInterval(function() {
90 // // Get todays date and time
91 // var now = new Date().getTime();
92 // // Find the distance between now an the count down date
93 // var distance = pune - now;
94 // // Time calculations for days, hours, minutes and seconds
95 // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
96 // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
97 // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
98 // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
99 // $scope.timer = days + "d " + hours + "h "
100 // + minutes + "m " + seconds + "s "
101 // // Output the result in an element with id="demo"
102 // document.getElementById("pune").innerHTML = days + "d " + hours + "h "
103 // + minutes + "m " + seconds + "s ";
104 // // If the count down is over, write some text
105 // if (distance < 0) {
106 // clearInterval(x);
107 // document.getElementById("pune").innerHTML = "EXPIRED";
108 // }
109 // }, 1000);
110
111 // var mumbai = new Date("Nov 13, 2017 16:00:00").getTime();
112 // // Update the count down every 1 second
113 // var x = setInterval(function() {
114 // // Get todays date and time
115 // var now = new Date().getTime();
116 // // Find the distance between now an the count down date
117 // var distance = mumbai - now;
118 // // Time calculations for days, hours, minutes and seconds
119 // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
120 // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
121 // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
122 // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
123 // $scope.timer = days + "d " + hours + "h "
124 // + minutes + "m " + seconds + "s "
125 // // Output the result in an element with id="demo"
126 // document.getElementById("mumbai").innerHTML = days + "d " + hours + "h "
127 // + minutes + "m " + seconds + "s ";
128 // // If the count down is over, write some text
129 // if (distance < 0) {
130 // clearInterval(x);
131 // document.getElementById("mumbai").innerHTML = "EXPIRED";
132 // }
133 // }, 1000);
134
135 // var ahmedabad = new Date("Nov 15, 2017 16:00:00").getTime();
136 // // Update the count down every 1 second
137 // var x = setInterval(function() {
138 // // Get todays date and time
139 // var now = new Date().getTime();
140 // // Find the distance between now an the count down date
141 // var distance = ahmedabad - now;
142 // // Time calculations for days, hours, minutes and seconds
143 // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
144 // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
145 // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
146 // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
147 // $scope.timer = days + "d " + hours + "h "
148 // + minutes + "m " + seconds + "s "
149 // // Output the result in an element with id="demo"
150 // document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h "
151 // + minutes + "m " + seconds + "s ";
152 // // If the count down is over, write some text
153 // if (distance < 0) {
154 // clearInterval(x);
155 // document.getElementById("ahmedabad").innerHTML = "EXPIRED";
156 // }
157 // }, 1000);
158
159 // var jaipur = new Date("Nov 17, 2017 16:00:00").getTime();
160 // // Update the count down every 1 second
161 // var x = setInterval(function() {
162 // // Get todays date and time
163 // var now = new Date().getTime();
164 // // Find the distance between now an the count down date
165 // var distance = jaipur - now;
166 // // Time calculations for days, hours, minutes and seconds
167 // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
168 // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
169 // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
170 // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
171 // $scope.timer = days + "d " + hours + "h "
172 // + minutes + "m " + seconds + "s "
173 // // Output the result in an element with id="demo"
174 // document.getElementById("jaipur").innerHTML = days + "d " + hours + "h "
175 // + minutes + "m " + seconds + "s ";
176 // // If the count down is over, write some text
177 // if (distance < 0) {
178 // clearInterval(x);
179 // document.getElementById("jaipur").innerHTML = "EXPIRED";
180 // }
181 // }, 1000);
182
183 // var bangalore = new Date("Nov 22, 2017 16:00:00").getTime();
184 // // Update the count down every 1 second
185 // var x = setInterval(function() {
186 // // Get todays date and time
187 // var now = new Date().getTime();
188 // // Find the distance between now an the count down date
189 // var distance = bangalore - now;
190 // // Time calculations for days, hours, minutes and seconds
191 // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
192 // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
193 // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
194 // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
195 // $scope.timer = days + "d " + hours + "h "
196 // + minutes + "m " + seconds + "s "
197 // // Output the result in an element with id="demo"
198 // document.getElementById("bangalore").innerHTML = days + "d " + hours + "h "
199 // + minutes + "m " + seconds + "s ";
200 // // If the count down is over, write some text
201 // if (distance < 0) {
202 // clearInterval(x);
203 // document.getElementById("bangalore").innerHTML = "EXPIRED";
204 // }
205 // }, 1000);
206
207 // var hyderabad = new Date("Nov 21, 2017 16:00:00").getTime();
208 // // Update the count down every 1 second
209 // var x = setInterval(function() {
210 // // Get todays date and time
211 // var now = new Date().getTime();
212 // // Find the distance between now an the count down date
213 // var distance = hyderabad - now;
214 // // Time calculations for days, hours, minutes and seconds
215 // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
216 // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
217 // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
218 // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
219 // $scope.timer = days + "d " + hours + "h "
220 // + minutes + "m " + seconds + "s "
221 // // Output the result in an element with id="demo"
222 // document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h "
223 // + minutes + "m " + seconds + "s ";
224 // // If the count down is over, write some text
225 // if (distance < 0) {
226 // clearInterval(x);
227 // document.getElementById("hyderabad").innerHTML = "EXPIRED";
228 // }
229 // }, 1000);
230
231 // var delhi = new Date("Nov 27, 2017 12:00:00").getTime();
232 // // Update the count down every 1 second
233 // var x = setInterval(function() {
234 // // Get todays date and time
235 // var now = new Date().getTime();
236 // // Find the distance between now an the count down date
237 // var distance = delhi - now;
238 // // Time calculations for days, hours, minutes and seconds
239 // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
240 // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
241 // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
242 // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
243 // $scope.timer = days + "d " + hours + "h "
244 // + minutes + "m " + seconds + "s "
245 // // Output the result in an element with id="demo"
246 // document.getElementById("delhi").innerHTML = days + "d " + hours + "h "
247 // + minutes + "m " + seconds + "s ";
248 // // If the count down is over, write some text
249 // if (distance < 0) {
250 // clearInterval(x);
251 // document.getElementById("delhi").innerHTML = "EXPIRED";
252 // }
253 // }, 1000);
254
255 // var chandigarh = new Date("Nov 30, 2017 12:00:00").getTime();
256 // // Update the count down every 1 second
257 // var x = setInterval(function() {
258 // // Get todays date and time
259 // var now = new Date().getTime();
260 // // Find the distance between now an the count down date
261 // var distance = chandigarh - now;
262 // // Time calculations for days, hours, minutes and seconds
263 // var days = Math.floor(distance / (1000 * 60 * 60 * 24));
264 // var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
265 // var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
266 // var seconds = Math.floor((distance % (1000 * 60)) / 1000);
267 // $scope.timer = days + "d " + hours + "h "
268 // + minutes + "m " + seconds + "s "
269 // // Output the result in an element with id="demo"
270 // document.getElementById("chandigarh").innerHTML = days + "d " + hours + "h "
271 // + minutes + "m " + seconds + "s ";
272 // // If the count down is over, write some text
273 // if (distance < 0) {
274 // clearInterval(x);
275 // document.getElementById("chandigarh").innerHTML = "EXPIRED";
276 // }
277 // }, 1000);
278
279 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 62 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
280 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 63 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
281 // $scope.Textshow = "yes" 64 // $scope.Textshow = "yes"
282 $scope.max = 100; 65 $scope.max = 100;
283 $scope.formPage = false; 66 $scope.formPage = false;
284 $scope.current = 0; 67 $scope.current = 0;
285 $scope.payingAmnt = 0; 68 $scope.payingAmnt = 0;
286 // if ($scope.data.stage == 'select') {
287
288 // }
289
290 //$scope.author = 'Swarn Singh';
291 $scope.data = {}; 69 $scope.data = {};
292 // $scope.data.stage = 'Pitch your Business plan';
293 // $scope.data.networkDinner = "true";
294 $scope.discountAmount = 0; 70 $scope.discountAmount = 0;
295 // $scope.data.quantity = "1"; 71 // $scope.data.quantity = "1";
296 $scope.check = false; 72 $scope.check = false;
297 $scope.numberCheck = false; 73 $scope.numberCheck = false;
298 $scope.paymentResult = {}; 74 $scope.paymentResult = {};
299 var data = { 75 var data = {
300 "amount": $scope.payingAmnt, 76 "amount": $scope.payingAmnt,
301 "currency": "INR", 77 "currency": "INR",
302 "status": "pending" 78 "status": "pending"
303 } 79 }
304 80
305 /*open videos in modal*/
306 // $scope.openyoutube16 = function(){
307 // $('#videoModel').modal('show');
308 // }
309
310 // $scope.openyoutube17 = function(){
311 // $('#videoModels').modal('show');
312 // }
313
314 // $scope.closeModal = function(){
315 // var url = $('#youtubePlayer').attr('src');
316 // $('#youtubePlayer').attr('src', '');
317 // $('#youtubePlayer').attr('src', url);
318 // }
319
320
321 // $scope.closed = function(){
322 // var url = $('#youtubePlayersss').attr('src');
323 // $('#youtubePlayersss').attr('src', '');
324 // $('#youtubePlayersss').attr('src', url);
325 // }
326 /*open videos ends here*/
327 $scope.apply = function() { 81 $scope.apply = function() {
328 Analytics.trackEvent('register', 'click', 'Registration'); 82 //Analytics.trackEvent('register', 'click', 'Registration');
329 $location.path("/caricatures") 83 $location.path("/caricatures")
330 } 84 }
331 // $scope.data.citymeetup = '';
332 $scope.register = function(value){
333 // $scope.data.citymeetup = value;
334 // if (value == 'mainevent') {
335 // $scope.eventType = true;
336 // $scope.mainType = false;
337 // $scope.data.stage = null;
338 // }
339 // else{
340 // $scope.eventType = false;
341 // $scope.mainType = true;
342 // }
343 $('.hiddenForm').slideDown();
344 $('html, body').animate({
345 scrollTop: $('.hiddenForm').offset().top
346 }, 1000);
347 console.log('gdggsg', value);
348 }
349
350 // $scope.removeError = function() {
351 // $('#invalidEmail').css('display', 'none');
352 // $('#alreadyExist').css('display', 'none');
353 // };
354
355 // $scope.emailcheck = function(val) {
356 // console.log(val)
357 // $scope.space = /\s/g.test(val);
358 // console.log("space",$scope.space)
359 // if (val == undefined) {
360 // $('#invalidEmail').css('display', 'block');
361 // } else {
362 // $http({
363 // method: 'GET',
364 // url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}',
365 // headers: {}
366 // }).then(function mySuccess(searchResult) {
367 // console.log("searchResult1===>", searchResult)
368 // if (searchResult.data.length == 0) {
369 // $scope.check = false;
370 // } else {
371 // $scope.check = true;
372 // $scope.emailId = searchResult.data[0].id
373 // $('#alreadyExist').css('display', 'block');
374
375 // }
376 // console.log("$scope.data.id",searchResult.data)
377 // }, function myError(error) {});
378 // }
379 // };
380
381 // $scope.removeNoError = function() {
382 // $('#noExist').css('display', 'none');
383 // };
384
385 // $scope.numbercheck = function(number) {
386 // $http({
387 // method: 'GET',
388 // url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}',
389 // data: $scope.data,
390 // headers: {}
391 // }).then(function mySuccess(searchResult) {
392 // console.log("searchResult===>", searchResult)
393 // if (searchResult.data.length == 0) {
394 // $scope.numberCheck = false;
395
396 // } else {
397 // $scope.numberCheck = true;
398 // $('#noExist').css('display', 'block');
399 // }
400 // }, function myError(error) {});
401 // };
402
403 // $rootScope.tokenCall = function(val) {
404 // console.log('val-------->', val);
405 // if (val == undefined) {
406 // $('#invalidToken').css('display', 'block');
407 // } else {
408 // val = val.toUpperCase();
409 // $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}')
410 // .then(function(searchResult) {
411 // console.log("searchResult",searchResult)
412 // if (searchResult.data.length == 0) {
413 // $scope.tokencheck = false;
414 // $scope.discountAmount = 0;
415 // } else {
416 // $scope.discountpercentage = searchResult.data[0].discount;
417 // $scope.tokencheck = true;
418 // }
419 // },function(err){
420 // console.log(err)
421 // });
422
423 // }
424 // };
425
426 // $scope.IfDinnerCheck = function(value){
427 // $scope.data.networkDinner = value;
428 // console.log("value",value)
429 // }
430
431 // /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/
432 // $(document).ready(
433 // function() {
434 // $('input:submit').attr('disabled', true);
435 // $('input:file').change(
436 // function() {
437 // if ($("#picture").val()) {
438 // $('input:submit').removeAttr('disabled');
439 // } else {
440 // $('input:submit').attr('disabled', true);
441 // }
442 // });
443 // });
444
445 /*****THIS IS FOR STEP ONE FORM ******/
446 // $scope.next = function() {
447 // $scope.data.status = null
448 // if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) {
449 // var x = document.getElementById("snackbar")
450 // x.className = "show";
451 // setTimeout(function() {
452 // x.className = x.className.replace("show", "");
453 // }, 3000);
454 // } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) {
455 // $scope.infoForm = true;
456 // console.log("sdasdasdsa");
457 // $scope.data.stage = $scope.data.stage;
458 // $scope.detail = {};
459 // $scope.data.phone = "+91" + $scope.data.number;
460 // $http({
461 // method: 'POST',
462 // url: BASE_URL + '/information',
463 // data: $scope.data,
464 // headers: {}
465 // }).then(function mySuccess(result) {
466 // Analytics.trackEvent('information', 'click', 'django.mp4');
467 // console.log("result", result)
468 // $scope.detail = result;
469 // data.applicantId = result.data.id;
470 // $scope.userId = result.data.id;
471
472 // }, function myError(error) {});
473
474 // }
475
476 // }
477 $scope.watch = function(){
478 console.log("cllll")
479 // window.open(url)
480 $location.path("/registration")
481 }
482
483 $scope.calculateAmount = function(){
484 if($scope.tokencheck == false){
485 $scope.data.referalToken = null;
486 }
487 if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) {
488 var x = document.getElementById("snackbar")
489 x.className = "show";
490 setTimeout(function() {
491 x.className = x.className.replace("show", "");
492 }, 3000);
493 } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) {
494 $scope.infoForm = true;
495 console.log("sdasdasdsa");
496 $scope.data.stage = $scope.data.stage;
497 $scope.detail = {};
498 $scope.data.phone = "+91" + $scope.data.number;
499 $http({
500 method: 'POST',
501 url: BASE_URL + '/applicants',
502 data: $scope.data,
503 headers: {}
504 }).then(function mySuccess(result) {
505 Analytics.trackEvent('applicants', 'click','Users');
506 console.log("result", result)
507 $scope.detail = result;
508 data.applicantId = result.data.id;
509 //$scope.userId = result.data.id;
510
511 if($scope.data.networkDinner == "true"){
512 if($scope.data.citymeetup == "chandigarh"){
513 if ($scope.data.stage == "Pitch your Business plan") {
514 console.log("$scope.data", $scope.data)
515 $scope.ticketAmnt = 3500;
516 $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt;
517 }
518
519 if ($scope.data.stage == "Pitch your Startup") {
520 $scope.ticketAmnt = 4250;
521 $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt;
522 }
523
524 // if ($scope.data.stage == "Growth") {
525 // $scope.ticketAmnt = 1400;
526 // }
527 }
528 }
529
530 else{
531 if($scope.data.citymeetup == "chandigarh"){
532 if ($scope.data.stage == "Pitch your Business plan") {
533 console.log("$scope.data", $scope.data)
534 /*add 25%*/
535 $scope.ticketAmnt = 1500 ;
536 $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt;
537 }
538
539 if ($scope.data.stage == "Pitch your Startup") {
540 $scope.ticketAmnt = 2250;
541 $scope.ticketAmnt = parseInt($scope.data.quantity)*$scope.ticketAmnt;
542 }
543
544 // if ($scope.data.stage == "Growth") {
545 // $scope.ticketAmnt = 1400;
546 // }
547 }
548 }
549
550 // else{
551 // if ($scope.data.stage == "Pitch your Idea") {
552 // console.log("$scope.data", $scope.data)
553 // $scope.ticketAmnt = 500;
554 // }
555
556 // if ($scope.data.stage == "Pitch your Startup") {
557 // $scope.ticketAmnt = 1000;
558 // }
559
560 // // if ($scope.data.stage == "Growth") {
561 // // $scope.ticketAmnt = 1000;
562 // // }
563 // }
564 // if ($scope.data.stage == "Visitor") {
565 // $scope.ticketAmnt = 500;
566 // }
567 var amount = $scope.ticketAmnt * 100
568 if($scope.tokencheck == true){
569 var amount = $scope.ticketAmnt
570 $scope.discountAmount = (amount * $scope.discountpercentage)/100
571 console.log("finalAmount====>",$scope.discountAmount)
572 }
573
574 var taxAmount = $scope.ticketAmnt - $scope.discountAmount
575 console.log("$scope.taxTotal----",taxAmount)
576 $scope.taxTotal = (taxAmount * 18)/100
577 $scope.payingAmnt = taxAmount + $scope.taxTotal
578 $scope.payingAmnt = $scope.payingAmnt.toFixed()
579 console.log("taxincludedamount----", $scope.payingAmnt)
580 console.log("$scope.taxTotal----", $scope.taxTotal)
581 // }
582
583 /*****THIS IS FOR STEP THREE FORM ******/
584 // $scope.create = function() {
585 // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) {
586 // var x = document.getElementById("snackbar")
587 // x.className = "show";
588 // setTimeout(function() {
589 // x.className = x.className.replace("show", "");
590 // }, 3000);
591 // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) {
592 // $scope.infoForm = true;
593 // console.log("sdasdasdsa");
594 // $scope.data.stage = $scope.data.stage;
595 // $scope.detail = {};
596 // $scope.data.phone = "+91" + $scope.data.number;
597 // $http({
598 // method: 'POST',
599 // url: BASE_URL + '/applicants',
600 // data: $scope.data,
601 // headers: {}
602 // }).then(function mySuccess(result) {
603
604 // console.log("=====result=====", result)
605 // $scope.detail = result;
606 // data.applicantId = result.data.id;
607 // $scope.userId = result.data.id;
608 // console.log("=====data=====", data)
609 // data.amount = $scope.payingAmnt + $scope.taxTotal;
610 data.amount = $scope.payingAmnt;
611 console.log("$scope.taxTotal",data.amount)
612 if ($scope.detail != null) {
613 $http({
614 method: 'POST',
615 url: BASE_URL + '/payments',
616 data: data,
617 headers: {}
618 }).then(function mySuccess(paymentResult) {
619 console.log("paymentResult",paymentResult)
620 $scope.paymentResult = paymentResult;
621 }, function myError(error) {});
622 }
623 var i = 0;
624 //$scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100;
625
626 $scope.payingAmnt = $scope.payingAmnt * 100;
627
628 console.log("$scope.taxTotal----", $scope.payingAmnt)
629 var options = {
630 "key": "rzp_live_mkmCb4FkstuWaS",
631 //"key": "rzp_test_YwHsVFiDIQ2WUQ",
632 "amount": $scope.payingAmnt ,
633
634 "name": "Startup Jalsa",
635 "description": "amount",
636 "currency": "INR",
637 "status": "done",
638
639 "theme": {
640 "color": "#2196f3 ",
641 "image_padding": "NO"
642 },
643 "modal": {
644 "ondismiss": function() {}
645 },
646 "handler": function(response) {
647 createPayment(response);
648 }
649 };
650 var rzp1 = new Razorpay(options);
651 rzp1.open();
652 $scope.paymentResponse = {};
653
654 function createPayment(response) {
655 console.log("response====from===razorpay",response)
656 $route.reload();
657 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
658 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId;
659 $scope.paymentResponse.amount = data.amount;
660 $scope.paymentResponse.currency = "INR";
661 $scope.paymentResponse.status = $scope.paymentResult.data.status;
662 Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount);
663 $http({
664 method: 'PUT',
665 url: BASE_URL + '/payments/' + $scope.paymentResult.data.id,
666 data: $scope.paymentResponse,
667 headers: {}
668 }).then(function mySuccess(searchResult) {
669 // if(paymentResult.data.status == "created"){
670
671 // }
672 console.log("searchResult", searchResult)
673 $location.path("/confirmation")
674 //$scope.showToastr()
675 //toaster.success("Registration done successfully");
676
677 }, function myError(error) {});
678 }
679 }, function myError(error) {
680 console.log("error",error)
681 // $scope.emailId = error.data.error.message;
682 // $scope.id = error.data.error.id;
683 // $('#myModal').modal('show');
684 });
685 }
686
687 }
688
689 //}, function myError(error) {});
690 //}
691
692 //}
693
694 // $scope.showToastr = function() {
695 // console.log("called toast")
696 // var x = document.getElementById("snacsskbar")
697 // x.className = "show";
698 // setTimeout(function() {
699 // x.className = x.className.replace("show", "");
700 // }, 3000);
701 // }
702
703 /*kk***This code for change data when click to chooses stages***/
704 $scope.proto = true;
705 $scope.businessmodel = true;
706 $scope.Idea = true;
707 $scope.current = true;
708
709 $scope.stage = function(stage) {
710 $scope.stagekeyPress();
711 console.log("stage--2",stage)
712
713 if (stage == 'Pitch your Business plan') {
714 $scope.Productshow = "no";
715 $scope.current = 10;
716 $scope.proto = true;
717 // $scope.visitType = true;
718 $scope.prototyp = false;
719 $scope.protyp = false;
720 $scope.market = false;
721 $scope.risks = false;
722 $scope.team = false;
723 $scope.pitch = false;
724 $scope.financials = false;
725 $scope.businessmodel = true;
726 $scope.data.stage = stage;
727 // for right content
728 $scope.Idea = true;
729 $scope.Product = false;
730 $scope.Growth = false;
731 // $scope.Visitor = false;
732 } else if (stage == 'Pitch your Startup') {
733 $scope.Productshow = "no";
734 $scope.current = 10;
735 $scope.proto = true;
736 // $scope.visitType = true;
737 $scope.prototyp = true;
738 $scope.protyp = true;
739 $scope.market = true;
740 $scope.risks = true;
741 $scope.team = true;
742 $scope.pitch = true;
743 $scope.financials = true;
744 $scope.businessmodel = false;
745 $scope.data.stage = stage;
746 // for right content
747 $scope.Idea = false;
748 $scope.Product = true;
749 $scope.Growth = false;
750 // $scope.Visitor = false;
751 } else if (stage == 'Growth') {
752 $scope.Productshow = "yes";
753 $scope.current = 10;
754 $scope.proto = false;
755 // $scope.visitType = true;
756 $scope.prototyp = true;
757 $scope.protyp = false;
758 $scope.market = true;
759 $scope.risks = true;
760 $scope.team = true;
761 $scope.pitch = true;
762 $scope.financials = true;
763 $scope.businessmodel = false;
764 // for right content
765 $scope.Idea = false;
766 $scope.Product = false;
767 $scope.Growth = true;
768 // $scope.Visitor = false;
769 // } else if (stage == 'Visitor') {
770 // $scope.Productshow = "no";
771 // $scope.current = 10;
772 // $scope.proto = false;
773 // $scope.visitType = false;
774 // $scope.prototyp = false;
775 // $scope.protyp = false;
776 // $scope.market = false;
777 // $scope.risks = false;
778 // $scope.team = false;
779 // $scope.pitch = false;
780 // $scope.financials = false;
781 // $scope.businessmodel = false;
782 // $scope.data.stage = stage;
783 // // for right content
784 // $scope.Idea = false;
785 // $scope.Product = false;
786 // $scope.Growth = false;
787 // $scope.Visitor = true;
788 $scope.data.stage = stage;
789 }
790 85
86 $scope.data.city = '';
87 $scope.watch = function(value){
88 console.log("cllll",value)
89 $scope.data.city = value;
90 localStorage.setItem("city" ,value);
91 //$location.path('/registration').search({city: value});
92 $location.path('/registration/');
93 //$state.go('registration', { 'city': value})
791 } 94 }
792 95
793 // $scope.emailTest = function(s){
794 // $scope.space = /\s/g.test(s.delegateTarget.value);
795 // console.log("space",$scope.space)
796
797 // }
798 // $scope.enterbusiness = function(business) {
799 // console.log("business", business);
800 // if (name == undefined) {
801 // $scope.current = false;
802
803 // } else if (name != undefined) {
804 // $scope.current = true;
805 // }
806 // }
807 /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/
808 $scope.stagekeyPress = function() { 96 $scope.stagekeyPress = function() {
809 $('.icon-circle-a').css('background-color', 'rgb(25, 104, 157)'); 97 $('.icon-circle-a').css('background-color', 'rgb(25, 104, 157)');
810 } 98 }
811 $scope.sectorkeyPress = function() { 99 $scope.sectorkeyPress = function() {
812 $('.icon-circle-b').css('background-color', 'rgb(25, 104, 157)'); 100 $('.icon-circle-b').css('background-color', 'rgb(25, 104, 157)');
813 } 101 }
814 102
815 $scope.productLaunchkeyPress = function() { 103 $scope.productLaunchkeyPress = function() {
816 $('.icon-circle-ab').css('background-color', 'rgb(25, 104, 157)'); 104 $('.icon-circle-ab').css('background-color', 'rgb(25, 104, 157)');
817 } 105 }
818 106
819 $scope.launchPeriodkeyPress = function() { 107 $scope.launchPeriodkeyPress = function() {
820 $('.icon-circle-abc').css('background-color', 'rgb(25, 104, 157)'); 108 $('.icon-circle-abc').css('background-color', 'rgb(25, 104, 157)');
821 } 109 }
822 110
823 $scope.industrykeyPress = function(quantity) { 111 $scope.industrykeyPress = function(quantity) {
824 console.log("fghj",quantity) 112 console.log("fghj",quantity)
825 $('.icon-circle-abcdefg').css('background-color', 'rgb(25, 104, 157)'); 113 $('.icon-circle-abcdefg').css('background-color', 'rgb(25, 104, 157)');
826 // $scope.addOther = false;
827 // $scope.hideSelectBox = true;
828 // $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)');
829 // var e = document.getElementById("dataIndustry");
830 // var dataIndustry = e.options[e.selectedIndex].value;
831 // if(dataIndustry == "others") {
832 // $scope.addOther = true;
833 // $scope.hideSelectBox = false;
834 // }
835 } 114 }
836 115
837 $scope.industryNamekeyPress = function(firstName) { 116 $scope.industryNamekeyPress = function(firstName) {
838 console.log("lastName==", firstName); 117 console.log("lastName==", firstName);
839 if (firstName == undefined) { 118 if (firstName == undefined) {
840 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); 119 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)');
841 } else { 120 } else {
842 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)'); 121 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)');
843 } 122 }
844 } 123 }
845 124
846 $scope.amountkeyPress = function() { 125 $scope.amountkeyPress = function() {
847 $('.icon-circle-bc').css('background-color', 'rgb(25, 104, 157)'); 126 $('.icon-circle-bc').css('background-color', 'rgb(25, 104, 157)');
848 } 127 }
849 128
850 $scope.firstNamekeyPress = function(name) { 129 $scope.firstNamekeyPress = function(name) {
851 console.log("lastName==", name); 130 console.log("lastName==", name);
852 if (name == undefined) { 131 if (name == undefined) {
853 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); 132 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)');
854 } else { 133 } else {
855 $('.icon-circle-c').css('background-color', 'rgb(25, 104, 157)'); 134 $('.icon-circle-c').css('background-color', 'rgb(25, 104, 157)');
856 } 135 }
857 } 136 }
858 137
859 $scope.emailkeyPress = function(email) { 138 $scope.emailkeyPress = function(email) {
860 console.log("email", email); 139 console.log("email", email);
861 if (email == undefined) { 140 if (email == undefined) {
862 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); 141 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)');
863 } else { 142 } else {
864 $('.icon-circle-d').css('background-color', 'rgb(25, 104, 157)'); 143 $('.icon-circle-d').css('background-color', 'rgb(25, 104, 157)');
865 } 144 }
866 } 145 }
867 146
868 $scope.textCheck = function(){
869 console.log("Val1:::", $scope.textCheck);
870 var e = document.getElementById("fundingDiv");
871 var funding = e.options[e.selectedIndex].value;
872 $scope.Textshow = "no";
873 if(funding == "yes") {
874 $scope.Textshow = "yes";
875 console.log("Val:::", $scope.Textshow);
876 }
877
878 }
879
880 $scope.productCheck = function(){
881 console.log("Val2:::", $scope.productCheck);
882 var e = document.getElementById("productDiv");
883 var product = e.options[e.selectedIndex].value;
884 $scope.Productshow = "no";
885 if(product == "yes") {
886 $scope.Productshow = "yes";
887 console.log("Val1:::", $scope.Productshow);
888 }
889
890 }
891
892 $scope.phonekeyPress = function(number) { 147 $scope.phonekeyPress = function(number) {
893 console.log("number", number); 148 console.log("number", number);
894 if (number == undefined || number == '') { 149 if (number == undefined || number == '') {
895 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); 150 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)');
896 } else { 151 } else {
897 $('.icon-circle-e').css('background-color', 'rgb(25, 104, 157)'); 152 $('.icon-circle-e').css('background-color', 'rgb(25, 104, 157)');
898 } 153 }
899 } 154 }
900 155
901 $scope.citykeyPress = function(city) { 156 $scope.citykeyPress = function(city) {
902 console.log("city", city); 157 console.log("city", city);
903 if (city == undefined) { 158 if (city == undefined) {
904 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); 159 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)');
905 } else { 160 } else {
906 $('.icon-circle-f').css('background-color', 'rgb(25, 104, 157)'); 161 $('.icon-circle-f').css('background-color', 'rgb(25, 104, 157)');
907 } 162 }
908 } 163 }
909 164
910 $scope.startupNamekeyPress = function(q) { 165 $scope.startupNamekeyPress = function(q) {
911 if (q == undefined) { 166 if (q == undefined) {
912 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); 167 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)');
913 } else { 168 } else {
914 $('.icon-circle-x').css('background-color', 'rgb(25, 104, 157)'); 169 $('.icon-circle-x').css('background-color', 'rgb(25, 104, 157)');
915 } 170 }
916 } 171 }
917 172
918 $scope.linkedInkeyPress = function(technology) { 173 $scope.linkedInkeyPress = function(technology) {
919 if (technology == undefined || technology == '') { 174 if (technology == undefined || technology == '') {
920 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); 175 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)');
921 } else { 176 } else {
922 $('.icon-circle-h').css('background-color', 'rgb(25, 104, 157)'); 177 $('.icon-circle-h').css('background-color', 'rgb(25, 104, 157)');
923 } 178 }
924 } 179 }
925 $scope.companykeyPress = function(problem) { 180 $scope.companykeyPress = function(problem) {
926 if (problem == undefined) { 181 if (problem == undefined) {
927 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); 182 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)');
928 } else { 183 } else {
929 $('.icon-circle-i').css('background-color', 'rgb(25, 104, 157)'); 184 $('.icon-circle-i').css('background-color', 'rgb(25, 104, 157)');
930 } 185 }
931 } 186 }
932 $scope.productNamekeyPress = function(solution) { 187 $scope.productNamekeyPress = function(solution) {
933 if (solution == undefined) { 188 if (solution == undefined) {
934 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); 189 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)');
935 } else { 190 } else {
936 $('.icon-circle-j').css('background-color', 'rgb(25, 104, 157)'); 191 $('.icon-circle-j').css('background-color', 'rgb(25, 104, 157)');
937 } 192 }
938 } 193 }
939 $scope.businesskeyPress = function(business) { 194 $scope.businesskeyPress = function(business) {
940 $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)'); 195 $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)');
941 } 196 }
942 197
943 $scope.websitekeyPress = function(prototype) { 198 $scope.websitekeyPress = function(prototype) {
944 if (prototype == undefined || prototype == '') { 199 if (prototype == undefined || prototype == '') {
945 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); 200 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)');
946 } else { 201 } else {
947 $('.icon-circle-k').css('background-color', 'rgb(25, 104, 157)'); 202 $('.icon-circle-k').css('background-color', 'rgb(25, 104, 157)');
948 } 203 }
949 } 204 }
950 205
951 $scope.employeekeyPress = function(market) { 206 $scope.employeekeyPress = function(market) {
952 if (market == undefined || market == '') { 207 if (market == undefined || market == '') {
953 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); 208 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)');
954 } else { 209 } else {
955 $('.icon-circle-l').css('background-color', 'rgb(25, 104, 157)'); 210 $('.icon-circle-l').css('background-color', 'rgb(25, 104, 157)');
956 } 211 }
957 } 212 }
958 213
959 $scope.annualkeyPress = function(risk) { 214 $scope.annualkeyPress = function(risk) {
960 if (risk == undefined || risk == '') { 215 if (risk == undefined || risk == '') {
961 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); 216 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)');
962 } else { 217 } else {
963 $('.icon-circle-m').css('background-color', 'rgb(25, 104, 157)'); 218 $('.icon-circle-m').css('background-color', 'rgb(25, 104, 157)');
964 } 219 }
965 } 220 }
966 221
967 $scope.revenuekeyPress = function(team) { 222 $scope.revenuekeyPress = function(team) {
968 if (team == undefined || team == '') { 223 if (team == undefined || team == '') {
969 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); 224 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)');
970 } else { 225 } else {
971 $('.icon-circle-n').css('background-color', 'rgb(25, 104, 157)'); 226 $('.icon-circle-n').css('background-color', 'rgb(25, 104, 157)');
972 } 227 }
973 } 228 }
974 229
975 $scope.descriptionkeyPress = function(pitch) { 230 $scope.descriptionkeyPress = function(pitch) {
976 if (pitch == undefined) { 231 if (pitch == undefined) {
977 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); 232 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)');
978 } else { 233 } else {
979 $('.icon-circle-z').css('background-color', 'rgb(25, 104, 157)'); 234 $('.icon-circle-z').css('background-color', 'rgb(25, 104, 157)');
980 } 235 }
981 } 236 }
982 237
983 $scope.discountkeyPress = function(discount) { 238 $scope.discountkeyPress = function(discount) {
984 if (discount == undefined) { 239 if (discount == undefined) {
985 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); 240 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)');
986 } else { 241 } else {
987 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)'); 242 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)');
988 } 243 }
989 } 244 }
990 245
991 $scope.removeNooError = function() { 246 $scope.removeNooError = function() {
992 $('#invalidIdea').css('display', 'block'); 247 $('#invalidIdea').css('display', 'block');
993 $('#noExist').css('display', 'none'); 248 $('#noExist').css('display', 'none');
994 }; 249 };
995 250
996 $scope.ideakeyPress = function(financial) { 251 $scope.ideakeyPress = function(financial) {
997 console.log("financial", financial); 252 console.log("financial", financial);
998 if (financial == undefined) { 253 if (financial == undefined) {
999 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); 254 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)');
1000 } else { 255 } else {
1001 $('.icon-circle-q').css('background-color', 'rgb(25, 104, 157)'); 256 $('.icon-circle-q').css('background-color', 'rgb(25, 104, 157)');
1002 } 257 }
1003 } 258 }
1004 259
1005 $scope.fundkeyPress = function(financial) { 260 $scope.fundkeyPress = function(financial) {
1006 console.log("financial", financial); 261 console.log("financial", financial);
1007 if (financial == undefined) { 262 if (financial == undefined) {
1008 $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); 263 $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)');
1009 } else { 264 } else {
1010 $('.icon-circle-y').css('background-color', 'rgb(25, 104, 157)'); 265 $('.icon-circle-y').css('background-color', 'rgb(25, 104, 157)');
1011 } 266 }
1012 } 267 }
1013 268
1014 $scope.changeReferalIconColor = function(referalToken){ 269 $scope.changeReferalIconColor = function(referalToken){
1015 if (referalToken == undefined || referalToken == '') { 270 if (referalToken == undefined || referalToken == '') {
1016 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); 271 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)');
1017 }else { 272 }else {
1018 $('.referel-icon').css('background-color', 'rgb(25, 104, 157)'); 273 $('.referel-icon').css('background-color', 'rgb(25, 104, 157)');
1019 } 274 }
1020 } 275 }
1021 276
1022 }); 277 });
1023 278
1024 scotchApp.controller('verifyController', function($scope, $http, $location, $route, BASE_URL, Analytics) {
1025
1026 $scope.pendingPaymentId = $route.current.params.id
1027 $http({
1028 method: "GET",
1029 url: BASE_URL + '/applicants/' + $scope.pendingPaymentId,
1030 }).then(function mySuccess(response) {
1031 $scope.data = response.data;
1032 console.log("response-1", response);
1033 $scope.pendingPaymentId = $route.current.params.id;
1034
1035 $http({
1036 method: "GET",
1037 url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}',
1038 }).then(function mySuccess(response) {
1039 $scope.paymentRecord = response.data;
1040 }, function myError(response) {
1041 console.log("response-2", response);
1042 });
1043 }, function myError(response) {
1044 $scope.myWelcome = response.statusText;
1045 });
1046
1047 $scope.checkView = false;
1048 $scope.verifyView = false;
1049 $scope.searchResult = {}
1050 $scope.pendingPaymentId = '';
1051
1052 $scope.update = function() {
1053
1054 $http({
1055 method: 'GET',
1056 url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}',
1057 headers: {}
1058 }).then(function mySuccess(searchResult) {
1059 if (searchResult.data[0].status == "created") {
1060 //if (searchResult.data[0].status == "cancelled") {
1061 $scope.checkView = true;
1062 $scope.verifyView = false;
1063 $scope.amount = searchResult.data[0].amount;
1064 $scope.searchResult = searchResult.data[0];
1065 console.log('====searchResult===', searchResult);
1066 console.log("searchResult=====",searchResult.data[0].razorOrderId)
1067 var i = 0;
1068 $scope.amount = $scope.amount * 100;
1069 var options = {
1070 "key": "rzp_live_mhSE1uOBlXvFyJ",
1071 //"key" : "rzp_test_YwHsVFiDIQ2WUQ",
1072 "amount": $scope.amount,
1073
1074 "name": "Startup Jalsa",
1075 "description": "amount",
1076 "currency": "INR",
1077 "status": "done",
1078
1079 "theme": {
1080 "color": "#2196f3 ",
1081 "image_padding": "NO"
1082 },
1083 "modal": {
1084 "ondismiss": function() {}
1085 },
1086 "handler": function(response) {
1087 createPayment(response);
1088 }
1089 };
1090 var rzp1 = new Razorpay(options);
1091 rzp1.open();
1092 $scope.paymentResponse = {};
1093 function createPayment(response) {
1094 console.log("response======retepaymen",response);
1095 $scope.amount = $scope.amount/100;
1096
1097 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
1098 $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId;
1099 $scope.paymentResponse.amount = $scope.amount;
1100 $scope.paymentResponse.currency = $scope.searchResult.currency;
1101 $scope.paymentResponse.status = $scope.searchResult.status;
1102 $scope.paymentResponse.applicantId = $scope.searchResult.applicantId;
1103 console.log("$scope.paymentResponse", $scope.paymentResponse)
1104 $http({
1105 method: 'PUT',
1106 url: BASE_URL + '/payments/' + $scope.searchResult.id,
1107 data: $scope.paymentResponse,
1108 headers: {}
1109 }).then(function mySuccess(searchResult) {
1110 console.log("searchResult--->",searchResult)
1111 // if(paymentResult.data.status == "created"){
1112 // Analytics.trackEvent('payments', 'click', 'Thankyou');
1113 // }
1114 console.log("finalsearchResult",searchResult)
1115 $location.path("/confirmation")
1116 Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount);
1117 }, function myError(error) {
1118
1119 });
1120 }
1121 } else {
1122
1123 }
1124
1125 }, function myError(error) {});
1126 }
1127 });
1128
1129 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { 279 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) {
1130 $scope.data = {}; 280 $scope.data = {};
1131 $scope.check = false; 281 $scope.check = false;
1132 $scope.numberCheck = false; 282 $scope.numberCheck = false;
1133 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 283 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
1134 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 284 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
1135 // $scope.Textshow = "yes"
1136 $scope.max = 100; 285 $scope.max = 100;
1137 $scope.formPage = false; 286 $scope.formPage = false;
1138 $scope.current = 0; 287 $scope.current = 0;
1139 $scope.payingAmnt = 0; 288 $scope.payingAmnt = 0;
1140 // if ($scope.data.stage == 'select') {
1141
1142 // }
1143
1144 //$scope.author = 'Swarn Singh';
1145 $scope.data = {};
1146 // $scope.data.stage = 'Pitch your Business plan';
1147 // $scope.data.networkDinner = "true";
1148 $scope.discountAmount = 0; 289 $scope.discountAmount = 0;
1149 // $scope.data.quantity = "1"; 290 // $scope.data.quantity = "1";
1150 $scope.check = false; 291 $scope.check = false;
1151 $scope.numberCheck = false; 292 $scope.numberCheck = false;
1152 $scope.paymentResult = {}; 293 $scope.paymentResult = {};
1153 var data = { 294 var data = {
1154 "amount": $scope.payingAmnt, 295 "amount": $scope.payingAmnt,
1155 "currency": "INR", 296 "currency": "INR",
1156 "status": "pending" 297 "status": "pending"
1157 } 298 }
1158 299
1159 /*open videos in modal*/
1160 $scope.openyoutube16 = function(){
1161 $('#videoModel').modal('show');
1162 }
1163
1164 $scope.openyoutube17 = function(){
1165 $('#videoModels').modal('show');
1166 }
1167
1168 $scope.closeModal = function(){
1169 var url = $('#youtubePlayer').attr('src');
1170 $('#youtubePlayer').attr('src', '');
1171 $('#youtubePlayer').attr('src', url);
1172 }
1173 /*open videos ends here*/
1174
1175 $scope.removeError = function() { 300 $scope.removeError = function() {
1176 $('#invalidEmail').css('display', 'none'); 301 $('#invalidEmail').css('display', 'none');
1177 $('#alreadyExist').css('display', 'none'); 302 $('#alreadyExist').css('display', 'none');
1178 }; 303 };
1179 304
1180 $scope.emailcheck = function(val) { 305 $scope.emailcheck = function(val) {
1181 if (val == undefined) { 306 if (val == undefined) {
1182 $('#invalidEmail').css('display', 'block'); 307 $('#invalidEmail').css('display', 'block');
1183 } else { 308 } else {
1184 $('#alreadyExist').css('display', 'block'); 309 $('#alreadyExist').css('display', 'block');
1185 // $http({
1186 // method: 'GET',
1187 // url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}',
1188 // headers: {}
1189 // }).then(function mySuccess(searchResult) {
1190 // console.log("searchResult1===>", searchResult)
1191 // if (searchResult.data.length == 0) {
1192 // $scope.check = false;
1193 // } else {
1194 // $scope.check = true;
1195 // $('#alreadyExist').css('display', 'block');
1196 // }
1197 // }, function myError(error) {});
1198 } 310 }
1199 }; 311 };
1200 312
1201 // $scope.removeNoError = function() { 313 // $scope.$on('city', function (event, value) {
1202 // $('#invalidNumber').css('display', 'none'); 314 $scope.city = localStorage.getItem("city");
1203 // $('#noExist').css('display', 'none'); 315 console.log("HERE===",$scope.city );
1204 // }; 316 // });
1205
1206 // $scope.numbercheck = function(number) {
1207 // // if (val == undefined) {
1208 // // $('#invalidNumber').css('display', 'block');
1209 // // } else {
1210 // $http({
1211 // method: 'GET',
1212 // url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}',
1213 // data: $scope.data,
1214 // headers: {}
1215 // }).then(function mySuccess(searchResult) {
1216 // console.log("searchResult===>", searchResult)
1217 // if (searchResult.data.length == 0) {
1218 // $scope.numberCheck = false;
1219 // } else {
1220 // $scope.numberCheck = true;
1221 // $('#noExist').css('display', 'block');
1222 // }
1223 // }, function myError(error) {});
1224 // //}
1225
1226 // };
1227
1228 $scope.submit = function() { 317 $scope.submit = function() {
1229 $scope.payingAmnt = 100; 318 $scope.payingAmnt = 100;
1230 if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { 319 if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) {
1231 var x = document.getElementById("snackbar") 320 var x = document.getElementById("snackbar")
1232 x.className = "show";
1233 setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); 321 setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000);
1234 }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { 322 }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) {
1235
1236
1237 // if($scope.data.identity == "a"){
1238
1239
1240 // var image = BASE_URL+'/container1s/proof/download/'
1241 // var image = document.getElementById('picture').files[0];
1242 // var imagePath = image.name;
1243 // $scope.NewIamge = image + imagePath;
1244 // $scope.data.pic = $scope.NewIamge;
1245 // var fd = new FormData()
1246 // fd.append('file',image);
1247 // $http({
1248 // method:'POST',
1249 // url: BASE_URL+'/container1s/proof/upload',
1250 // data:fd,
1251 // transformRequest:angular.identity,
1252 // headers:{'Content-Type':undefined}
1253 // }).then(function mySuccess(sucessResponse) {
1254
1255
1256 // }, function myError(error) {
1257 // });
1258
1259 // }
1260
1261 $scope.infoForm = true; 323 $scope.infoForm = true;
1262 console.log("sdasdasdsa");
1263 // $scope.data.stage = $scope.data.stage;
1264 $scope.detail = {}; 324 $scope.detail = {};
1265 $scope.data.phone = "+91"+$scope.data.number; 325 $scope.data.phone = "+91"+$scope.data.number;
1266 $http({ 326 $http({
1267 method: 'POST', 327 method: 'POST',
1268 url: BASE_URL+'/applicants', 328 url: BASE_URL+'/applicants',
1269 data: $scope.data, 329 data: $scope.data,
1270 headers: {} 330 headers: {}
1271 }).then(function mySuccess(result) { 331 }).then(function mySuccess(result) {
1272 console.log("=====result=====",result) 332 console.log("=====result=====",result)
1273 $scope.detail = result; 333 $scope.detail = result;
1274 data.applicantId = result.data.id; 334 data.applicantId = result.data.id;
1275 $scope.userId = result.data.id; 335 $scope.userId = result.data.id;
1276 console.log("=====data=====",data) 336 console.log("=====data=====",data)
1277 data.amount = $scope.payingAmnt /100; 337 data.amount = $scope.payingAmnt /100;
1278 if($scope.detail != null){ 338 if($scope.detail != null){
1279 $http({ 339 $http({
1280 method: 'POST', 340 method: 'POST',
1281 url: BASE_URL+'/payments', 341 url: BASE_URL+'/payments',
1282 data: data, 342 data: data,
1283 headers: {} 343 headers: {}
1284 }).then(function mySuccess(paymentResult) { 344 }).then(function mySuccess(paymentResult) {
1285 $scope.paymentResult = paymentResult; 345 $scope.paymentResult = paymentResult;
1286 }, function myError(error) { 346 }, function myError(error) {
1287 }); 347 });
1288 } 348 }
1289 var i = 0; 349 var i = 0;
1290 var options = { 350 var options = {
1291 "key": "rzp_test_YwHsVFiDIQ2WUQ", 351 "key": "rzp_test_YwHsVFiDIQ2WUQ",
1292 //"key": "rzp_live_mkmCb4FkstuWaS", 352 //"key": "rzp_live_mkmCb4FkstuWaS",
1293 "amount": $scope.payingAmnt, 353 "amount": $scope.payingAmnt,
1294 354
1295 "name": "Startup Jalsa", 355 "name": "Startup Jalsa",
1296 "description":"amount", 356 "description":"amount",
1297 "currency": "INR", 357 "currency": "INR",
1298 "status": "done", 358 "status": "done",
1299 359
1300 "prefill": { 360 "prefill": {
1301 "email": $scope.detail.email, 361 "email": $scope.detail.email,
1302 "contact": $scope.detail.phone 362 "contact": $scope.detail.phone
1303 }, 363 },
1304 364
1305 "theme": { 365 "theme": {
1306 "color": "#2196f3 ", 366 "color": "#2196f3 ",
1307 "image_padding":"NO" 367 "image_padding":"NO"
1308 }, 368 },
1309 "modal": { 369 "modal": {
1310 "ondismiss": function(){ 370 "ondismiss": function(){
1311 } 371 }
1312 }, 372 },
1313 "handler": function (response){ 373 "handler": function (response){
1314 createPayment(response); 374 createPayment(response);
1315 } 375 }
1316 }; 376 };
1317 var rzp1 = new Razorpay(options); 377 var rzp1 = new Razorpay(options);
1318 rzp1.open(); 378 rzp1.open();
1319 $scope.paymentResponse = {}; 379 $scope.paymentResponse = {};
1320 function createPayment(response){ 380 function createPayment(response){
1321 console.log("response12333333",response) 381 console.log("response12333333",response)
1322 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 382 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
1323 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; 383 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId;
1324 $scope.paymentResponse.amount = data.amount; 384 $scope.paymentResponse.amount = data.amount;
1325 $scope.paymentResponse.currency = "INR"; 385 $scope.paymentResponse.currency = "INR";
1326 $scope.paymentResponse.status = $scope.paymentResult.data.status; 386 $scope.paymentResponse.status = $scope.paymentResult.data.status;
1327 $http({ 387 $http({
1328 method: 'PUT', 388 method: 'PUT',
1329 url: BASE_URL+'/payments/'+$scope.paymentResult.data.id, 389 url: BASE_URL+'/payments/'+$scope.paymentResult.data.id,
1330 data: $scope.paymentResponse, 390 data: $scope.paymentResponse,
1331 headers: {} 391 headers: {}
1332 }).then(function mySuccess(searchResult) { 392 }).then(function mySuccess(searchResult) {
1333 console.log("searchResult",searchResult) 393 console.log("searchResult",searchResult)
1334 $location.path("/confirmation") 394 $location.path("/confirmation")
1335 }, function myError(error) { 395 }, function myError(error) {
1336 }); 396 });
1337 } 397 }
1338 398
1339 }, function myError(error) { 399 }, function myError(error) {
400
1340 }); 401 });
402
1341 } 403 }
1342 // console.log($scope.data.name)
1343 // var randomNumber = ""+Math.random();
1344 // var nameSpliced = $scope.data.name.slice(0,3);
1345 // var numberSpliced = randomNumber.slice(2,5);
1346 // $scope.data.referalToken = nameSpliced+numberSpliced;
1347 // $scope.data.referalToken = $scope.data.referalToken.toUpperCase();
1348 404
1349 // $http({ 405 }
1350 // method: 'POST', 406
1351 // url: BASE_URL + '/ambassadors', 407 });
1352 // data: $scope.data,
1353 // headers: {}
1354 // }).then(function mySuccess(result) {
1355 // console.log("result", result)
1356 // $scope.detail = result;
1357 // $('#myModal').modal('show');
1358 // $scope.data.name = '';
1359 // $scope.data.email = '';
1360 // $scope.data.mobile = '';
1361 // // $scope.data.discount = '';
1362
1363 // }, function myError(error) {