Commit 4697da41fe70bdfd5982232fdff610bdc7749e72

Authored by Palak Handa
1 parent 163c5adae3
Exists in master and in 1 other branch paytm

updated code

Showing 2 changed files with 44 additions and 25 deletions   Show diff stats
pages/registration.html
... ... @@ -11,7 +11,7 @@
11 11 <!-- CLOSE HEADER -->
12 12 <form name="applicantForm" id="signupForm">
13 13 <div class="col-xs-12 col-md-10 col-md-offset-1">
14   - <p class="select-stage" style="font-size:16px;">Please select one stage.</p>
  14 + <p class="select-stage" style="font-size:16px;"><b>Please select one stage.</b></p>
15 15 <div class="stage-shadow">
16 16 <div class="stages card-align">
17 17 <div class="col-xs-4 no-padding">
... ... @@ -27,7 +27,7 @@
27 27 <div class="clearfix"></div>
28 28 <div class="cards-content hidden-xs">
29 29 <p>
30   - &#x26AC; <b>Have an idea and need execution help?</b><br>
  30 + &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br>
31 31 &#x26AC; Get feedback from mentors<br>
32 32 &#x26AC; Validate your idea.
33 33 </p>
... ... @@ -46,7 +46,7 @@
46 46 <div class="clearfix"></div>
47 47 <div class="cards-content hidden-xs">
48 48 <p>
49   - &#x26AC; <b>Have a prototype and want to take it to next level?</b><br>
  49 + &#x26AC; <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br>
50 50 &#x26AC; Advice on fundraising<br>
51 51 &#x26AC; Advice on go-to-market strategy
52 52 </p>
... ... @@ -65,7 +65,7 @@
65 65 <div class="clearfix"></div>
66 66 <div class="cards-content hidden-xs">
67 67 <p>
68   - &#x26AC; <b>Have traction and looking to scale up?</b><br>
  68 + &#x26AC; <span style="font-weight:bold">Have traction and looking to scale up?</span><br>
69 69 &#x26AC; Connect with Series A investors<br>
70 70 &#x26AC; Connect and hire top startups
71 71 </p>
... ... @@ -78,21 +78,21 @@
78 78 <div class="hidden-sm hidden-md hidden-lg">
79 79 <div class="cards-content" ng-if="data.stage == 'Idea'">
80 80 <p>
81   - &#x26AC; Have an idea and need execution help?<br>
  81 + &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br>
82 82 &#x26AC; Get feedback from mentors<br>
83 83 &#x26AC; Validate your idea.
84 84 </p>
85 85 </div>
86 86 <div class="cards-content" ng-if="data.stage == 'Product'">
87 87 <p>
88   - &#x26AC; Have a prototype and want to take it to next level?<br>
  88 + &#x26AC; <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br>
89 89 &#x26AC; Advice on fundraising<br>
90 90 &#x26AC; Advice on go-to-market strategy
91 91 </p>
92 92 </div>
93 93 <div class="cards-content" ng-if="data.stage == 'Growth'">
94 94 <p>
95   - &#x26AC; Have traction and looking to scale up?<br>
  95 + &#x26AC; <span style="font-weight:bold">Have traction and looking to scale up?</span><br>
96 96 &#x26AC; Connect with Series A investors<br>
97 97 &#x26AC; Connect and hire top startups
98 98 </p>
... ... @@ -259,7 +259,7 @@
259 259 <div class="icon-circle-abcdefg">
260 260 <i class="material-icons" style="line-height: 30px;">open_with</i>
261 261 </div>
262   - <select name="industry" ng-model="data.industry" ng-change="industry(data.industry); industrykeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;">
  262 + <select name="industry" ng-model="data.industry" ng-change="industry(data.industry); industrykeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" ng-if="hideSelectBox" id="dataIndustry">
263 263 <option selected disabled value="">Choose Industry</option>
264 264 <option value="Travel">Travel</option>
265 265 <option value="Retail">Retail</option>
... ... @@ -270,6 +270,7 @@
270 270 <option value="Rural">Rural</option>
271 271 <option value="others">Others</option>
272 272 </select>
  273 + <input type="text" ng-if="addOther" class="text-input" ng-model="data.industryName" placeholder="Please mention other industry name">
273 274 </div>
274 275 <div class="col-xs-12 col-md-6 input-wrapper">
275 276 <div class="icon-circle-e">
... ... @@ -283,7 +284,7 @@
283 284 <div class="icon-circle-h">
284 285 <i class="material-icons" style="line-height: 31px;">link</i>
285 286 </div>
286   - <input type="text" class="text-input" ng-model="data.linkedInUrl" placeholder="LinkedIn URL" id="myBtn" name="linkedInUrl" ng-change="entername(data.linkedInUrl); linkedInkeyPress(data.linkedInUrl)">
  287 + <input type="text" class="text-input" ng-model="data.linkedInUrl" placeholder="*LinkedIn URL" id="myBtn" name="linkedInUrl" ng-change="entername(data.linkedInUrl); linkedInkeyPress(data.linkedInUrl)">
287 288 </div>
288 289 <div class="col-xs-12 col-md-12 f-family line-adjust">
289 290 <strong>Explain your idea/product briefly</strong>
... ... @@ -302,37 +303,35 @@
302 303 <div class="icon-circle-i">
303 304 <i class="material-icons" style="line-height: 31px;">business</i>
304 305 </div>
305   - <input type="text" class="text-input" ng-model="data.companyName" placeholder="Company Name" id="myBtn" name="companyName" ng-change="entername(data.companyName); companykeyPress(data.companyName)">
  306 + <input type="text" class="text-input" ng-model="data.companyName" placeholder="*Company Name" id="myBtn" name="companyName" ng-change="entername(data.companyName); companykeyPress(data.companyName)">
306 307 </div>
307 308 <div class="col-xs-12 col-md-6 input-wrapper">
308 309 <div id="snackbar">Error ! Please fill in all fields.</div>
309 310 <div class="icon-circle-j">
310 311 <i class="material-icons" style="line-height: 31px;">view_comfy</i>
311 312 </div>
312   - <input type="text" class="text-input" ng-model="data.productName" placeholder="Product Name" id="myBtn" name="productName" ng-change="entername(data.productName); productNamekeyPress(data.productName)">
  313 + <input type="text" class="text-input" ng-model="data.productName" placeholder="*Product Name" id="myBtn" name="productName" ng-change="entername(data.productName); productNamekeyPress(data.productName)">
313 314 </div>
314 315 <div class="hideform" ng-if="prototyp">
315   - <!-- <div class="col-xs-12 col-md-6 f-family line-adjust">
316   - <strong>Product Launch? </strong>
  316 + <div class="col-xs-12 col-md-12 f-family line-adjust">
  317 + <strong>Product Launched? </strong>
317 318 <p class="line-space" ></p>
318   - </div> -->
319   - <div class="col-xs-12 col-md-6 input-wrapper f-family">
320   - <p><b>Product Launch?</b></p>
  319 + </div>
  320 + <div class="col-xs-12 col-md-12 input-wrapper f-family">
321 321 <div class="icon-circle-ab">
322 322 <i class="material-icons" style="line-height: 30px;">launch</i>
323 323 </div>
324   - <select name="productLaunch" ng-model="data.productLaunch" ng-change="productLaunch(data.productLaunch); productLaunchkeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;">
  324 + <select name="productLaunch" ng-model="data.productLaunch" ng-change="productLaunch(data.productLaunch); productLaunchkeyPress()" ng-click="productCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="productDiv">
325 325 <option selected disabled value="">Select</option>
326   - <option value="Yes">Yes</option>
327   - <option value="No">No</option>
  326 + <option value="yes">Yes</option>
  327 + <option value="no">No</option>
328 328 </select>
329 329 </div>
330   - <!-- <div class="col-xs-12 col-md-12 f-family line-adjust">
  330 + <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="Productshow == 'yes'">
331 331 <strong>Product Launch Period </strong>
332 332 <p class="line-space" ></p>
333   - </div> -->
334   - <div class="col-xs-12 col-md-6 input-wrapper f-family">
335   - <p><b>Product Launch Period</b></p>
  333 + </div>
  334 + <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="Productshow == 'yes'">
336 335 <div class="icon-circle-abc">
337 336 <i class="material-icons" style="line-height: 30px;">launch</i>
338 337 </div>
... ...
... ... @@ -462,8 +462,16 @@
462 462 $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)');
463 463 }
464 464  
  465 + $scope.addOther = false;
  466 + $scope.hideSelectBox = true;
465 467 $scope.industrykeyPress = function() {
466 468 $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)');
  469 + var e = document.getElementById("dataIndustry");
  470 + var dataIndustry = e.options[e.selectedIndex].value;
  471 + if(dataIndustry == "others") {
  472 + $scope.addOther = true;
  473 + $scope.hideSelectBox = false;
  474 + }
467 475 }
468 476  
469 477 $scope.amountkeyPress = function() {
... ... @@ -489,16 +497,28 @@
489 497 }
490 498  
491 499 $scope.textCheck = function(){
  500 + console.log("Val1:::", $scope.textCheck);
492 501 var e = document.getElementById("fundingDiv");
493 502 var funding = e.options[e.selectedIndex].value;
494   - $scope.Textshow = "no";
  503 + $scope.Textshow = "yes";
495 504 if(funding == "yes") {
496   - $scope.Textshow = "yes";
  505 + $scope.Textshow = "no";
497 506 console.log("Val:::", $scope.Textshow);
498 507 }
499 508  
500 509 }
501 510  
  511 + $scope.productCheck = function(){
  512 + console.log("Val2:::", $scope.productCheck);
  513 + var e = document.getElementById("productDiv");
  514 + var product = e.options[e.selectedIndex].value;
  515 + $scope.Productshow = "no";
  516 + if(product == "yes") {
  517 + $scope.Productshow = "yes";
  518 + console.log("Val1:::", $scope.Productshow);
  519 + }
  520 +
  521 + }
502 522  
503 523 $scope.phonekeyPress = function(number) {
504 524 console.log("number", number);
... ...