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,55 +1,23 @@
|
||||||
<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
|
<small class="m15l">
|
||||||
<small class="m15l">
|
{{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}}
|
||||||
{{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}}
|
</small>
|
||||||
</small>
|
</h3>
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<ul class="copayer-list" ng-repeat="copayer in copayers">
|
<div class="copay-box-small" ng-repeat="copayer in copayers">
|
||||||
<li class="ellipsis">
|
<img
|
||||||
<video
|
class="br100"
|
||||||
ng-if="hasVideo(copayer)"
|
ng-class="online"
|
||||||
peer="{{copayer}}" avatar autoplay
|
src="./img/satoshi.gif"
|
||||||
ng-class="isConnected(copayer) ? 'online' : 'offline'"
|
alt="{{copayer.peerId}}"
|
||||||
ng-src="{{getVideoURL(copayer)}}"></video>
|
width="30">
|
||||||
|
|
||||||
<img
|
<div class="ellipsis">
|
||||||
class="br100 oh no-video m20r"
|
<small class="text-gray" ng-show="copayer.index == 0">Me</small>
|
||||||
ng-if="!hasVideo(copayer)"
|
<small class="text-gray" ng-show="copayer.index > 0">{{copayer.nick}}</small>
|
||||||
ng-class="isConnected(copayer) ? 'online' : 'offline'"
|
</div>
|
||||||
src="./img/satoshi.gif"
|
</div>
|
||||||
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>
|
||||||
|
|
Loading…
Reference in New Issue