mirror of https://github.com/BTCPrivate/copay.git
remove peer tab
This commit is contained in:
parent
fb8a52fd6a
commit
93620fa6c0
|
@ -52,7 +52,7 @@ html, body {height: 100%;}
|
|||
}
|
||||
|
||||
.top-bar-section ul li {
|
||||
width: 20%;
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.header {
|
||||
|
|
13
index.html
13
index.html
|
@ -43,7 +43,7 @@
|
|||
|
||||
<section class="top-bar-section {{isCollapsed && 'hide_menu' || 'show_menu'}}">
|
||||
<ul>
|
||||
<li data-ng-repeat="item in menu" ui-route="/{{item.link}}" class="large-2 text-center" data-ng-class="{active: isActive(item)}">
|
||||
<li data-ng-repeat="item in menu" ui-route="/{{item.link}}" class="text-center" data-ng-class="{active: isActive(item)}">
|
||||
<a href="{{item.link}}"> <i class="{{item.icon}}"></i> {{item.title}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -243,17 +243,6 @@
|
|||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/ng-template" id="peer.html">
|
||||
<div class="row" ng-if="$root.wallet.requiredCopayers > $root.wallet.network.connectedCopayers().length">
|
||||
<div class="large-12 columns p70l">
|
||||
<p class="text-info"> <i class="fi-alert size-28"></i>
|
||||
{{$root.wallet.requiredCopayers}} copayers needed for signing transactions
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<!-- ADDRESS -->
|
||||
<script type="text/ng-template" id="addresses.html">
|
||||
<div class="addresses" data-ng-controller="AddressesController">
|
||||
|
|
|
@ -2,11 +2,8 @@
|
|||
|
||||
angular.module('copay.header').controller('HeaderController',
|
||||
function($scope, $rootScope, $location, walletFactory, controllerUtils) {
|
||||
$scope.menu = [{
|
||||
'title': 'Copayers',
|
||||
'icon': 'fi-torsos-all',
|
||||
'link': '#/peer'
|
||||
}, {
|
||||
$scope.menu = [
|
||||
{
|
||||
'title': 'Addresses',
|
||||
'icon': 'fi-address-book',
|
||||
'link': '#/addresses'
|
||||
|
|
|
@ -59,7 +59,7 @@ angular.module('copay.controllerUtils')
|
|||
});
|
||||
w.on('created', function(myPeerID) {
|
||||
video.setOwnPeer(myPeerID, w, handlePeerVideo);
|
||||
$location.path('peer');
|
||||
$location.path('addresses');
|
||||
$rootScope.wallet = w;
|
||||
root.updateBalance();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue