hide features until wallet isComplete()

This commit is contained in:
Matias Alejo Garcia 2014-04-17 14:49:54 -03:00
commit 6627184ebc
2 changed files with 5 additions and 6 deletions

View file

@ -48,7 +48,7 @@
<div ng-if='$root.flashMessage.message' class="panel callout radius" style="color:red" >
{{$root.flashMessage.type}}:
{{$root.flashMessage.message}}
<a href="#" ng-click="clearFlashMessage()" class="button tiny">Dismiss</a>
<a ng-click="clearFlashMessage()" class="button tiny">Dismiss</a>
</div>
@ -203,6 +203,7 @@
<!-- HOME -->
<script type="text/ng-template" id="home.html">
<div class="home" data-ng-controller="HomeController">
<div ng-show='$root.wallet.publicKeyRing.isComplete()'>
<h3>Address</h3>
<div class="row">
@ -219,6 +220,7 @@
<button class="secondary round expand" ng-click="newAddr()"> Create </button>
</div>
</div>
</div>
</div>
</script>
@ -226,8 +228,7 @@
<!-- TRANSACTIONS -->
<script type="text/ng-template" id="transactions.html">
<div class="transactions" data-ng-controller="TransactionsController">
<div class="row">
<div class="row" ng-show='$root.wallet.publicKeyRing.isComplete()'>
<div class="large-12 columns">
<h3>Pending Transactions <small>({{txsoutput.length}})</small></h3>
<div class="panel pending" ng-repeat="txp in txsoutput">
@ -290,8 +291,7 @@
<!-- SEND -->
<script type="text/ng-template" id="send.html">
<div class="send" data-ng-controller="SendController">
<h3>{{title}}</h3>
<div class="row">
<div class="row" ng-show='$root.wallet.publicKeyRing.isComplete()'>
<div class="large-8 columns">
<form>
<label for="address">To