diff options
author | 2018-08-07 14:15:05 +0300 | |
---|---|---|
committer | 2018-08-07 14:15:05 +0300 | |
commit | b9708a7c3cfaf5767992a2b15180e7b85c459242 (patch) | |
tree | 076e19ea52232232e9060a9d7e074947a4a49508 /app/main/dashboard/about | |
parent | cc32bd38d72e5c1c92048657083952d3e45c1819 (diff) |
adding the dcae dt code
Adding DCAE-dt code
Change-Id: Id6b779db9d24e10825fb97ad5fd46f41e65e6738
Issue-ID: SDC-1614
Signed-off-by: Eran (ev672n), Vosk <ev672n@att.com>
Diffstat (limited to 'app/main/dashboard/about')
-rw-r--r-- | app/main/dashboard/about/about.controller.js | 16 | ||||
-rw-r--r-- | app/main/dashboard/about/about.html | 2 | ||||
-rw-r--r-- | app/main/dashboard/about/about.less | 5 | ||||
-rw-r--r-- | app/main/dashboard/about/about.module.js | 24 |
4 files changed, 47 insertions, 0 deletions
diff --git a/app/main/dashboard/about/about.controller.js b/app/main/dashboard/about/about.controller.js new file mode 100644 index 0000000..32d903d --- /dev/null +++ b/app/main/dashboard/about/about.controller.js @@ -0,0 +1,16 @@ +(function () { + + 'use strict'; + + angular + .module('dcaeApp.dashboard.about') + .controller('DashboardAboutController', dashboardAboutController); + + function dashboardAboutController($state) { + + var vm = this; + vm.test = "lllllllllllllllll"; + + } + +})(); diff --git a/app/main/dashboard/about/about.html b/app/main/dashboard/about/about.html new file mode 100644 index 0000000..52b5326 --- /dev/null +++ b/app/main/dashboard/about/about.html @@ -0,0 +1,2 @@ +<h1>This is about</h1> +{{vm.test}} diff --git a/app/main/dashboard/about/about.less b/app/main/dashboard/about/about.less new file mode 100644 index 0000000..0232877 --- /dev/null +++ b/app/main/dashboard/about/about.less @@ -0,0 +1,5 @@ +.about { + h1 { + font-size: 160px; + } +} diff --git a/app/main/dashboard/about/about.module.js b/app/main/dashboard/about/about.module.js new file mode 100644 index 0000000..c447f6a --- /dev/null +++ b/app/main/dashboard/about/about.module.js @@ -0,0 +1,24 @@ +(function () { + + 'use strict'; + + angular + .module('dcaeApp.dashboard.about', []) + .config(config); + + function config($stateProvider) { + + $stateProvider.state('dcae.app.about', { + url: '/about', + views: { + 'content@dcae.app': { + templateUrl: 'main/dashboard/about/about.html', + controller: 'DashboardAboutController as vm' + } + }, + bodyClass: 'about' + }); + + } + +})(); |