disables TREZOR

This commit is contained in:
Matias Alejo Garcia 2015-10-07 11:56:37 -03:00
commit 7bb5d89fad
3 changed files with 19 additions and 27 deletions

View file

@ -107,11 +107,11 @@
<span translate>Use Ledger hardware wallet</span>
<switch id="hw-ledger" name="hwLedger" ng-model="hwLedger" ng-change="isTestnet=false" class="green right m5t m10b"></switch>
</label>
<label ng-show="!index.isCordova" for="hw-trezor" class="oh">
<span translate>Use TREZOR hardware wallet</span>
<switch id="hw-trezor" name="hwTrezor" ng-model="hwTrezor" class="green right m5t m10b"></switch>
</label>
<!-- -->
<!-- <label ng&#45;show="!index.isCordova" for="hw&#45;trezor" class="oh"> -->
<!-- <span translate>Use TREZOR hardware wallet</span> -->
<!-- <switch id="hw&#45;trezor" name="hwTrezor" ng&#45;model="hwTrezor" class="green right m5t m10b"></switch> -->
<!-- </label> -->
<!-- TODO account
<div ng-show="hwLedger">
<label class="oh"><span translate>Ledger Slot</span>

View file

@ -174,22 +174,14 @@
</div>
</form>
<form name="importForm4" ng-submit="import.importTrezor(importForm4)" novalidate>
<div class="large-12 columns">
<!-- TODO: account
<label class=" oh">
<span translate>Ledger Slot</span>
<select class="m10t" ng-model="externalIndex" ng-options="externalIndex as externalIndex for externalIndex in import.externalIndexValues">
</select>
</label>
<div class="oh text-gray line-b size-12 p10b m20b"><span translate>Ledger supports up to 20 Copay wallets simultaneously. Select which slot to import</div>
-->
<button translate type="submit" class="button round expand black"
ng-disabled="import.loading || import.ledger">
Import from TREZOR
</button>
</div>
</form>
<!-- <form name="importForm4" ng&#45;submit="import.importTrezor(importForm4)" novalidate> -->
<!-- <div class="large&#45;12 columns"> -->
<!-- <button translate type="submit" class="button round expand black" -->
<!-- ng&#45;disabled="import.loading || import.ledger"> -->
<!-- Import from TREZOR -->
<!-- </button> -->
<!-- </div> -->
<!-- </form> -->
</div>
</div>

View file

@ -81,12 +81,12 @@
<span translate>Use Ledger hardware wallet</span>
<switch id="hw-ledger" name="hwLedger" ng-model="hwLedger" class="green right m5t m10b"></switch>
</label>
<label ng-show="!index.isCordova" for="hw-trezor" class="oh">
<span translate>Use TREZOR hardware wallet</span>
<switch id="hw-trezor" name="hwTrezor" ng-model="hwTrezor" class="green right m5t m10b"></switch>
</label>
<!-- -->
<!-- <label ng&#45;show="!index.isCordova" for="hw&#45;trezor" class="oh"> -->
<!-- <span translate>Use TREZOR hardware wallet</span> -->
<!-- <switch id="hw&#45;trezor" name="hwTrezor" ng&#45;model="hwTrezor" class="green right m5t m10b"></switch> -->
<!-- </label> -->
<!-- -->
<!-- TODO account
<div class="large-12 columns" ng-hide="!hwLedger">
<label class="oh">