fix ionic UI bugs

This commit is contained in:
Javier 2016-06-08 10:49:31 -03:00
commit 4c94dc8c6e
4 changed files with 16 additions and 14 deletions

View file

@ -161,7 +161,7 @@
</div>
<div class="oh" ng-show="create.seedSourceId == 'new'">
<label for="single-address" class="dbi">
<span translate>Single Address Wallet</span> <small translate>For audit purposes</small>
<span translate>Single Address</span> <small translate>For audit purposes</small>
<ion-toggle ng-model="singleAddressEnabled" toggle-class="toggle-balanced" class="bct">
</ion-toggle>
</label>

View file

@ -1,13 +1,15 @@
<div class="columns m20t">
<label class="size-14 text-center">
<span ng-show="!comment" translate>Add comment</span>
<span ng-show="comment" translate>Edit comment</span>
</label>
<input type="text" ng-model="data.comment" autofocus>
<label class="size-14 text-center">
<span ng-show="!comment" translate>Add comment</span>
<span ng-show="comment" translate>Edit comment</span>
</label>
<input type="text" ng-model="data.comment" autofocus>
</div>
<div class="small-6 columns">
<button class="round outline dark-gray expand" ng-click="commentPopupClose()" translate>Cancel</button>
</div>
<div class="small-6 columns">
<button ng-style="{'background-color': index.backgroundColor}" class="round outline expand" ng-click="commentPopupSave()" translate>Save</button>
<div class="row m20t dib">
<div class="half-row left">
<button class="round outline dark-gray expand" ng-click="commentPopupClose()" translate>Cancel</button>
</div>
<div class="half-row left">
<button ng-style="{'background-color': index.backgroundColor}" class="round outline expand" ng-click="commentPopupSave()" translate>Save</button>
</div>
</div>

View file

@ -40,7 +40,7 @@
background-color: transparent !important;
margin-top: -25px;
padding-bottom: 30px;
right: -25px !important;
right: -24px !important;
border-width: 0px;
}

View file

@ -58,13 +58,13 @@ angular.module('copayApp.controllers').controller('createController',
if (n > 1 && isChromeApp)
self.seedOptions.push({
id: 'ledger',
label: 'Ledger Hardware Wallet',
label: gettext('Ledger Hardware Wallet'),
});
if (isChromeApp || isDevel) {
self.seedOptions.push({
id: 'trezor',
label: 'Trezor Hardware Wallet',
label: gettext('Trezor Hardware Wallet'),
});
}
};