Commit 5e3b90de3f6cc5bb07cdde10fa7e87a3ac427400
1 parent
49c662325f
Exists in
master
and in
1 other branch
add new field
Showing
3 changed files
with
17 additions
and
33 deletions
Show diff stats
pages/ambassador.html
1 | 1 | <div class="header"> |
2 | 2 | <div> |
3 | 3 | <h1 class="startup-jalsa">STARTUP JALSA 2018</h1> |
4 | - </div> | |
4 | + </div> | |
5 | 5 | <div class="clearfix"></div> |
6 | 6 | </div> |
7 | 7 | <!-- CLOSE HEADER --> |
... | ... | @@ -147,6 +147,15 @@ |
147 | 147 | <textarea name="problem" class="text-input textarea" ng-model="data.problem" placeholder="Your Answer.." ng-change="enterbusiness(data.problem); businesskeyPress(data.problem)" required> |
148 | 148 | </textarea> |
149 | 149 | </div> |
150 | + <div class="col-xs-12 input-wrapper"> | |
151 | + <div class="referel-icon" style="z-index: 999;"> | |
152 | + <i class="material-icons" style="line-height: 30px;">code</i> | |
153 | + </div> | |
154 | + <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> | |
155 | + <!-- <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> | |
156 | + <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> | |
157 | + <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> --> | |
158 | + </div> | |
150 | 159 | <div class="clearfix"></div> |
151 | 160 | <!-- </div> --> |
152 | 161 | <!-- close step-one-form --> | ... | ... |
pages/confirmation.html
1 | 1 | <html> |
2 | 2 | <head> |
3 | - <div class="panel-heading" style="background-color: #42b549;"><img src="images/white.png" style="width: 100px;"></div> | |
4 | 3 | </head> |
5 | 4 | <body> |
6 | - <h3 style="text-align:center;margin-top:4%">Thank you for registering at Startup Jalsa 2017.</h3> | |
7 | - <p style="text-align:center;font-size:20px;">You will receive a confirmation email from us, if not please contact at <a href="http://www.startupjalsa.com/">ping@startupjalsa.com</a></p> | |
8 | - <footer style="margin-top:23%"> | |
5 | + <h3 style="text-align:center;margin-top:6%;position:relative;">Thank you for registering at Startup Jalsa 2018.</h3> | |
6 | + <p style="text-align:center;font-size:20px;position:relative;">You will receive a confirmation email from us, if not please contact at <a href="http://www.startupjalsa.com/">ping@startupjalsa.com</a></p> | |
7 | + <footer> | |
9 | 8 | <img id="footer" class="img-responsive banner"> |
10 | - <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> | |
9 | + <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank"></a> | |
11 | 10 | </center> |
12 | 11 | </footer> |
13 | 12 | </body> |
14 | -</html> | |
15 | - <span ng-show="span == true"> | |
16 | - <span id="chennai"></span> | |
17 | - <span id="pune"></span> | |
18 | - <span id="mumbai"></span> | |
19 | - <span id="hyderabad"></span> | |
20 | - <span id="chandigarh"></span> | |
21 | - <span id="delhi"></span> | |
22 | - <span id="ahmedabad"></span> | |
23 | - <span id="bangalore"></span> | |
24 | - <span id="jaipur"></span> | |
25 | - <span id="maininvest"></span> | |
26 | - </span> | |
27 | 13 | \ No newline at end of file |
14 | +</html> | |
28 | 15 | \ No newline at end of file | ... | ... |
script.js
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | // route for the confirmation page |
33 | 33 | .when('/confirmation', { |
34 | 34 | templateUrl: 'pages/confirmation.html', |
35 | - controller: 'mainController' | |
35 | + controller: 'ambassadorController' | |
36 | 36 | }) |
37 | 37 | |
38 | 38 | }); |
... | ... | @@ -1273,19 +1273,6 @@ |
1273 | 1273 | headers: {} |
1274 | 1274 | }).then(function mySuccess(result) { |
1275 | 1275 | console.log("=====result=====",result) |
1276 | - $scope.data.name = ''; | |
1277 | - $scope.data.email = ''; | |
1278 | - $scope.data.number = ''; | |
1279 | - $scope.data.city = ''; | |
1280 | - $scope.data.founder = ''; | |
1281 | - $scope.data.business = ''; | |
1282 | - $scope.data.cityRegister = ''; | |
1283 | - $scope.data.problem = ''; | |
1284 | - $scope.data.companyName = ''; | |
1285 | - $scope.data.website = ''; | |
1286 | - $scope.data.stage = ''; | |
1287 | - $scope.data.intro = ''; | |
1288 | - $scope.data.customer = ''; | |
1289 | 1276 | $scope.detail = result; |
1290 | 1277 | data.applicantId = result.data.id; |
1291 | 1278 | $scope.userId = result.data.id; |
... | ... | @@ -1347,6 +1334,7 @@ |
1347 | 1334 | headers: {} |
1348 | 1335 | }).then(function mySuccess(searchResult) { |
1349 | 1336 | console.log("searchResult",searchResult) |
1337 | + $location.path("/confirmation") | |
1350 | 1338 | }, function myError(error) { |
1351 | 1339 | }); |
1352 | 1340 | } | ... | ... |