txproposal comuninication between peers. Still WIP

This commit is contained in:
Matias Alejo Garcia 2014-04-11 13:26:36 -03:00
commit 333ecb352a
12 changed files with 282 additions and 124 deletions

View file

@ -23,6 +23,7 @@
</div>
<nav class="top-bar" data-topbar ng-show="$root.peerId">
<!-- TODO : porque el repeat en UL y no en LI?? -->
<ul class="title-area" data-ng-repeat="item in menu" ui-route="/{{item.link}}" data-ng-class="{active: isActive(item)}">
<li class="name"></li>
<li class="toggle-topbar menu-icon">
@ -32,8 +33,8 @@
<section class="top-bar-section">
<!-- Right Nav Section -->
<ul data-ng-repeat="item in menu" ui-route="/{{item.link}}">
<li class="large-3 text-center" data-ng-class="{active: isActive(item)}">
<ul>
<li data-ng-repeat="item in menu" ui-route="/{{item.link}}" class="large-2 text-center" data-ng-class="{active: isActive(item)}">
<a href="{{item.link}}"> <i class="fi-home size-16"></i> {{item.title}}</a>
</li>
</ul>
@ -110,14 +111,14 @@
<ul class="no-bullet">
<li> [DEBUG] Pubkeys that you have: {{$root.publicKeyRing.registeredCopayers()}}
<li> [DEBUG] WalletId: {{$root.walletId}}
<li class="panel" style="word-wrap: break-word;" ng-repeat="pub in $root.publicKeyRing.copayersBIP32">
${{pub.extendedPublicKeyString()}}
</li>
</ul>
<h3 class="panel-title">Copayers ({{$root.connectedPeers.length}}/5)</h3>
</div>
<div class="large-6 columns">
<h3 class="panel-title">Copayers ({{$root.connectedPeers.length}}/5)</h3>
<h3 class="panel-title">Copayers ({{$root.connectedPeers.length}}/{{$root.publicKeyRing.requiredCopayers}})</h3>
<ul class="no-bullet">
<li class="panel" ng-repeat="copayer in $root.connectedPeers">
<span ng-if="copayer == $root.peerId"> You ({{$root.peerId}})<i class="fi-check size-24"></i></span>
@ -222,6 +223,7 @@
<script type="text/ng-template" id="send.html">
<div class="send" data-ng-controller="SendController">
<h2>{{title}}</h2>
<button class="button primary expand round" type="button" ng-click="sendTest()">sendTest</button>
<form>
<label for="address">To
<input type="text" id="address" placeholder="Send to">