Commit d8feb0ddb06a7dee8ac515e2fbda28b50c092a8c
1 parent
4ec96fbab6
Exists in
master
and in
1 other branch
design updated
Showing
4 changed files
with
37 additions
and
131 deletions
Show diff stats
pages/ambassador.html
1 | -<div class="header"> | |
2 | - <img src="images/white.png" class="logo"> | |
3 | -</div> | |
4 | - | |
5 | -<!-- CLOSE HEADER --> | |
1 | +<div class="panel-heading" style="background-color: #42b549;"><img src="images/white.png" style="width: 100px;"></div> | |
6 | 2 | <form name="applicantForm" id="signupForm"> |
7 | - <div style="text-align:center;margin-bottom:3%;"> | |
3 | + <div style="text-align:center;"> | |
8 | 4 | <h4>Startup Ambassador</h4> |
9 | 5 | </div> |
10 | - <div class="col-xs-12 col-md-10 col-md-offset-1"> | |
11 | - <div class="stage-shadow"> | |
12 | - <div class="stages card-align"> | |
13 | - <div class="col-xs-12 col-md-4 no-padding"> | |
14 | - <!-- <div class="card stages-card"> | |
15 | - <input type="radio" ng-model="data.stage" class="stageRadio" value="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="true" checked="true" ng-click="stage(data.stage); stagekeyPress()"> | |
16 | - <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation"> | |
17 | - <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> | |
18 | - <div class="card-content f-family"> | |
19 | - <p align="center">Idea</p> | |
20 | - </div> | |
21 | - </label> | |
22 | - </div> --> | |
23 | - <!-- <div class="clearfix"></div> | |
24 | - <div class="cards-content"> | |
25 | - <p> | |
26 | - ⚬ Have an idea and need execution help?<br> | |
27 | - ⚬ Get feedback from mentors<br> | |
28 | - ⚬ Validate your idea. | |
29 | - </p> | |
30 | - </div> --> | |
31 | - </div> | |
32 | - <div class="col-xs-12 col-md-4 no-padding-mobile"> | |
33 | - <!-- <div class="card stages-card"> | |
34 | - <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Idea" id="Proof" ng-required="Product" ng-click="stage(data.stage); stagekeyPress()"> | |
35 | - <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> | |
36 | - <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> | |
37 | - <div class="card-content f-family"> | |
38 | - <p align="center">Product</p> | |
39 | - </div> | |
40 | - </label> | |
41 | - </div> --> | |
42 | - <!-- <div class="clearfix"></div> --> | |
43 | - <!-- <div class="cards-content"> | |
44 | - <p> | |
45 | - ⚬ Have a prototype and want to take it to next level?<br> | |
46 | - ⚬ Advice on fundraising<br> | |
47 | - ⚬ Advice on go-to-market strategy | |
48 | - </p> | |
49 | - </div> --> | |
50 | - </div> | |
51 | - <div class="col-xs-12 col-md-4 no-padding"> | |
52 | - <div class="card stages-card"> | |
53 | - <!-- <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Idea" id="Beta" ng-required="Growth" ng-click="stage(data.stage); stagekeyPress()"> --> | |
54 | - <!-- <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> | |
55 | - <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> | |
56 | - <div class="card-content f-family"> | |
57 | - <p align="center">Growth</p> | |
58 | - </div --> | |
59 | - <!-- </label> --> | |
60 | - </div> | |
61 | - <div class="clearfix"></div> | |
62 | - <div class="cards-content"> | |
63 | - <!-- <p> | |
64 | - ⚬ Have traction and looking to scale up?<br> | |
65 | - ⚬ Connect with Series A investors<br> | |
66 | - ⚬ Connect and hire top startups | |
67 | - </p> --> | |
68 | - <!-- </div> --> | |
69 | - </div> | |
70 | - <div class="clearfix"></div> | |
71 | - </div> | |
72 | - <div class="clearfix"></div> | |
73 | - </div> | |
74 | - <!-- CLOSE STAGE SHADOW --> | |
6 | + <div class="col-xs-12 col-md-4 col-md-offset-4"> | |
75 | 7 | <div class="form-all"> |
76 | 8 | <table style="width: 100%;"> |
77 | 9 | <tr> |
78 | 10 | <td> |
79 | 11 | <div class="step-one-form" > |
80 | 12 | <!-- form step 1 --> |
81 | - <div class="col-xs-12 col-md-6 input-wrapper" > | |
13 | + <div class="col-xs-12 input-wrapper" > | |
82 | 14 | <div id="snackbar">Error ! Please fill in all fields.</div> |
83 | 15 | <div class="icon-circle-c"> |
84 | 16 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> |
85 | 17 | </div> |
86 | 18 | <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)"> |
87 | 19 | </div> |
88 | - <div class="col-xs-12 col-md-6 input-wrapper" > | |
20 | + <div class="clearfix"></div> | |
21 | + <div class="col-xs-12 input-wrapper" > | |
89 | 22 | <div id="snackbar">Error ! Please fill in all fields.</div> |
90 | 23 | <div class="icon-circle-d"> |
91 | 24 | <i class="material-icons" style="line-height: 30px;">email</i> |
... | ... | @@ -95,7 +28,8 @@ |
95 | 28 | <label ng-if="check">Email already exist.</label> |
96 | 29 | <!-- <label class="error-message f-family control-label" id="alreadyExist" ng-if="check">Email already exist.</label> --> |
97 | 30 | </div> |
98 | - <div class="col-xs-12 col-md-6 input-wrapper" > | |
31 | + <div class="clearfix"></div> | |
32 | + <div class="col-xs-12 input-wrapper" > | |
99 | 33 | <div class="icon-circle-e"> |
100 | 34 | <i class="material-icons" style="line-height: 30px;">phone</i> |
101 | 35 | </div> |
... | ... | @@ -103,50 +37,31 @@ |
103 | 37 | |
104 | 38 | <label ng-if="numberCheck">Contact Number already exist.</label> |
105 | 39 | </div> |
106 | - | |
107 | 40 | <div class="clearfix"></div> |
108 | - <!-- <div class="col-xs-12 text-right"> | |
109 | - <button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" ng-click="next()"> | |
110 | - Next | |
111 | - </button> | |
112 | - </div> --> | |
113 | 41 | </div> |
114 | 42 | <!-- close step-one-form --> |
115 | 43 | </td> |
116 | 44 | </tr> |
117 | 45 | </table> |
118 | 46 | </div> |
119 | - <!-- CLOSE form-all --> | |
120 | - | |
121 | - <!-- CLOSE identity-shadow --> | |
122 | - <!-- <div class="col-xs-12 input-wrapper"> | |
123 | - <div class="icon-circle-h" style="z-index: 999;"> | |
124 | - <i class="material-icons" style="line-height: 30px;">phone_android</i> | |
125 | - </div> | |
126 | - <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;"> | |
127 | - <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> | |
128 | - <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> | |
129 | - <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> | |
130 | - </div> --> | |
131 | - <div class="clearfix"></div> | |
132 | - <div style="margin-bottom: 10%;" class="text-center"> | |
47 | + <!-- CLOSE form-all --> | |
48 | + </div> | |
49 | + <div class="clearfix"></div> | |
50 | + <div style="margin-bottom: 5%;" class="text-center"> | |
133 | 51 | <input type="submit" class="btn submit-button" data-toggle="modal" data-target="#myModal" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="submit()"> |
134 | 52 | </div> |
135 | - </div> | |
136 | - <!-- CLOSE step-two-form --> | |
137 | - </div> | |
138 | 53 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> |
139 | 54 | </form> |
140 | 55 | <!-- CLOSE FORM --> |
141 | 56 | <footer> |
142 | - <img id="footer" class="img-responsive banner"> | |
143 | - <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> | |
57 | + <img id="footer" class="img-responsive banner"> | |
58 | + <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> | |
59 | + </center> | |
144 | 60 | </footer> |
145 | 61 | <!-- </div> CLOSE CHECK VIEW --> |
146 | 62 | <div ng-if="verifyView"> |
147 | 63 | <div class="text-center"> |
148 | 64 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> |
149 | - <!-- <button ng-disabled="applicantForm.$invalid">Save</button> --> | |
150 | 65 | </div> |
151 | 66 | </div> |
152 | 67 | </div> <!-- CLOSE NEW-CONTROLLER --> | ... | ... |
pages/home.html
... | ... | @@ -420,7 +420,7 @@ |
420 | 420 | </div> |
421 | 421 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="risks"> |
422 | 422 | <div class="icon-circle-m"> |
423 | - <i class="material-icons" style="line-height: 30px;">smoking_rooms</i> | |
423 | + <i class="material-icons" style="line-height: 30px;">adjust</i> | |
424 | 424 | </div> |
425 | 425 | <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> |
426 | 426 | </div> |
... | ... | @@ -435,24 +435,24 @@ |
435 | 435 | <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> |
436 | 436 | </div> |
437 | 437 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="pitch"> |
438 | - <strong>Upload the pitch-deck/presentation mentioning the details of the startup.</strong> | |
438 | + <strong>Provide the Google Docs link for pitch-deck/presentation (mentioning the details of your startup).</strong> | |
439 | 439 | <p class="line-space" ></p> |
440 | 440 | </div> |
441 | 441 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="pitch"> |
442 | 442 | <div class="icon-circle-z"> |
443 | 443 | <i class="material-icons" style="line-height: 30px;">offline_pin</i> |
444 | 444 | </div> |
445 | - <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)"> | |
445 | + <input type="text" ng-required="pitch" class="text-input" ng-model="data.pitch" ng-if="pitch" placeholder="Provide pitch deck" ng-change="abc(); pitchkeyPress(data.pitch)"> | |
446 | 446 | </div> |
447 | 447 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="financials"> |
448 | - <strong>Upload the financial projections/funding requirements of your company?</strong> | |
448 | + <strong>Provide the Google Docs link for financial projections (funding requirements of your startup).</strong> | |
449 | 449 | <p class="line-space" ></p> |
450 | 450 | </div> |
451 | 451 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="financials"> |
452 | 452 | <div class="icon-circle-q"> |
453 | 453 | <i class="material-icons" style="line-height: 30px;">timeline</i> |
454 | 454 | </div> |
455 | - <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)"> | |
455 | + <input type="text" name="financials" ng-required="financials" class="text-input" ng-model="data.financials" ng-if="financials" placeholder="Provide financials" ng-change="abc(); financialskeyPress(data.financials)"> | |
456 | 456 | </div> |
457 | 457 | <div class="clearfix"></div> |
458 | 458 | </div> | ... | ... |
pages/verify.html
... | ... | @@ -6,18 +6,11 @@ |
6 | 6 | <div class="panel-body"> |
7 | 7 | <div class="box box-info"> |
8 | 8 | <div class="box-body"> |
9 | - <div class="card" style="width: 31%;margin: 5% 34%"> | |
10 | - <div style="padding: 0% 20% 6%;"> | |
11 | - <img class="irc_mi" src="https://www.library.caltech.edu/sites/default/files/styles/headshot/public/default_images/user.png?itok=1HlTtL2d" style="margin-bottom:1%; width:100%;"> | |
12 | - </div> | |
13 | - <!-- <div class="container container1"> --> | |
14 | - <!-- <div class="col-sm-6"> | |
15 | - <label style="color:#837F7E;margin:36% 58%;font-size:22px">{{data.name}}</label> | |
16 | - </div> --> | |
17 | - <!-- </div> --> | |
18 | - </div> | |
19 | - <div class="clearfix"></div> | |
20 | - <div style="margin:5px 0 5px 0"> | |
9 | + <div style="padding: 0% 27% 3%;"> | |
10 | + <h4>Payment Verification</h4> | |
11 | + </div> | |
12 | + <div class="clearfix"></div> | |
13 | + <div style="margin:5px 0 5px 0;text-transform: capitalize;"> | |
21 | 14 | <div class="col-sm-5 col-xs-6 tital">Name:</div> |
22 | 15 | <div class="col-sm-7 col-xs-6">{{data.name}}</div> |
23 | 16 | <div class="clearfix"></div> |
... | ... | @@ -35,11 +28,9 @@ |
35 | 28 | <div class="clearfix"></div> |
36 | 29 | <div class="bot-border"></div> |
37 | 30 | </div> |
38 | - <!-- /.box --> | |
39 | - | |
40 | 31 | </div> |
41 | 32 | </div> |
42 | - <div style="text-align:center; margin: 4% 4%;"> | |
33 | + <div style="text-align:center; margin-top:6%;margin-bottom:5%"> | |
43 | 34 | <input type="button" class="btn submit-button" value="payment" ng-click="update()"> |
44 | 35 | </div> |
45 | 36 | </div> | ... | ... |
script.js
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 | }) |
13 | 13 | |
14 | 14 | // route for the about page |
15 | - .when('/verification/=:id', { | |
15 | + .when('/verification/:id', { | |
16 | 16 | templateUrl: 'pages/verify.html', |
17 | 17 | controller: 'verifyController' |
18 | 18 | }) |
... | ... | @@ -53,7 +53,7 @@ |
53 | 53 | $scope.numberCheck = false; |
54 | 54 | // $scope.tokencheck = false; |
55 | 55 | $scope.paymentResult = {}; |
56 | - var BASE_URL = "http://139.59.68.74:4001/api"; | |
56 | + var BASE_URL = "http://0.0.0.0:4001/api"; | |
57 | 57 | var data = { |
58 | 58 | "amount": $scope.payingAmnt, |
59 | 59 | "currency": "INR", |
... | ... | @@ -147,7 +147,7 @@ |
147 | 147 | |
148 | 148 | /*****THIS IS FOR STEP ONE FORM ******/ |
149 | 149 | $scope.next = function() { |
150 | - var BASE_URL = "http://139.59.68.74:4001/api"; | |
150 | + var BASE_URL = "http://0.0.0.0:4001/api"; | |
151 | 151 | $scope.data.status = null |
152 | 152 | if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { |
153 | 153 | var x = document.getElementById("snackbar") |
... | ... | @@ -242,7 +242,7 @@ |
242 | 242 | // }); |
243 | 243 | |
244 | 244 | // } |
245 | - var BASE_URL = "http://139.59.68.74:4001/api"; | |
245 | + var BASE_URL = "http://0.0.0.0:4001/api"; | |
246 | 246 | console.log("BASE_URL", BASE_URL) |
247 | 247 | $scope.infoForm = true; |
248 | 248 | console.log("sdasdasdsa"); |
... | ... | @@ -640,17 +640,17 @@ |
640 | 640 | // $scope.message = 'Everyone come and see how good I look!'; |
641 | 641 | }); |
642 | 642 | |
643 | - scotchApp.controller('verifyController', function($scope, $http, $location) { | |
644 | - | |
645 | - $scope.pendingPaymentId = $location.absUrl().split('=')[1] | |
646 | - var BASE_URL = "http://139.59.68.74:4001/api"; | |
643 | + scotchApp.controller('verifyController', function($scope, $http, $location, $route) { | |
644 | + $scope.pendingPaymentId = $route.current.params.id | |
645 | + var BASE_URL = "http://0.0.0.0:4001/api"; | |
647 | 646 | $http({ |
648 | 647 | method: "GET", |
649 | 648 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, |
650 | 649 | }).then(function mySuccess(response) { |
651 | 650 | $scope.data = response.data; |
652 | 651 | console.log("response-1", response); |
653 | - $scope.pendingPaymentId = $location.absUrl().split('=')[1] | |
652 | + $scope.pendingPaymentId = $route.current.params.id; | |
653 | + | |
654 | 654 | $http({ |
655 | 655 | method: "GET", |
656 | 656 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', |
... | ... | @@ -668,7 +668,7 @@ |
668 | 668 | |
669 | 669 | $scope.pendingPaymentId = ''; |
670 | 670 | |
671 | - var BASE_URL = "http://139.59.68.74:4001/api"; | |
671 | + var BASE_URL = "http://0.0.0.0:4001/api"; | |
672 | 672 | |
673 | 673 | $scope.update = function() { |
674 | 674 | |
... | ... | @@ -745,7 +745,7 @@ |
745 | 745 | var numberSpliced = randomNumber.slice(2,5); |
746 | 746 | $scope.data.referalToken = nameSpliced+numberSpliced; |
747 | 747 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); |
748 | - var BASE_URL = "http://139.59.68.74:4001/api"; | |
748 | + var BASE_URL = "http://0.0.0.0:4001/api"; | |
749 | 749 | $http({ |
750 | 750 | method: 'POST', |
751 | 751 | url: BASE_URL + '/ambassadors', | ... | ... |