summaryrefslogtreecommitdiffstats
path: root/app/main/dashboard/about
diff options
context:
space:
mode:
Diffstat (limited to 'app/main/dashboard/about')
-rw-r--r--app/main/dashboard/about/about.controller.js16
-rw-r--r--app/main/dashboard/about/about.html2
-rw-r--r--app/main/dashboard/about/about.less5
-rw-r--r--app/main/dashboard/about/about.module.js24
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'
+ });
+
+ }
+
+})();