mirror of https://github.com/BTCPrivate/copay.git
basic video footer
This commit is contained in:
parent
a9eb53e90f
commit
fb8a52fd6a
18
css/main.css
18
css/main.css
|
@ -14,11 +14,11 @@ html, body {height: 100%;}
|
||||||
#wrap {min-height: 100%;}
|
#wrap {min-height: 100%;}
|
||||||
|
|
||||||
#main {overflow:auto;
|
#main {overflow:auto;
|
||||||
padding-bottom: 30px;} /* must be same height as the footer */
|
padding-bottom: 91px;} /* must be same height as the footer */
|
||||||
|
|
||||||
#footer {position: relative;
|
#footer {position: relative;
|
||||||
margin-top: -30px; /* negative value of footer height */
|
margin-top: -91px; /* negative value of footer height */
|
||||||
height: 30px;
|
height: 91px;
|
||||||
clear:both;
|
clear:both;
|
||||||
padding: 5px 2rem;
|
padding: 5px 2rem;
|
||||||
}
|
}
|
||||||
|
@ -257,17 +257,17 @@ hr { margin: 2.25rem 0;}
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-small {
|
.video-small {
|
||||||
width: 120px;
|
width: 80px;
|
||||||
height: 120px;
|
height: 80px;
|
||||||
margin: 20px;
|
border-radius: 1rem;
|
||||||
display: inline;
|
display: inline;
|
||||||
float:left;
|
float: right;
|
||||||
}
|
}
|
||||||
.online {
|
.online {
|
||||||
border: 10px solid green;
|
border: 3px solid green;
|
||||||
}
|
}
|
||||||
.offline {
|
.offline {
|
||||||
border: 10px solid gray;
|
border: 3px solid gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tx-copayers {
|
.tx-copayers {
|
||||||
|
|
39
index.html
39
index.html
|
@ -99,13 +99,33 @@
|
||||||
<div id="footer" data-ng-controller="FooterController" ng-show="$root.wallet">
|
<div id="footer" data-ng-controller="FooterController" ng-show="$root.wallet">
|
||||||
<link rel="stylesheet" ng-href="{{theme}}">
|
<link rel="stylesheet" ng-href="{{theme}}">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
<div class="large-2 columns">
|
||||||
|
<strong><div>{{$root.getWalletDisplay()}}</div></strong>
|
||||||
<span class="size-12">
|
<span class="size-12">
|
||||||
{{$root.wallet.requiredCopayers}}-of-{{$root.wallet.totalCopayers}} wallet
|
{{$root.wallet.requiredCopayers}}-of-{{$root.wallet.totalCopayers}} wallet
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="large-8 columns text-right">
|
<div class="large-2 columns" style="float:right;"
|
||||||
|
ng-repeat="copayer in $root.wallet.getRegisteredPeerIds()">
|
||||||
|
<video
|
||||||
|
ng-class="($root.wallet.getOnlinePeerIDs().indexOf(copayer) != -1) ? 'online' : 'offline'"
|
||||||
|
class="video-small"
|
||||||
|
autoplay ng-show="$root.videoSrc[copayer]"
|
||||||
|
ng-src="{{$root.getVideoURL(copayer)}}"
|
||||||
|
id="{{copayer + '-video'}}" muted="true"
|
||||||
|
title="{{copayer + (copayer == $root.wallet.network.peerId?' (You)':'')}}" ></video>
|
||||||
|
<img ng-show="!$root.videoSrc[copayer]"
|
||||||
|
ng-class="($root.wallet.getOnlinePeerIDs().indexOf(copayer) != -1) ? 'online' : 'offline'"
|
||||||
|
class="video-small"
|
||||||
|
src="./img/satoshi.gif"
|
||||||
|
title="{{copayer + (copayer == $root.wallet.network.peerId?' (You)':'')}}" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--
|
||||||
|
<div class="large-2 columns text-right">
|
||||||
<a class="size-12" ng-if="themes.length > 1" ng-click="change_theme(th)" ng-repeat="th in themes">{{th}} {{$last ? '' : '· '}}</a>
|
<a class="size-12" ng-if="themes.length > 1" ng-click="change_theme(th)" ng-repeat="th in themes">{{th}} {{$last ? '' : '· '}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Templates -->
|
<!-- Templates -->
|
||||||
|
@ -230,23 +250,6 @@
|
||||||
{{$root.wallet.requiredCopayers}} copayers needed for signing transactions
|
{{$root.wallet.requiredCopayers}} copayers needed for signing transactions
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
<div class="large-4 columns"
|
|
||||||
ng-repeat="copayer in $root.wallet.getRegisteredPeerIds()">
|
|
||||||
<video
|
|
||||||
ng-class="($root.wallet.getOnlinePeerIDs().indexOf(copayer) != -1) ? 'online' : 'offline'"
|
|
||||||
class="video-small"
|
|
||||||
autoplay ng-show="$root.videoSrc[copayer]"
|
|
||||||
ng-src="{{$root.getVideoURL(copayer)}}"
|
|
||||||
id="{{copayer + '-video'}}" muted="true"
|
|
||||||
title="{{copayer + (copayer == $root.wallet.network.peerId?' (You)':'')}}" ></video>
|
|
||||||
<img ng-show="!$root.videoSrc[copayer]"
|
|
||||||
ng-class="($root.wallet.getOnlinePeerIDs().indexOf(copayer) != -1) ? 'online' : 'offline'"
|
|
||||||
class="video-small"
|
|
||||||
src="./img/satoshi.gif"
|
|
||||||
title="{{copayer + (copayer == $root.wallet.network.peerId?' (You)':'')}}" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue