change terms view and taking out auto capitalize in join and create view when writting wallet seeds and passphrase

This commit is contained in:
Gabriel Bazán 2015-12-02 09:53:16 -03:00
commit 6746180782
5 changed files with 31 additions and 6 deletions

View file

@ -134,7 +134,7 @@
<div ng-show="create.seedSourceId=='new' ">
<label for="createPassphrase" ><span translate>Add a Seed Passphrase</span> <small translate>Add an optional passphrase to secure the seed</small>
<div class="input">
<input type="text" class="form-control"
<input type="text" class="form-control" autocapitalize="off"
name="createPassphrase" ng-model="createPassphrase">
</div>
</label>
@ -145,6 +145,7 @@
<span translate>Wallet Seed</span>
<small translate>Enter the seed words (BIP39)</small>
<input id="ext-master"
autocapitalize="off"
type="text"
name="privateKey" ng-model="privateKey">
</label>
@ -153,7 +154,7 @@
<div ng-show="create.seedSourceId=='set'">
<label for="passphrase"> <span translate>Seed Passphrase</span> <small translate>The seed could require a passphrase to be imported</small>
<div class="input">
<input type="text" class="form-control" name="passphrase" ng-model="passphrase">
<input type="text" autocapitalize="off" class="form-control" name="passphrase" ng-model="passphrase">
</div>
</label>
</div>

View file

@ -116,7 +116,7 @@
<div ng-show="join.seedSourceId=='new' ">
<label for="createPassphrase" ><span translate>Add a Seed Passphrase</span> <small translate>Add an optional passphrase to secure the seed</small>
<div class="input">
<input type="text" class="form-control"
<input type="text" class="form-control" autocapitalize="off"
name="createPassphrase" ng-model="createPassphrase">
</div>
</label>
@ -127,6 +127,7 @@
<span translate>Wallet Seed</span>
<small translate>Enter the seed words (BIP39)</small>
<input id="ext-master"
autocapitalize="off"
type="text"
name="privateKey" ng-model="privateKey">
</label>
@ -135,7 +136,7 @@
<div ng-show="join.seedSourceId=='set'">
<label for="passphrase"> <span translate>Seed Passphrase</span> <small translate>The seed could require a passphrase to be imported</small>
<div class="input">
<input type="text" class="form-control" name="passphrase" ng-model="passphrase">
<input type="text" autocapitalize="off" class="form-control" name="passphrase" ng-model="passphrase">
</div>
</label>
</div>

View file

@ -3,9 +3,9 @@
ng-include="'views/includes/topbar.html'"
ng-init="titleSection='Terms of use'; goBackToState = 'about'; noColor = true">
</div>
<div class="content">
<div ng-controller="termOfUseController" class="content">
<p class="enable_text_select m0">
<div ng-include="'views/includes/terms.html'"></div>
<div class="terms" ng-include="'views/includes/terms.html'"></div>
</p>
<div class="row text-center">
<p ng-show="lang != 'en'">

View file

@ -1175,6 +1175,21 @@ input.ng-invalid-match, input.ng-invalid-match:focus {
}
/*/////////////////////////////////////////////////*/
.terms {
padding: 0.8rem;
}
.terms ul {
font-size: 0.8rem;
text-align: justify;
margin-left: 0;
}
.terms li {
list-style-type:none;
display: inline;
}
.scrollArea {
height: 280px;
overflow: scroll;

View file

@ -0,0 +1,8 @@
'use strict';
angular.module('copayApp.controllers').controller('termOfUseController',
function($scope, uxLanguage) {
$scope.lang = uxLanguage.currentLanguage;
});