Skip to content

Commit 66ba3cc

Browse files
committed
Remove mempool page and add usage info to main page
1 parent 985cf91 commit 66ba3cc

File tree

3 files changed

+1
-94
lines changed

3 files changed

+1
-94
lines changed

views/header.phtml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<a href="?p=banlist"><i class="fa fa-ban"></i> Ban List </a>
4343
<a href="?p=blocks"><i class="fa fa-cube"></i> Blocks</a>
4444
<a href="?p=forks"><i class="fa fa-arrows-h"></i> Forks </a>
45-
<a href="?p=mempool"><i class="fa fa-database"></i> Memory Pool </a>
4645
<a href="?p=wallet"><i class="fa fa-money"></i> Wallet </a>
4746
<a href="?p=settings" ><i class="fa fa-cog"></i> Settings </a>
4847
<a href="?p=logout"><i class="fa fa-sign-out"></i> Logout </a>
@@ -75,7 +74,6 @@
7574
<ul class="nav child_menu" style="display: block;">
7675
<li <?php if($this->section=="forks") echo 'class="active"'; ?>><a href="?p=forks">Forks</a></li>
7776
</ul>
78-
<a href="?p=mempool" <?php if($this->section=="mempool") echo 'class="active"'; ?>><i class="fa fa-database"></i> Memory Pool </a>
7977
<a href="?p=wallet" <?php if($this->section=="wallet") echo 'class="active"'; ?>><i class="fa fa-money"></i> Wallet </a>
8078
<a href="?p=settings" <?php if($this->section=="settings") echo 'class="active"'; ?>><i class="fa fa-cog"></i> Settings </a>
8179
<a href="?p=logout"><i class="fa fa-sign-out"></i> Logout </a>

views/main.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
2626
<span class="count_top"><i class="fa fa-database"></i> TX in Mempool</span>
2727
<div class="count"><?= number_format($content['node']->mempoolTx) ?></div>
28-
<span class="count_bottom"><i class="<?= $content['node']->mempoolUsageP['color'] ?>"><i class="fa <?= $content['node']->mempoolUsageP['icon'] ?>"></i> <?= $content['node']->mempoolUsageP['value'] ?>%</i> Usage</span>
28+
<span class="count_bottom" title="<?= $content['node']->mempoolUsage ?> / <?= $content['node']->maxMempool ?> MB"><i class="<?= $content['node']->mempoolUsageP['color'] ?>"><i class="fa <?= $content['node']->mempoolUsageP['icon'] ?>"></i> <?= $content['node']->mempoolUsageP['value'] ?>%</i> Usage</span>
2929
</div>
3030
<div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
3131
<span class="count_top"><i class="fa fa-cube orange"></i> Lastest Block</span>

views/mempool.phtml

Lines changed: 0 additions & 91 deletions
This file was deleted.

0 commit comments

Comments
 (0)