mirror of https://github.com/BTCPrivate/copay.git
update peer-list
This commit is contained in:
parent
ee21bf0f62
commit
0cb465095a
|
@ -51,10 +51,10 @@
|
||||||
|
|
||||||
<div class="box-setup-copayers p20">
|
<div class="box-setup-copayers p20">
|
||||||
<div class="oh">
|
<div class="oh">
|
||||||
<div ng-include="'views/includes/video.html'"></div>
|
<div ng-include="'views/includes/copayer.html'"></div>
|
||||||
<div ng-if="!$root.wallet.publicKeyRing.isComplete()">
|
<div ng-if="!$root.wallet.publicKeyRing.isComplete()">
|
||||||
<img
|
<img
|
||||||
class="waiting br100 no-video"
|
class="waiting br100"
|
||||||
ng-if="!hasVideo(copayer)"
|
ng-if="!hasVideo(copayer)"
|
||||||
src="./img/satoshi.gif"
|
src="./img/satoshi.gif"
|
||||||
alt="Waiting Copayer"
|
alt="Waiting Copayer"
|
||||||
|
|
|
@ -1,17 +1,10 @@
|
||||||
<div ng-controller="VideoController">
|
<div ng-controller="CopayersController">
|
||||||
<div class="video-box" ng-repeat="copayer in copayersList()">
|
<div class="copay-box" ng-repeat="copayer in copayersList()">
|
||||||
<video
|
|
||||||
ng-if="hasVideo(copayer)"
|
|
||||||
peer="{{copayer}}" avatar autoplay
|
|
||||||
ng-class="true || isConnected(copayer) ? 'online' : 'offline'"
|
|
||||||
ng-src="{{getVideoURL(copayer)}}"></video>
|
|
||||||
|
|
||||||
<img
|
<img
|
||||||
class="br100 no-video"
|
class="br100"
|
||||||
ng-if="!hasVideo(copayer)"
|
ng-class="online"
|
||||||
ng-class="true || isConnected(copayer) ? 'online' : 'offline'"
|
|
||||||
src="./img/satoshi.gif"
|
src="./img/satoshi.gif"
|
||||||
alt="{{copayer}}"
|
alt="{{copayer.peerId}}"
|
||||||
width="70">
|
width="70">
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<div ng-controller="VideoController" class="copayers">
|
<div ng-controller="CopayersController" class="copayers">
|
||||||
<div>
|
|
||||||
<h3>
|
<h3>
|
||||||
<i class="fi-torsos-all size-21 m20r"></i>
|
<i class="fi-torsos-all size-21 m20r"></i>
|
||||||
Copayers
|
Copayers
|
||||||
|
@ -7,49 +6,18 @@
|
||||||
{{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}}
|
{{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}}
|
||||||
</small>
|
</small>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
|
<div class="copay-box-small" ng-repeat="copayer in copayers">
|
||||||
|
<img
|
||||||
|
class="br100"
|
||||||
|
ng-class="online"
|
||||||
|
src="./img/satoshi.gif"
|
||||||
|
alt="{{copayer.peerId}}"
|
||||||
|
width="30">
|
||||||
|
|
||||||
|
<div class="ellipsis">
|
||||||
|
<small class="text-gray" ng-show="copayer.index == 0">Me</small>
|
||||||
|
<small class="text-gray" ng-show="copayer.index > 0">{{copayer.nick}}</small>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<ul class="copayer-list" ng-repeat="copayer in copayers">
|
|
||||||
<li class="ellipsis">
|
|
||||||
<video
|
|
||||||
ng-if="hasVideo(copayer)"
|
|
||||||
peer="{{copayer}}" avatar autoplay
|
|
||||||
ng-class="isConnected(copayer) ? 'online' : 'offline'"
|
|
||||||
ng-src="{{getVideoURL(copayer)}}"></video>
|
|
||||||
|
|
||||||
<img
|
|
||||||
class="br100 oh no-video m20r"
|
|
||||||
ng-if="!hasVideo(copayer)"
|
|
||||||
ng-class="isConnected(copayer) ? 'online' : 'offline'"
|
|
||||||
src="./img/satoshi.gif"
|
|
||||||
alt="{{copayer}}"
|
|
||||||
width="70">
|
|
||||||
|
|
||||||
<span ng-show="copayer.index == 0">Me</span>
|
|
||||||
<span ng-show="copayer.index > 0">{{copayer.nick}}</span>
|
|
||||||
<span class="btn-copy" clip-copy="copayer.peerId"></span>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<div class="copayer-list-small-height" ng-repeat="copayer in copayers">
|
|
||||||
<span class="left" class="has-tip" tooltip-placement="top" tooltip="{{copayer.nick}}">
|
|
||||||
<video
|
|
||||||
ng-if="hasVideo(copayer)"
|
|
||||||
peer="{{copayer}}" avatar autoplay
|
|
||||||
ng-class="isConnected(copayer) ? 'online' : 'offline'"
|
|
||||||
ng-src="{{getVideoURL(copayer)}}"></video>
|
|
||||||
|
|
||||||
<img
|
|
||||||
class="br100 oh no-video m20r"
|
|
||||||
ng-if="!hasVideo(copayer)"
|
|
||||||
ng-class="isConnected(copayer) ? 'online' : 'offline'"
|
|
||||||
src="./img/satoshi.gif"
|
|
||||||
alt="{{copayer}}"
|
|
||||||
width="70">
|
|
||||||
|
|
||||||
<!-- <span ng-show="copayer.index == 0">Me</span>
|
|
||||||
<span ng-show="copayer.index > 0">{{copayer.nick}}</span>
|
|
||||||
<span class="btn-copy" clip-copy="copayer.peerId"></span> -->
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue