mirror of https://github.com/BTCPrivate/copay.git
copayers status
This commit is contained in:
parent
e9dbf341fc
commit
2bd1ed6608
20
css/main.css
20
css/main.css
|
@ -106,20 +106,7 @@ html, body {height: 100%;}
|
|||
}
|
||||
|
||||
.transactions .panel.pending {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.pending .txheader {
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 10px;
|
||||
/* border-bottom: 1px solid #eee; */
|
||||
}
|
||||
|
||||
.pending .txbottom {
|
||||
margin-top: 10px;
|
||||
padding-top: 10px;
|
||||
/* border-top: 1px solid #eee; */
|
||||
font-size: 12px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.btransactions .txheader {
|
||||
|
@ -181,7 +168,7 @@ span.panel-res {
|
|||
}
|
||||
|
||||
.pending button {
|
||||
margin: 0;
|
||||
margin: 0 10px 0 0;
|
||||
}
|
||||
|
||||
.line {
|
||||
|
@ -239,6 +226,9 @@ hr { margin: 2.25rem 0;}
|
|||
.size-60 { font-size: 60px; }
|
||||
.size-72 { font-size: 72px; }
|
||||
.m10t {margin-top: 10px;}
|
||||
.m10r {margin-right: 10px;}
|
||||
.m10 {margin: 10px !important;}
|
||||
.m15 {margin: 15px !important;}
|
||||
.p10t {padding-top: 10px;}
|
||||
.p0r {padding-right: 0;}
|
||||
.p70r {padding-right: 70px;}
|
||||
|
|
|
@ -150,13 +150,35 @@ small.has-error {
|
|||
color: #f04124;
|
||||
}
|
||||
|
||||
button.primary { background-color: #111; }
|
||||
button.secondary { background-color: #FAE448 !important; }
|
||||
.panel.radius {
|
||||
-webkit-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
button.primary:hover { background-color: #333;}
|
||||
button.secondary:hover { background-color: #FFDF00 !important;}
|
||||
.transactions button, .transactions .button {
|
||||
padding: 0.5rem 2rem;
|
||||
}
|
||||
.small {
|
||||
font-size: 60%;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.text-gray { color: #999;}
|
||||
button.radius, .button.radius {
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
button.primary, button.secondary, button.primary:hover, button.secondary:hover {color: #fff !important;}
|
||||
|
||||
button.primary { background-color: #E67E22; }
|
||||
button.secondary { background-color: #1ABC9C !important; }
|
||||
button.warning { background-color: #C0392A; }
|
||||
|
||||
button.primary:hover { background-color: #D86601;}
|
||||
button.secondary:hover { background-color: #16A085 !important;}
|
||||
button.warning:hover { background-color: #82251A; }
|
||||
|
||||
.text-gray { color: #999 !important;}
|
||||
|
||||
#footer {
|
||||
background: #2C3E50;
|
||||
|
|
75
index.html
75
index.html
|
@ -54,7 +54,7 @@
|
|||
|
||||
<div class="row" ng-if='$root.flashMessage.message' notification>
|
||||
<div class="small-8 large-centered columns">
|
||||
<div data-alert class="alert-box round {{$root.flashMessage.type}}">
|
||||
<div data-alert class="alert-box radius {{$root.flashMessage.type}}">
|
||||
{{$root.flashMessage.message}}
|
||||
<a ng-click="clearFlashMessage()" class="close">×</a>
|
||||
</div>
|
||||
|
@ -62,7 +62,7 @@
|
|||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div ng-if='$root.wallet && !$root.wallet.publicKeyRing.isComplete() && !loading' data-alert class="alert-box warn round size-18" >
|
||||
<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">
|
||||
|
@ -131,7 +131,7 @@
|
|||
<!-- Templates -->
|
||||
<script type="text/ng-template" id="signin.html">
|
||||
<div class="signin" ng-controller="SigninController">
|
||||
<div data-alert class="alert-box info round" ng-show="loading">
|
||||
<div data-alert class="alert-box info radius" ng-show="loading">
|
||||
Looking for peers...
|
||||
</div>
|
||||
<div ng-show="!loading">
|
||||
|
@ -141,7 +141,7 @@
|
|||
<h3>Create a New Wallet</h3>
|
||||
</div>
|
||||
<div class="large-3 columns">
|
||||
<button class="button secondary expand round" ng-click="create()" ng-disabled="loading" loading="Creating">Create</button>
|
||||
<button class="button secondary expand radius" ng-click="create()" ng-disabled="loading" loading="Creating">Create</button>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
@ -155,7 +155,7 @@
|
|||
</select>
|
||||
</div>
|
||||
<div class="large-3 columns">
|
||||
<button class="button secondary expand round" type="button"
|
||||
<button class="button secondary expand radius" type="button"
|
||||
ng-click="open(selectedWalletId)" ng-disabled="loading" loading="Opening">Open</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -169,7 +169,7 @@
|
|||
ng-model="connectionId" required autofocus>
|
||||
</div>
|
||||
<div class="large-3 columns">
|
||||
<button class="button primary expand round"
|
||||
<button class="button primary expand radius"
|
||||
ng-click="join(connectionId)" ng-disabled="loading" loading="Joining">Join</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -202,7 +202,7 @@
|
|||
|
||||
<script type="text/ng-template" id="setup.html">
|
||||
<div ng-controller="SetupController">
|
||||
<div data-alert class="alert-box info round" ng-show="loading">
|
||||
<div data-alert class="alert-box info radius" ng-show="loading">
|
||||
Creating new wallet...
|
||||
</div>
|
||||
<div ng-show="!loading">
|
||||
|
@ -230,7 +230,7 @@
|
|||
|
||||
<div class="large-6 large-centered columns m30v">
|
||||
<hr>
|
||||
<button class="button primary round right" type="button"
|
||||
<button class="button primary radius right" type="button"
|
||||
ng-click="create(totalCopayers, requiredCopayers, walletName)">
|
||||
Create {{requiredCopayers}}-of-{{totalCopayers}} wallet
|
||||
</button>
|
||||
|
@ -262,7 +262,7 @@
|
|||
</div>
|
||||
<div class="columns text-center" ng-class="{'large-3' : addrs[0]}">
|
||||
<p> Create a New <strong> Address </strong> </p>
|
||||
<button class="secondary round expandi new-address" ng-click="newAddr()" ng-disabled="loading" loading="Creating"> Create </button>
|
||||
<button class="secondary radius expandi new-address" ng-click="newAddr()" ng-disabled="loading" loading="Creating"> Create </button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -275,9 +275,9 @@
|
|||
<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 pending" ng-repeat="tx in txs | orderBy: 'createdTs':true">
|
||||
<div class="panel radius pending" ng-repeat="tx in txs | orderBy: 'createdTs':true">
|
||||
<div class="txheader">
|
||||
<div class="row">
|
||||
<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>
|
||||
|
@ -316,52 +316,45 @@
|
|||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<small class="right text-gray">
|
||||
Fee: <strong> <i class="fi-bitcoin"></i> {{tx.fee}} </strong>
|
||||
<strong> Proposal ID: </strong> {{tx.ntxid}}
|
||||
</small>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="txbottom">
|
||||
<div class="row">
|
||||
<div class="large-6 columns" ng-show="!tx.sentTs">
|
||||
<div ng-show="tx.signedByUs">
|
||||
<i class="fi-check size-40"></i> Signed by you already
|
||||
</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 round" ng-click="sign(tx.ntxid)" ng-disabled="loading" loading="Signing">
|
||||
<button class="secondary radius m10r" ng-click="sign(tx.ntxid)" ng-disabled="loading" loading="Signing">
|
||||
<i class="fi-check"></i> Sign
|
||||
</button>
|
||||
<button class="primary round" ng-click="reject(tx.ntxid)" ng-disabled="loading" loading>
|
||||
<button class="warning radius" ng-click="reject(tx.ntxid)" ng-disabled="loading" loading>
|
||||
<i class="fi-x" ></i> Reject
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="large-6 columns text-right">
|
||||
<span ng-show="tx.finallyRejected ">
|
||||
Transaction finally rejected
|
||||
</span>
|
||||
|
||||
<span ng-show="!tx.missingSignatures && !tx.sentTs">
|
||||
Transaction ready.
|
||||
<button class="secondary round" ng-click="send(tx.ntxid)" ng-disabled="loading" loading="Broadcasting">
|
||||
<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>
|
||||
|
||||
<span ng-show="!tx.missingSignatures && tx.sentTs">
|
||||
<div class="large-8 columns text-right">
|
||||
<span ng-show="tx.finallyRejected">
|
||||
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'}}
|
||||
TXID: {{tx.sentTxid}}
|
||||
</span>
|
||||
<span ng-show="!tx.finallyRejected && tx.missingSignatures==1">
|
||||
</a>
|
||||
</p>
|
||||
<p class="text-gray" ng-show="!tx.finallyRejected && tx.missingSignatures==1">
|
||||
One signature missing
|
||||
</span>
|
||||
<span ng-show="!tx.finallyRejected && tx.missingSignatures>1">
|
||||
{{tx.missingSignatures}} signatures missing</span>
|
||||
</div>
|
||||
</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>
|
||||
|
@ -459,7 +452,7 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="large-5 columns">
|
||||
<button type="submit" class="button secondary round text-center" ng-disabled="sendForm.$invalid || loading" loading="Sending">
|
||||
<button type="submit" class="button secondary radius text-center" ng-disabled="sendForm.$invalid || loading" loading="Sending">
|
||||
Send
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue