Browse Source

web-ui: small visual improvements

title on tabset was removed on large screens, difficulty was rounded on latest
bloks view, last seen was transformed into moment tags in masternodes view
prometheus-integration
Mario Mejia 7 years ago
committed by Alexis Hernandez
parent
commit
18133eb925
  1. 4
      web-ui/src/app/components/latest-blocks/latest-blocks.component.html
  2. 6
      web-ui/src/app/components/masternodes/masternodes.component.html
  3. 2
      web-ui/src/app/components/richest-addresses/richest-addresses.component.html

4
web-ui/src/app/components/latest-blocks/latest-blocks.component.html

@ -1,5 +1,5 @@
<div> <div>
<div class="row"> <div class="row visible-xs">
<div class="col-xs-12"> <div class="col-xs-12">
<h2>{{'label.latestBlocks' | translate}}</h2> <h2>{{'label.latestBlocks' | translate}}</h2>
</div> </div>
@ -31,7 +31,7 @@
</td> </td>
<td>{{item.time * 1000 | amTimeAgo}}</td> <td>{{item.time * 1000 | amTimeAgo}}</td>
<td>{{item.transactions.length}}</td> <td>{{item.transactions.length}}</td>
<td>{{item.difficulty}}</td> <td>{{item.difficulty | number:'1.2-2'}}</td>
<td>{{extractedBy(item) | translate}}</td> <td>{{extractedBy(item) | translate}}</td>
</tr> </tr>
</tbody> </tbody>

6
web-ui/src/app/components/masternodes/masternodes.component.html

@ -1,5 +1,5 @@
<div> <div>
<div class="row"> <div class="row visible-xs">
<h2 class="col-xs-12">{{'label.masternodes' | translate}}</h2> <h2 class="col-xs-12">{{'label.masternodes' | translate}}</h2>
</div> </div>
@ -14,7 +14,7 @@
<th class="col-xs-2 col-sm-2 col-md-1 col-lg-1">{{'label.status' | translate}}</th> <th class="col-xs-2 col-sm-2 col-md-1 col-lg-1">{{'label.status' | translate}}</th>
--> -->
<th class="col-xs-2 col-md-1">{{'label.active' | translate}}</th> <th class="col-xs-2 col-md-1">{{'label.active' | translate}}</th>
<th class="col-xs-3 col-md-2">{{'label.lastSeen' | translate}}</th> <th class="col-xs-2">{{'label.lastSeen' | translate}}</th>
<th class="col-xs-2 col-md-1">{{'label.payee' | translate}}</th> <th class="col-xs-2 col-md-1">{{'label.payee' | translate}}</th>
</tr> </tr>
</thead> </thead>
@ -28,7 +28,7 @@
<td>{{item.status}}</td> <td>{{item.status}}</td>
--> -->
<td>{{Math.max(item.activeSeconds, 0) | amDuration:'seconds'}}</td> <td>{{Math.max(item.activeSeconds, 0) | amDuration:'seconds'}}</td>
<td>{{item.lastSeen * 1000 | date:'MMMM d, y, h:mm:ss a'}}</td> <td>{{item.lastSeen * 1000 | amTimeAgo}}</td>
<td> <td>
<a routerLink="/addresses/{{item.payee}}">{{item.payee}}</a> <a routerLink="/addresses/{{item.payee}}">{{item.payee}}</a>
</td> </td>

2
web-ui/src/app/components/richest-addresses/richest-addresses.component.html

@ -1,5 +1,5 @@
<div> <div>
<div class="row"> <div class="row visible-xs">
<h2 class="col-xs-12">{{'label.richestAddresses' | translate}}</h2> <h2 class="col-xs-12">{{'label.richestAddresses' | translate}}</h2>
</div> </div>

Loading…
Cancel
Save