cleaning up

This commit is contained in:
Jon Lambson 2017-08-15 10:41:12 -06:00
parent 648a69b25c
commit 48d58f24f2
5 changed files with 2 additions and 16 deletions

View File

@ -1,7 +1,7 @@
/* Layout */
.container.main-content {
display: flex;
margin-top: 70px;
margin-top: 80px;
width: 100%;
max-width: 100%;
}

View File

@ -47,7 +47,6 @@
<script src="/js/controllers/email-controller.js" charset="utf-8"></script>
<!-- Divrectives -->
<script src="/js/directives/achievement-directive.js" charset="utf-8"></script>
<script src="/js/directives/notification-directive.js" charset="utf-8"></script>
<script src="/js/directives/todo-directive.js" charset="utf-8"></script>
<script src="/js/directives/upload-directive.js" charset="utf-8"></script>
</body>

View File

@ -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');
}]);

View File

@ -1,7 +0,0 @@
app.directive('notificationDirective', function() {
return {
templateUrl: "templates/widgets/notification-widget.html",
controller: 'homeCtrl',
controllerAs: 'vm'
};
});

View File

@ -1,4 +0,0 @@
<div class="alert alert-success" role="alert">{{ vm.notificationMessage }}</div>
<div class="alert alert-info" role="alert">{{ vm.notificationMessage }}</div>
<div class="alert alert-warning" role="alert">{{ vm.notificationMessage }}</div>
<div class="alert alert-danger" role="alert">{{ vm.notificationMessage }}</div>