copay/views/home.html

219 lines
9.6 KiB
HTML

<div class="home" ng-controller="HomeController" ng-init="init()">
<div ng-show="$root.starting">
<div ng-include="'views/includes/loading.html'" ng-init="title = 'Accessing your profile'"></div>
</div>
<div class="row" ng-show="showDisclaimer">
<div class="large-8 medium-10 small-12 large-centered medium-centered columns">
<h1 class="text-white text-center">Disclaimer</h1>
<p class="text-white">
The software you are about to use is free, open source, and unsupported beta software. It is important to understand
that beta software refers to software that is undergoing testing and has not officially been released, could have
bugs, and may not act in a reliable fashion. Because the software is currently in beta, it is possible but not certain
that you may lose bitcoin or the value of your bitcoin. It is recommended that you store only nominal amounts of
bitcoins. You acknowledge that your use of this software is at your own discretion and in compliance with all
applicable laws. You are responsible for safekeeping your login IDs, passwords, private key pairs, PINs and any other
codes you use to access the software. IF YOU HAVE NOT SEPARATELY STORED A BACKUP OF ANY WALLET ADDRESSES AND PRIVATE
KEY PAIRS MAINTAINED IN YOUR ACCOUNT, YOU ACKNOWLEDGE AND AGREE THAT ANY BITCOINS YOU HAVE ASSOCIATED WITH SUCH WALLET
ADDRESSES WILL BECOME INACCESSIBLE IF YOU DO NOT HAVE YOUR ACCOUNT PASSWORD AND/OR PIN. All transaction requests are
irreversible. The authors of the software, employees and affiliates of Bitpay, copyright holders, and BitPay, Inc.
cannot retrieve your private keys or passwords if you lose or forget them and cannot guarantee transaction
confirmation as they do not have control over the Bitcoin network. You agree to provide accurate and complete
information in connection with your use of the account. You assume any and all risk associated with the use of the
software. To the fullest extent permitted by law, this software is provided “as is” and no representations or
warranties can be made of any kind, express or implied, including but not limited to the warranties of
merchantability, fitness or a particular purpose and noninfringement. In no event shall the authors of the software,
employees and affiliates of Bitpay, copyright holders, or BitPay, Inc. be held liable for any claim, damages or other
liability, whether in an action of contract, tort, or otherwise, arising from, out of or in connection with the
software or the use or other dealings in the software. We reserve the right to modify this disclaimer from time to
time.
</p>
<button class="success expand" ng-click="agreeDisclaimer()">I read and agree with these terms</button>
</div>
</div>
<div class="large-4 large-centered medium-6 medium-centered columns" ng-show="!$root.starting && !showDisclaimer">
<div class="logo-setup" ng-show="!$root.iden && !hideForWP">
<img src="img/logo-negative-beta.svg" alt="Copay" width="100">
<div ng-include="'views/includes/version.html'"></div>
</div>
<div class="p10 bg-success m20b text-white" ng-show="confirmedEmail">
<div class="left">
<i class="size-36 fi-check m10r"></i>
</div>
<div class="size-14">
<h3>
Your email was confimed!
</h3>
Please sign in to access your wallets
</div>
</div>
<div ng-if="askForPin">
<div class="clipo">
<img src="img/clipo-pin.png" alt="clipo" width="380">
</div>
<div class="box-notification" ng-show="error">
<div class="box-icon error">
<i class="fi-x size-24"></i>
</div>
<span class="text-warning size-14">
{{error|translate}}
</span>
</div>
<form name="setPinForm" ng-model="setPinForm" novalidate>
<div class="input" ng-show="askForPin == 1">
<input id="newpin" type="tel" ng-model="newpin" class="form-control" ng-maxlength="4" ng-minlength="4" maxlength="4" ng-pattern="/^[0-9]{1,4}$/" placeholder="PIN" name="newpin" required show-focus="askForPin == 1 && !isWindowsPhoneApp" ng-focus="formFocus()">
<i class="icon-locked"></i>
</div>
<div class="input" ng-show="askForPin == 2">
<input id="repeatpin" type="tel" ng-model="repeatpin" class="form-control" ng-maxlength="4" ng-minlength="4" maxlength="4" ng-pattern="/^[0-9]{1,4}$/" placeholder="Confirm your PIN" name="repeatpin" required show-focus="askForPin == 2 && !isWindowsPhoneApp" ng-focus="formFocus()">
<i class="icon-locked"></i>
</div>
<div class="row collapse">
<div class="large-6 medium-6 small-6 columns">
<a class="button secondary radius m0" ng-click="openWallets()">
<span translate>Skip</span>
</a>
</div>
<div class="large-6 medium-6 small-6 columns text-right">
<button translate ng-click="createPin(setPinForm.repeatpin.$modelValue)" class="button primary radius expand m0"
ng-disabled="setPinForm.$invalid || error">
OK
</button>
</div>
</div>
</form>
</div>
<div ng-if='$root.hasPin && !$root.iden'>
<div class="clipo" ng-hide="hideForWP">
<img src="img/clipo-pin-enter.png" alt="clipo" width="300">
</div>
<form name="pinForm" novalidate>
<div class="box-notification" ng-show="error">
<div class="box-icon error">
<i class="fi-x size-24"></i>
</div>
<span class="text-warning size-14">
{{error|translate}}
</span>
</div>
<div class="input">
<input id="pin" type="tel" ng-model="pin" class="form-control" ng-maxlength="4" ng-minlength="4" maxlength="4" ng-pattern="/^[0-9]{1,4}$/" placeholder="Pin number" name="pin" required ng-focus="formFocus()">
<i class="icon-locked"></i>
</div>
<div class="row collapse">
<div class="large-6 medium-6 small-6 columns">
<a class="button warning radius m0" ng-click="pinLogout()">
<i class="icon-power"></i>
<span translate>Logout</span>
</a>
</div>
<div class="large-6 medium-6 small-6 columns text-right">
<button translate ng-click="openWithPin(pinForm.pin.$modelValue)" class="button primary radius expand m0"
ng-disabled="pinForm.$invalid || error">
Sign in
</button>
</div>
</div>
</form>
</div>
<div ng-if='!$root.hasPin && !askForPin && !$root.iden'>
<div class="clipo" ng-hide="hideForWP">
<img src="img/clipo-signin.png" alt="clipo" width="310">
</div>
<div class="p10 m20b size-14 bg-success text-white" ng-show="anyWallet && !confirmedEmail && !error">
<div class="left">
<i class="size-36 fi-alert m10r"></i>
</div>
<b>Copay now needs a profile to access wallets.</b>
You can import your current wallets after
<a class="text-white" ng-click="$root.go('/createProfile')">creating your profile</a>
</div>
<div class="p10 bg-success m20b text-white" ng-show="pendingPayment">
<div class="left">
<i class="size-36 m10r"></i>
</div>
<div class="size-14">
Please sign in to make the payment
</div>
</div>
<form name="loginForm" ng-submit="openWithCredentials(loginForm)" novalidate>
<div class="box-notification" ng-show="error">
<div class="box-icon error">
<i class="fi-x size-24"></i>
</div>
<span class="text-warning size-14">
{{error|translate}}
</span>
</div>
<div class="input" ng-if="!usingLocalStorage">
<input type="email" ng-model="email" class="form-control" name="email" placeholder="Email" required show-focus="!isMobile" ng-focus="formFocus()">
<i class="icon-email"></i>
</div>
<div class="input" ng-if="usingLocalStorage">
<input type="text" ng-model="email" class="form-control" name="email" placeholder="Username" required show-focus="!isMobile" ng-focus="formFocus()">
<i class="icon-person"></i>
</div>
<div class="input">
<input type="password" ng-model="password" class="form-control" name="password" placeholder="Password" required ng-focus="formFocus()">
<i class="icon-locked"></i>
</div>
<button translate type="submit" class="button primary radius expand m0" ng-disabled="loginForm.$invalid">
Sign in
{{hideAll}}
</button>
</form>
aasdas
<div ng-if="usingLocalStorage" class="text-gray size-12 m10v">
* Using this device storage. Change to cloud storage on 'settings'.
</div>
<div class="box-setup-footer">
<div class="right">
<a class="button-setup text-gray" ng-click="$root.go('/settings')">
<i class="icon-wrench"></i>
<span translate>Settings</span>
</a>
</div>
<div class="left m10r">
<a class="button-setup text-gray" ng-click="$root.go('/createProfile')">
<i class="icon-person"></i>
<span translate>Create profile</span>
</a>
</div>
<div class="left">
<a class="button-setup text-gray" ng-click="$root.go('/importProfile')">
<i class="icon-upload"></i>
<span translate>Import</span>
</a>
</div>
</div>
</div>
</div>
</div>