Commit 500aaf8382bba3c3da1f4105de94cbf3f2d7c1e1
1 parent
06813b2379
Exists in
master
and in
1 other branch
add new fields & api integrate
Showing
3 changed files
with
98 additions
and
40 deletions
Show diff stats
css/custom.css
... | ... | @@ -1406,6 +1406,11 @@ table { |
1406 | 1406 | border-color: #0161EE !important; |
1407 | 1407 | color: #0161EE !important; |
1408 | 1408 | } |
1409 | +.btn-inactive { | |
1410 | + background-color: #171717 !important; | |
1411 | + border-color: #454545 !important; | |
1412 | + color: #454545 !important; | |
1413 | +} | |
1409 | 1414 | |
1410 | 1415 | .apply-act2:hover, .apply-act2:focus{ |
1411 | 1416 | background-color: #171717; | ... | ... |
pages/registration.html
... | ... | @@ -17,21 +17,41 @@ |
17 | 17 | <!-- form step 1 --> |
18 | 18 | <div class="col-xs-12 col-md-8 col-md-offset-2 input-wrapper" > |
19 | 19 | <div class="form-group"> |
20 | + <label>Name:</label> | |
21 | + <input type="name" class="form-control" ng-model="data.name"> | |
22 | + </div> | |
23 | + <div class="form-group"> | |
20 | 24 | <label>Startup Name:</label> |
21 | - <input type="text" class="form-control" ng-model="data.name"> | |
25 | + <input type="text" class="form-control" ng-model="data.startupName"> | |
22 | 26 | </div> |
23 | 27 | <div class="form-group"> |
24 | 28 | <label>Phone No:</label> |
25 | 29 | <input type="number" class="form-control" ng-model="data.number"> |
26 | 30 | </div> |
27 | 31 | <div class="form-group"> |
28 | - <label>Source:</label> | |
29 | - <select class="form-control" ng-model="data.email"> | |
30 | - <option name="business" selected disabled value="">Type of Source</option> | |
31 | - <option value="Pitch Session">Pitch Session</option> | |
32 | - <option value="Website">Website</option> | |
32 | + <label>Email:</label> | |
33 | + <input type="email" class="form-control" ng-model="data.email"> | |
34 | + </div> | |
35 | + <div class="form-group"> | |
36 | + <label>Website:</label> | |
37 | + <input type="text" class="form-control" ng-model="data.website"> | |
38 | + </div> | |
39 | + <div class="form-group"> | |
40 | + <label>Founding Year:</label> | |
41 | + <input type="text" class="form-control" ng-model="data.founder"> | |
42 | + </div> | |
43 | + <div class="form-group"> | |
44 | + <label>Introduction:</label> | |
45 | + <textarea type="text" class="form-control" ng-model="data.intro" placeholder="Give us a brief introduction in two lines" rows="3"></textarea> | |
46 | + </div> | |
47 | + <div class="form-group"> | |
48 | + <label>Business Types:</label> | |
49 | + <select class="form-control" ng-model="data.business" required> | |
50 | + <option name="business" selected disabled value="">Choose business type</option> | |
51 | + <option value="B2B">B2B</option> | |
52 | + <option value="B2C">B2C</option> | |
33 | 53 | </select> |
34 | - </div> | |
54 | + </div> | |
35 | 55 | <div class="form-group"> |
36 | 56 | <label>Stage:</label> |
37 | 57 | <select class="form-control" ng-model="data.stage" required> |
... | ... | @@ -40,47 +60,49 @@ |
40 | 60 | <option value="Prototype">Prototype</option> |
41 | 61 | </select> |
42 | 62 | </div> |
43 | - <div class="form-group"> | |
44 | - <label>Business Types:</label> | |
45 | - <select class="form-control" ng-model="data.business" required> | |
46 | - <option name="business" selected disabled value="">Type of business</option> | |
47 | - <option value="B2B">B2B</option> | |
48 | - <option value="B2C">B2C</option> | |
63 | + <div class="form-group"> | |
64 | + <label>Sector:</label> | |
65 | + <select class="form-control" ng-model="data.sector"> | |
66 | + <option name="sector" selected disabled value="">Choose sector</option> | |
67 | + <option value="Agriculture">Agriculture</option> | |
68 | + <option value="Healthcare">Healthcare</option> | |
69 | + <option value="e-Governance">e-Governance</option> | |
70 | + <option value="Retail">Retail</option> | |
71 | + <option value="Food and Beverages">Food and Beverages</option> | |
72 | + <option value="Hardware">Hardware</option> | |
73 | + <option value="Software">Software</option> | |
74 | + <option value="Media and Entertainment">Media and Entertainment</option> | |
75 | + <option value="AI">AI</option> | |
76 | + <option value="AR&VR">AR&VR</option> | |
77 | + <option value="Automobile">Automobile</option> | |
49 | 78 | <option value="Other">Other</option> |
50 | 79 | </select> |
51 | - </div> | |
52 | - <div class="form-group"> | |
53 | - <label>Introduction:</label> | |
54 | - <textarea type="text" class="form-control" ng-model="data.intro" rows="3"></textarea> | |
55 | - </div> | |
56 | - <div class="form-group"> | |
57 | - <label>Who are your customers?</label> | |
58 | - <textarea type="text" class="form-control" ng-model="data.customer" rows="3"></textarea> | |
59 | - </div> | |
80 | + </div> | |
81 | + <!-- <div class="form-group"> | |
82 | + <div class="toggle-panel" ng-if="ngShowhide"> | |
83 | + <input type="text" class="form-control" ng-model="data.sectorType" placeholder="Other Sector Name"> | |
84 | + </div> | |
85 | + </div> --> | |
60 | 86 | <div class="form-group"> |
61 | - <label>Problem you are solving.</label> | |
62 | - <textarea type="text" class="form-control" ng-model="data.problem" rows="3"></textarea> | |
87 | + <label>Revenue:</label> | |
88 | + <textarea type="text" class="form-control" ng-model="data.revenue" placeholder="Are you generating any revenue? If yes, then mention your numbers" rows="3"></textarea> | |
63 | 89 | </div> |
64 | 90 | <div class="form-group"> |
65 | 91 | <label>Previous Investments:</label> |
66 | - <textarea type="text" class="form-control" ng-model="data.founder" rows="3"></textarea> | |
67 | - </div> | |
68 | - <div class="form-group"> | |
69 | - <label>Investment:</label> | |
70 | - <input type="text" class="form-control" ng-model="data.web"> | |
71 | - </div> | |
72 | - <div class="form-group"> | |
73 | - <label>Equity Willing to dilute:</label> | |
74 | - <textarea type="text" class="form-control" ng-model="data.city" rows="3"></textarea> | |
92 | + <textarea type="text" class="form-control" ng-model="data.investment" placeholder="Did you receive any previous investment? If yes, then mention the investment amount and the equity you diluted?" rows="3"></textarea> | |
75 | 93 | </div> |
76 | 94 | <div class="form-group"> |
77 | 95 | <label>Coupon Code:</label> |
78 | - <input type="text" class="form-control" ng-model="data.referalToken"> | |
96 | + <input type="text" class="form-control" placeholder="If you have a coupon code then apply here"ng-model="data.referalToken"> | |
79 | 97 | <!-- <input type="text" class="form-control" ng-model="data.referalToken" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> |
80 | 98 | <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> |
81 | 99 | <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> |
82 | 100 | <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> --> |
83 | 101 | </div> |
102 | + <div class="form-group"> | |
103 | + <label>Attach Pitch Deck:</label> | |
104 | + <input type="file" class="form-control-file" file-model="base64textString" id="filePicker" accept=".png, .jpg, .jpeg, .pdf, .ppt" /> | |
105 | + </div> | |
84 | 106 | </div> |
85 | 107 | <!-- <div class="col-xs-12 col-md-6 input-wrapper" > |
86 | 108 | <div id="snackbar">Error ! Please fill in all fields.</div> | ... | ... |
script.js
... | ... | @@ -78,7 +78,6 @@ |
78 | 78 | var element = document.getElementById("defaultcountry"); |
79 | 79 | element.classList.add("btn-active"); |
80 | 80 | document.getElementById("ahmedabad").src = "images/Ahmedabad_1.png"; |
81 | - console.log("======aaaaa===",document.getElementsByClassName("ahmedabad")); | |
82 | 81 | } |
83 | 82 | |
84 | 83 | var chennai = new Date("Sept 19, 2018 12:00:00").getTime(); |
... | ... | @@ -641,6 +640,37 @@ |
641 | 640 | // $scope.data.city = localStorage.getItem("city"); |
642 | 641 | // console.log("HERE===",$scope.data.city ); |
643 | 642 | // }); |
643 | + var handleFileSelect = function(evt) { | |
644 | + var files = evt.target.files; | |
645 | + var file = files[0]; | |
646 | + | |
647 | + if (files && file) { | |
648 | + var reader = new FileReader(); | |
649 | + | |
650 | + reader.onload = function(readerEvt) { | |
651 | + var binaryString = readerEvt.target.result; | |
652 | + $scope.base64textString = btoa(binaryString); | |
653 | + console.log("base64textarea",$scope.base64textString) | |
654 | + }; | |
655 | + | |
656 | + reader.readAsBinaryString(file); | |
657 | + } | |
658 | + }; | |
659 | + if (window.File && window.FileReader && window.FileList && window.Blob) { | |
660 | + document.getElementById('filePicker').addEventListener('change', handleFileSelect, false); | |
661 | + } | |
662 | + | |
663 | +// scope.addOther = false; | |
664 | +// + $scope.hideSelectBox = true; | |
665 | +// $scope.industrykeyPress = function(e) { | |
666 | +// // $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); | |
667 | +// + var e = document.getElementById("dataIndustry"); | |
668 | +// + var dataIndustry = e.options[e.selectedIndex].value; | |
669 | +// + if(dataIndustry == "Other") { | |
670 | +// + $scope.addOther = true; | |
671 | +// + $scope.hideSelectBox = false; | |
672 | +// + } | |
673 | +// } | |
644 | 674 | |
645 | 675 | $rootScope.tokenCall = function(val) { |
646 | 676 | console.log('val-------->', val); |
... | ... | @@ -672,14 +702,15 @@ |
672 | 702 | }; |
673 | 703 | |
674 | 704 | $scope.submit = function() { |
705 | + //$scope.data.uploadFile = $scope.base64textString; | |
675 | 706 | $scope.ticketAmnt = 500; |
676 | 707 | if($scope.tokencheck == false){ |
677 | 708 | $scope.data.referalToken = null; |
678 | 709 | } |
679 | - if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | |
680 | - var x = document.getElementById("snackbar") | |
681 | - setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); | |
682 | - }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | |
710 | + // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | |
711 | + // var x = document.getElementById("snackbar") | |
712 | + // setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); | |
713 | + // }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | |
683 | 714 | $scope.infoForm = true; |
684 | 715 | $scope.detail = {}; |
685 | 716 | $scope.data.phone = "+91"+$scope.data.number; |
... | ... | @@ -788,7 +819,7 @@ |
788 | 819 | |
789 | 820 | }); |
790 | 821 | |
791 | - } | |
822 | + //} | |
792 | 823 | |
793 | 824 | } |
794 | 825 | ... | ... |