cleaning up
This commit is contained in:
		
							parent
							
								
									648a69b25c
								
							
						
					
					
						commit
						48d58f24f2
					
				| @ -1,7 +1,7 @@ | ||||
| /* Layout */ | ||||
| .container.main-content { | ||||
|   display: flex; | ||||
|   margin-top: 70px; | ||||
|   margin-top: 80px; | ||||
|   width: 100%; | ||||
|   max-width: 100%; | ||||
| } | ||||
|  | ||||
| @ -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> | ||||
|  | ||||
| @ -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');
 | ||||
| }]); | ||||
|  | ||||
| @ -1,7 +0,0 @@ | ||||
| app.directive('notificationDirective', function() { | ||||
|   return { | ||||
|     templateUrl: "templates/widgets/notification-widget.html", | ||||
|     controller: 'homeCtrl', | ||||
|     controllerAs: 'vm' | ||||
|   }; | ||||
| }); | ||||
| @ -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> | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user