From 48d58f24f2a700c18dcc2792803289235836cb76 Mon Sep 17 00:00:00 2001 From: Jon Lambson Date: Tue, 15 Aug 2017 10:41:12 -0600 Subject: [PATCH] cleaning up --- css/styles.css | 2 +- index.html | 1 - js/controllers/home-controller.js | 4 +--- js/directives/notification-directive.js | 7 ------- templates/widgets/notification-widget.html | 4 ---- 5 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 js/directives/notification-directive.js delete mode 100644 templates/widgets/notification-widget.html diff --git a/css/styles.css b/css/styles.css index d9ee476..9d9c5ce 100644 --- a/css/styles.css +++ b/css/styles.css @@ -1,7 +1,7 @@ /* Layout */ .container.main-content { display: flex; - margin-top: 70px; + margin-top: 80px; width: 100%; max-width: 100%; } diff --git a/index.html b/index.html index 386caeb..52037cc 100644 --- a/index.html +++ b/index.html @@ -47,7 +47,6 @@ - diff --git a/js/controllers/home-controller.js b/js/controllers/home-controller.js index 041669d..67f45e0 100644 --- a/js/controllers/home-controller.js +++ b/js/controllers/home-controller.js @@ -7,7 +7,5 @@ app.controller('homeCtrl', [ vm.achievement = true; - vm.notificationMessage = "testing stuff..."; - - throw new Error('loaded home controller'); + // throw new Error('loaded home controller'); }]); diff --git a/js/directives/notification-directive.js b/js/directives/notification-directive.js deleted file mode 100644 index cd1ad3c..0000000 --- a/js/directives/notification-directive.js +++ /dev/null @@ -1,7 +0,0 @@ -app.directive('notificationDirective', function() { - return { - templateUrl: "templates/widgets/notification-widget.html", - controller: 'homeCtrl', - controllerAs: 'vm' - }; -}); diff --git a/templates/widgets/notification-widget.html b/templates/widgets/notification-widget.html deleted file mode 100644 index 37fb0ab..0000000 --- a/templates/widgets/notification-widget.html +++ /dev/null @@ -1,4 +0,0 @@ - - - -