diff --git a/css/main.css b/css/main.css index 9a1bbba98..8c6913c2e 100644 --- a/css/main.css +++ b/css/main.css @@ -86,7 +86,7 @@ body { color: #111; }*/ -.home .panel { +.addresses .panel { font-size: 0.9rem; } @@ -118,7 +118,7 @@ body { border: none; } -.home .panel:hover { +.addresses .panel:hover { background: #efefef; } diff --git a/index.html b/index.html index 551bdcfd4..0aaa11793 100644 --- a/index.html +++ b/index.html @@ -208,9 +208,9 @@ - - - + diff --git a/js/app.js b/js/app.js index e8bbf2fdf..c955f458e 100644 --- a/js/app.js +++ b/js/app.js @@ -5,7 +5,7 @@ angular.module('copay',[ 'mm.foundation', 'monospaced.qrcode', 'copay.header', - 'copay.home', + 'copay.addresses', 'copay.transactions', 'copay.send', 'copay.backup', @@ -18,7 +18,7 @@ angular.module('copay',[ ]); angular.module('copay.header', []); -angular.module('copay.home', []); +angular.module('copay.addresses', []); angular.module('copay.transactions', []); angular.module('copay.send', []); angular.module('copay.backup', []); diff --git a/js/controllers/home.js b/js/controllers/addresses.js similarity index 93% rename from js/controllers/home.js rename to js/controllers/addresses.js index edacdc467..d7955ef80 100644 --- a/js/controllers/home.js +++ b/js/controllers/addresses.js @@ -1,6 +1,6 @@ 'use strict'; -angular.module('copay.home').controller('HomeController', +angular.module('copay.addresses').controller('AddressesController', function($scope, $rootScope, $location, Socket, controllerUtils) { $scope.title = 'Home'; $scope.oneAtATime = true; diff --git a/js/controllers/header.js b/js/controllers/header.js index 4236c486f..f4c6e6ddd 100644 --- a/js/controllers/header.js +++ b/js/controllers/header.js @@ -3,13 +3,13 @@ angular.module('copay.header').controller('HeaderController', function($scope, $rootScope, $location, walletFactory, controllerUtils) { $scope.menu = [{ - 'title': 'Home', - 'icon': 'fi-home', - 'link': '#/home' - }, { 'title': 'Copayers', 'icon': 'fi-torsos-all', 'link': '#/peer' + }, { + 'title': 'Addresses', + 'icon': 'fi-address-book', + 'link': '#/addresses' }, { 'title': 'Transactions', 'icon': 'fi-loop', diff --git a/js/routes.js b/js/routes.js index 5c655b208..9fb2085f5 100644 --- a/js/routes.js +++ b/js/routes.js @@ -15,8 +15,8 @@ angular .when('/setup', { templateUrl: 'setup.html' }) - .when('/home', { - templateUrl: 'home.html' + .when('/addresses', { + templateUrl: 'addresses.html' }) .when('/join/:id', { templateUrl: 'join.html'