This commit is contained in:
Mario Colque 2014-05-01 11:51:35 -03:00
commit 0a58aaf071

View file

@ -142,34 +142,28 @@
Looking for peers... Looking for peers...
</div> </div>
<div ng-show="!loading"> <div ng-show="!loading">
<div class="row"> <div class="row">
<div class="large-6 columns"> <div class="large-6 columns">
<div class="box-signin"> <div class="box-signin">
<h3>Join a Wallet in Creation</h3> <h3>Join a Wallet in Creation</h3>
<input type="text" class="form-control" placeholder="Paste wallet secret here" <input type="text" class="form-control" placeholder="Paste wallet secret here" ng-model="connectionId" required autofocus>
ng-model="connectionId" required autofocus> <input type="text" class="form-control" placeholder="Your name (optional)" ng-model="nickname">
<input type="text" class="form-control" placeholder="Your name (optional)" <button class="button primary expand radius" ng-click="join(connectionId,nickname)" ng-disabled="loading" loading="Joining">Join</button>
ng-model="nickname">
<button class="button primary expand radius"
ng-click="join(connectionId,nickname)" ng-disabled="loading" loading="Joining">Join</button>
</div> </div>
</div> </div>
<div class="large-6 columns"> <div class="large-6 columns">
<div class="box-signin"> <div class="box-signin">
<div ng-show="wallets.length"> <div ng-show="wallets.length">
<h3>Open Wallet</h3> <h3>Open Wallet</h3>
<select class="form-control" ng-model="selectedWalletId" <select class="form-control" ng-model="selectedWalletId" ng-options="w.id as w.show for w in wallets">
ng-options="w.id as w.show for w in wallets"> </select>
</select> <button class="button secondary expand radius" type="button" ng-click="open(selectedWalletId)" ng-disabled="loading" loading="Opening">Open</button>
<button class="button secondary expand radius" type="button" </div>
ng-click="open(selectedWalletId)" ng-disabled="loading" loading="Opening">Open</button> <div ng-show="!wallets.length">
</div> <h3>Create a new wallet</h3>
<div ng-show="!wallets.length"> <input type="text" class="form-control" ng-model="walletName" placeholder="Wallet name (optional)">
<h3>Create a new wallet</h3> <button class="button secondary expand radius" ng-click="create(walletName)" ng-disabled="loading" loading="Creating">Create</button>
<input type="text" class="form-control" ng-model="walletName" placeholder="Wallet name (optional)"> </div>
<button class="button secondary expand radius" ng-click="create(walletName)" ng-disabled="loading" loading="Creating">Create</button>
</div>
</div> </div>
</div> </div>
</div> </div>