|
|
@ -1,49 +1,14 @@ |
|
|
|
<div class="stakes-top"> |
|
|
|
<div class="stakes-top"> |
|
|
|
<div class="container"> |
|
|
|
<div class="container"> |
|
|
|
<div class="stakes-top-stats"> |
|
|
|
<div class="stakes-top-stats"> |
|
|
|
<!-- Epoch number --> |
|
|
|
<%= render BlockScoutWeb.StakesView, "_stakes_stats_item.html", title: gettext("Epoch number"), value: "6" %> |
|
|
|
<div class="stakes-top-stats-item"> |
|
|
|
<%= render BlockScoutWeb.StakesView, "_stakes_stats_item.html", title: gettext("Block number"), value: "348" %> |
|
|
|
<span class="stakes-top-stats-label"> |
|
|
|
<%= render BlockScoutWeb.StakesView, "_stakes_stats_item.html", title: gettext("Next epoch in"), value: "999 blocks" %> |
|
|
|
<%= gettext "Epoch number" %> |
|
|
|
<%= render BlockScoutWeb.StakesView, "_stakes_stats_item_account.html", title: "0x1fddEc96688e0538A316C64dc...", balance: "20", staked: "1000", logged_in: @logged_in %> |
|
|
|
</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> |
|
|
|
|
|
|
|
<!-- Buttons --> |
|
|
|
<!-- Buttons --> |
|
|
|
<div> |
|
|
|
<div class="stakes-top-buttons"> |
|
|
|
<span class="btn-add-full"> |
|
|
|
<%= render BlockScoutWeb.CommonComponentsView, "_btn_add_full.html", text: gettext("Become Candidate"), extra_class: "js-become-candidate" %> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"> |
|
|
|
<%= render BlockScoutWeb.StakesView, "_stakes_btn_remove_pool.html", text: gettext("Remove My Pool"), extra_class: "js-remove-pool" %> |
|
|
|
<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> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|