Tasks Might be done
This commit is contained in:
parent
383ecff2a1
commit
5385ee352a
3 changed files with 13 additions and 0 deletions
|
@ -138,6 +138,7 @@ angular.module('SeHub')
|
||||||
.ok('No Problem!')
|
.ok('No Problem!')
|
||||||
.targetEvent(event)
|
.targetEvent(event)
|
||||||
);
|
);
|
||||||
|
console.error(err);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,10 @@ angular.module('SeHub')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$scope.createNewTask = function(){
|
||||||
|
$location.path('/tasks/new');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function DialogController($scope, $mdDialog, data, apiService) {
|
function DialogController($scope, $mdDialog, data, apiService) {
|
||||||
$scope.task = data.task;
|
$scope.task = data.task;
|
||||||
|
|
|
@ -101,6 +101,14 @@
|
||||||
</md-content>
|
</md-content>
|
||||||
</md-tab>
|
</md-tab>
|
||||||
</md-tabs>
|
</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>
|
</md-content>
|
||||||
</div>
|
</div>
|
||||||
</md-content>
|
</md-content>
|
Loading…
Reference in a new issue