Split index.html in many files smaller. New right column when the wallet is ready. Removed templates selector.

This commit is contained in:
Gustavo Maximiliano Cortez 2014-07-16 17:59:28 -03:00
commit 0a027360a8
28 changed files with 1394 additions and 1749 deletions

28
views/includes/video.html Normal file
View file

@ -0,0 +1,28 @@
<div
class="bottom-copay"
ng-controller="VideoController"
ng-repeat="c in $root.wallet.getRegisteredPeerIds()"
tooltip="ID: {{c.peerId}}"
tooltip-placement="left">
<video ng-if="$root.videoInfo[c.peerId]"
avatar peer="{{c}}"
autoplay
ng-class="($root.wallet.getOnlinePeerIDs().indexOf(c.peerId) != -1) ? 'online' : 'offline'"
ng-src="{{getVideoURL(c.peerId)}}"
></video>
<img ng-if="!$root.videoInfo[c.peerId]"
avatar peer="{{c}}"
ng-class="($root.wallet.getOnlinePeerIDs().indexOf(c.peerId) != -1) ? 'online' : 'offline'"
src="./img/satoshi.gif"
alt="{{c}}"
/>
<div class="size-12 text-center text-gray">
<span ng-show="c.index==0">you</span>
<span ng-show="c.index>0">{{c.nick}}</span>
<span class="success label" ng-show="$root.wallet.publicKeyRing.isBackupReady(c.copayerId)">
Backup ready
</span>
<small>[ID: {{c.peerId}}]</small>
</div>
</div>