item tx new style
This commit is contained in:
parent
0e63d8a220
commit
b3506b80cd
4 changed files with 113 additions and 32 deletions
45
css/main.css
45
css/main.css
|
|
@ -103,13 +103,13 @@ html, body {height: 100%;}
|
||||||
.pending .txheader {
|
.pending .txheader {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
border-bottom: 1px solid #eee;
|
/* border-bottom: 1px solid #eee; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.pending .txbottom {
|
.pending .txbottom {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
border-top: 1px solid #eee;
|
/* border-top: 1px solid #eee; */
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -236,7 +236,7 @@ hr { margin: 2.25rem 0;}
|
||||||
.m10h {margin:0 10px;}
|
.m10h {margin:0 10px;}
|
||||||
.m30a {margin: 30px auto;}
|
.m30a {margin: 30px auto;}
|
||||||
.br100 {border-radius: 100%;}
|
.br100 {border-radius: 100%;}
|
||||||
|
.lh {line-height: 0;}
|
||||||
.signin input.ng-dirty.ng-invalid {
|
.signin input.ng-dirty.ng-invalid {
|
||||||
border: 2px red solid;
|
border: 2px red solid;
|
||||||
}
|
}
|
||||||
|
|
@ -255,4 +255,43 @@ hr { margin: 2.25rem 0;}
|
||||||
border: 10px solid gray;
|
border: 10px solid gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tx-copayers {
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box-copayers {
|
||||||
|
padding: 0.5rem 2rem 0.5rem 1rem;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box-copayers figure {
|
||||||
|
width: 51px;
|
||||||
|
height: 55px;
|
||||||
|
border-top-left-radius: 4px 4px;
|
||||||
|
border-bottom-left-radius: 4px 4px;
|
||||||
|
overflow: hidden;
|
||||||
|
margin-right: 0.8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box-status {
|
||||||
|
width: 16px;
|
||||||
|
height: 55px;
|
||||||
|
border-top-right-radius: 4px 4px;
|
||||||
|
border-bottom-right-radius: 4px 4px;
|
||||||
|
float: left;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-status {
|
||||||
|
background: #2C3E50;
|
||||||
|
width: 16px;
|
||||||
|
float: left;
|
||||||
|
text-align: center;
|
||||||
|
display: block;
|
||||||
|
margin: 0.8px;
|
||||||
|
padding: 2.7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -100,10 +100,6 @@ body {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pending .txbottom {
|
|
||||||
border-top: 1px solid #eee;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btransactions .panel {
|
.btransactions .panel {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
@ -141,6 +137,30 @@ a.box-backup {
|
||||||
color:#C0392A;
|
color:#C0392A;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tx-copayers {
|
||||||
|
background: #F8F8F8;
|
||||||
|
-moz-box-shadow: inset 0px 0px 4px 0px rgba(0,0,0,0.05), inset 0px 1px 1px 0px rgba(0,0,0,0.05);
|
||||||
|
box-shadow: inset 0px 0px 4px 0px rgba(0,0,0,0.05), inset 0px 1px 1px 0px rgba(0,0,0,0.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
.box-copayers .icon-inactive {
|
||||||
|
color: #4C5B69;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box-copayers .icon-active {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box-copayers .icon-active-check {
|
||||||
|
color: #fff;
|
||||||
|
background: #3FBC9C;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box-copayers .icon-active-x {
|
||||||
|
color: #fff;
|
||||||
|
background: #C0392B;
|
||||||
|
}
|
||||||
|
|
||||||
small.is-valid {
|
small.is-valid {
|
||||||
color: #04B404;
|
color: #04B404;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
img/avatar.jpg
Normal file
BIN
img/avatar.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
72
index.html
72
index.html
|
|
@ -164,7 +164,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/ng-template" id="import.html">
|
<script type="text/ng-template" id="import.html">
|
||||||
<div ng-controller="ImportController">
|
<div ng-controller="ImportController">
|
||||||
<h3>{{title}}</h3>
|
<h3>{{title}}</h3>
|
||||||
|
|
@ -271,7 +271,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<!-- TRANSACTIONS -->
|
<!-- TRANSACTIONS -->
|
||||||
<script type="text/ng-template" id="transactions.html">
|
<script type="text/ng-template" id="transactions.html">
|
||||||
|
|
@ -283,13 +282,11 @@
|
||||||
<div class="txheader">
|
<div class="txheader">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="large-8 columns">
|
<div class="large-8 columns">
|
||||||
<table style="width:100%">
|
<div class="row" ng-repeat="out in tx.outs">
|
||||||
<tr ng-repeat="out in tx.outs">
|
<p class="large-3 columns"> {{out.value}} <i class="fi-bitcoin size-18"></i></p>
|
||||||
<td class="text-right size-24"> <i class="fi-bitcoin"></i> {{out.value}}</td>
|
<i class="large-1 columns fi-arrow-right size-24"> </i>
|
||||||
<td class="text-center size-48"> <i class="fi-arrow-right size-24"> </i></td>
|
<p class="large-8 columns"> {{out.address}} </p>
|
||||||
<td class="text-left size-24">{{out.address}}</td>
|
</div>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="large-4 columns text-right">
|
<div class="large-4 columns text-right">
|
||||||
<h6> created at {{tx.createdTs | date:'medium'}} </h6>
|
<h6> created at {{tx.createdTs | date:'medium'}} </h6>
|
||||||
|
|
@ -297,19 +294,47 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="tx-copayers">
|
||||||
<div class="large-12 columns">
|
<div class="box-copayers">
|
||||||
<table style="width:100%">
|
<figure class="left">
|
||||||
<tbody>
|
<img src="./img/avatar.jpg" alt="" width="200">
|
||||||
<tr>
|
</figure>
|
||||||
<small class="right text-gray">
|
<div class="box-status">
|
||||||
Fee: <strong> <i class="fi-bitcoin"></i> {{tx.fee}} </strong>
|
<i class="fi-crown size-12 icon-inactive icon-status"></i>
|
||||||
<strong> Proposal ID: </strong> {{tx.ntxid}}
|
<i class="fi-eye size-12 icon-active icon-status"></i>
|
||||||
</small>
|
<i class="fi-check size-12 icon-active-check icon-status"></i>
|
||||||
</tr>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="box-copayers">
|
||||||
|
<figure class="left">
|
||||||
|
<img src="./img/avatar.jpg" alt="" width="200">
|
||||||
|
</figure>
|
||||||
|
<div class="box-status">
|
||||||
|
<i class="fi-crown size-12 icon-inactive icon-status"></i>
|
||||||
|
<i class="fi-eye size-12 icon-active icon-status"></i>
|
||||||
|
<i class="fi-check size-12 icon-active-check icon-status"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="box-copayers">
|
||||||
|
<figure class="left">
|
||||||
|
<img src="./img/avatar.jpg" alt="" width="200">
|
||||||
|
</figure>
|
||||||
|
<div class="box-status">
|
||||||
|
<i class="fi-crown size-12 icon-inactive icon-status"></i>
|
||||||
|
<i class="fi-eye size-12 icon-active icon-status"></i>
|
||||||
|
<i class="fi-check size-12 icon-active-check icon-status"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<small class="right text-gray">
|
||||||
|
Fee: <strong> <i class="fi-bitcoin"></i> {{tx.fee}} </strong>
|
||||||
|
<strong> Proposal ID: </strong> {{tx.ntxid}}
|
||||||
|
</small>
|
||||||
|
<!--
|
||||||
|
<table>
|
||||||
<tr ng-repeat="(peer, actions) in tx.peerActions">
|
<tr ng-repeat="(peer, actions) in tx.peerActions">
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<div class="panel status">
|
|
||||||
<span ng-if="peer === $root.wallet.getMyCopayerId()"> You</span>
|
<span ng-if="peer === $root.wallet.getMyCopayerId()"> You</span>
|
||||||
{{peer}}
|
{{peer}}
|
||||||
|
|
||||||
|
|
@ -321,12 +346,9 @@
|
||||||
|
|
||||||
<a title="{{ts | date:'medium'}}"></a>
|
<a title="{{ts | date:'medium'}}"></a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</table>
|
||||||
</tbody>
|
-->
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="txbottom">
|
<div class="txbottom">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue