Fixed review issues and added a link to the official R3 favicon

This commit is contained in:
Clinton Alexander 2016-07-19 13:20:02 +01:00
parent 46b63fd967
commit 1f556839bd
4 changed files with 18 additions and 16 deletions

View File

@ -8,8 +8,9 @@
<!-- Site Properties -->
<title>IRS Demo Viewer</title>
<link rel="stylesheet" type="text/css" href="js/bower_components/semantic/dist/semantic.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="shortcut icon" type="image/x-icon" href="http://r3cev.com/favicon.ico" />
<link rel="stylesheet" type="text/css" href="js/bower_components/semantic/dist/semantic.css" />
<link rel="stylesheet" type="text/css" href="css/main.css" />
<script data-main="js/require-config" src="js/bower_components/requirejs/require.js"></script>
</head>

View File

@ -18,8 +18,9 @@ define(['angular', 'lodash', 'viewmodel/Deal'], (angular, _, dealViewModel) => {
}
let changeDateOnNode = (newDate) => {
const dateStr = formatDateForNode(newDate)
return load('date', $http.put('http://localhost:31338/api/irs/demodate', "\"" + dateStr + "\"")).then((resp) => {
const dateStr = formatDateForNode(newDate);
let endpoint = '/api/irs/demodate';
return load('date', $http.put(endpoint, "\"" + dateStr + "\"")).then((resp) => {
date = newDate;
return this.getDateModel(date);
});

View File

@ -20,7 +20,7 @@ define([], () => {
},
valuationDate: "Every Local Business Day",
notificationTime: "2:00pm London",
resolutionTime: "2:00pm London time on the first LocalBusiness Day following the date on which the notice is give",
resolutionTime: "2:00pm London time on the first LocalBusiness Day following the date on which the notice is given",
interestRate: {
oracle: "Rates Service Provider",
tenor: {

View File

@ -45,7 +45,7 @@
</div>
<div class="field">
<label>Payment Frequency</label>
<select class="ui selection " ng-model="deal.fixedLeg.paymentFrequency">
<select class="ui selection" ng-model="deal.fixedLeg.paymentFrequency">
<option value="Annual">Annual</option>
<option value="SemiAnnual">Semi Annual</option>
<option value="Quarterly">Quarterly</option>
@ -60,7 +60,7 @@
</div>
<div class="field">
<label>Roll Convention</label>
<select class="ui selection " ng-model="deal.fixedLeg.rollConvention">
<select class="ui selection" ng-model="deal.fixedLeg.rollConvention">
<option value="Following">Following</option>
<option value="Preceding">Preceding</option>
<option value="ModifiedFollowing">Modified following</option>
@ -74,7 +74,7 @@
</div>
<div class="field">
<label>Payment Delay</label>
<select class="ui selection " ng-model="deal.fixedLeg.paymentDelay">
<select class="ui selection" ng-model="deal.fixedLeg.paymentDelay">
<option value="0">T+00D</option>
<option value="1">T+01D</option>
<option value="2" selected="selected">T+02D</option>
@ -83,7 +83,7 @@
</div>
<div class="field">
<label>Interest Period Adjustment</label>
<select class="ui selection " ng-model="deal.fixedLeg.interestPeriodAdjustment">
<select class="ui selection" ng-model="deal.fixedLeg.interestPeriodAdjustment">
<option value="Adjusted">Adjusted</option>
<option value="Unadjusted">Unadjusted</option>
</select>
@ -101,7 +101,7 @@
</div>
<div class="field">
<label>Payment Frequency</label>
<select class="ui selection " ng-model="deal.floatingLeg.paymentFrequency">
<select class="ui selection" ng-model="deal.floatingLeg.paymentFrequency">
<option value="Annual">Annual</option>
<option value="Quarterly">Quarterly</option>
<option value="SemiAnnual">Semi Annual</option>
@ -116,7 +116,7 @@
</div>
<div class="field">
<label>Roll Convention</label>
<select class="ui selection " ng-model="deal.floatingLeg.rollConvention">
<select class="ui selection" ng-model="deal.floatingLeg.rollConvention">
<option value="Following">Following</option>
<option value="Preceding">Preceding</option>
<option value="ModifiedFollowing">Modified following</option>
@ -126,7 +126,7 @@
</div>
<div class="field">
<label>Fixing Roll Convention</label>
<select class="ui selection " ng-model="deal.floatingLeg.fixingRollConvention">
<select class="ui selection" ng-model="deal.floatingLeg.fixingRollConvention">
<option value="Following">Following</option>
<option value="Preceding">Preceding</option>
<option value="ModifiedFollowing">Modified following</option>
@ -144,7 +144,7 @@
</div>
<div class="field">
<label>Payment Delay</label>
<select class="ui selection " ng-model="deal.floatingLeg.paymentDelay">
<select class="ui selection" ng-model="deal.floatingLeg.paymentDelay">
<option value="0">T+00D</option>
<option value="1">T+01D</option>
<option value="2">T+02D</option>
@ -153,7 +153,7 @@
</div>
<div class="field">
<label>Interest Period Adjustment</label>
<select class="ui selection " ng-model="deal.floatingLeg.interestPeriodAdjustment">
<select class="ui selection" ng-model="deal.floatingLeg.interestPeriodAdjustment">
<option value="Adjusted">Adjusted</option>
<option value="Unadjusted">Unadjusted</option>
</select>
@ -164,14 +164,14 @@
</div>
<div class="field">
<label>Reset Rule</label>
<select class="ui selection " ng-model="deal.floatingLeg.resetRule">
<select class="ui selection" ng-model="deal.floatingLeg.resetRule">
<option value="InAdvance">In Advance</option>
<option value="InArrears">In Arrears</option>
</select>
</div>
<div class="field">
<label>Fixings Per Payment</label>
<select class="ui selection " ng-model="deal.floatingLeg.fixingsPerPayment">
<select class="ui selection" ng-model="deal.floatingLeg.fixingsPerPayment">
<option value="Annual">Annual</option>
<option value="Quarterly" selected="selected">Quarterly</option>
<option value="SemiAnnual">Semi Annual</option>