mirror of https://github.com/BTCPrivate/copay.git
606 lines
28 KiB
HTML
606 lines
28 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width">
|
|
<title>Copay - Multisignature Wallet</title>
|
|
<link rel="stylesheet" href="css/foundation.min.css">
|
|
<link rel="stylesheet" href="css/foundation-icons.css">
|
|
<link rel="stylesheet" href="css/main.css">
|
|
</head>
|
|
<body ng-cloak class="ng-cloak">
|
|
<div id="wrap">
|
|
<div data-ng-init="init()" data-ng-controller="HeaderController">
|
|
<div class="header">
|
|
<div class="header-content">
|
|
<div class="large-3 medium-3 columns">
|
|
<span class="logo"></span>
|
|
</div>
|
|
<div class="large-9 medium-9 columns text-center p10t" ng-show="$root.wallet">
|
|
<div class="large-4 medium-4 columns line-dashed-v">
|
|
<a href="#/addresses" class="has-tip" tooltip-placement="bottom" tooltip="{{$root.wallet.id}}">
|
|
<strong><span>{{$root.getWalletDisplay()}}</span></strong>
|
|
</a>
|
|
<a class="button radius small-icon" title="Manual Refresh"
|
|
ng-disabled="$root.loading"
|
|
ng-click="refresh()"><i class="fi-refresh"></i></a>
|
|
<a class="button radius small-icon" title="Signout"
|
|
ng-click="signout()"><i class="fi-power"></i></a>
|
|
</div>
|
|
<div class="large-4 medium-4 columns line-dashed-v">
|
|
Balance: {{totalBalance || 0}} <i class="fi-bitcoin"></i><br>
|
|
</div>
|
|
<div class="large-4 medium-4 columns">
|
|
Available to Spend: {{availableBalance || 0}} <i class="fi-bitcoin"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<nav class="top-bar" data-topbar ng-show="$root.wallet">
|
|
<ul class="title-area">
|
|
<li class="name"></li>
|
|
<li class="toggle-topbar menu-icon">
|
|
<a ng-click="isCollapsed=!isCollapsed"> Menu</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<section class="top-bar-section {{isCollapsed && 'hide_menu' || 'show_menu'}}">
|
|
<ul>
|
|
<li data-ng-repeat="item in menu" ui-route="/{{item.link}}" class="text-center" data-ng-class="{active: isActive(item)}">
|
|
<a href="{{item.link}}"> <i class="{{item.icon}}"></i> {{item.title}}</a>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
<div class="row" ng-if='$root.flashMessage.message' notification>
|
|
<div class="small-8 large-centered columns">
|
|
<div data-alert class="alert-box radius {{$root.flashMessage.type}}">
|
|
{{$root.flashMessage.message}}
|
|
<a ng-click="clearFlashMessage()" class="close">×</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div ng-if='$root.wallet && !$root.wallet.publicKeyRing.isComplete() && !loading' data-alert class="alert-box warn radius size-18" >
|
|
|
|
|
|
<div style="float:left; margin:0 15px">
|
|
<i class="fi-alert size-60"></i>
|
|
</div>
|
|
|
|
<div class="size-18">
|
|
Note: Your wallet is not complete yet.
|
|
<span ng-show="$root.wallet.publicKeyRing.totalCopayers - $root.wallet.publicKeyRing.registeredCopayers()>1">
|
|
{{$root.wallet.publicKeyRing.totalCopayers - $root.wallet.publicKeyRing.registeredCopayers() }} keys are
|
|
</span>
|
|
<span ng-show="$root.wallet.publicKeyRing.totalCopayers - $root.wallet.publicKeyRing.registeredCopayers()==1">
|
|
One key is
|
|
</span>
|
|
missing.
|
|
</div>
|
|
|
|
<div class="size-18">
|
|
Share this secret with your other copayers for them to join your wallet <br>
|
|
</div>
|
|
<div class="size-24">
|
|
<b>{{$root.wallet.getSecret()}}</b>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="main" class="row">
|
|
<div class="large-12 columns" ng-view></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="footer" data-ng-controller="FooterController" ng-show="$root.wallet">
|
|
<link rel="stylesheet" ng-href="{{theme}}">
|
|
<div class="row">
|
|
<div class="large-3 medium-3 columns m10t">
|
|
<div>
|
|
<strong>{{$root.getWalletDisplay()}}</strong>
|
|
</div>
|
|
<div class="size-12 m10t">
|
|
{{$root.wallet.requiredCopayers}}-of-{{$root.wallet.totalCopayers}} wallet
|
|
</div>
|
|
<div class="size-12 m10t" ng-if="themes.length > 1">
|
|
<a class="size-12" ng-click="change_theme(th)" ng-repeat="th in themes">{{th}} {{$last ? '' : '· '}}</a>
|
|
</div>
|
|
</div>
|
|
<div class="large-9 medium-9 columns">
|
|
<div class="bottom-copay"
|
|
ng-repeat="c in $root.wallet.getRegisteredPeerIds()">
|
|
<video
|
|
ng-class="($root.wallet.getOnlinePeerIDs().indexOf(c.peerId) != -1) ? 'online' : 'offline'"
|
|
class="video-small"
|
|
autoplay ng-show="$root.videoSrc[c.peerId]"
|
|
ng-src="{{$root.getVideoURL(c.peerId)}}"
|
|
id="{{c.peerId + '-video'}}" muted="true"
|
|
title="{{c.peerId + (c.peerId == $root.wallet.network.peerId?' (You)':'')}}" ></video>
|
|
<img ng-show="!$root.videoSrc[c.peerId]"
|
|
ng-class="($root.wallet.getOnlinePeerIDs().indexOf(c.peerId) != -1) ? 'online' : 'offline'"
|
|
class="video-small"
|
|
src="./img/satoshi.gif"
|
|
title="{{c.peerId + (c.peerId == $root.wallet.network.peerId?' (You)':'')}}" />
|
|
<span ng-if="c.nick" style="position:absolute; bottom:-10px; width: 80px; overflow: hidden;">{{c.nick}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Templates -->
|
|
<script type="text/ng-template" id="signin.html">
|
|
<div class="signin" ng-controller="SigninController">
|
|
<div data-alert class="alert-box info radius" ng-show="loading">
|
|
Looking for peers...
|
|
</div>
|
|
<div ng-show="!loading">
|
|
<div class="row">
|
|
<div class="large-6 columns">
|
|
<div class="box-signin">
|
|
<h3>Join a Wallet in Creation</h3>
|
|
<input type="text" class="form-control" placeholder="Paste wallet secret here" ng-model="connectionId" required autofocus>
|
|
<input type="text" class="form-control" placeholder="Your name (optional)" ng-model="nickname">
|
|
<button class="button primary expand radius" ng-click="join(connectionId,nickname)" ng-disabled="loading" loading="Joining">Join</button>
|
|
</div>
|
|
</div>
|
|
<div class="large-6 columns">
|
|
<div class="box-signin">
|
|
<div ng-show="wallets.length">
|
|
<h3>Open Wallet</h3>
|
|
<select class="form-control" ng-model="selectedWalletId" ng-options="w.id as w.show for w in wallets">
|
|
</select>
|
|
<button class="button secondary expand radius" type="button" ng-click="open(selectedWalletId)" ng-disabled="loading" loading="Opening">Open</button>
|
|
</div>
|
|
<div ng-show="!wallets.length">
|
|
<h3>Create a new wallet</h3>
|
|
<input type="text" class="form-control" ng-model="walletName" placeholder="Wallet name (optional)">
|
|
<button class="button secondary expand radius" ng-click="create(walletName)" ng-disabled="loading" loading="Creating">Create</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="large-12 columns text-center line-dashed">
|
|
<span ng-show="wallets.length">
|
|
<a ng-click="create()" ng-disabled="loading" loading="Creating">Create a new wallet</a> ·
|
|
</span>
|
|
<a ng-href="#import">Import from file</a>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div> <!-- End !loading -->
|
|
</div>
|
|
</script>
|
|
|
|
<script type="text/ng-template" id="import.html">
|
|
<div ng-controller="ImportController">
|
|
<h3>{{title}}</h3>
|
|
|
|
<div class="large-6 columns">
|
|
<input type="file" class="form-control" placeholder="Select a backup file" ng-model="backupFile" autofocus="" ng-file-select>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
|
|
<script type="text/ng-template" id="setup.html">
|
|
<div ng-controller="SetupController">
|
|
<div data-alert class="alert-box info radius" ng-show="loading">
|
|
Creating new wallet...
|
|
</div>
|
|
<div ng-show="!loading">
|
|
<div class="row">
|
|
<div class="small-12 medium-8 medium-centered large-8 large-centered columns box-setup">
|
|
<div class="large-6 columns line-dashed-v">
|
|
<h6>Select total number of copayers</h6>
|
|
<select ng-model="totalCopayers"
|
|
ng-options="totalCopayers as totalCopayers for totalCopayers in TCValues">
|
|
</select>
|
|
</div>
|
|
<div class="large-6 columns">
|
|
<h6>Select required number of signatures</h6>
|
|
<select ng-model="requiredCopayers"
|
|
ng-options="requiredCopayers as requiredCopayers for requiredCopayers in RCValues">
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="small-12 medium-6 medium-centered large-6 large-centered columns m30v">
|
|
<div class="box-setup-copayers">
|
|
<div class="box-setup-copayers-fix">
|
|
<img class="box-setup-copay" ng-repeat="i in getNumber(totalCopayers) track by $index" src="./img/satoshi.gif" alt="Copayer {{$index+1}}-{{totalCopayers}}" ng-class="{'box-setup-copay-required': ($index+1) <= requiredCopayers}">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="small-12 medium-6 medium-centered large-6 large-centered columns m30v">
|
|
<h6>Wallet Password</h6>
|
|
<input type="password" ng-model="walletPassword" placeholder="My wallet password" class="form-control" required>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="small-12 medium-6 medium-centered large-6 large-centered columns m30v">
|
|
<h6>Wallet name (optional)</h6>
|
|
<input type="text" class="form-control" ng-model="walletName" placeholder="Enter wallet name">
|
|
</div>
|
|
<div class="large-6 large-centered columns m30v">
|
|
<h6>Your name (optional)</h6>
|
|
<input ng-model="myNickname" placeholder="" class="size-24" style="width:100%">
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="large-12 columns line-dashed">
|
|
<button class="button primary radius right" type="button"
|
|
ng-click="create(totalCopayers, requiredCopayers, walletName, myNickname)">
|
|
Create {{requiredCopayers}}-of-{{totalCopayers}} wallet
|
|
</button>
|
|
<a class="button secondary radius" href="#signin">Go back</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
|
|
<script type="text/ng-template" id="password.html">
|
|
<div class="" ng-controller="PasswordController">
|
|
<h3>Enter your password</h3>
|
|
<div class="large-6 columns">
|
|
<input type="password" class="form-control" placeholder="Enter your passwor" ng-model="password" autofocus required>
|
|
<button type="submit" class="button secondary round text-center" ng-click="getPassphrase()">Send</button>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
|
|
<script type="text/ng-template" id="peer.html">
|
|
<div class="row" ng-if="$root.wallet.requiredCopayers > $root.wallet.network.connectedCopayers().length">
|
|
<div class="large-12 columns p70l">
|
|
<p class="text-info"> <i class="fi-alert size-28"></i>
|
|
{{$root.wallet.requiredCopayers}} copayers needed for signing transactions
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="large-4 columns"
|
|
ng-repeat="copayer in $root.wallet.getRegisteredPeerIds()">
|
|
<video
|
|
ng-class="($root.wallet.getOnlinePeerIDs().indexOf(copayer) != -1) ? 'online' : 'offline'"
|
|
class="video-small"
|
|
autoplay ng-show="$root.videoSrc[copayer]"
|
|
ng-src="{{$root.getVideoURL(copayer)}}"
|
|
id="{{copayer + '-video'}}" muted="true"
|
|
title="{{copayer + (copayer == $root.wallet.network.peerId?' (You)':'')}}" ></video>
|
|
<img ng-show="!$root.videoSrc[copayer]"
|
|
ng-class="($root.wallet.getOnlinePeerIDs().indexOf(copayer) != -1) ? 'online' : 'offline'"
|
|
class="video-small"
|
|
src="./img/satoshi.gif"
|
|
title="{{copayer + (copayer == $root.wallet.network.peerId?' (You)':'')}}" />
|
|
</div>
|
|
</div>
|
|
</script>
|
|
|
|
<!-- ADDRESS -->
|
|
<script type="text/ng-template" id="addresses.html">
|
|
<div class="addresses" data-ng-controller="AddressesController">
|
|
<div ng-show='$root.wallet.publicKeyRing.isComplete()'>
|
|
<div class="row">
|
|
<div class="large-9 columns" ng-if="addrInfos[0]">
|
|
<div class="large-8 columns">
|
|
<a class="panel db" ng-repeat="addrInfo in addrInfos"
|
|
ng-click="selectAddr(addrInfo.address.toString())">
|
|
<span>{{addrInfo.address.toString()}}</span>
|
|
<span ng-if="addrInfo.isChange">(change)</span>
|
|
<span class="right">
|
|
<span ng-if="$root.loading">...</span>
|
|
<span ng-if="!$root.loading">{{balanceByAddr[addrInfo.address.toString()] || 0}}</span>
|
|
<i class="fi-bitcoin"></i>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
<div class="large-4 columns line-dashed-v text-center">
|
|
<qrcode size="160" data="{{selectedAddr}}"></qrcode>
|
|
<p class="m10t">
|
|
<strong>
|
|
<span ng-if="$root.loading">...</span>
|
|
<span ng-if="!$root.loading">{{balanceByAddr[selectedAddr] || 0}}</span>
|
|
<i class="fi-bitcoin"></i>
|
|
</strong>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="columns text-center" ng-class="{'large-3' : !!addrInfos[0]}">
|
|
<p> Create a New <strong> Address </strong> </p>
|
|
<button class="secondary radius expandi new-address" ng-click="newAddr()"
|
|
ng-disabled="loading" loading="Creating"> Create </button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
|
|
<!-- TRANSACTIONS -->
|
|
<script type="text/ng-template" id="transactions.html">
|
|
<div class="transactions" data-ng-controller="TransactionsController">
|
|
<div class="row" ng-show='$root.wallet.publicKeyRing.isComplete()'>
|
|
<div class="large-12 columns">
|
|
<h4>Transactions proposals <small>({{txs.length}})</small></h4>
|
|
<div class="panel radius pending" ng-repeat="tx in txs | orderBy: 'createdTs':true">
|
|
<div class="txheader">
|
|
<div class="row m10">
|
|
<div class="large-8 columns">
|
|
<div class="row" ng-repeat="out in tx.outs">
|
|
<p class="large-3 columns"> {{out.value}} <i class="fi-bitcoin size-18"></i></p>
|
|
<i class="large-1 columns fi-arrow-right size-24"> </i>
|
|
<p class="large-8 columns"> {{out.address}} </p>
|
|
</div>
|
|
</div>
|
|
<div class="large-4 columns text-right">
|
|
<h6> created at {{tx.createdTs | date:'medium'}} </h6>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tx-copayers">
|
|
|
|
<div class="box-copayers" ng-repeat="(cId, actions) in tx.peerActions">
|
|
<figure class="left">
|
|
<a href="#/transactions" class="has-tip" tooltip-popup-delay='1000' tooltip="{{cId === $root.wallet.getMyCopayerId() ? 'You' : $root.wallet.publicKeyRing.nicknameForCopayer(cId)}}">
|
|
<img src="./img/satoshi.gif" alt="cId" width="200">
|
|
</a>
|
|
</figure>
|
|
<div class="box-status">
|
|
<span ng-repeat="(action, ts) in actions">
|
|
<a ng-if="action == 'create'" href="#/transactions" class="has-tip" tooltip-popup-delay='1000' tooltip="Created at {{ts | date:'medium'}}">
|
|
<i class="fi-crown size-12 icon-status icon-active"></i>
|
|
</a>
|
|
<a ng-if="action == 'seen'" href="#/transactions" class="has-tip" tooltip-popup-delay='1000' tooltip="Seen at {{ts | date:'medium'}}">
|
|
<i class="fi-eye size-12 icon-status icon-active"></i>
|
|
</a>
|
|
<a ng-if="action == 'sign'" href="#/transactions" class="has-tip" tooltip-popup-delay='1000' tooltip="Signed at {{ts | date:'medium'}}">
|
|
<i class="fi-check size-12 icon-status icon-active-check"></i>
|
|
</a>
|
|
<a ng-if="action == 'rejected'" href="#/transactions" class="has-tip" tooltip-popup-delay='1000' tooltip="Rejected at {{ts | date:'medium'}}">
|
|
<i class="fi-x size-12 icon-status icon-active-x"></i>
|
|
</a>
|
|
</span>
|
|
</div>
|
|
|
|
<div class="text-center" style="margin-right:16px; color:#999; font-size:12px">
|
|
{{$root.wallet.publicKeyRing.nicknameForCopayer(cId)}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row m15">
|
|
<div class="large-4 columns" ng-show="!tx.sentTs" style="padding-left: 5px;">
|
|
<div ng-show="!tx.signedByUs && !tx.rejectedByUs && !tx.finallyRejected && tx.missingSignatures">
|
|
<button class="secondary radius m10r" ng-click="sign(tx.ntxid)" ng-disabled="loading" loading="Signing">
|
|
<i class="fi-check"></i> Sign
|
|
</button>
|
|
<button class="warning radius" ng-click="reject(tx.ntxid)" ng-disabled="loading" loading>
|
|
<i class="fi-x" ></i> Reject
|
|
</button>
|
|
</div>
|
|
|
|
<span ng-show="!tx.missingSignatures && !tx.sentTs">
|
|
<button class="primary radius" ng-click="send(tx.ntxid)" ng-disabled="loading" loading="Broadcasting"> <i class=".fi-upload-cloud"></i>
|
|
Broadcast Transaction
|
|
</button>
|
|
</span>
|
|
</div>
|
|
|
|
<div class="large-8 columns text-right">
|
|
<span ng-show="tx.finallyRejected" class="text-warning">
|
|
Transaction finally rejected
|
|
</span>
|
|
<p class="small" ng-show="!tx.missingSignatures && tx.sentTs">
|
|
<a href="http://live.insight.is/tx/{{tx.sentTxid}}" target="blank">
|
|
<i class="fi-arrow-right size-40"></i>
|
|
Sent at {{tx.sentTs | date:'medium'}}
|
|
</a>
|
|
</p>
|
|
<p class="text-gray" ng-show="!tx.finallyRejected && tx.missingSignatures==1">
|
|
One signature missing
|
|
</p>
|
|
<p class="text-gray" ng-show="!tx.finallyRejected && tx.missingSignatures>1">
|
|
{{tx.missingSignatures}} signatures missing</p>
|
|
<small class="right text-gray">
|
|
<strong> Fee: </strong> <i class="fi-bitcoin"></i> {{tx.fee}}
|
|
<strong> Proposal ID: </strong> {{tx.ntxid}}
|
|
</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="large-12 columns" ng-init="getTransactions()" ng-show="blockchain_txs[0].txid">
|
|
<h3>Last transactions</h3>
|
|
<div class="btransactions">
|
|
<div class="panel radius" ng-repeat="btx in blockchain_txs | orderBy: 'firstSeenTs':true">
|
|
<div class="m15">
|
|
<div class="row">
|
|
<div class="large-8 columns">
|
|
ID: {{btx.txid}}
|
|
</div>
|
|
<div class="large-4 columns text-right">
|
|
{{btx.firstSeenTs * 1000 | date:'medium'}} </h6>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="tx-copayers">
|
|
<div class="large-5 columns">
|
|
<div ng-repeat="vin in btx.vin">
|
|
<p class="left text-gray size-12"> {{vin.addr}} </p>
|
|
<small class="right">{{vin.value}}</small>
|
|
</div>
|
|
</div>
|
|
<div class="large-1 columns text-center">
|
|
<i class="fi-arrow-right"></i>
|
|
</div>
|
|
<div class="large-6 columns">
|
|
<div ng-repeat="vout in btx.vout">
|
|
<div class="row">
|
|
<div class="large-10 columns">
|
|
<div ng-repeat="addr in vout.scriptPubKey.addresses">
|
|
<p class="text-gray size-12"> {{addr}} </p>
|
|
</div>
|
|
</div>
|
|
<div class="large-2 columns">
|
|
<small>{{vout.value}}</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="m15 size-12 text-gray">
|
|
<div class="row">
|
|
<div class="large-4 columns">Fees: {{btx.fees}}</div>
|
|
<div class="large-4 columns text-center">Confirmations: {{btx.confirmations || 0}}</div>
|
|
<div class="large-4 columns text-right">Total: {{btx.valueOut}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
|
|
<!-- SEND -->
|
|
<script type="text/ng-template" id="send.html">
|
|
<div class="send" data-ng-controller="SendController">
|
|
<div class="row" ng-show='$root.wallet.publicKeyRing.isComplete()'>
|
|
<div class="small-6 large-centered columns">
|
|
<h3>{{title}}</h3>
|
|
<form name="sendForm" ng-submit="submitForm(sendForm)" novalidate>
|
|
<div class="row">
|
|
<div class="large-12 columns">
|
|
<label for="address">To address
|
|
<small ng-hide="!sendForm.address.$pristine">required</small>
|
|
<small class="is-valid" ng-show="!sendForm.address.$invalid && !sendForm.address.$pristine">valid!</small>
|
|
<small class="has-error" ng-show="sendForm.address.$invalid && !sendForm.address.$pristine">
|
|
not valid</small>
|
|
</label>
|
|
<input type="text" id="address" name="address" placeholder="Send to" ng-model="address" valid-address required>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="large-6 columns">
|
|
<div class="row collapse">
|
|
<label for="amount">Amount
|
|
<small ng-hide="!sendForm.amount.$pristine">required</small>
|
|
<small class="is-valid" ng-show="!sendForm.amount.$invalid && !sendForm.amount.$pristine">valid!</small>
|
|
<small class="has-error" ng-show="sendForm.amount.$invalid && !sendForm.amount.$pristine">
|
|
not valid.</small>
|
|
<small ng-show="notEnoughAmount">{{notEnoughAmount}}</small>
|
|
</label>
|
|
<div class="small-9 columns">
|
|
<input type="number" id="amount" name="amount" placeholder="Amount" ng-model="amount" min="0.0001" max="10000000" enough-amount required>
|
|
</div>
|
|
<div class="small-3 columns">
|
|
<span class="postfix">BTC</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="large-5 columns">
|
|
<button type="submit" class="button secondary radius text-center" ng-disabled="sendForm.$invalid || loading" loading="Sending">
|
|
Send
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
|
|
<!-- BACKUP -->
|
|
<script type="text/ng-template" id="backup.html">
|
|
<div class="backup" data-ng-controller="BackupController">
|
|
<h3>{{title}}</h3>
|
|
<div class="row text-center">
|
|
<div class="large-4 columns">
|
|
<a class="panel box-backup" ng-click="download()">
|
|
<i class="fi-download size-72"></i>
|
|
<p> Download File </p>
|
|
</a>
|
|
</div>
|
|
<div class="large-4 columns">
|
|
<a class="panel box-backup" ng-click="dropbox()">
|
|
<i class="fi-social-dropbox size-72"></i>
|
|
<p> Backup to Dropbox </p>
|
|
</a>
|
|
</div>
|
|
<div class="large-4 columns">
|
|
<a class="panel box-backup" ng-click="email()">
|
|
<i class="fi-mail size-72"></i>
|
|
<p> Backup to email </p>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
|
|
<!-- / <div class="large-4 columns box-backup">Backup to Dropbox</div>
|
|
// <div class="large-4 columns box-backup">Backup to email</div> -->
|
|
<!-- NOT FOUND -->
|
|
<script type="text/ng-template" id="404.html">
|
|
<h2 class="text-center">404</h2>
|
|
<h3 class="text-center">Page not found</h3>
|
|
<p class="text-center"><a href="#/">go back...</a></p>
|
|
</script>
|
|
|
|
<script src="config.js"></script>
|
|
|
|
<script src="lib/angular/angular.min.js"></script>
|
|
<script src="lib/qrcode-generator/js/qrcode.js"></script>
|
|
<script src="lib/angular-qrcode/qrcode.js"></script>
|
|
<script src="lib/angular-route/angular-route.min.js"></script>
|
|
<script src="lib/angular-foundation/mm-foundation.min.js"></script>
|
|
<script src="lib/angular-foundation/mm-foundation-tpls.min.js"></script>
|
|
<script src="lib/peerjs/peer.js"></script>
|
|
<script src="lib/bitcore.js"></script>
|
|
<script src="lib/crypto-js/rollups/sha256.js"></script>
|
|
<script src="lib/crypto-js/rollups/pbkdf2.js"></script>
|
|
<script src="lib/crypto-js/rollups/aes.js"></script>
|
|
<script src="lib/file-saver/FileSaver.js"></script>
|
|
<script src="lib/socket.io.js"></script>
|
|
<script src="lib/sjcl.js"></script>
|
|
<script src="js/copayBundle.js"></script>
|
|
|
|
<script src="js/app.js"></script>
|
|
<script src="js/routes.js"></script>
|
|
<script src="js/directives.js"></script>
|
|
<script src="js/filters.js"></script>
|
|
<script src="js/services/socket.js"></script>
|
|
<script src="js/services/video.js"></script>
|
|
<script src="js/services/walletFactory.js"></script>
|
|
<script src="js/services/controllerUtils.js"></script>
|
|
<script src="js/services/passphrase.js"></script>
|
|
|
|
<script src="js/controllers/header.js"></script>
|
|
<script src="js/controllers/footer.js"></script>
|
|
<script src="js/controllers/addresses.js"></script>
|
|
<script src="js/controllers/transactions.js"></script>
|
|
<script src="js/controllers/send.js"></script>
|
|
<script src="js/controllers/backup.js"></script>
|
|
<script src="js/controllers/signin.js"></script>
|
|
<script src="js/controllers/setup.js"></script>
|
|
<script src="js/controllers/import.js"></script>
|
|
<script src="js/controllers/password.js"></script>
|
|
|
|
<script src="js/init.js"></script>
|
|
</body>
|
|
</html>
|