tx-details

This commit is contained in:
Bechi 2014-04-21 13:23:39 -03:00
parent 5cfff0a189
commit f0a4dd6cf6
2 changed files with 26 additions and 10 deletions

View File

@ -81,6 +81,10 @@ body {
border:0;
}
.panel.status {
margin: 0;
}
/*.panel:hover {
background: #efefef;
color: #111;
@ -91,7 +95,7 @@ body {
}
.transactions .panel {
background: #ECECEC;
background: #f5f5f5;
border: 1px solid #eee;
}
@ -213,6 +217,8 @@ small.has-error {
}
}
tr { background: none !important;}
hr { margin: 2.25rem 0;}
button.primary { background-color: #111; }
@ -221,6 +227,7 @@ button.secondary { background-color: #FAE448 !important; }
button.primary:hover { background-color: #333;}
button.secondary:hover { background-color: #FFDF00 !important;}
.text-gray { color: #999;}
.pr {position: relative;}
.m0 {margin: 0;}
.db {display: block;}
@ -241,6 +248,7 @@ button.secondary:hover { background-color: #FFDF00 !important;}
.p5h {padding: 0 5px;}
.p20h {padding: 0 20px;}
.m30v {margin: 30px 0;}
.m10h {margin:0 10px;}
.m30a {margin: 30px auto;}
.br100 {border-radius: 100%;}

View File

@ -263,18 +263,26 @@
<tbody>
<tr ng-repeat="o in tx.outs">
<td class="text-right size-24">{{o.value}} <i class="fi-bitcoin"></i></td>
<td class="text-center size-48"> <i class="fi-arrow-right size-40">
<td class="text-center size-48"> <i class="fi-arrow-right size-40"> </i>
<td class="text-left size-24">{{o.address}}</td>
</tr>
<tr ng-repeat="(peer, actions) in tx.peerActions">
<td colspan="3" >
<span ng-if="peer == $root.wallet.network.peerId"> You</span>
<span ng-if="peer != $root.wallet.network.peerId"> {{peer}}</span>
:
<span ng-repeat="(action, ts) in actions">
<a title="{{ts | date:'medium'}}"> {{action}}</a>
</span>
</tr>
<td colspan="3">
<div class="panel status">
<span ng-if="peer == $root.wallet.network.peerId"> You
</span>
<span ng-if="peer != $root.wallet.network.peerId"> {{peer}}</span>
<span ng-repeat="(action, ts) in actions">
<span ng-if="action == 'create'" title="{{ts | date:'medium'}}" class="fi-page-add size-18 right m10h"></span>
<span ng-if="action == 'seen'" title="{{ts | date:'medium'}}" class="fi-eye size-18 right m10h"> </span>
<span ng-if="action == 'sign'" title="{{ts | date:'medium'}}" class="fi-check size-18 right m10h"> </span>
<a title="{{ts | date:'medium'}}"></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>