Commit a78dd61bfd4a387a3dd7150c55b60035301906f0

Authored by Palak Handa
1 parent 93646a5a99
Exists in master and in 1 other branch paytm

minor chaanges

Showing 2 changed files with 12 additions and 11 deletions   Show diff stats
1 <!-- <div class="jumbotron text-center"> 1 <!-- <div class="jumbotron text-center">
2 <h1>Home Page</h1> 2 <h1>Home Page</h1>
3 3
4 <p>{{ message }}</p> 4 <p>{{ message }}</p>
5 </div> --> 5 </div> -->
6 <!-- <div ng-if="checkView"> --> 6 <!-- <div ng-if="checkView"> -->
7 <div class="header"> 7 <div class="header">
8 <img src="images/white.png" class="logo"> 8 <img src="images/white.png" class="logo">
9 </div> <!-- CLOSE HEADER --> 9 </div> <!-- CLOSE HEADER -->
10 <form name="applicantForm" id="signupForm"> 10 <form name="applicantForm" id="signupForm">
11 <div class="col-xs-12 col-md-8 col-md-offset-2"> 11 <p style="margin:1% 18% -1%">Please select one stage.</p>
12 <div class="col-xs-12 col-md-8 col-md-offset-2">
12 <div class="stage-shadow"> 13 <div class="stage-shadow">
13 <div class="stages card-align"> 14 <div class="stages card-align">
14 <div class="col-xs-12 col-md-4" style="margin: -2px -51px 2px 1px;"> 15 <div class="col-xs-12 col-md-4" style="margin: -2px -51px 2px 1px;">
15 <div class="card stages-card"> 16 <div class="card stages-card">
16 <input type="radio" ng-model="data.stage" class="stageRadio" value="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="false" ng-click="stage(data.stage); stagekeyPress()"> 17 <input type="radio" ng-model="data.stage" class="stageRadio" value="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="true" ng-click="stage(data.stage); stagekeyPress()">
17 <label class="thumbnail radius-border stage-thumbnail" for="ideation"> 18 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation">
18 <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> 19 <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights">
19 <div class="card-content f-family"> 20 <div class="card-content f-family">
20 <p align="center">Idea</p> 21 <p align="center">Idea</p>
21 </div> 22 </div>
22 </label> 23 </label>
23 </div> 24 </div>
24 <p class="content-idea"> 25 <p class="content-idea">
25 &#x26AC; Have an idea and need execution help?<br> 26 &#x26AC; Have an idea and need execution help?<br>
26 &#x26AC; Get feedback from mentors<br> 27 &#x26AC; Get feedback from mentors<br>
27 &#x26AC; Validate your idea. 28 &#x26AC; Validate your idea.
28 </p> 29 </p>
29 </div> 30 </div>
30 <div class="col-xs-12 col-md-4"> 31 <div class="col-xs-12 col-md-4">
31 <div class="card stages-card"> 32 <div class="card stages-card">
32 <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Product" id="Proof" ng-required="Product" ng-click="stage(data.stage); stagekeyPress()"> 33 <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Product" id="Proof" ng-required="Product" ng-click="stage(data.stage); stagekeyPress()">
33 <label class="thumbnail radius-border stage-thumbnail" for="Proof"> 34 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof">
34 <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> 35 <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights">
35 <div class="card-content f-family"> 36 <div class="card-content f-family">
36 <p align="center">Product</p> 37 <p align="center">Product</p>
37 </div> 38 </div>
38 </label> 39 </label>
39 </div> 40 </div>
40 <p class="content-product"> 41 <p class="content-product">
41 &#x26AC; Have a prototype and want to take it to next level?<br> 42 &#x26AC; Have a prototype and want to take it to next level?<br>
42 &#x26AC; Advice on fundraising<br> 43 &#x26AC; Advice on fundraising<br>
43 &#x26AC; Advice on go-to-market strategy 44 &#x26AC; Advice on go-to-market strategy
44 </p> 45 </p>
45 </div> 46 </div>
46 <div class="col-xs-12 col-md-4 last-content-card"> 47 <div class="col-xs-12 col-md-4 last-content-card">
47 <div class="card stages-card"> 48 <div class="card stages-card">
48 <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Growth" id="Beta" ng-required="Growth" ng-click="stage(data.stage); stagekeyPress()"> 49 <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Growth" id="Beta" ng-required="Growth" ng-click="stage(data.stage); stagekeyPress()">
49 <label class="thumbnail radius-border stage-thumbnail" for="Beta"> 50 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta">
50 <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> 51 <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights">
51 <div class="card-content f-family"> 52 <div class="card-content f-family">
52 <p align="center">Growth</p> 53 <p align="center">Growth</p>
53 </div> 54 </div>
54 </label> 55 </label>
55 </div> 56 </div>
56 <p class="content-growth"> 57 <p class="content-growth">
57 &#x26AC; Have traction and looking to scale up?<br> 58 &#x26AC; Have traction and looking to scale up?<br>
58 &#x26AC; Connect with Series A investors<br> 59 &#x26AC; Connect with Series A investors<br>
59 &#x26AC; Connect and hire top startups 60 &#x26AC; Connect and hire top startups
60 </p> 61 </p>
61 </div> 62 </div>
62 <div class="clearfix"></div> 63 <div class="clearfix"></div>
63 </div> 64 </div>
64 <div class="clearfix"></div> 65 <div class="clearfix"></div>
65 </div> <!-- CLOSE STAGE SHADOW --> 66 </div> <!-- CLOSE STAGE SHADOW -->
66 <div class="form-all"> 67 <div class="form-all">
67 <table style="width: 100%;"> 68 <table style="width: 100%;">
68 <tr> 69 <tr>
69 <td> 70 <td>
70 <div class="step-one-form"> 71 <div class="step-one-form">
71 <!-- form step 1 --> 72 <!-- form step 1 -->
72 <div class="col-xs-12 col-md-6 input-wrapper"> 73 <div class="col-xs-12 col-md-6 input-wrapper">
73 <div id="snackbar">Error ! Please fill in all fields.</div> 74 <div id="snackbar">Error ! Please fill in all fields.</div>
74 <div class="icon-circle-c"> 75 <div class="icon-circle-c">
75 <i class="material-icons" style="line-height: 31px;">assignment_ind</i> 76 <i class="material-icons" style="line-height: 31px;">assignment_ind</i>
76 </div> 77 </div>
77 <input type="text" class="text-input" required ng-model="data.name" placeholder="Startup Name" id="myBtn" name="name" ng-change="entername(data.name); namekeyPress(data.name)"> 78 <input type="text" class="text-input" required ng-model="data.name" placeholder="Startup Name" id="myBtn" name="name" ng-change="entername(data.name); namekeyPress(data.name)">
78 </div> 79 </div>
79 <div class="col-xs-12 col-md-6 input-wrapper"> 80 <div class="col-xs-12 col-md-6 input-wrapper">
80 <div id="snackbar">Error ! Please fill in all fields.</div> 81 <div id="snackbar">Error ! Please fill in all fields.</div>
81 <div class="icon-circle-d"> 82 <div class="icon-circle-d">
82 <i class="material-icons" style="line-height: 30px;">email</i> 83 <i class="material-icons" style="line-height: 30px;">email</i>
83 </div> 84 </div>
84 <input type="email" name="email" class="text-input" required class="" ng-model="data.email" placeholder="Email Address" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)"> 85 <input type="email" name="email" class="text-input" required class="" ng-model="data.email" placeholder="Email Address" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)">
85 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> 86 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label>
86 <label ng-if="check">Email already exist.</label> 87 <label ng-if="check">Email already exist.</label>
87 88
88 <!-- <label class="error-message f-family control-label" id="alreadyExist" ng-if="check">Email already exist.</label> --> 89 <!-- <label class="error-message f-family control-label" id="alreadyExist" ng-if="check">Email already exist.</label> -->
89 </div> 90 </div>
90 <div class="col-xs-12 col-md-6 input-wrapper"> 91 <div class="col-xs-12 col-md-6 input-wrapper">
91 <div class="clearfix" style="margin:12px 0px 0px 0px"></div> 92 <div class="clearfix" style="margin:12px 0px 0px 0px"></div>
92 <div class="icon-circle-e"> 93 <div class="icon-circle-e">
93 <i class="material-icons" style="line-height: 30px;">phone</i> 94 <i class="material-icons" style="line-height: 30px;">phone</i>
94 </div> 95 </div>
95 <input type="number" required class="text-input" ng-model="data.number" placeholder="Mobile No." ng-blur="numbercheck(data.number)" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> 96 <input type="number" required class="text-input" ng-model="data.number" placeholder="Mobile No." ng-blur="numbercheck(data.number)" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)">
96 <!-- <label class="error-message f-family control-label" id="noExist" " ng-if="numberCheck">Contact Number already exist.</label> --> 97 <!-- <label class="error-message f-family control-label" id="noExist" " ng-if="numberCheck">Contact Number already exist.</label> -->
97 <label ng-if="numberCheck">Contact Number already exist.</label> 98 <label ng-if="numberCheck">Contact Number already exist.</label>
98 </div> 99 </div>
99 <div class="col-xs-12 col-md-6 input-wrapper f-family"> 100 <div class="col-xs-12 col-md-6 input-wrapper f-family">
100 <div class="clearfix" style="margin:12px 0px 0px 0px"></div> 101 <div class="clearfix" style="margin:12px 0px 0px 0px"></div>
101 <div class="icon-circle-f"> 102 <div class="icon-circle-f">
102 <i class="material-icons" style="line-height: 30px;">location_city</i> 103 <i class="material-icons" style="line-height: 30px;">location_city</i>
103 </div> 104 </div>
104 <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" required style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;"> 105 <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" required style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;">
105 <option name="city" selected disabled value="">Choose City</option> 106 <option name="city" selected disabled value="">Choose City</option>
106 <option value="Ahmedabad">Ahmedabad</option> 107 <option value="Ahmedabad">Ahmedabad</option>
107 <option value="Bangalore">Bangalore</option> 108 <option value="Bangalore">Bangalore</option>
108 <option value="NCR">NCR</option> 109 <option value="NCR">NCR</option>
109 <option value="Hyderabad">Hyderabad</option> 110 <option value="Hyderabad">Hyderabad</option>
110 <option value="Jaipur">Jaipur</option> 111 <option value="Jaipur">Jaipur</option>
111 <option value="Mumbai">Mumbai</option> 112 <option value="Mumbai">Mumbai</option>
112 <option value="Pune">Pune</option> 113 <option value="Pune">Pune</option>
113 <option value="Indore">Indore</option> 114 <option value="Indore">Indore</option>
114 <option value="Chandigarh">Chandigarh</option> 115 <option value="Chandigarh">Chandigarh</option>
115 </select> 116 </select>
116 </div> 117 </div>
117 <div class="clearfix"></div> 118 <div class="clearfix"></div>
118 <div style="margin-left: 679px;" class="text-center"> 119 <div style="margin-left: 679px;" class="text-center">
119 <button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" ng-click="next()"> 120 <button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" ng-click="next()">
120 Next 121 Next
121 </button> 122 </button>
122 </div> 123 </div>
123 </div> 124 </div>
124 <!-- close step-one-form --> 125 <!-- close step-one-form -->
125 </td> 126 </td>
126 </tr> 127 </tr>
127 </table> 128 </table>
128 </div><!-- CLOSE form-all --> 129 </div><!-- CLOSE form-all -->
129 <div class="step-two-form" ng-show="infoForm"> 130 <div class="step-two-form" ng-show="infoForm">
130 <div class="sectors-card"> 131 <div class="sectors-card">
131 <div class="icon-circle-b"> 132 <div class="icon-circle-b">
132 <i class="material-icons" style="line-height: 31px;">open_with</i> 133 <i class="material-icons" style="line-height: 31px;">open_with</i>
133 </div> 134 </div>
134 <div class="sector-question"> 135 <div class="sector-question">
135 <div class="col-xs-8 font f-family"> 136 <div class="col-xs-8 font f-family">
136 To which sector would you relate your company? 137 To which sector would you relate your company?
137 </div> 138 </div>
138 <div class="clearfix"></div> 139 <div class="clearfix"></div>
139 </div> 140 </div>
140 <div class="clearfix" style="height:15px;"></div> 141 <div class="clearfix" style="height:15px;"></div>
141 <div class="sector-align"> 142 <div class="sector-align">
142 <div class="col-xs-8 col-md-3"> 143 <div class="col-xs-8 col-md-3">
143 <label class="card-small"> 144 <label class="card-small">
144 <input type="radio" required value="retail" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 145 <input type="radio" required value="retail" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
145 <img src="images/retail.png"> 146 <img src="images/retail.png">
146 <label class="f-family">Retail</label> 147 <label class="f-family">Retail</label>
147 </label> 148 </label>
148 </div> 149 </div>
149 <div class="col-xs-8 col-md-3"> 150 <div class="col-xs-8 col-md-3">
150 <label class="card-small"> 151 <label class="card-small">
151 <input type="radio" required value="travel" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 152 <input type="radio" required value="travel" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
152 <img src="images/transport.png"> 153 <img src="images/transport.png">
153 <label class="f-family">Travel</label> 154 <label class="f-family">Travel</label>
154 </label> 155 </label>
155 </div> 156 </div>
156 <div class="col-xs-8 col-md-3"> 157 <div class="col-xs-8 col-md-3">
157 <label class="card-small"> 158 <label class="card-small">
158 <input type="radio" required value="b2b commerce" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 159 <input type="radio" required value="b2b commerce" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
159 <img src="images/paymens.png"> 160 <img src="images/paymens.png">
160 <label class="f-family">B2B commerce</label> 161 <label class="f-family">B2B commerce</label>
161 </label> 162 </label>
162 </div> 163 </div>
163 <div class="col-xs-8 col-md-3"> 164 <div class="col-xs-8 col-md-3">
164 <label class="card-small"> 165 <label class="card-small">
165 <input type="radio" required value="agritech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 166 <input type="radio" required value="agritech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
166 <img src="images/food.png"> 167 <img src="images/food.png">
167 <label class="f-family">Agritech</label> 168 <label class="f-family">Agritech</label>
168 </label> 169 </label>
169 </div> 170 </div>
170 <div class="col-xs-8 col-md-3"> 171 <div class="col-xs-8 col-md-3">
171 <label class="card-small"> 172 <label class="card-small">
172 <input type="radio" required value="fintech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 173 <input type="radio" required value="fintech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
173 <img src="images/online_media.png"> 174 <img src="images/online_media.png">
174 <label class="f-family">Fintech</label> 175 <label class="f-family">Fintech</label>
175 </label> 176 </label>
176 </div> 177 </div>
177 <div class="col-xs-8 col-md-3"> 178 <div class="col-xs-8 col-md-3">
178 <label class="card-small"> 179 <label class="card-small">
179 <input type="radio" required value="hyperlocal services" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 180 <input type="radio" required value="hyperlocal services" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
180 <img src="images/hardware.png"> 181 <img src="images/hardware.png">
181 <label class="f-family">Hyperlocal services</label> 182 <label class="f-family">Hyperlocal services</label>
182 </label> 183 </label>
183 </div> 184 </div>
184 <div class="col-xs-8 col-md-3"> 185 <div class="col-xs-8 col-md-3">
185 <label class="card-small"> 186 <label class="card-small">
186 <input type="radio" required value="education" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 187 <input type="radio" required value="education" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
187 <img src="images/education.png"> 188 <img src="images/education.png">
188 <label class="f-family">Education</label> 189 <label class="f-family">Education</label>
189 </label> 190 </label>
190 </div> 191 </div>
191 <div class="col-xs-8 col-md-3"> 192 <div class="col-xs-8 col-md-3">
192 <label class="card-small"> 193 <label class="card-small">
193 <input type="radio" required value="rural" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> 194 <input type="radio" required value="rural" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors">
194 <img src="images/RURAL_ICON.png"> 195 <img src="images/RURAL_ICON.png">
195 <label class="f-family">Rural</label> 196 <label class="f-family">Rural</label>
196 </label> 197 </label>
197 </div> 198 </div>
198 </div> 199 </div>
199 <div class="clearfix"></div> 200 <div class="clearfix"></div>
200 </div> <!-- CLOSE sectors-card --> 201 </div> <!-- CLOSE sectors-card -->
201 <div class="col-xs-12 col-md-12 f-family line-adjust"> 202 <div class="col-xs-12 col-md-12 f-family line-adjust">
202 <strong>What technology are you using in the product?</strong> 203 <strong>What technology are you using in the product?</strong>
203 <p class="line-space" >Please explain in detail the technologies that you are using or plan to use in the product?</p> 204 <p class="line-space" >Please explain in detail the technologies that you are using or plan to use in the product?</p>
204 </div> 205 </div>
205 <div class="col-xs-12 col-md-12 input-wrapper"> 206 <div class="col-xs-12 col-md-12 input-wrapper">
206 <div class="icon-circle-h"> 207 <div class="icon-circle-h">
207 <i class="material-icons" style="line-height: 30px;">phone_android</i> 208 <i class="material-icons" style="line-height: 30px;">phone_android</i>
208 </div> 209 </div>
209 <input type="text" class="text-input" ng-model="data.technology" placeholder="Technology" ng-change="entertechnology(data.technology); technologykeyPress(data.technology)" required> 210 <input type="text" class="text-input" ng-model="data.technology" placeholder="Technology" ng-change="entertechnology(data.technology); technologykeyPress(data.technology)" required>
210 </div> 211 </div>
211 <div class="col-xs-12 col-md-12 f-family line-adjust"> 212 <div class="col-xs-12 col-md-12 f-family line-adjust">
212 <strong>Tell us about the problem that your company is trying to address. </strong> 213 <strong>Tell us about the problem that your company is trying to address. </strong>
213 <p class="line-space" ></p> 214 <p class="line-space" ></p>
214 </div> 215 </div>
215 <div class="col-xs-12 col-md-12 input-wrapper"> 216 <div class="col-xs-12 col-md-12 input-wrapper">
216 <div class="icon-circle-i"> 217 <div class="icon-circle-i">
217 <i class="material-icons" style="line-height: 30px;">report_problem</i> 218 <i class="material-icons" style="line-height: 30px;">report_problem</i>
218 </div> 219 </div>
219 <textarea name="Problem" class="text-input textarea" ng-model="data.problem" placeholder="Problem" ng-change="enterproblem(data.problem); problemkeyPress(data.problem)" required></textarea> 220 <textarea name="Problem" class="text-input textarea" ng-model="data.problem" placeholder="Problem" ng-change="enterproblem(data.problem); problemkeyPress(data.problem)" required></textarea>
220 </div> 221 </div>
221 <div class="col-xs-12 col-md-12 f-family line-adjust"> 222 <div class="col-xs-12 col-md-12 f-family line-adjust">
222 <strong>Tell us about the solution that your product/company has come up with.</strong> 223 <strong>Tell us about the solution that your product/company has come up with.</strong>
223 <p class="line-space" ></p> 224 <p class="line-space" ></p>
224 </div> 225 </div>
225 <div class="col-xs-12 col-md-12 input-wrapper"> 226 <div class="col-xs-12 col-md-12 input-wrapper">
226 <div class="icon-circle-j"> 227 <div class="icon-circle-j">
227 <i class="material-icons" style="line-height: 30px;">help</i> 228 <i class="material-icons" style="line-height: 30px;">help</i>
228 </div> 229 </div>
229 <textarea name="solution" class="text-input textarea" ng-model="data.solution" placeholder="Solution" ng-change="entersolution(data.solution); solutionkeyPress(data.solution)" required></textarea> 230 <textarea name="solution" class="text-input textarea" ng-model="data.solution" placeholder="Solution" ng-change="entersolution(data.solution); solutionkeyPress(data.solution)" required></textarea>
230 </div> 231 </div>
231 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="businessmodel"> 232 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="businessmodel">
232 <strong>What is your business model?</strong> 233 <strong>What is your business model?</strong>
233 <p class="line-space" >How do you plan to make money?</p> 234 <p class="line-space" >How do you plan to make money?</p>
234 </div> 235 </div>
235 <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="businessmodel"> 236 <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="businessmodel">
236 <div class="icon-circle-p"> 237 <div class="icon-circle-p">
237 <i class="material-icons" style="line-height: 30px;">business_center</i> 238 <i class="material-icons" style="line-height: 30px;">business_center</i>
238 </div> 239 </div>
239 <select name="businessmodel" ng-model="data.business" ng-change="enterbusiness(data.business); businesskeyPress(data.business)" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> 240 <select name="businessmodel" ng-model="data.business" ng-change="enterbusiness(data.business); businesskeyPress(data.business)" required style="background-color: #fff;border-radius: 0; font-size: 12px;">
240 <option selected disabled value="">Business Model</option> 241 <option selected disabled value="">Business Model</option>
241 <option value="B2B">B2B</option> 242 <option value="B2B">B2B</option>
242 <option value="B2C">B2C</option> 243 <option value="B2C">B2C</option>
243 <option value="B2G">B2G</option> 244 <option value="B2G">B2G</option>
244 </select> 245 </select>
245 </div> 246 </div>
246 <div class="clearfix"></div> 247 <div class="clearfix"></div>
247 <!-- **************************For Quiz All About Input********************** --> 248 <!-- **************************For Quiz All About Input********************** -->
248 <div class="question-shadow"> 249 <div class="question-shadow">
249 <div class="icon-circle-x"> 250 <div class="icon-circle-x">
250 <i class="material-icons" style="line-height: 30px;">question_answer</i> 251 <i class="material-icons" style="line-height: 30px;">question_answer</i>
251 </div> 252 </div>
252 <div class="sector-question"> 253 <div class="sector-question">
253 <div class="col-xs-12 font f-family"> 254 <div class="col-xs-12 font f-family">
254 You can share the top 5 problems that your startup is facing at the momentโ€“ and we will share those problems with our mentors who will give their feedback on what is the right approach to solve that problem. 255 You can share the top 5 problems that your startup is facing at the momentโ€“ and we will share those problems with our mentors who will give their feedback on what is the right approach to solve that problem.
255 </div> 256 </div>
256 <div class="clearfix"></div> 257 <div class="clearfix"></div>
257 </div> 258 </div>
258 <div class="stages q-card-align"> 259 <div class="stages q-card-align">
259 <div class="col-sm-8 group"> 260 <div class="col-sm-8 group">
260 <input type="text" class="text-input" ng-model="data.question1" name="snpid" placeholder="Question1" ng-change="abc(); questionkeyPress(data.question1)" required> 261 <input type="text" class="text-input" ng-model="data.question1" name="snpid" placeholder="Question1" ng-change="abc(); questionkeyPress(data.question1)" required>
261 <span class="highlight"></span> 262 <span class="highlight"></span>
262 <span class="bar"></span> 263 <span class="bar"></span>
263 </div> 264 </div>
264 <div class="col-sm-3 col-md-offset-1"> 265 <div class="col-sm-3 col-md-offset-1">
265 <select class="drop-down" ng-model="data.typeQ1" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 266 <select class="drop-down" ng-model="data.typeQ1" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
266 <option value="typeQ1">Select</option> 267 <option value="typeQ1">Select</option>
267 <option>Sales</option> 268 <option>Sales</option>
268 <option>Marketing</option> 269 <option>Marketing</option>
269 <option>Technology</option> 270 <option>Technology</option>
270 <option>Scale</option> 271 <option>Scale</option>
271 <option>Fund-raising</option> 272 <option>Fund-raising</option>
272 <option>Go-to-market strategy</option> 273 <option>Go-to-market strategy</option>
273 <option>Team/hiring issues</option> 274 <option>Team/hiring issues</option>
274 <option>Emotional/personal issues</option> 275 <option>Emotional/personal issues</option>
275 <option>Any other</option> 276 <option>Any other</option>
276 </select> 277 </select>
277 </div> 278 </div>
278 <div class="col-sm-8 group"> 279 <div class="col-sm-8 group">
279 <input type="text" class="text-input" ng-model="data.question2" name="snpid" placeholder="Question2" ng-change="abc(); questionkeyPress(data.question2)" required> 280 <input type="text" class="text-input" ng-model="data.question2" name="snpid" placeholder="Question2" ng-change="abc(); questionkeyPress(data.question2)" required>
280 <span class="highlight"></span> 281 <span class="highlight"></span>
281 <span class="bar"></span> 282 <span class="bar"></span>
282 </div> 283 </div>
283 <div class="col-sm-3 col-md-offset-1"> 284 <div class="col-sm-3 col-md-offset-1">
284 <select class="drop-down" ng-model="data.typeQ2" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 285 <select class="drop-down" ng-model="data.typeQ2" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
285 <option value="typeQ2">Select</option> 286 <option value="typeQ2">Select</option>
286 <option>Sales</option> 287 <option>Sales</option>
287 <option>Marketing</option> 288 <option>Marketing</option>
288 <option>Technology</option> 289 <option>Technology</option>
289 <option>Scale</option> 290 <option>Scale</option>
290 <option>Fund-raising</option> 291 <option>Fund-raising</option>
291 <option>Go-to-market strategy</option> 292 <option>Go-to-market strategy</option>
292 <option>Team/hiring issues</option> 293 <option>Team/hiring issues</option>
293 <option>Emotional/personal issues</option> 294 <option>Emotional/personal issues</option>
294 <option>Any other</option> 295 <option>Any other</option>
295 </select> 296 </select>
296 </div> 297 </div>
297 <div class="col-sm-8 group"> 298 <div class="col-sm-8 group">
298 <input type="text" class="text-input" ng-model="data.question3" name="snpid" placeholder="Question3" ng-change="abc(); questionkeyPress(data.question3)" required> 299 <input type="text" class="text-input" ng-model="data.question3" name="snpid" placeholder="Question3" ng-change="abc(); questionkeyPress(data.question3)" required>
299 <span class="highlight"></span> 300 <span class="highlight"></span>
300 <span class="bar"></span> 301 <span class="bar"></span>
301 </div> 302 </div>
302 <div class="col-sm-3 col-md-offset-1"> 303 <div class="col-sm-3 col-md-offset-1">
303 <select class="drop-down" ng-model="data.typeQ3" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 304 <select class="drop-down" ng-model="data.typeQ3" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
304 <option value="typeQ3">Select</option> 305 <option value="typeQ3">Select</option>
305 <option>Sales</option> 306 <option>Sales</option>
306 <option>Marketing</option> 307 <option>Marketing</option>
307 <option>Technology</option> 308 <option>Technology</option>
308 <option>Scale</option> 309 <option>Scale</option>
309 <option>Fund-raising</option> 310 <option>Fund-raising</option>
310 <option>Go-to-market strategy</option> 311 <option>Go-to-market strategy</option>
311 <option>Team/hiring issues</option> 312 <option>Team/hiring issues</option>
312 <option>Emotional/personal issues</option> 313 <option>Emotional/personal issues</option>
313 <option>Any other</option> 314 <option>Any other</option>
314 </select> 315 </select>
315 </div> 316 </div>
316 <div class="col-sm-8 group"> 317 <div class="col-sm-8 group">
317 <input type="text" class="text-input" ng-model="data.question4" name="snpid" placeholder="Question4" ng-change="abc(); questionkeyPress(data.question4)" required> 318 <input type="text" class="text-input" ng-model="data.question4" name="snpid" placeholder="Question4" ng-change="abc(); questionkeyPress(data.question4)" required>
318 <span class="highlight"></span> 319 <span class="highlight"></span>
319 <span class="bar"></span> 320 <span class="bar"></span>
320 </div> 321 </div>
321 <div class="col-sm-3 col-md-offset-1"> 322 <div class="col-sm-3 col-md-offset-1">
322 <select class="drop-down" ng-model="data.typeQ4" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 323 <select class="drop-down" ng-model="data.typeQ4" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
323 <option value="typeQ4">Select</option> 324 <option value="typeQ4">Select</option>
324 <option>Sales</option> 325 <option>Sales</option>
325 <option>Marketing</option> 326 <option>Marketing</option>
326 <option>Technology</option> 327 <option>Technology</option>
327 <option>Scale</option> 328 <option>Scale</option>
328 <option>Fund-raising</option> 329 <option>Fund-raising</option>
329 <option>Go-to-market strategy</option> 330 <option>Go-to-market strategy</option>
330 <option>Team/hiring issues</option> 331 <option>Team/hiring issues</option>
331 <option>Emotional/personal issues</option> 332 <option>Emotional/personal issues</option>
332 <option>Any other</option> 333 <option>Any other</option>
333 </select> 334 </select>
334 </div> 335 </div>
335 <div class="col-sm-8 group"> 336 <div class="col-sm-8 group">
336 <input type="text" class="text-input" ng-model="data.question5" name="snpid" placeholder="Question5" ng-change="abc(); questionkeyPress(data.question5)" required> 337 <input type="text" class="text-input" ng-model="data.question5" name="snpid" placeholder="Question5" ng-change="abc(); questionkeyPress(data.question5)" required>
337 <span class="highlight"></span> 338 <span class="highlight"></span>
338 <span class="bar"></span> 339 <span class="bar"></span>
339 </div> 340 </div>
340 <div class="col-sm-3 col-md-offset-1"> 341 <div class="col-sm-3 col-md-offset-1">
341 <select class="drop-down" ng-model="data.typeQ5" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> 342 <select class="drop-down" ng-model="data.typeQ5" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required>
342 <option value="typeQ5">Select</option> 343 <option value="typeQ5">Select</option>
343 <option>Sales</option> 344 <option>Sales</option>
344 <option>Marketing</option> 345 <option>Marketing</option>
345 <option>Technology</option> 346 <option>Technology</option>
346 <option>Scale</option> 347 <option>Scale</option>
347 <option>Fund-raising</option> 348 <option>Fund-raising</option>
348 <option>Go-to-market strategy</option> 349 <option>Go-to-market strategy</option>
349 <option>Team/hiring issues</option> 350 <option>Team/hiring issues</option>
350 <option>Emotional/personal issues</option> 351 <option>Emotional/personal issues</option>
351 <option>Any other</option> 352 <option>Any other</option>
352 </select> 353 </select>
353 </div> 354 </div>
354 </div> 355 </div>
355 <div class="clearfix"></div> 356 <div class="clearfix"></div>
356 </div> <!--CLOSE question-shadow --> 357 </div> <!--CLOSE question-shadow -->
357 <div class="clearfix"></div> 358 <div class="clearfix"></div>
358 <!-- **************************CLOSE QUIZ FORM********************** --> 359 <!-- **************************CLOSE QUIZ FORM********************** -->
359 <div class="hideform"> 360 <div class="hideform">
360 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="prototyp"> 361 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="prototyp">
361 <strong>Do you have a prototype ready?</strong> 362 <strong>Do you have a prototype ready?</strong>
362 <p class="line-space" >If yes, please share the link to demo/website/application</p> 363 <p class="line-space" >If yes, please share the link to demo/website/application</p>
363 </div> 364 </div>
364 <div class="col-xs-12 col-md-12 input-wrapper"> 365 <div class="col-xs-12 col-md-12 input-wrapper">
365 <div class="icon-circle-k" ng-if="prototyp"> 366 <div class="icon-circle-k" ng-if="prototyp">
366 <i class="material-icons" style="line-height: 30px;">device_hub</i> 367 <i class="material-icons" style="line-height: 30px;">device_hub</i>
367 </div> 368 </div>
368 <textarea name="prototyp" ng-required="prototyp" class="text-input textarea" ng-model="data.prototype" ng-if="prototyp" placeholder="Prototype" ng-change="abc(); prototypekeyPress(data.prototype)"></textarea> 369 <textarea name="prototyp" ng-required="prototyp" class="text-input textarea" ng-model="data.prototype" ng-if="prototyp" placeholder="Prototype" ng-change="abc(); prototypekeyPress(data.prototype)"></textarea>
369 </div> 370 </div>
370 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="market"> 371 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="market">
371 <strong>What is your go-to-market strategy?</strong> 372 <strong>What is your go-to-market strategy?</strong>
372 <p class="line-space" ></p> 373 <p class="line-space" ></p>
373 </div> 374 </div>
374 <div class="col-xs-12 col-md-12 input-wrapper"> 375 <div class="col-xs-12 col-md-12 input-wrapper">
375 <div class="icon-circle-l" ng-if="market"> 376 <div class="icon-circle-l" ng-if="market">
376 <i class="material-icons" style="line-height: 30px;">multiline_chart</i> 377 <i class="material-icons" style="line-height: 30px;">multiline_chart</i>
377 </div> 378 </div>
378 <textarea name="market" ng-required="market" class="text-input textarea" ng-model="data.market" ng-if="market" placeholder="Go to market strategy" ng-change="abc(); marketkeyPress(data.market)"></textarea> 379 <textarea name="market" ng-required="market" class="text-input textarea" ng-model="data.market" ng-if="market" placeholder="Go to market strategy" ng-change="abc(); marketkeyPress(data.market)"></textarea>
379 </div> 380 </div>
380 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="risks"> 381 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="risks">
381 <strong>Who are your existing competitors and potential risk factors?</strong> 382 <strong>Who are your existing competitors and potential risk factors?</strong>
382 <p class="line-space" ></p> 383 <p class="line-space" ></p>
383 </div> 384 </div>
384 <div class="col-xs-12 col-md-12 input-wrapper"> 385 <div class="col-xs-12 col-md-12 input-wrapper">
385 <div class="icon-circle-m" ng-if="risks"> 386 <div class="icon-circle-m" ng-if="risks">
386 <i class="material-icons" style="line-height: 30px;">smoking_rooms</i> 387 <i class="material-icons" style="line-height: 30px;">smoking_rooms</i>
387 </div> 388 </div>
388 <textarea name="risks" ng-required="risks" class="text-input textarea" ng-model="data.risks" ng-if="risks" placeholder="Competition and risks" ng-change="abc(); riskkeyPress(data.risks)"></textarea> 389 <textarea name="risks" ng-required="risks" class="text-input textarea" ng-model="data.risks" ng-if="risks" placeholder="Competition and risks" ng-change="abc(); riskkeyPress(data.risks)"></textarea>
389 </div> 390 </div>
390 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="team"> 391 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="team">
391 <strong>Who all are there in your team?</strong> 392 <strong>Who all are there in your team?</strong>
392 <p class="line-space" >What are their backgrounds?</p> 393 <p class="line-space" >What are their backgrounds?</p>
393 </div> 394 </div>
394 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="team"> 395 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="team">
395 <div class="icon-circle-n" ng-if="team"> 396 <div class="icon-circle-n" ng-if="team">
396 <i class="material-icons" style="line-height: 30px;">games</i> 397 <i class="material-icons" style="line-height: 30px;">games</i>
397 </div> 398 </div>
398 <textarea name="team" ng-required="team" class="text-input textarea" ng-model="data.team" ng-if="team" placeholder="Team" ng-change="abc(); teamkeyPress(data.team)"></textarea> 399 <textarea name="team" ng-required="team" class="text-input textarea" ng-model="data.team" ng-if="team" placeholder="Team" ng-change="abc(); teamkeyPress(data.team)"></textarea>
399 </div> 400 </div>
400 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="pitch"> 401 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="pitch">
401 <strong>Upload the pitch-deck/presentation mentioning the details of the startup.</strong> 402 <strong>Upload the pitch-deck/presentation mentioning the details of the startup.</strong>
402 <p class="line-space" ></p> 403 <p class="line-space" ></p>
403 </div> 404 </div>
404 <div class="col-xs-12 col-md-12 input-wrapper"> 405 <div class="col-xs-12 col-md-12 input-wrapper">
405 <div class="icon-circle-z" ng-if="pitch"> 406 <div class="icon-circle-z" ng-if="pitch">
406 <i class="material-icons" style="line-height: 30px;">offline_pin</i> 407 <i class="material-icons" style="line-height: 30px;">offline_pin</i>
407 </div> 408 </div>
408 <input type="text" ng-required="pitch" class="text-input" ng-model="data.pitch" ng-if="pitch" placeholder="Upload pitch deck" ng-change="abc(); pitchkeyPress(data.pitch)"> 409 <input type="text" ng-required="pitch" class="text-input" ng-model="data.pitch" ng-if="pitch" placeholder="Upload pitch deck" ng-change="abc(); pitchkeyPress(data.pitch)">
409 </div> 410 </div>
410 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="financials"> 411 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="financials">
411 <strong>Upload the financial projections/funding requirements of your company?</strong> 412 <strong>Upload the financial projections/funding requirements of your company?</strong>
412 <p class="line-space" ></p> 413 <p class="line-space" ></p>
413 </div> 414 </div>
414 <div class="col-xs-12 col-md-12 input-wrapper"> 415 <div class="col-xs-12 col-md-12 input-wrapper">
415 <div class="icon-circle-q" ng-if="financials"> 416 <div class="icon-circle-q" ng-if="financials">
416 <i class="material-icons" style="line-height: 30px;">timeline</i> 417 <i class="material-icons" style="line-height: 30px;">timeline</i>
417 </div> 418 </div>
418 <input type="text" name="financials" ng-required="financials" class="text-input" ng-model="data.financials" ng-if="financials" placeholder="Upload financials" ng-change="abc(); financialskeyPress(data.financials)"> 419 <input type="text" name="financials" ng-required="financials" class="text-input" ng-model="data.financials" ng-if="financials" placeholder="Upload financials" ng-change="abc(); financialskeyPress(data.financials)">
419 </div> 420 </div>
420 <div class="clearfix"></div> 421 <div class="clearfix"></div>
421 <div class="clearfix" ng-if="prototyp"></div> 422 <div class="clearfix" ng-if="prototyp"></div>
422 </div> 423 </div>
423 <!-- <div class="clearfix"></div> --> 424 <!-- <div class="clearfix"></div> -->
424 <!-- THIS CODE FOR WHO ARE YOU FORM --> 425 <!-- THIS CODE FOR WHO ARE YOU FORM -->
425 <!-- <div class="row"> 426 <!-- <div class="row">
426 <div class="col-md-3"></div> 427 <div class="col-md-3"></div>
427 <div class="col-md-3"></div> 428 <div class="col-md-3"></div>
428 <div class="col-md-3"></div> 429 <div class="col-md-3"></div>
429 </div> --> 430 </div> -->
430 <div class="identity-shadow"> 431 <div class="identity-shadow">
431 <div class="icon-circle-ab"> 432 <div class="icon-circle-ab">
432 <i class="material-icons" style="line-height: 30px;">perm_identity</i> 433 <i class="material-icons" style="line-height: 30px;">perm_identity</i>
433 </div> 434 </div>
434 <div class="identity-question"> 435 <div class="identity-question">
435 <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> 436 <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;">
436 <b>Who are you?</b> 437 <b>Who are you?</b>
437 <p style="color:grey">kindly choose one option (if you select the student then please upload the Id proof).</p> 438 <p style="color:grey">kindly choose one option (if you select the student then please upload the Id proof).</p>
438 </div> 439 </div>
439 <div class="clearfix"></div> 440 <div class="clearfix"></div>
440 </div> 441 </div>
441 <div class="stages identity-align"> 442 <div class="stages identity-align">
442 <div class="col-xs-12"> 443 <div class="col-xs-12">
443 <label class="card-small"> 444 <label class="card-small">
444 <input type="radio" required value="student" ng-model="data.identity" class="option-input-a radio-a" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='a'"> 445 <input type="radio" required value="student" ng-model="data.identity" class="option-input-a radio-a" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='a'">
445 <!-- <img src="images/RURAL_ICON.png"> --> 446 <!-- <img src="images/RURAL_ICON.png"> -->
446 <label class="f-family">Student</label> 447 <label class="f-family">Student</label>
447 </label> 448 </label>
448 <label class="card-small"> 449 <label class="card-small">
449 <input type="radio" required value="others" ng-model="data.identity" class="option-input-a radio-a" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='b'"> 450 <input type="radio" required value="others" ng-model="data.identity" class="option-input-a radio-a" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='b'">
450 <!-- <img src="images/education.png"> --> 451 <!-- <img src="images/education.png"> -->
451 <label class="f-family">Others</label> 452 <label class="f-family">Others</label>
452 </label> 453 </label>
453 </div> 454 </div>
454 <div class="col-xs-6"> 455 <div class="col-xs-6">
455 <label class="card-small"> 456 <label class="card-small">
456 457
457 <input type="file" file-model="data.pic" required id="picture" name="pic" accept="image/*" ng-show="show=='a'"> 458 <input type="file" file-model="data.pic" required id="picture" name="pic" accept="image/*" ng-show="show=='a'">
458 </label> 459 </label>
459 </div> 460 </div>
460 </div><!-- CLOSE stages identity-align --> 461 </div><!-- CLOSE stages identity-align -->
461 <div class="clearfix"></div> 462 <div class="clearfix"></div>
462 </div><!-- CLOSE identity-shadow --> 463 </div><!-- CLOSE identity-shadow -->
463 464
464 <div class="text-center"> 465 <div class="text-center">
465 <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck||cc" value="Submit" ng-click="create()"> 466 <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck||cc" value="Submit" ng-click="create()">
466 </div> 467 </div>
467 </div> <!-- CLOSE step-two-form --> 468 </div> <!-- CLOSE step-two-form -->
468 </div> <!-- col-xs-12 col-md-8 col-md-offset-2 --> 469 </div> <!-- col-xs-12 col-md-8 col-md-offset-2 -->
469 </form> <!-- CLOSE FORM --> 470 </form> <!-- CLOSE FORM -->
470 <footer> 471 <footer>
471 <img id="footer" class="img-responsive banner"> 472 <img id="footer" class="img-responsive banner">
472 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> 473 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center>
473 </footer> 474 </footer>
474 <!-- </div> CLOSE CHECK VIEW --> 475 <!-- </div> CLOSE CHECK VIEW -->
475 <div ng-if="verifyView"> 476 <div ng-if="verifyView">
476 <div style="margin-bottom: 0px;" class="text-center"> 477 <div style="margin-bottom: 0px;" class="text-center">
477 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> 478 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()">
478 <!-- <button ng-disabled="applicantForm.$invalid">Save</button> --> 479 <!-- <button ng-disabled="applicantForm.$invalid">Save</button> -->
479 </div> 480 </div>
480 </div> 481 </div>
481 </div> <!-- CLOSE NEW-CONTROLLER --> 482 </div> <!-- CLOSE NEW-CONTROLLER -->
482 <div id="snacsskbar">Registration done successfully.</div> 483 <div id="snacsskbar">Registration done successfully.</div>
483 484
1 // create the module and name it scotchApp 1 // create the module and name it scotchApp
2 var scotchApp = angular.module('scotchApp', ['ngRoute']); 2 var scotchApp = angular.module('scotchApp', ['ngRoute']);
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 about page 14 // route for the about page
15 .when('/verification/=:id', { 15 .when('/verification/=:id', {
16 templateUrl : 'pages/verify.html', 16 templateUrl : 'pages/verify.html',
17 controller : 'verifyController' 17 controller : 'verifyController'
18 }) 18 })
19 }); 19 });
20 20
21 // create the controller and inject Angular's $scope 21 // create the controller and inject Angular's $scope
22 scotchApp.controller('mainController', function($scope, $http, $location,$route) { 22 scotchApp.controller('mainController', function($scope, $http, $location,$route) {
23 23
24 $scope.data = { 24 $scope.data = {
25 show: true, 25 show: true,
26 hide: false 26 hide: false
27 }; 27 };
28 28
29 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 29 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
30 30
31 $scope.max = 100; 31 $scope.max = 100;
32 $scope.current = 0; 32 $scope.current = 0;
33 $scope.payingAmnt = 0; 33 $scope.payingAmnt = 0;
34 if ($scope.data.stage == 'select') { 34 if ($scope.data.stage == 'select') {
35 console.log("sdsaasd"); 35 console.log("sdsaasd");
36 36
37 } 37 }
38 38
39 $scope.author = 'Swarn Singh'; 39 $scope.author = 'Swarn Singh';
40 $scope.data = {}; 40 $scope.data = {};
41 //$scope.data.stage = 'idea'; 41 //$scope.data.stage = 'idea';
42 //$scope.data.email = ''; 42 //$scope.data.email = '';
43 $scope.check = false; 43 $scope.check = false;
44 $scope.numberCheck = false; 44 $scope.numberCheck = false;
45 $scope.paymentResult = {}; 45 $scope.paymentResult = {};
46 var BASE_URL = "http://139.59.68.74:4001/api"; 46 var BASE_URL = "http://0.0.0.0:4001/api";
47 var data ={ 47 var data ={
48 "amount":$scope.payingAmnt, 48 "amount":$scope.payingAmnt,
49 "currency": "INR", 49 "currency": "INR",
50 "status": "pending" 50 "status": "pending"
51 } 51 }
52 52
53 $scope.removeError = function(){ 53 $scope.removeError = function(){
54 $('#invalidEmail').css('display', 'none'); 54 $('#invalidEmail').css('display', 'none');
55 $('#alreadyExist').css('display', 'none'); 55 $('#alreadyExist').css('display', 'none');
56 }; 56 };
57 57
58 $scope.emailcheck = function(val){ 58 $scope.emailcheck = function(val){
59 //console.log('val', val); 59 //console.log('val', val);
60 if (val == undefined) { 60 if (val == undefined) {
61 $('#invalidEmail').css('display', 'block'); 61 $('#invalidEmail').css('display', 'block');
62 }else{ 62 }else{
63 $http({ 63 $http({
64 method: 'GET', 64 method: 'GET',
65 url: BASE_URL+'/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', 65 url: BASE_URL+'/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}',
66 //data: email, 66 //data: email,
67 headers: {} 67 headers: {}
68 }).then(function mySuccess(searchResult) { 68 }).then(function mySuccess(searchResult) {
69 console.log("searchResult1===>",searchResult) 69 console.log("searchResult1===>",searchResult)
70 if(searchResult.data.length == 0){ 70 if(searchResult.data.length == 0){
71 $scope.check = false; 71 $scope.check = false;
72 }else{ 72 }else{
73 $scope.check = true; 73 $scope.check = true;
74 $('#alreadyExist').css('display', 'block'); 74 $('#alreadyExist').css('display', 'block');
75 } 75 }
76 }, function myError(error) { 76 }, function myError(error) {
77 }); 77 });
78 } 78 }
79 }; 79 };
80 80
81 $scope.removeNoError = function(){ 81 $scope.removeNoError = function(){
82 $('#noExist').css('display', 'none'); 82 $('#noExist').css('display', 'none');
83 }; 83 };
84 84
85 $scope.numbercheck = function(number){ 85 $scope.numbercheck = function(number){
86 $http({ 86 $http({
87 method: 'GET', 87 method: 'GET',
88 url: BASE_URL+'/applicants?filter={"where": {"phone": {"like":"%25'+number+'%25"}}}', 88 url: BASE_URL+'/applicants?filter={"where": {"phone": {"like":"%25'+number+'%25"}}}',
89 data: $scope.data, 89 data: $scope.data,
90 headers: {} 90 headers: {}
91 }).then(function mySuccess(searchResult) { 91 }).then(function mySuccess(searchResult) {
92 console.log("searchResult===>",searchResult) 92 console.log("searchResult===>",searchResult)
93 if(searchResult.data.length == 0){ 93 if(searchResult.data.length == 0){
94 $scope.numberCheck = false; 94 $scope.numberCheck = false;
95 }else{ 95 }else{
96 $scope.numberCheck = true; 96 $scope.numberCheck = true;
97 $('#noExist').css('display', 'block'); 97 $('#noExist').css('display', 'block');
98 } 98 }
99 }, function myError(error) { 99 }, function myError(error) {
100 }); 100 });
101 }; 101 };
102 102
103 /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ 103 /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/
104 $(document).ready( 104 $(document).ready(
105 function(){ 105 function(){
106 $('input:submit').attr('disabled',true); 106 $('input:submit').attr('disabled',true);
107 $('input:file').change( 107 $('input:file').change(
108 function(){ 108 function(){
109 if ($("#picture").val()){ 109 if ($("#picture").val()){
110 $('input:submit').removeAttr('disabled'); 110 $('input:submit').removeAttr('disabled');
111 } 111 }
112 else { 112 else {
113 $('input:submit').attr('disabled',true); 113 $('input:submit').attr('disabled',true);
114 } 114 }
115 }); 115 });
116 }); 116 });
117 117
118 /*****THIS IS FOR STEP ONE FORM ******/ 118 /*****THIS IS FOR STEP ONE FORM ******/
119 $scope.next = function() { 119 $scope.next = function() {
120 var BASE_URL = "http://139.59.68.74:4001/api"; 120 var BASE_URL = "http://0.0.0.0:4001/api";
121 $scope.data.status = null 121 $scope.data.status = null
122 if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { 122 if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) {
123 var x = document.getElementById("snackbar") 123 var x = document.getElementById("snackbar")
124 x.className = "show"; 124 x.className = "show";
125 setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); 125 setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000);
126 }else if($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { 126 }else if($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) {
127 $scope.infoForm = true; 127 $scope.infoForm = true;
128 console.log("sdasdasdsa"); 128 console.log("sdasdasdsa");
129 $scope.data.stage = $scope.data.stage; 129 $scope.data.stage = $scope.data.stage;
130 $scope.detail = {}; 130 $scope.detail = {};
131 $scope.data.phone = "+91"+$scope.data.number; 131 $scope.data.phone = "+91"+$scope.data.number;
132 $http({ 132 $http({
133 method: 'POST', 133 method: 'POST',
134 url: BASE_URL+'/information', 134 url: BASE_URL+'/information',
135 data: $scope.data, 135 data: $scope.data,
136 headers: {} 136 headers: {}
137 }).then(function mySuccess(result) { 137 }).then(function mySuccess(result) {
138 console.log("result",result) 138 console.log("result",result)
139 $scope.detail = result; 139 $scope.detail = result;
140 data.applicantId = result.data.id; 140 data.applicantId = result.data.id;
141 $scope.userId = result.data.id; 141 $scope.userId = result.data.id;
142 142
143 }, function myError(error) { 143 }, function myError(error) {
144 }); 144 });
145 } 145 }
146 146
147 } 147 }
148 148
149 /*****THIS IS FOR STEP THREE FORM ******/ 149 /*****THIS IS FOR STEP THREE FORM ******/
150 $scope.create = function() { 150 $scope.create = function() {
151 console.log("$scope.data.identity",$scope.data.identity) 151 console.log("$scope.data.identity",$scope.data.identity)
152 /*****PAYMENT WITH 18% GST*****/ 152 /*****PAYMENT WITH 18% GST*****/
153 if($scope.data.stage == "Idea"){ 153 if($scope.data.stage == "Idea"){
154 console.log("$scope.data",$scope.data) 154 console.log("$scope.data",$scope.data)
155 if($scope.data.identity == "student"){ 155 if($scope.data.identity == "student"){
156 $scope.payingAmnt = 59000; 156 $scope.payingAmnt = 59000;
157 }else{ 157 }else{
158 $scope.payingAmnt = 118000; 158 $scope.payingAmnt = 118000;
159 } 159 }
160 } 160 }
161 161
162 if($scope.data.stage == "Product"){ 162 if($scope.data.stage == "Product"){
163 if($scope.data.identity == "student"){ 163 if($scope.data.identity == "student"){
164 $scope.payingAmnt = 59000; 164 $scope.payingAmnt = 59000;
165 }else{ 165 }else{
166 $scope.payingAmnt = 118000; 166 $scope.payingAmnt = 118000;
167 } 167 }
168 } 168 }
169 169
170 if($scope.data.stage == "Growth"){ 170 if($scope.data.stage == "Growth"){
171 if($scope.data.identity == "student"){ 171 if($scope.data.identity == "student"){
172 $scope.payingAmnt = 59000; 172 $scope.payingAmnt = 59000;
173 }else{ 173 }else{
174 $scope.payingAmnt = 118000; 174 $scope.payingAmnt = 118000;
175 } 175 }
176 } 176 }
177 177
178 178
179 if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { 179 if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) {
180 var x = document.getElementById("snackbar") 180 var x = document.getElementById("snackbar")
181 x.className = "show"; 181 x.className = "show";
182 setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); 182 setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000);
183 }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { 183 }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) {
184 184
185 var BASE_URL = "http://139.59.68.74:4001/api"; 185 var BASE_URL = "http://0.0.0.0:4001/api";
186 186
187 if($scope.data.identity == "student"){ 187 if($scope.data.identity == "student"){
188 188
189 var image = BASE_URL+'/container1s/proof/download/' 189 var image = BASE_URL+'/container1s/proof/download/'
190 console.log("image",image) 190 console.log("image",image)
191 var image = document.getElementById('picture').files[0]; 191 var image = document.getElementById('picture').files[0];
192 var imagePath = image.name; 192 var imagePath = image.name;
193 $scope.NewIamge = image + imagePath; 193 $scope.NewIamge = image + imagePath;
194 $scope.data.pic = $scope.NewIamge; 194 $scope.data.pic = $scope.NewIamge;
195 var fd = new FormData() 195 var fd = new FormData()
196 fd.append('file',image); 196 fd.append('file',image);
197 $http({ 197 $http({
198 method:'POST', 198 method:'POST',
199 url: BASE_URL+'/container1s/proof/upload', 199 url: BASE_URL+'/container1s/proof/upload',
200 data:fd, 200 data:fd,
201 transformRequest:angular.identity, 201 transformRequest:angular.identity,
202 headers:{'Content-Type':undefined} 202 headers:{'Content-Type':undefined}
203 }).then(function mySuccess(sucessResponse) { 203 }).then(function mySuccess(sucessResponse) {
204 204
205 205
206 }, function myError(error) { 206 }, function myError(error) {
207 }); 207 });
208 208
209 } 209 }
210 var BASE_URL = "http://139.59.68.74:4001/api"; 210 var BASE_URL = "http://0.0.0.0:4001/api";
211 console.log("BASE_URL",BASE_URL) 211 console.log("BASE_URL",BASE_URL)
212 $scope.infoForm = true; 212 $scope.infoForm = true;
213 console.log("sdasdasdsa"); 213 console.log("sdasdasdsa");
214 $scope.data.stage = $scope.data.stage; 214 $scope.data.stage = $scope.data.stage;
215 $scope.detail = {}; 215 $scope.detail = {};
216 $scope.data.phone = "+91"+$scope.data.number; 216 $scope.data.phone = "+91"+$scope.data.number;
217 $http({ 217 $http({
218 method: 'POST', 218 method: 'POST',
219 url: BASE_URL+'/applicants', 219 url: BASE_URL+'/applicants',
220 data: $scope.data, 220 data: $scope.data,
221 headers: {} 221 headers: {}
222 }).then(function mySuccess(result) { 222 }).then(function mySuccess(result) {
223 223
224 console.log("=====result=====",result) 224 console.log("=====result=====",result)
225 $scope.detail = result; 225 $scope.detail = result;
226 data.applicantId = result.data.id; 226 data.applicantId = result.data.id;
227 $scope.userId = result.data.id; 227 $scope.userId = result.data.id;
228 console.log("=====data=====",data) 228 console.log("=====data=====",data)
229 data.amount = $scope.payingAmnt /100; 229 data.amount = $scope.payingAmnt /100;
230 if($scope.detail != null){ 230 if($scope.detail != null){
231 $http({ 231 $http({
232 method: 'POST', 232 method: 'POST',
233 url: BASE_URL+'/payments', 233 url: BASE_URL+'/payments',
234 data: data, 234 data: data,
235 headers: {} 235 headers: {}
236 }).then(function mySuccess(paymentResult) { 236 }).then(function mySuccess(paymentResult) {
237 $scope.paymentResult = paymentResult; 237 $scope.paymentResult = paymentResult;
238 }, function myError(error) { 238 }, function myError(error) {
239 }); 239 });
240 } 240 }
241 var i = 0; 241 var i = 0;
242 var options = { 242 var options = {
243 "key": "rzp_test_YwHsVFiDIQ2WUQ", 243 "key": "rzp_test_YwHsVFiDIQ2WUQ",
244 "amount": $scope.payingAmnt, 244 "amount": $scope.payingAmnt,
245 245
246 "name": "Startup Jalsa", 246 "name": "Startup Jalsa",
247 "description":"amount", 247 "description":"amount",
248 "currency": "INR", 248 "currency": "INR",
249 "status": "done", 249 "status": "done",
250 250
251 "theme": { 251 "theme": {
252 "color": "#2196f3 ", 252 "color": "#2196f3 ",
253 "image_padding":"NO" 253 "image_padding":"NO"
254 }, 254 },
255 "modal": { 255 "modal": {
256 "ondismiss": function(){ 256 "ondismiss": function(){
257 } 257 }
258 }, 258 },
259 "handler": function (response){ 259 "handler": function (response){
260 createPayment(response); 260 createPayment(response);
261 } 261 }
262 }; 262 };
263 var rzp1 = new Razorpay(options); 263 var rzp1 = new Razorpay(options);
264 rzp1.open(); 264 rzp1.open();
265 $scope.paymentResponse = {}; 265 $scope.paymentResponse = {};
266 function createPayment(response){ 266 function createPayment(response){
267 $route.reload(); 267 $route.reload();
268 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 268 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
269 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; 269 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId;
270 $scope.paymentResponse.amount = data.amount; 270 $scope.paymentResponse.amount = data.amount;
271 $scope.paymentResponse.currency = "INR"; 271 $scope.paymentResponse.currency = "INR";
272 $scope.paymentResponse.status = "captured"; 272 $scope.paymentResponse.status = "captured";
273 $http({ 273 $http({
274 method: 'PUT', 274 method: 'PUT',
275 url: BASE_URL+'/payments/'+$scope.paymentResult.data.id, 275 url: BASE_URL+'/payments/'+$scope.paymentResult.data.id,
276 data: $scope.paymentResponse, 276 data: $scope.paymentResponse,
277 headers: {} 277 headers: {}
278 }).then(function mySuccess(searchResult) { 278 }).then(function mySuccess(searchResult) {
279 console.log("searchResult",searchResult) 279 console.log("searchResult",searchResult)
280 $scope.showToastr() 280 $scope.showToastr()
281 //toaster.success("Registration done successfully"); 281 //toaster.success("Registration done successfully");
282 282
283 }, function myError(error) { 283 }, function myError(error) {
284 }); 284 });
285 } 285 }
286 286
287 }, function myError(error) { 287 }, function myError(error) {
288 }); 288 });
289 } 289 }
290 290
291 } 291 }
292 292
293 $scope.showToastr = function(){ 293 $scope.showToastr = function(){
294 console.log("called toast") 294 console.log("called toast")
295 var x = document.getElementById("snacsskbar") 295 var x = document.getElementById("snacsskbar")
296 x.className = "show"; 296 x.className = "show";
297 setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); 297 setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000);
298 } 298 }
299 299
300 // $scope.lastpage = function(){ 300 // $scope.lastpage = function(){
301 // console.log("sdasd"); 301 // console.log("sdasd");
302 // $('.sectors-card').css('display', 'inherit'); 302 // $('.sectors-card').css('display', 'inherit');
303 // $('.form-all').css('display', 'inherit'); 303 // $('.form-all').css('display', 'inherit');
304 // $('.submit-button').css('display', 'inherit'); 304 // $('.submit-button').css('display', 'inherit');
305 // } 305 // }
306 /*kk***This code for change data when click to chooses stages***/ 306 /*kk***This code for change data when click to chooses stages***/
307 $scope.businessmodel = true; 307 $scope.businessmodel = true;
308 $scope.Idea =true; 308 $scope.Idea =true;
309 $scope.current = true; 309 $scope.current = true;
310 310
311 $scope.stage = function(stage){ 311 $scope.stage = function(stage){
312 // $('.sectors-card').css('display', 'block'); 312 // $('.sectors-card').css('display', 'block');
313 // $('.form-all').css('display', 'block'); 313 // $('.form-all').css('display', 'block');
314 // $('.identity-shadow').css('display', 'block'); 314 // $('.identity-shadow').css('display', 'block');
315 // $('.step-two-form').css('display', 'block'); 315 // $('.step-two-form').css('display', 'block');
316 // $('.step-three-form').css('display', 'block'); 316 // $('.step-three-form').css('display', 'block');
317 317
318 if (stage == 'Idea') { 318 if (stage == 'Idea') {
319 $scope.current = 10; 319 $scope.current = 10;
320 $scope.prototyp = false; 320 $scope.prototyp = false;
321 $scope.market = false; 321 $scope.market = false;
322 $scope.risks = false; 322 $scope.risks = false;
323 $scope.team = false; 323 $scope.team = false;
324 $scope.pitch = false; 324 $scope.pitch = false;
325 $scope.financials = false; 325 $scope.financials = false;
326 $scope.businessmodel = true; 326 $scope.businessmodel = true;
327 // for right content 327 // for right content
328 $scope.Idea =true; 328 $scope.Idea =true;
329 $scope.Product =false; 329 $scope.Product =false;
330 $scope.Growth =false; 330 $scope.Growth =false;
331 }else if(stage == 'Product') { 331 }else if(stage == 'Product') {
332 $scope.current = 10; 332 $scope.current = 10;
333 $scope.prototyp= true; 333 $scope.prototyp= true;
334 $scope.market = true; 334 $scope.market = true;
335 $scope.risks = true; 335 $scope.risks = true;
336 $scope.team = true; 336 $scope.team = true;
337 $scope.pitch = true; 337 $scope.pitch = true;
338 $scope.financials = true; 338 $scope.financials = true;
339 $scope.businessmodel = false; 339 $scope.businessmodel = false;
340 // for right content 340 // for right content
341 $scope.Idea =false; 341 $scope.Idea =false;
342 $scope.Product =true; 342 $scope.Product =true;
343 $scope.Growth =false; 343 $scope.Growth =false;
344 }else if(stage == 'Growth') { 344 }else if(stage == 'Growth') {
345 $scope.current = 10; 345 $scope.current = 10;
346 $scope.prototyp = true; 346 $scope.prototyp = true;
347 $scope.market = true; 347 $scope.market = true;
348 $scope.risks = true; 348 $scope.risks = true;
349 $scope.team = true; 349 $scope.team = true;
350 $scope.pitch = true; 350 $scope.pitch = true;
351 $scope.financials = true; 351 $scope.financials = true;
352 $scope.businessmodel = false; 352 $scope.businessmodel = false;
353 // for right content 353 // for right content
354 $scope.Idea =false; 354 $scope.Idea =false;
355 $scope.Product =false; 355 $scope.Product =false;
356 $scope.Growth =true; 356 $scope.Growth =true;
357 } 357 }
358 } 358 }
359 359
360 // $scope.sector = function(sector){ 360 // $scope.sector = function(sector){
361 // if (sector == 'retail') { 361 // if (sector == 'retail') {
362 // $scope.current = true; 362 // $scope.current = true;
363 363
364 // }else if(sector == 'b2b commerce') { 364 // }else if(sector == 'b2b commerce') {
365 // $scope.current = true; 365 // $scope.current = true;
366 366
367 // }else if(sector == 'agritech') { 367 // }else if(sector == 'agritech') {
368 // $scope.current = true; 368 // $scope.current = true;
369 369
370 // }else if(sector == 'travel') { 370 // }else if(sector == 'travel') {
371 // $scope.current = true; 371 // $scope.current = true;
372 372
373 // }else if(sector == 'fintech') { 373 // }else if(sector == 'fintech') {
374 // $scope.current = true; 374 // $scope.current = true;
375 375
376 // }else if(sector == 'hyperlocal services') { 376 // }else if(sector == 'hyperlocal services') {
377 // $scope.current = true; 377 // $scope.current = true;
378 378
379 // }else if(sector == 'education') { 379 // }else if(sector == 'education') {
380 // $scope.current = true; 380 // $scope.current = true;
381 381
382 // }else if(sector == 'rural') { 382 // }else if(sector == 'rural') {
383 // $scope.current = true; 383 // $scope.current = true;
384 // } 384 // }
385 // } 385 // }
386 // $scope.sector = function(sector){ 386 // $scope.sector = function(sector){
387 // if (sector == 'retail') { 387 // if (sector == 'retail') {
388 // $scope.current = true; 388 // $scope.current = true;
389 389
390 // }else if(sector == 'b2b commerce') { 390 // }else if(sector == 'b2b commerce') {
391 // $scope.current = true; 391 // $scope.current = true;
392 392
393 // }else if(sector == 'agritech') { 393 // }else if(sector == 'agritech') {
394 // $scope.current = true; 394 // $scope.current = true;
395 395
396 // }else if(sector == 'travel') { 396 // }else if(sector == 'travel') {
397 // $scope.current = true; 397 // $scope.current = true;
398 398
399 // }else if(sector == 'fintech') { 399 // }else if(sector == 'fintech') {
400 // $scope.current = true; 400 // $scope.current = true;
401 401
402 // }else if(sector == 'hyperlocal services') { 402 // }else if(sector == 'hyperlocal services') {
403 // $scope.current = true; 403 // $scope.current = true;
404 404
405 // }else if(sector == 'education') { 405 // }else if(sector == 'education') {
406 // $scope.current = true; 406 // $scope.current = true;
407 407
408 // }else if(sector == 'rural') { 408 // }else if(sector == 'rural') {
409 // $scope.current = true; 409 // $scope.current = true;
410 // } 410 // }
411 // } 411 // }
412 412
413 // $scope.entername = function(name){ 413 // $scope.entername = function(name){
414 // if (name == undefined) { 414 // if (name == undefined) {
415 // $scope.current = false; 415 // $scope.current = false;
416 // }else if (name != undefined){ 416 // }else if (name != undefined){
417 // $scope.current = true; 417 // $scope.current = true;
418 // } 418 // }
419 // } 419 // }
420 // $scope.enteremail = function(email){ 420 // $scope.enteremail = function(email){
421 // if (email == undefined) { 421 // if (email == undefined) {
422 // $scope.current = false; 422 // $scope.current = false;
423 // }else if (email != undefined){ 423 // }else if (email != undefined){
424 // $scope.current = true; 424 // $scope.current = true;
425 // } 425 // }
426 // } 426 // }
427 // $scope.enternumber = function(number){ 427 // $scope.enternumber = function(number){
428 // if (name == undefined) { 428 // if (name == undefined) {
429 // $scope.current = false; 429 // $scope.current = false;
430 // }else if (name != undefined){ 430 // }else if (name != undefined){
431 // $scope.current = true; 431 // $scope.current = true;
432 // } 432 // }
433 // } 433 // }
434 // $scope.selectcity = function(city){ 434 // $scope.selectcity = function(city){
435 // console.log("city",city); 435 // console.log("city",city);
436 // if (name == undefined) { 436 // if (name == undefined) {
437 // $scope.current = false; 437 // $scope.current = false;
438 // }else if (name != undefined){ 438 // }else if (name != undefined){
439 // $scope.current = true; 439 // $scope.current = true;
440 // } 440 // }
441 // } 441 // }
442 // $scope.entertechnology = function(technology){ 442 // $scope.entertechnology = function(technology){
443 // console.log("technology",technology); 443 // console.log("technology",technology);
444 // if (name == undefined) { 444 // if (name == undefined) {
445 // $scope.current = false; 445 // $scope.current = false;
446 // }else if (name != undefined){ 446 // }else if (name != undefined){
447 // $scope.current = true; 447 // $scope.current = true;
448 // } 448 // }
449 // } 449 // }
450 // $scope.enterproblem = function(problem){ 450 // $scope.enterproblem = function(problem){
451 // console.log("problem",problem); 451 // console.log("problem",problem);
452 // if (name == undefined) { 452 // if (name == undefined) {
453 // $scope.current = false; 453 // $scope.current = false;
454 // }else if (name != undefined){ 454 // }else if (name != undefined){
455 // $scope.current = true; 455 // $scope.current = true;
456 // } 456 // }
457 // } 457 // }
458 // $scope.entersolution = function(solution){ 458 // $scope.entersolution = function(solution){
459 // console.log("solution",solution); 459 // console.log("solution",solution);
460 // if (name == undefined) { 460 // if (name == undefined) {
461 // $scope.current = false; 461 // $scope.current = false;
462 // }else if (name != undefined){ 462 // }else if (name != undefined){
463 // $scope.current = true; 463 // $scope.current = true;
464 // } 464 // }
465 // } 465 // }
466 $scope.enterbusiness = function(business){ 466 $scope.enterbusiness = function(business){
467 console.log("business",business); 467 console.log("business",business);
468 if (name == undefined) { 468 if (name == undefined) {
469 $scope.current = false; 469 $scope.current = false;
470 }else if (name != undefined){ 470 }else if (name != undefined){
471 $scope.current = true; 471 $scope.current = true;
472 } 472 }
473 } 473 }
474 /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ 474 /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/
475 $scope.stagekeyPress = function(){ 475 $scope.stagekeyPress = function(){
476 $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); 476 $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)');
477 } 477 }
478 $scope.sectorkeyPress = function(){ 478 $scope.sectorkeyPress = function(){
479 $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); 479 $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)');
480 } 480 }
481 481
482 $scope.studentkeyPress = function(){ 482 $scope.studentkeyPress = function(){
483 $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); 483 $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)');
484 } 484 }
485 485
486 $scope.namekeyPress = function(name){ 486 $scope.namekeyPress = function(name){
487 console.log("name",name); 487 console.log("name",name);
488 if (name == undefined) { 488 if (name == undefined) {
489 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); 489 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)');
490 }else{ 490 }else{
491 $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); 491 $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)');
492 } 492 }
493 } 493 }
494 $scope.emailkeyPress = function(email){ 494 $scope.emailkeyPress = function(email){
495 console.log("email",email); 495 console.log("email",email);
496 if (email == undefined) { 496 if (email == undefined) {
497 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); 497 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)');
498 }else{ 498 }else{
499 $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); 499 $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)');
500 } 500 }
501 } 501 }
502 502
503 503
504 $scope.phonekeyPress = function(number){ 504 $scope.phonekeyPress = function(number){
505 console.log("number",number); 505 console.log("number",number);
506 if (number == undefined) { 506 if (number == undefined) {
507 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); 507 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)');
508 }else{ 508 }else{
509 $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); 509 $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)');
510 } 510 }
511 } 511 }
512 512
513 $scope.citykeyPress = function(city){ 513 $scope.citykeyPress = function(city){
514 console.log("city",city); 514 console.log("city",city);
515 if (city == undefined) { 515 if (city == undefined) {
516 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); 516 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)');
517 }else{ 517 }else{
518 $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); 518 $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)');
519 } 519 }
520 } 520 }
521 521
522 $scope.questionkeyPress = function(q){ 522 $scope.questionkeyPress = function(q){
523 if (q == undefined) { 523 if (q == undefined) {
524 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); 524 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)');
525 }else{ 525 }else{
526 $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); 526 $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)');
527 } 527 }
528 } 528 }
529 529
530 $scope.technologykeyPress = function(technology){ 530 $scope.technologykeyPress = function(technology){
531 if (technology == undefined) { 531 if (technology == undefined) {
532 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); 532 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)');
533 }else{ 533 }else{
534 $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); 534 $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)');
535 } 535 }
536 } 536 }
537 $scope.problemkeyPress = function(problem){ 537 $scope.problemkeyPress = function(problem){
538 if (problem == undefined) { 538 if (problem == undefined) {
539 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); 539 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)');
540 }else{ 540 }else{
541 $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); 541 $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)');
542 } 542 }
543 } 543 }
544 $scope.solutionkeyPress = function(solution){ 544 $scope.solutionkeyPress = function(solution){
545 if (solution == undefined) { 545 if (solution == undefined) {
546 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); 546 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)');
547 }else{ 547 }else{
548 $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); 548 $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)');
549 } 549 }
550 } 550 }
551 $scope.businesskeyPress = function(business){ 551 $scope.businesskeyPress = function(business){
552 $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); 552 $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)');
553 } 553 }
554 554
555 $scope.prototypekeyPress = function(prototype){ 555 $scope.prototypekeyPress = function(prototype){
556 if (prototype == undefined) { 556 if (prototype == undefined) {
557 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); 557 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)');
558 }else{ 558 }else{
559 $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); 559 $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)');
560 } 560 }
561 } 561 }
562 562
563 $scope.marketkeyPress = function(market){ 563 $scope.marketkeyPress = function(market){
564 if (market == undefined) { 564 if (market == undefined) {
565 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); 565 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)');
566 }else{ 566 }else{
567 $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); 567 $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)');
568 } 568 }
569 } 569 }
570 570
571 $scope.riskkeyPress = function(risk){ 571 $scope.riskkeyPress = function(risk){
572 if (risk == undefined) { 572 if (risk == undefined) {
573 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); 573 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)');
574 }else{ 574 }else{
575 $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); 575 $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)');
576 } 576 }
577 } 577 }
578 578
579 $scope.teamkeyPress = function(team){ 579 $scope.teamkeyPress = function(team){
580 if (team == undefined) { 580 if (team == undefined) {
581 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); 581 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)');
582 }else{ 582 }else{
583 $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); 583 $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)');
584 } 584 }
585 } 585 }
586 586
587 $scope.pitchkeyPress = function(pitch){ 587 $scope.pitchkeyPress = function(pitch){
588 if (pitch == undefined) { 588 if (pitch == undefined) {
589 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); 589 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)');
590 }else{ 590 }else{
591 $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); 591 $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)');
592 } 592 }
593 } 593 }
594 594
595 $scope.financialskeyPress = function(financial){ 595 $scope.financialskeyPress = function(financial){
596 console.log("financial",financial); 596 console.log("financial",financial);
597 if (financial == undefined) { 597 if (financial == undefined) {
598 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); 598 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)');
599 }else{ 599 }else{
600 $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); 600 $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)');
601 } 601 }
602 } 602 }
603 603
604 // create a message to display in our view 604 // create a message to display in our view
605 // $scope.message = 'Everyone come and see how good I look!'; 605 // $scope.message = 'Everyone come and see how good I look!';
606 }); 606 });
607 607
608 scotchApp.controller('verifyController', function($scope, $http, $location) { 608 scotchApp.controller('verifyController', function($scope, $http, $location) {
609 609
610 $scope.pendingPaymentId = $location.absUrl().split('=')[1] 610 $scope.pendingPaymentId = $location.absUrl().split('=')[1]
611 var BASE_URL = "http://139.59.68.74:4001/api"; 611 var BASE_URL = "http://0.0.0.0:4001/api";
612 $http({ 612 $http({
613 method : "GET", 613 method : "GET",
614 url : BASE_URL+'/applicants/'+$scope.pendingPaymentId, 614 url : BASE_URL+'/applicants/'+$scope.pendingPaymentId,
615 }).then(function mySuccess(response) { 615 }).then(function mySuccess(response) {
616 $scope.data = response.data; 616 $scope.data = response.data;
617 console.log("response-1",response); 617 console.log("response-1",response);
618 $scope.pendingPaymentId = $location.absUrl().split('=')[1] 618 $scope.pendingPaymentId = $location.absUrl().split('=')[1]
619 $http({ 619 $http({
620 method : "GET", 620 method : "GET",
621 url : BASE_URL+'/payments?filter={"where":{"applicantId":'+$scope.pendingPaymentId+'}}', 621 url : BASE_URL+'/payments?filter={"where":{"applicantId":'+$scope.pendingPaymentId+'}}',
622 }).then(function mySuccess(response) { 622 }).then(function mySuccess(response) {
623 $scope.paymentRecord = response.data; 623 $scope.paymentRecord = response.data;
624 }, function myError(response) { 624 }, function myError(response) {
625 // $scope.paymentRecord = response.data; 625 // $scope.paymentRecord = response.data;
626 }); 626 });
627 }, function myError(response) { 627 }, function myError(response) {
628 $scope.myWelcome = response.statusText; 628 $scope.myWelcome = response.statusText;
629 }); 629 });
630 630
631 $scope.checkView = false; 631 $scope.checkView = false;
632 $scope.verifyView = false; 632 $scope.verifyView = false;
633 633
634 $scope.pendingPaymentId = ''; 634 $scope.pendingPaymentId = '';
635 635
636 var BASE_URL = "http://139.59.68.74:4001/api"; 636 var BASE_URL = "http://0.0.0.0:4001/api";
637 637
638 $scope.update = function(){ 638 $scope.update = function(){
639 639
640 $http({ 640 $http({
641 method: 'GET', 641 method: 'GET',
642 url: BASE_URL+'/payments?filter={"where":{"applicantId": '+$scope.pendingPaymentId+'}}', 642 url: BASE_URL+'/payments?filter={"where":{"applicantId": '+$scope.pendingPaymentId+'}}',
643 //data: email, 643 //data: email,
644 headers: {} 644 headers: {}
645 }).then(function mySuccess(searchResult) { 645 }).then(function mySuccess(searchResult) {
646 if(searchResult.data[0].status == "pending"){ 646 if(searchResult.data[0].status == "pending"){
647 $scope.checkView = true; 647 $scope.checkView = true;
648 $scope.verifyView = false; 648 $scope.verifyView = false;
649 $scope.amount = searchResult.data[0].amount * 100; 649 $scope.amount = searchResult.data[0].amount * 100;
650 console.log('pending data', searchResult); 650 console.log('pending data', searchResult);
651 var i = 0; 651 var i = 0;
652 var options = { 652 var options = {
653 "key": "rzp_test_YwHsVFiDIQ2WUQ", 653 "key": "rzp_test_YwHsVFiDIQ2WUQ",
654 "amount": $scope.amount, 654 "amount": $scope.amount,
655 655
656 "name": "Startup Jalsa", 656 "name": "Startup Jalsa",
657 "description":"amount", 657 "description":"amount",
658 "currency": "INR", 658 "currency": "INR",
659 "status": "done", 659 "status": "done",
660 660
661 "theme": { 661 "theme": {
662 "color": "#2196f3 ", 662 "color": "#2196f3 ",
663 "image_padding":"NO" 663 "image_padding":"NO"
664 }, 664 },
665 "modal": { 665 "modal": {
666 "ondismiss": function(){ 666 "ondismiss": function(){
667 } 667 }
668 }, 668 },
669 "handler": function (response){ 669 "handler": function (response){
670 createPayment(response); 670 createPayment(response);
671 } 671 }
672 }; 672 };
673 var rzp1 = new Razorpay(options); 673 var rzp1 = new Razorpay(options);
674 rzp1.open(); 674 rzp1.open();
675 $scope.paymentResponse = {}; 675 $scope.paymentResponse = {};
676 function createPayment(response){ 676 function createPayment(response){
677 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 677 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
678 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; 678 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId;
679 $scope.paymentResponse.amount = $scope.amount; 679 $scope.paymentResponse.amount = $scope.amount;
680 $scope.paymentResponse.currency = "INR"; 680 $scope.paymentResponse.currency = "INR";
681 $scope.paymentResponse.status = "captured"; 681 $scope.paymentResponse.status = "captured";
682 $scope.paymentResponse.applicantId = $scope.userId; 682 $scope.paymentResponse.applicantId = $scope.userId;
683 console.log("$scope.paymentResponse",$scope.paymentResponse) 683 console.log("$scope.paymentResponse",$scope.paymentResponse)
684 $http({ 684 $http({
685 method: 'PUT', 685 method: 'PUT',
686 url: BASE_URL+'/payments/'+$scope.paymentResult.data.id, 686 url: BASE_URL+'/payments/'+$scope.paymentResult.data.id,
687 data: $scope.paymentResponse, 687 data: $scope.paymentResponse,
688 headers: {} 688 headers: {}
689 }).then(function mySuccess(searchResult) { 689 }).then(function mySuccess(searchResult) {
690 690
691 }, function myError(error) { 691 }, function myError(error) {
692 692
693 }); 693 });
694 } 694 }
695 }else{ 695 }else{
696 696
697 } 697 }
698 698
699 }, function myError(error) { 699 }, function myError(error) {
700 }); 700 });
701 } 701 }
702 }); 702 });
703 703
704 // scotchApp.controller('contactController', function($scope) { 704 // scotchApp.controller('contactController', function($scope) {
705 // $scope.message = 'Contact us! JK. This is just a demo.'; 705 // $scope.message = 'Contact us! JK. This is just a demo.';
706 // }); 706 // });
707 707
708 708