fix check/uncheck icon - show input file

This commit is contained in:
Javier 2016-08-19 10:08:52 -03:00
parent 8b74c621f7
commit 1bcaffdfe2
4 changed files with 11 additions and 6 deletions

View File

@ -124,7 +124,7 @@
<div class="list">
<label class="item item-input item-stacked-label no-border" ng-show="!index.isSafari && !index.isCordova">
<label class="item item-input item-stacked-label no-border" ng-show="!isSafari && !isCordova">
<div class="input-label" translate>Choose a backup file from your computer</div>
<div>
<input type="file"

View File

@ -33,10 +33,8 @@
<div class="col col-90">
<label class="item item-input item-stacked-label no-border">
<span class="input-label" translate>Wallet Invitation</span>
<i class="icon ion-checkmark-circled balanced" ng-show="joinForm.secret.$valid &&
!joinForm.secret.$pristine && secret"></i>
<i class="icon ion-close-circled assertive" ng-show="joinForm.secret.$invalid &&
!joinForm.secret.$pristine && secret"></i>
<i class="icon ion-checkmark-circled balanced" ng-show="joinForm.secret.$valid && !joinForm.secret.$pristine && secret"></i>
<i class="icon ion-close-circled assertive" ng-show="joinForm.secret.$invalid && !joinForm.secret.$pristine && secret"></i>
<input id="secret"
type="text"
placeholder="{{'Paste invitation here'|translate}}"

View File

@ -8,6 +8,8 @@ angular.module('copayApp.controllers').controller('importController',
var reader = new FileReader();
var defaults = configService.getDefaults();
var errors = bwcService.getErrors();
$scope.isSafari = platformInfo.isSafari;
$scope.isCordova = platformInfo.isCordova;
$scope.bwsurl = defaults.bws.url;
$scope.derivationPath = derivationPathHelper.default;
$scope.account = 1;

View File

@ -976,6 +976,11 @@ input[type=file] {
text-align: left;
}
.input-label {
max-width: none;
width: inherit;
}
/*
* Calculator
*/