|
|
|
@ -1,49 +1,14 @@ |
|
|
|
|
<div class="stakes-top"> |
|
|
|
|
<div class="container"> |
|
|
|
|
<div class="stakes-top-stats"> |
|
|
|
|
<!-- Epoch number --> |
|
|
|
|
<div class="stakes-top-stats-item"> |
|
|
|
|
<span class="stakes-top-stats-label"> |
|
|
|
|
<%= gettext "Epoch number" %> |
|
|
|
|
</span> |
|
|
|
|
<span class="stakes-top-stats-value">6</span> |
|
|
|
|
</div> |
|
|
|
|
<!-- Block number --> |
|
|
|
|
<div class="stakes-top-stats-item"> |
|
|
|
|
<span class="stakes-top-stats-label"> |
|
|
|
|
<%= gettext "Block number" %> |
|
|
|
|
</span> |
|
|
|
|
<span class="stakes-top-stats-value">348</span> |
|
|
|
|
</div> |
|
|
|
|
<!-- Next epoch --> |
|
|
|
|
<div class="stakes-top-stats-item"> |
|
|
|
|
<span class="stakes-top-stats-label"> |
|
|
|
|
<%= gettext "Next epoch in" %> |
|
|
|
|
</span> |
|
|
|
|
<span class="stakes-top-stats-value">999 blocks</span> |
|
|
|
|
</div> |
|
|
|
|
<!-- Address --> |
|
|
|
|
<div class="stakes-top-stats-item stakes-top-stats-item-address"> |
|
|
|
|
<span class="stakes-top-stats-value">0x1fddEc96688e0538A316C64dc... |
|
|
|
|
<div class="copy-icon"> |
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"> |
|
|
|
|
<path fill-rule="evenodd" d="M13 10a1 1 0 0 1-1-1V2H5a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1zm-3-5v8a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1zM8 6H2v6h6V6z"/> |
|
|
|
|
</svg> |
|
|
|
|
</div> |
|
|
|
|
</span> |
|
|
|
|
<span class="stakes-top-stats-label"> |
|
|
|
|
<span class="stakes-top-stats-label-item"><%= gettext "Balance" %>: 20.08 POA20</span> |
|
|
|
|
<span class="stakes-top-stats-label-item"><%= gettext "Staked" %>: 1000 POA20</span> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
<%= render BlockScoutWeb.StakesView, "_stakes_stats_item.html", title: gettext("Epoch number"), value: "6" %> |
|
|
|
|
<%= render BlockScoutWeb.StakesView, "_stakes_stats_item.html", title: gettext("Block number"), value: "348" %> |
|
|
|
|
<%= render BlockScoutWeb.StakesView, "_stakes_stats_item.html", title: gettext("Next epoch in"), value: "999 blocks" %> |
|
|
|
|
<%= render BlockScoutWeb.StakesView, "_stakes_stats_item_account.html", title: "0x1fddEc96688e0538A316C64dc...", balance: "20", staked: "1000", logged_in: @logged_in %> |
|
|
|
|
<!-- Buttons --> |
|
|
|
|
<div> |
|
|
|
|
<span class="btn-add-full"> |
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"> |
|
|
|
|
<path fill-rule="evenodd" d="M13 8H8v5a1 1 0 0 1-2 0V8H1a1 1 0 0 1 0-2h5V1a1 1 0 0 1 2 0v5h5a1 1 0 0 1 0 2z"/> |
|
|
|
|
</svg> |
|
|
|
|
<span class="btn-add-full-text"><%= gettext "Become Candidate" %></span> |
|
|
|
|
</span> |
|
|
|
|
<div class="stakes-top-buttons"> |
|
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_btn_add_full.html", text: gettext("Become Candidate"), extra_class: "js-become-candidate" %> |
|
|
|
|
<%= render BlockScoutWeb.StakesView, "_stakes_btn_remove_pool.html", text: gettext("Remove My Pool"), extra_class: "js-remove-pool" %> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|