fix design on addressbook add page

This commit is contained in:
Javier 2015-11-13 14:39:24 -03:00
parent 6a12828eae
commit 8a89109d1b
1 changed files with 12 additions and 8 deletions

View File

@ -19,6 +19,9 @@
<h1 ng-show="(editAddressbook || !wallets[0]) && !addAddressbookEntry" class="title ellipsis" translate>
Addressbook
</h1>
<h1 ng-show="addAddressbookEntry" class="title ellipsis" translate>
Add a new entry
</h1>
</section>
<section class="right-small" ng-show="!selectedWalletsOpt" ng-click="toggleEditAddressbook()">
@ -28,14 +31,10 @@
<a ng-show="editAddressbook && !addAddressbookEntry" href class="p10">
<span class="text-close" translate>Done</span>
</a>
<qr-scanner ng-show="addAddressbookEntry"
on-scan="onQrCodeScanned(data, addressbookForm)"
before-scan="beforeQrCodeScann()"></qr-scanner>
</section>
</nav>
<div class="modal-content fix-modals-touch">
<div ng-show="selectedWalletsOpt">
<div class="onGoingProcess" ng-if="gettingAddress">
<div class="onGoingProcess-content" ng-style="{'background-color':'#222'}">
@ -84,14 +83,13 @@
<li class="m10t" ng-show="!editAddressbook">
<a ng-click="toggleAddAddressbookEntry()" class="p10">
<i class="fi-plus size-18 m10r"></i>
<span class="text-close size-12" translate>Add a new entry</span>
<span class="text-close size-12" translate>Add a new entry</span>
<span ng-show="!list[newAddress] && newAddress">({{newAddress}})</span>
</a>
</li>
</ul>
<div ng-show="addAddressbookEntry">
<h4 class="title m0" translate>Add a new entry</h4>
<form name="addressbookForm" class="p10" no-validate>
<div class="text-warning size-12 m10b" ng-show="error">{{error|translate}}</div>
<span ng-hide="addressbookForm.address.$pristine">
@ -104,9 +102,15 @@
</small>
</span>
<label translate>Address</label>
<input type="text" id="address" name="address" ng-model="addressbook.address" valid-address required>
<div class="input">
<input type="text" id="address" name="address" ng-model="addressbook.address" valid-address required placeholder="Put the destination address here">
<div class="qr-scanner-input">
<qr-scanner ng-show="addAddressbookEntry" on-scan="onQrCodeScanned(data, addressbookForm)" before-scan="beforeQrCodeScann()"></qr-scanner>
</div>
</div>
<label translate>Label</label>
<input type="text" id="label" name="label" ng-model="addressbook.label" required>
<input type="text" id="label" name="label" ng-model="addressbook.label" required placeholder="Enter the wallet name">
<div class="row">
<div class="columns large-6 medium-6 small-6">
<input type="button"