-
Notifications
You must be signed in to change notification settings - Fork 0
/
indexBPC.ejs
101 lines (90 loc) · 5.69 KB
/
indexBPC.ejs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!doctype html>
<html lang="en" ng-app="TTRApp">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, minimum-scale=1">
<meta name="description" content="Calculator 1">
<link rel="icon" href="images/favicon.ico">
<title>Borrowing Power Calculator</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-select.min.css">
<link rel="stylesheet" href="css/customBPC.css">
<link rel="stylesheet" href="css/font-awesome.css">
<link rel="stylesheet" href="css/nouislider.min.css">
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
</head>
<body print-section ng-cloak>
<div class="otrp-calculator container-fluid " ng-controller="BPCController">
<div class="row content">
<div class="col-xs-12 col-sm-12 col-lg-12">
<div class="row">
<div class="col-xs-12">
<div id="container" style="padding-top:15px;padding-bottom:10px;margin-left: -10px;"></div>
</div>
</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 style="text-align:center;" class="modal-title">Your Form Inputs Are Incorrect/Incomplete</h4>
</div>
<div class="modal-body">
<ul class="modal-list">
<li ng-show="forms.ttrForm.firstName.$pristine ">Please provide your first name.</li>
<li ng-show="!forms.ttrForm.firstName.$pristine && forms.ttrForm.firstName.$invalid">Please provide a valid first name.</li>
<li ng-show="forms.ttrForm.lastName.$pristine">Please provide your last name.</li>
<li ng-show="(!forms.ttrForm.lastName.$pristine && forms.ttrForm.lastName.$invalid)">Please provide a valid last name.</li>
<li ng-show="(forms.ttrForm.email.$pristine || forms.ttrForm.email.$invalid)">Please provide a valid email address.</li>
<li ng-show="(forms.ttrForm.mobile.$pristine || forms.ttrForm.mobile.$invalid)">Please provide a valid mobile number.</li>
<li ng-show="forms.ttrForm.postalCode.$invalid">Please provide a valid 4-Digit postal code.</li>
<li ng-show="error1option">Please re-enter the values for initial asset allocation(The total of all shares should add up to 100)</li>
<li ng-show="error2option">Please re-enter the values for altered asset allocation(The total of all shares should add up to 100)</li>
</ul>
</div>
<div class="modal-footer">
<h5 style="text-align:center">Please provide the correct inputs to calculate new result, generate the result as PDF and print the result.</h5>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row information-overlay" print-hide>
<div class="col-xs-12 col-sm-12 col-lg-12 ">
<div class="row info-title">
<div class="col-xs-9 col-sm-9 col-lg-9">
<h2>Calculator Information</h2>
</div>
<div class="col-xs-3 col-sm-3 col-lg-3">
<button type="button" class="closeInfo" ng-click="infoShow(false)"></button>
</div>
</div>
<hr class="submit-hr" />
</div>
</div>
</div>
<script src="js/jquery-2.2.4.min.js" type="text/javascript"></script>
<script src="js/angular.min.js" type="text/javascript"></script>
<script src="js/bootstrap-select.min.js" type="text/javascript"></script>
<script>
var bpcObj =<%-JSON.stringify(data)%>
</script>
<script src="js/ui-bootstrap-tpls-1.3.3.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/app.js" type="text/javascript"></script>
<script src="js/controllerBPC.js" type="text/javascript"></script>
<script src="js/nouislider.min.js" type="text/javascript"></script>
<script src="js/wNumb.js" type="text/javascript"></script>
<script src="js/AgeCalculatorService.js" type="text/javascript"></script>
<script src="js/hcBPC/highcharts.js" type="text/javascript"></script>
<script src="js/hcBPC/data.js" type="text/javascript"></script>
<script src="js/hcBPC/exporting.js" type="text/javascript"></script>
<script src="js/hcBPC/sand-signika.js" type="text/javascript"></script>
<script src="js/hcBPC/lineChartService.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.2.61/jspdf.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf-autotable/2.0.16/jspdf.plugin.autotable.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.5.0-beta1/html2canvas.js"></script>
</body>
</html>