diff options
author | CNlucius <lukai1@huawei.com> | 2016-09-13 11:40:12 +0800 |
---|---|---|
committer | CNlucius <lukai1@huawei.com> | 2016-09-13 11:41:53 +0800 |
commit | b731e2f1dd0972409b136aebc7b463dd72c9cfad (patch) | |
tree | 5107d7d80c19ad8076c2c97c2b5ef8d1cf3ab903 /framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html | |
parent | ee93993458266114c29271a481ef9ce7ce621b2a (diff) |
ONOSFW-171
O/S-SFC-ONOS scenario documentation
Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365
Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html')
-rw-r--r-- | framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html b/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html deleted file mode 100644 index 105209ca..00000000 --- a/framework/src/onos/web/gui/src/main/webapp/_sdh/ng-examples/ch08-01-filter-example.html +++ /dev/null @@ -1,48 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <title>Filters in Action</title> - <script src="../../tp/angular.js"></script> -</head> -<body ng-app="filtersApp"> - - <div ng-controller="FilterCtrl as ctrl"> - <div> - Amount as a number: {{ctrl.amount | number}} - </div> - <div> - Total cost as a currency: {{ctrl.totalCost | currency}} - </div> - <div> - Total cost in GBP: {{ctrl.totalCost | currency:'GBP '}} - </div> - <div> - Shout: {{ctrl.name | uppercase}} - </div> - <div> - Whisper: {{ctrl.name | lowercase}} - </div> - <div> - Start time: {{ctrl.startTime | date:'medium'}} - </div> - <div> - as JSON: {{ctrl.struct | json}} - </div> - </div> - - <script type="text/javascript"> - angular.module('filtersApp', []) - .controller('FilterCtrl', [function () { - var self = this; - self.amount = 1024; - self.totalCost = 4906; - self.name = 'Onos Rocks!'; - self.startTime = new Date().getTime(); - self.struct = { - foo: 'bar', - baz: 3.1415 - }; - }]); - </script> -</body> -</html> |