add icon navbar

This commit is contained in:
Bechi 2014-04-15 12:33:00 -03:00
commit d535522e9d
2 changed files with 13 additions and 4 deletions

View file

@ -4,20 +4,29 @@ angular.module('copay.header').controller('HeaderController',
function($scope, $rootScope, $location, Network) {
$scope.menu = [{
'title': 'Home',
'icon': 'fi-home',
'link': '#/home'
}, {
'title': 'Copayers',
'icon': 'fi-torsos-all',
'link': '#/peer'
}, {
'title': 'Transactions',
'icon': 'fi-loop',
'link': '#/transactions'
}, {
'title': 'Send',
'icon': 'fi-arrow-right',
'link': '#/send'
}, {
'title': 'Backup',
'icon': 'fi-archive',
'link': '#/backup'
}];
}, {
'title': 'signout',
'icon': 'fi-power',
'link': '#/signout'
}]
if (!$rootScope.peerId) {
$location.path('signin');