Tasks Might be done

This commit is contained in:
Sagi Dayan 2015-08-03 01:01:34 +03:00
parent 383ecff2a1
commit 5385ee352a
3 changed files with 13 additions and 0 deletions

View file

@ -138,6 +138,7 @@ angular.module('SeHub')
.ok('No Problem!')
.targetEvent(event)
);
console.error(err);
})
}

View file

@ -54,6 +54,10 @@ angular.module('SeHub')
}
}
$scope.createNewTask = function(){
$location.path('/tasks/new');
}
function DialogController($scope, $mdDialog, data, apiService) {
$scope.task = data.task;

View file

@ -101,6 +101,14 @@
</md-content>
</md-tab>
</md-tabs>
<div style='position:fixed;bottom:15px;right:15px'>
<md-button class="md-fab md-primary" ng-click='createNewTask()'>
<md-tooltip md-direction='top' >
Create New Task
</md-tooltip>
<i class="fa fa-plus"></i>
</md-button>
</div>
</md-content>
</div>
</md-content>